swagger.yaml 784 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152
  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. OriTotalSpotQty:
  2258. description: 期初现货总量
  2259. type: number
  2260. SellFutureQty:
  2261. description: 卖出期货数量
  2262. type: number
  2263. SellPlanQty:
  2264. description: 销售计划数量
  2265. type: number
  2266. SellPricedQty:
  2267. description: 销售合同已定价数量
  2268. type: number
  2269. TotalExposure:
  2270. description: 总敞口 平安:净敞口
  2271. type: number
  2272. TotalFutureQty:
  2273. description: 期货总量 平安:保值净持仓量
  2274. type: number
  2275. TotalHedgeRatio:
  2276. description: 敞口比例
  2277. type: number
  2278. TotalNeedHedgeQty:
  2279. description: 应套保总量(现货应套保总量)
  2280. type: number
  2281. TotalSpotQty:
  2282. description: 现货总量 平安:采销定价净值
  2283. type: number
  2284. arbitrageqty:
  2285. description: 套利量
  2286. type: number
  2287. diffArbitrageQty:
  2288. description: 套利变动量
  2289. type: number
  2290. diffExposoureQty:
  2291. description: 变动量(套保敞口)
  2292. type: number
  2293. diffFutuQty:
  2294. description: 变动量(期货总量) 平安:保值净持仓量今日变动
  2295. type: number
  2296. diffHedgeQty:
  2297. description: 套保变动量
  2298. type: number
  2299. diffQty:
  2300. description: 变动量(总敞口) 平安:净敞口今日变动
  2301. type: number
  2302. diffSpotHedgeQty:
  2303. description: 变动量(现货应套保总量) 平安:应套保量今日变动
  2304. type: number
  2305. diffSpotQty:
  2306. description: 变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动
  2307. type: number
  2308. enumdicname:
  2309. description: 单位名称
  2310. type: string
  2311. hedgeqty:
  2312. description: 套保量
  2313. type: number
  2314. needarbitrageqty:
  2315. description: 应套利量
  2316. type: number
  2317. needarbitrageratio:
  2318. description: 套利比例
  2319. type: number
  2320. needhedgeqty:
  2321. description: 应套保量
  2322. type: number
  2323. oriarbitrageqty:
  2324. description: 期初套利量
  2325. type: number
  2326. orihedgeqty:
  2327. description: 期初套保量
  2328. type: number
  2329. orineedhedgeexposoure:
  2330. description: 期初套保敞口
  2331. type: number
  2332. oritotalexposure:
  2333. description: 期初总敞口
  2334. type: number
  2335. oritotalfutureqty:
  2336. description: 期初期货总量
  2337. type: number
  2338. oritotalneedhedgeqty:
  2339. description: 期初现货应套保量
  2340. type: number
  2341. type: object
  2342. erms2.QueryArbitrageStrategyRsp:
  2343. properties:
  2344. applybasis:
  2345. description: 申请基差
  2346. type: number
  2347. asapplyid:
  2348. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2349. type: string
  2350. asname:
  2351. description: 策略名称
  2352. type: string
  2353. asno:
  2354. description: 策略编号
  2355. type: string
  2356. basischangepl:
  2357. description: 基差变动损益[结算更新]
  2358. type: number
  2359. biztype:
  2360. description: 业务类型 - 1:正向套利 -1:反向套利
  2361. type: integer
  2362. closetradedate:
  2363. description: 完结交易日(yyyyMMdd)
  2364. type: string
  2365. curbasis:
  2366. description: 当前基差[结算更新]
  2367. type: number
  2368. deliverygoodsid:
  2369. description: 现货品种ID
  2370. type: integer
  2371. futureavgprice:
  2372. description: 期货建仓均价
  2373. type: number
  2374. futurecloseamount:
  2375. description: 期货平仓金额
  2376. type: number
  2377. futurecloseqty:
  2378. description: 期货平仓数量
  2379. type: number
  2380. futureopenamount:
  2381. description: 期货开仓金额
  2382. type: number
  2383. futureopenqty:
  2384. description: 期货开仓数量
  2385. type: number
  2386. futurepl:
  2387. description: 期货总盈亏[结算更新]
  2388. type: number
  2389. futureqty:
  2390. description: 期货持仓数量
  2391. type: number
  2392. futurequote:
  2393. description: 期货额度
  2394. type: number
  2395. goodsgroupid:
  2396. description: 期货品种ID
  2397. type: integer
  2398. marketid:
  2399. description: 市场ID
  2400. type: integer
  2401. netexposure:
  2402. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2403. type: number
  2404. netexposurepl:
  2405. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2406. type: number
  2407. netexposurerate:
  2408. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2409. type: number
  2410. openbasis:
  2411. description: 建仓基差
  2412. type: number
  2413. pricedspotqty:
  2414. description: 已定价现货数量
  2415. type: number
  2416. pricedspotqtynotax:
  2417. description: 已定价现货不含税数量
  2418. type: number
  2419. remark:
  2420. description: 备注
  2421. type: string
  2422. spotavgprice:
  2423. description: 现货均价
  2424. type: number
  2425. spotbuyamount:
  2426. description: 现货采购金额
  2427. type: number
  2428. spotbuyqty:
  2429. description: 现货采购数量
  2430. type: number
  2431. spotpl:
  2432. description: 现货总盈亏[结算更新]
  2433. type: number
  2434. spotquota:
  2435. description: 现货额度
  2436. type: number
  2437. spotsellamount:
  2438. description: 现货销售金额
  2439. type: number
  2440. spotsellqty:
  2441. description: 现货销售数量
  2442. type: number
  2443. spotusedquota:
  2444. description: 现货占用资金
  2445. type: number
  2446. strategystatus:
  2447. description: 策略状态 - 0:未结束 1:已结束
  2448. type: integer
  2449. totalpl:
  2450. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2451. type: number
  2452. tradedate:
  2453. description: 交易日(yyyyMMdd)
  2454. type: string
  2455. updatetime:
  2456. description: 更新时间
  2457. type: string
  2458. usedquota:
  2459. description: 已占用资金
  2460. type: number
  2461. userid:
  2462. description: 所属机构
  2463. type: integer
  2464. required:
  2465. - asapplyid
  2466. type: object
  2467. erms2.QueryInnerTradeDetailRsp:
  2468. properties:
  2469. accountid:
  2470. description: 账号ID
  2471. type: integer
  2472. agreeunit:
  2473. description: 合约单位
  2474. type: number
  2475. asapplyid:
  2476. description: 策略申请ID
  2477. type: integer
  2478. asname:
  2479. description: 策略名称
  2480. type: string
  2481. asno:
  2482. description: 策略编号
  2483. type: string
  2484. buyorsell:
  2485. description: 方向 - 0:买 1:卖
  2486. type: integer
  2487. channelbuildtype:
  2488. description: 委托单据类型 0:无 1:建仓 2:平仓
  2489. type: integer
  2490. closetype:
  2491. description: 平仓方式 - 0:无 1:平今 2:平昨
  2492. type: integer
  2493. decimalplace:
  2494. description: 报价小数位
  2495. type: integer
  2496. detailtype:
  2497. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2498. type: integer
  2499. exexchangecode:
  2500. description: 外部交易所代码
  2501. type: string
  2502. exexchangename:
  2503. description: 外部交易所名称
  2504. type: string
  2505. goodscode:
  2506. description: 商品代码(合约)
  2507. type: string
  2508. goodsgroupid:
  2509. description: 商品组ID(品种ID)
  2510. type: integer
  2511. goodsgroupname:
  2512. description: 商品组名称(品种)
  2513. type: string
  2514. goodsid:
  2515. description: 商品ID
  2516. type: integer
  2517. goodsname:
  2518. description: 商品名称(合约)
  2519. type: string
  2520. goodunit:
  2521. description: 报价单位
  2522. type: string
  2523. marketid:
  2524. description: 市场ID
  2525. type: integer
  2526. orderid:
  2527. description: 委托单号
  2528. type: string
  2529. outgoodscode:
  2530. description: 商品代码(外部)
  2531. type: string
  2532. relatedouttradeid:
  2533. description: 关联外部成交单ID
  2534. type: string
  2535. remark:
  2536. description: 备注
  2537. type: string
  2538. spotcontractid:
  2539. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2540. type: integer
  2541. spotcontractno:
  2542. description: 现货合同编号
  2543. type: string
  2544. tradeid:
  2545. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2546. type: string
  2547. tradeprice:
  2548. description: 成交价格
  2549. type: number
  2550. tradeqty:
  2551. description: 成交数量
  2552. type: integer
  2553. tradetime:
  2554. description: 成交时间
  2555. type: string
  2556. updatetime:
  2557. description: 更新时间
  2558. type: string
  2559. required:
  2560. - asapplyid
  2561. - buyorsell
  2562. - goodscode
  2563. - goodsgroupid
  2564. - goodsgroupname
  2565. - goodsname
  2566. - tradeid
  2567. type: object
  2568. erms2.QuerySpotContractRsp:
  2569. properties:
  2570. accountid:
  2571. description: 资金账户ID
  2572. type: integer
  2573. areauserid:
  2574. description: 所属机构
  2575. type: integer
  2576. closedate:
  2577. description: 终止日期
  2578. type: string
  2579. closeremark:
  2580. description: 结束备注
  2581. type: string
  2582. closetradedate:
  2583. description: 完结交易日(yyyyMMdd)
  2584. type: string
  2585. closetype:
  2586. description: 终止类型 - 1:违约 2:提前终止
  2587. type: integer
  2588. contractamount:
  2589. description: 合同金额
  2590. type: number
  2591. contractattachment:
  2592. description: 合同附件
  2593. type: string
  2594. contractno:
  2595. description: 现货合同编号
  2596. type: string
  2597. contractqty:
  2598. description: 合同数量(数值) (用于计算)
  2599. type: number
  2600. contractqtychar:
  2601. description: 合同数量\已订价数量 (用于显示)
  2602. type: string
  2603. contractstatus:
  2604. description: 合同状态 - 0:未结束 1:已结束
  2605. type: integer
  2606. contracttype:
  2607. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2608. type: integer
  2609. customeraccountid:
  2610. description: 客户资金账户ID
  2611. type: integer
  2612. customeruserid:
  2613. description: 客户ID
  2614. type: integer
  2615. deliverygoodsdesc:
  2616. description: 品种说明
  2617. type: string
  2618. deliverygoodsid:
  2619. description: 现货品种ID
  2620. type: integer
  2621. handlestatus:
  2622. description: 处理状态
  2623. type: integer
  2624. invoiceatt:
  2625. description: 发票附件
  2626. type: string
  2627. invoicedatetime:
  2628. description: 开收票更新时间
  2629. type: string
  2630. invoiceopentime:
  2631. description: 开票时间
  2632. type: string
  2633. invoiceremark:
  2634. description: 发票备注
  2635. type: string
  2636. invoicestatus:
  2637. description: 开收票状态 - 0:未开票 1:已开票
  2638. type: integer
  2639. lastdate:
  2640. description: 交货时间
  2641. type: string
  2642. marketid:
  2643. description: 市场ID
  2644. type: integer
  2645. paydatetime:
  2646. description: 收付款更新时间
  2647. type: string
  2648. payremark:
  2649. description: 收付款备注
  2650. type: string
  2651. paystatus:
  2652. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2653. type: integer
  2654. positionqty:
  2655. description: 头寸数量 - 合同数量去小数部分
  2656. type: integer
  2657. producttype:
  2658. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2659. type: integer
  2660. relatedqty:
  2661. description: 已关联数量
  2662. type: number
  2663. relatedstatus:
  2664. description: 关联完结状态 - 0:未结束 1:已结束
  2665. type: integer
  2666. remark:
  2667. description: 备注
  2668. type: string
  2669. signdate:
  2670. description: 签订日期
  2671. type: string
  2672. spotcontractid:
  2673. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2674. type: string
  2675. spotdatetime:
  2676. description: 收发货更新时间
  2677. type: string
  2678. spotprice:
  2679. description: 价格
  2680. type: number
  2681. spotremark:
  2682. description: 收发货备注
  2683. type: string
  2684. spotstatus:
  2685. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2686. type: integer
  2687. tradedate:
  2688. description: 交易日(yyyyMMdd)
  2689. type: string
  2690. userid:
  2691. description: 业务员用户ID
  2692. type: integer
  2693. warehouseid:
  2694. description: 仓库ID
  2695. type: integer
  2696. wrfactortypeid:
  2697. description: 仓单要素类型ID
  2698. type: integer
  2699. wrstandardid:
  2700. description: 仓单标准ID(SEQ_WRSTANDARD)
  2701. type: integer
  2702. required:
  2703. - spotcontractid
  2704. type: object
  2705. erms3.AddErms2ASApplyReq:
  2706. properties:
  2707. applybasis:
  2708. description: 申请基差
  2709. type: number
  2710. applystatus:
  2711. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2712. type: integer
  2713. asapplyid:
  2714. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2715. type: integer
  2716. asname:
  2717. description: 策略名称
  2718. type: string
  2719. asno:
  2720. description: 策略编号
  2721. type: string
  2722. auditid:
  2723. description: 审核人
  2724. type: integer
  2725. auditremark:
  2726. description: 审核备注
  2727. type: string
  2728. audittime:
  2729. description: 审核时间
  2730. type: string
  2731. biztype:
  2732. description: 业务类型 - 1:正向套利 2:反向套利
  2733. type: integer
  2734. createtime:
  2735. description: 创建时间
  2736. type: string
  2737. creatorid:
  2738. description: 创建人
  2739. type: integer
  2740. deliverygoodsid:
  2741. description: 现货品种ID
  2742. type: integer
  2743. futurequote:
  2744. description: 期货额度
  2745. type: number
  2746. goodsgroupid:
  2747. description: 期货品种ID
  2748. type: integer
  2749. marketid:
  2750. description: 市场ID
  2751. type: integer
  2752. remark:
  2753. description: 备注
  2754. type: string
  2755. spotquota:
  2756. description: 现货额度
  2757. type: number
  2758. tradedate:
  2759. description: 交易日(yyyyMMdd)
  2760. type: string
  2761. userid:
  2762. description: 所属机构
  2763. type: integer
  2764. required:
  2765. - asapplyid
  2766. type: object
  2767. erms3.AddErms2SpotTradeApplyReq:
  2768. properties:
  2769. applyjsondetail:
  2770. description: 申请明细(JSON)
  2771. type: string
  2772. applystatus:
  2773. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2774. type: integer
  2775. areauserid:
  2776. description: 所属机构
  2777. type: integer
  2778. auditid:
  2779. description: 审核人
  2780. type: integer
  2781. auditremark:
  2782. description: 审核备注
  2783. type: string
  2784. audittime:
  2785. description: 审核时间
  2786. type: string
  2787. createtime:
  2788. description: 创建时间
  2789. type: string
  2790. creatorid:
  2791. description: 创建人
  2792. type: integer
  2793. deliverygoodsid:
  2794. description: 现货品种ID
  2795. type: integer
  2796. futureaccountid:
  2797. description: 期货资金账户
  2798. type: integer
  2799. goodsgroupid:
  2800. description: 期货品种
  2801. type: integer
  2802. marketid:
  2803. description: 市场ID
  2804. type: integer
  2805. remark:
  2806. description: 备注
  2807. type: string
  2808. spotaccountid:
  2809. description: 现货资金账户
  2810. type: integer
  2811. spottradeid:
  2812. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2813. type: integer
  2814. spottradename:
  2815. description: 业务名称
  2816. type: string
  2817. spottradeno:
  2818. description: 业务编号
  2819. type: string
  2820. tradedate:
  2821. description: 交易日(yyyyMMdd)
  2822. type: string
  2823. wrstandardid:
  2824. description: 仓单标准ID
  2825. type: integer
  2826. required:
  2827. - spottradeid
  2828. type: object
  2829. erms3.AddSpotContractApplyReq:
  2830. properties:
  2831. accountid:
  2832. description: 资金账户ID
  2833. type: integer
  2834. areauserid:
  2835. description: 所属机构
  2836. type: integer
  2837. contractattachment:
  2838. description: 合同附件
  2839. type: string
  2840. contractno:
  2841. description: 现货合同编号
  2842. type: string
  2843. contracttype:
  2844. description: 现货合同类型 - 1:采购 -1:销售
  2845. type: integer
  2846. creatorid:
  2847. description: 申请人
  2848. type: integer
  2849. customeraccountid:
  2850. description: 客户资金账户ID
  2851. type: integer
  2852. customeruserid:
  2853. description: 客户ID
  2854. type: integer
  2855. details:
  2856. description: 明细
  2857. items:
  2858. $ref: '#/definitions/erms3.SoptContractDetail'
  2859. type: array
  2860. orimargin:
  2861. description: 初始保证金
  2862. type: number
  2863. remark:
  2864. description: 备注
  2865. type: string
  2866. signdate:
  2867. description: 签订日期
  2868. type: string
  2869. required:
  2870. - accountid
  2871. - areauserid
  2872. - contractno
  2873. - contracttype
  2874. - customeraccountid
  2875. - customeruserid
  2876. - details
  2877. - orimargin
  2878. - signdate
  2879. type: object
  2880. erms3.AddSpotContractApplyRsp:
  2881. properties:
  2882. contractno:
  2883. description: 现货合同编号
  2884. type: string
  2885. spotcontractid:
  2886. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2887. type: integer
  2888. required:
  2889. - contractno
  2890. type: object
  2891. erms3.AddUserInfoApplyReq:
  2892. properties:
  2893. accountid:
  2894. description: 交易系统帐号Id (加密存储)
  2895. type: integer
  2896. areacode:
  2897. description: 机构代码
  2898. type: string
  2899. areaid:
  2900. description: 机构Id
  2901. type: integer
  2902. attachment1:
  2903. description: 附件1
  2904. type: string
  2905. attachment2:
  2906. description: 附件2
  2907. type: string
  2908. attachment3:
  2909. description: 附件3
  2910. type: string
  2911. attachment4:
  2912. description: 附件4
  2913. type: string
  2914. attachment5:
  2915. description: 附件5
  2916. type: string
  2917. auditedby:
  2918. description: 审核人
  2919. type: string
  2920. auditime:
  2921. description: 审核时间
  2922. type: string
  2923. auditsrc:
  2924. description: 审核来源 - 1:管理端 2:终端
  2925. type: integer
  2926. bankaccount:
  2927. description: 银行帐号 (加密存储)
  2928. type: string
  2929. bankaccountname:
  2930. description: 收款人名称
  2931. type: string
  2932. bankcardbackphotourl:
  2933. description: 银行卡背面照地址
  2934. type: string
  2935. bankcardfrontphotourl:
  2936. description: 银行卡正面照地址
  2937. type: string
  2938. bankid:
  2939. description: 银行编码
  2940. type: string
  2941. bankname:
  2942. description: 银行名称
  2943. type: string
  2944. bankpictureurl:
  2945. description: 银行卡正面地址
  2946. type: string
  2947. biznature:
  2948. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2949. type: integer
  2950. bizscope:
  2951. description: 企业经营范围(企业)
  2952. type: string
  2953. biztype:
  2954. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2955. type: integer
  2956. brokerid:
  2957. description: 经纪人ID(加密存储)
  2958. type: string
  2959. cardaddress:
  2960. description: 证件地址 (加密存储)
  2961. type: string
  2962. cardbackphotourl:
  2963. description: 背面证件照地址
  2964. type: string
  2965. cardfrontphotourl:
  2966. description: 正面证件照地址
  2967. type: string
  2968. cardnum:
  2969. description: 证件号码 (加密存储)
  2970. type: string
  2971. cardtype:
  2972. description: 证件类型
  2973. type: integer
  2974. cityid:
  2975. description: 市
  2976. type: integer
  2977. company:
  2978. description: 公司(个人)
  2979. type: string
  2980. contactcardbackphotourl:
  2981. description: 联系人证件背面图片地址
  2982. type: string
  2983. contactcardfrontphotourl:
  2984. description: 联系人证件正面图片地址
  2985. type: string
  2986. contactname:
  2987. description: 联系人
  2988. type: string
  2989. countryid:
  2990. description: 国家
  2991. type: integer
  2992. createtime:
  2993. description: 开户申请时间
  2994. type: string
  2995. cusbankid:
  2996. description: 签约类型
  2997. type: string
  2998. cusbankname:
  2999. description: 签约类型名称
  3000. type: string
  3001. customername:
  3002. description: 客户名称(企业名称)
  3003. type: string
  3004. districtid:
  3005. description: 地区
  3006. type: integer
  3007. email:
  3008. description: Email地址(加密存储)
  3009. type: string
  3010. halfbodyphotourl:
  3011. description: 半身照地址
  3012. type: string
  3013. headurl:
  3014. description: 头像地址
  3015. type: string
  3016. ipaddress:
  3017. description: IP地址
  3018. type: string
  3019. isvalidate:
  3020. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3021. type: string
  3022. legalcardbackphotourl:
  3023. description: 法人身份证背面照地址
  3024. type: string
  3025. legalcardfrontphotourl:
  3026. description: 法人身份证正面照地址
  3027. type: string
  3028. legalpersonname:
  3029. description: 法人姓名(企业)
  3030. type: string
  3031. logincode:
  3032. description: 登录帐号 (加密存储)
  3033. type: string
  3034. memberareaid:
  3035. description: 所属会员ID
  3036. type: integer
  3037. mobile2:
  3038. description: 手机号码[明文-尚志]
  3039. type: string
  3040. mobilephone:
  3041. description: 手机号码 (加密存储)
  3042. type: string
  3043. modifiedby:
  3044. description: 修改人帐号
  3045. type: integer
  3046. modifiedtime:
  3047. description: 修改时间
  3048. type: string
  3049. nickname:
  3050. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3051. type: string
  3052. openmode:
  3053. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3054. type: integer
  3055. otherurl:
  3056. description: 其它图片地址[使用分号分隔]
  3057. type: string
  3058. postalcode:
  3059. description: 邮政编码
  3060. type: string
  3061. provinceid:
  3062. description: 省
  3063. type: integer
  3064. proxystatementurl:
  3065. description: 授权委托书
  3066. type: string
  3067. qq:
  3068. description: QQ(加密存储
  3069. type: string
  3070. referral:
  3071. description: 推荐人编码
  3072. type: string
  3073. remark:
  3074. description: 备注
  3075. type: string
  3076. removebeforestatus:
  3077. description: REMOVEBEFORESTATUS
  3078. type: integer
  3079. sex:
  3080. description: 性别 - 0:女 1:男
  3081. type: integer
  3082. signedstatus:
  3083. description: 账户一号签签约状态
  3084. type: integer
  3085. signpdfurl:
  3086. description: 签约pdf文件
  3087. type: string
  3088. subbranch:
  3089. description: 开户支行
  3090. type: string
  3091. taxpayernum:
  3092. description: 纳税人识别号
  3093. type: string
  3094. telphone:
  3095. description: 联系电话(加密存储)
  3096. type: string
  3097. userid:
  3098. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3099. type: integer
  3100. userinfotype:
  3101. description: 用户信息类型 - 1:个人 2:企业
  3102. type: integer
  3103. username:
  3104. description: 用户姓名
  3105. type: string
  3106. userstate:
  3107. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3108. type: integer
  3109. usertype:
  3110. description: 用户类型 - 1:投资者 2:机构
  3111. type: integer
  3112. videourl:
  3113. description: 视频地址
  3114. type: string
  3115. wechat:
  3116. description: 微信号 (加密存储)
  3117. type: string
  3118. required:
  3119. - userid
  3120. type: object
  3121. erms3.CustomerInfo:
  3122. properties:
  3123. accountids:
  3124. description: 资金账户ID列表
  3125. items:
  3126. type: integer
  3127. type: array
  3128. customername:
  3129. description: 名称(企业名称)
  3130. type: string
  3131. mobile:
  3132. description: 手机号码
  3133. type: string
  3134. userid:
  3135. description: 用户ID
  3136. type: integer
  3137. required:
  3138. - userid
  3139. type: object
  3140. erms3.ModifyUserInfoApplyReq:
  3141. properties:
  3142. accountid:
  3143. description: 交易系统帐号Id (加密存储)
  3144. type: integer
  3145. areacode:
  3146. description: 机构代码
  3147. type: string
  3148. areaid:
  3149. description: 机构Id
  3150. type: integer
  3151. attachment1:
  3152. description: 附件1
  3153. type: string
  3154. attachment2:
  3155. description: 附件2
  3156. type: string
  3157. attachment3:
  3158. description: 附件3
  3159. type: string
  3160. attachment4:
  3161. description: 附件4
  3162. type: string
  3163. attachment5:
  3164. description: 附件5
  3165. type: string
  3166. auditedby:
  3167. description: 审核人
  3168. type: string
  3169. auditime:
  3170. description: 审核时间
  3171. type: string
  3172. auditsrc:
  3173. description: 审核来源 - 1:管理端 2:终端
  3174. type: integer
  3175. bankaccount:
  3176. description: 银行帐号 (加密存储)
  3177. type: string
  3178. bankaccountname:
  3179. description: 收款人名称
  3180. type: string
  3181. bankcardbackphotourl:
  3182. description: 银行卡背面照地址
  3183. type: string
  3184. bankcardfrontphotourl:
  3185. description: 银行卡正面照地址
  3186. type: string
  3187. bankid:
  3188. description: 银行编码
  3189. type: string
  3190. bankname:
  3191. description: 银行名称
  3192. type: string
  3193. bankpictureurl:
  3194. description: 银行卡正面地址
  3195. type: string
  3196. biznature:
  3197. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3198. type: integer
  3199. bizscope:
  3200. description: 企业经营范围(企业)
  3201. type: string
  3202. biztype:
  3203. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3204. type: integer
  3205. brokerid:
  3206. description: 经纪人ID(加密存储)
  3207. type: string
  3208. cardaddress:
  3209. description: 证件地址 (加密存储)
  3210. type: string
  3211. cardbackphotourl:
  3212. description: 背面证件照地址
  3213. type: string
  3214. cardfrontphotourl:
  3215. description: 正面证件照地址
  3216. type: string
  3217. cardnum:
  3218. description: 证件号码 (加密存储)
  3219. type: string
  3220. cardtype:
  3221. description: 证件类型
  3222. type: integer
  3223. cityid:
  3224. description: 市
  3225. type: integer
  3226. company:
  3227. description: 公司(个人)
  3228. type: string
  3229. contactcardbackphotourl:
  3230. description: 联系人证件背面图片地址
  3231. type: string
  3232. contactcardfrontphotourl:
  3233. description: 联系人证件正面图片地址
  3234. type: string
  3235. contactname:
  3236. description: 联系人
  3237. type: string
  3238. countryid:
  3239. description: 国家
  3240. type: integer
  3241. createtime:
  3242. description: 开户申请时间
  3243. type: string
  3244. cusbankid:
  3245. description: 签约类型
  3246. type: string
  3247. cusbankname:
  3248. description: 签约类型名称
  3249. type: string
  3250. customername:
  3251. description: 客户名称(企业名称)
  3252. type: string
  3253. districtid:
  3254. description: 地区
  3255. type: integer
  3256. email:
  3257. description: Email地址(加密存储)
  3258. type: string
  3259. halfbodyphotourl:
  3260. description: 半身照地址
  3261. type: string
  3262. headurl:
  3263. description: 头像地址
  3264. type: string
  3265. ipaddress:
  3266. description: IP地址
  3267. type: string
  3268. isvalidate:
  3269. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3270. type: string
  3271. legalcardbackphotourl:
  3272. description: 法人身份证背面照地址
  3273. type: string
  3274. legalcardfrontphotourl:
  3275. description: 法人身份证正面照地址
  3276. type: string
  3277. legalpersonname:
  3278. description: 法人姓名(企业)
  3279. type: string
  3280. logincode:
  3281. description: 登录帐号 (加密存储)
  3282. type: string
  3283. memberareaid:
  3284. description: 所属会员ID
  3285. type: integer
  3286. mobile2:
  3287. description: 手机号码[明文-尚志]
  3288. type: string
  3289. mobilephone:
  3290. description: 手机号码 (加密存储)
  3291. type: string
  3292. modifiedby:
  3293. description: 修改人帐号
  3294. type: integer
  3295. modifiedtime:
  3296. description: 修改时间
  3297. type: string
  3298. nickname:
  3299. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3300. type: string
  3301. openmode:
  3302. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3303. type: integer
  3304. otherurl:
  3305. description: 其它图片地址[使用分号分隔]
  3306. type: string
  3307. postalcode:
  3308. description: 邮政编码
  3309. type: string
  3310. provinceid:
  3311. description: 省
  3312. type: integer
  3313. proxystatementurl:
  3314. description: 授权委托书
  3315. type: string
  3316. qq:
  3317. description: QQ(加密存储
  3318. type: string
  3319. referral:
  3320. description: 推荐人编码
  3321. type: string
  3322. remark:
  3323. description: 备注
  3324. type: string
  3325. removebeforestatus:
  3326. description: REMOVEBEFORESTATUS
  3327. type: integer
  3328. sex:
  3329. description: 性别 - 0:女 1:男
  3330. type: integer
  3331. signedstatus:
  3332. description: 账户一号签签约状态
  3333. type: integer
  3334. signpdfurl:
  3335. description: 签约pdf文件
  3336. type: string
  3337. subbranch:
  3338. description: 开户支行
  3339. type: string
  3340. taxpayernum:
  3341. description: 纳税人识别号
  3342. type: string
  3343. telphone:
  3344. description: 联系电话(加密存储)
  3345. type: string
  3346. userid:
  3347. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3348. type: integer
  3349. userinfotype:
  3350. description: 用户信息类型 - 1:个人 2:企业
  3351. type: integer
  3352. username:
  3353. description: 用户姓名
  3354. type: string
  3355. userstate:
  3356. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3357. type: integer
  3358. usertype:
  3359. description: 用户类型 - 1:投资者 2:机构
  3360. type: integer
  3361. videourl:
  3362. description: 视频地址
  3363. type: string
  3364. wechat:
  3365. description: 微信号 (加密存储)
  3366. type: string
  3367. required:
  3368. - userid
  3369. type: object
  3370. erms3.QryAuditContractRsp:
  3371. properties:
  3372. accountid:
  3373. description: 交易员ID
  3374. type: string
  3375. applystatus:
  3376. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3377. type: integer
  3378. curdeliveryqty:
  3379. description: 未交收量
  3380. type: integer
  3381. customername:
  3382. description: 采购方ID
  3383. type: string
  3384. deliverygoodsid:
  3385. description: 品种ID
  3386. type: string
  3387. deliveryqty:
  3388. description: 交收量
  3389. type: integer
  3390. enumdicname:
  3391. description: 单位名称
  3392. type: string
  3393. matchaccountid:
  3394. description: 业务员ID
  3395. type: string
  3396. matchcustomername:
  3397. description: 销售方ID
  3398. type: string
  3399. pricedqty:
  3400. description: 定价量
  3401. type: number
  3402. signdate:
  3403. description: 签订日期
  3404. type: string
  3405. spotcontractid:
  3406. description: 合同ID
  3407. type: string
  3408. totaldqty:
  3409. description: 合同量
  3410. type: number
  3411. unpricedqty:
  3412. description: 未定价量
  3413. type: number
  3414. wrstandardname:
  3415. description: 商品名称
  3416. type: string
  3417. required:
  3418. - matchcustomername
  3419. - spotcontractid
  3420. type: object
  3421. erms3.QryPendingBizRsp:
  3422. properties:
  3423. accountid:
  3424. description: 现货账户
  3425. type: string
  3426. areaname:
  3427. description: 所属部门
  3428. type: string
  3429. bizid:
  3430. description: 业务ID
  3431. type: string
  3432. bizname:
  3433. description: 业务名称
  3434. type: string
  3435. status:
  3436. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3437. type: integer
  3438. type:
  3439. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3440. type: integer
  3441. type: object
  3442. erms3.QueryBusinessInfoRsp:
  3443. properties:
  3444. businessid:
  3445. description: 业务ID.
  3446. type: integer
  3447. buyamount:
  3448. description: 采购额.
  3449. type: number
  3450. buyqty:
  3451. description: 采购量.
  3452. type: string
  3453. futurepl:
  3454. description: 期货盈亏.
  3455. type: number
  3456. futureqty:
  3457. description: 期货敞口.
  3458. type: string
  3459. goodsid:
  3460. description: 商品名称/商品代码.
  3461. type: string
  3462. hedgingqty:
  3463. description: 套保量.
  3464. type: string
  3465. sellamount:
  3466. description: 销售额.
  3467. type: number
  3468. sellqty:
  3469. description: 销售量.
  3470. type: string
  3471. spotmarketvalue:
  3472. description: 现货市值.
  3473. type: number
  3474. spotpl:
  3475. description: 浮动权益.
  3476. type: number
  3477. spotqty:
  3478. description: 现货量.
  3479. type: string
  3480. statu:
  3481. description: 状态,0-未结束 1-已结束.
  3482. type: integer
  3483. totalpl:
  3484. description: 总盈亏.
  3485. type: number
  3486. totalqty:
  3487. description: 总敞口.
  3488. type: string
  3489. type:
  3490. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3491. type: integer
  3492. type: object
  3493. erms3.QuerySpotContractAppleFormRsp:
  3494. properties:
  3495. goodses:
  3496. description: 合约列表
  3497. items:
  3498. $ref: '#/definitions/models.GoodsIDAndName'
  3499. type: array
  3500. oppositeusers:
  3501. description: 对方账号列表
  3502. items:
  3503. $ref: '#/definitions/erms3.CustomerInfo'
  3504. type: array
  3505. ouruser:
  3506. $ref: '#/definitions/erms3.CustomerInfo'
  3507. description: 我方账号
  3508. warehouseinfos:
  3509. description: 仓库信息列表
  3510. items:
  3511. $ref: '#/definitions/models.Warehouseinfo'
  3512. type: array
  3513. wrstandards:
  3514. description: 仓单标准列表
  3515. items:
  3516. $ref: '#/definitions/models.WRStandardInfo'
  3517. type: array
  3518. type: object
  3519. erms3.QuerySpotContractInfoRsp:
  3520. properties:
  3521. accountid:
  3522. description: 表示交易员ID.
  3523. type: integer
  3524. curdeliveryqty:
  3525. description: 表示未交收量.
  3526. type: number
  3527. customername:
  3528. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3529. type: string
  3530. deliverygoodsid:
  3531. description: 表示品种ID.
  3532. type: string
  3533. deliveryqty:
  3534. description: 表示交收量.
  3535. type: number
  3536. matchaccountid:
  3537. description: 表示业务员ID.
  3538. type: integer
  3539. matchcustomername:
  3540. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3541. type: string
  3542. priceqty:
  3543. description: 表示定价量.
  3544. type: number
  3545. relatedbizid:
  3546. description: 表示业务ID.
  3547. type: string
  3548. signdate:
  3549. description: 表示签订日期.
  3550. type: string
  3551. spotcontractid:
  3552. description: 合同ID
  3553. type: string
  3554. status:
  3555. description: 表示状态,0-履约中 1-已完成.
  3556. type: integer
  3557. totalqty:
  3558. description: 表示合同量.
  3559. type: number
  3560. unpricedqty:
  3561. description: 表示未定价量.
  3562. type: number
  3563. wrstandardname:
  3564. description: 表示商品ID.
  3565. type: string
  3566. type: object
  3567. erms3.QueryUserInfoAppliesRsp:
  3568. properties:
  3569. biznature:
  3570. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3571. type: integer
  3572. contactname:
  3573. description: 联系人
  3574. type: string
  3575. createtime:
  3576. description: 开户申请时间
  3577. type: string
  3578. userid:
  3579. description: 用户ID(自增ID)
  3580. type: integer
  3581. userinfotype:
  3582. description: 用户信息类型 - 1:个人 2:企业
  3583. type: integer
  3584. username:
  3585. description: 用户姓名
  3586. type: string
  3587. userstate:
  3588. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3589. type: integer
  3590. required:
  3591. - userid
  3592. type: object
  3593. erms3.QueryUserInfosRsp:
  3594. properties:
  3595. biznature:
  3596. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3597. type: integer
  3598. contactname:
  3599. description: 联系人
  3600. type: string
  3601. customername:
  3602. description: 客户名称(企业名称)
  3603. type: string
  3604. userid:
  3605. description: 用户ID
  3606. type: integer
  3607. userinfotype:
  3608. description: 用户信息类型 - 1:个人 2:企业
  3609. type: integer
  3610. userstatus:
  3611. description: 用户状态 - 1:正常 2:注销
  3612. type: integer
  3613. required:
  3614. - userid
  3615. type: object
  3616. erms3.SoptContractDetail:
  3617. properties:
  3618. deliverygoodsdesc:
  3619. description: 现货品种说明
  3620. type: string
  3621. deliverygoodsid:
  3622. description: 现货品种ID
  3623. type: integer
  3624. deliverygoodsname:
  3625. description: 现货品种名称
  3626. type: string
  3627. pointdesc:
  3628. description: 点价描述
  3629. type: string
  3630. producttype:
  3631. description: 产品类型 1:标准仓单 2:等标 3:非标
  3632. type: integer
  3633. producttypename:
  3634. description: 产品类型名称
  3635. type: string
  3636. spotPointOrderVoList:
  3637. description: 点价列表
  3638. items:
  3639. $ref: '#/definitions/erms3.SpotPointOrder'
  3640. type: array
  3641. spotPriceOrderList:
  3642. description: 定价列表
  3643. items:
  3644. $ref: '#/definitions/erms3.SpotPriceOrder'
  3645. type: array
  3646. unitname:
  3647. description: 单位名称
  3648. type: string
  3649. warehouseid:
  3650. description: 仓库ID
  3651. type: integer
  3652. warehousename:
  3653. description: 仓库名称
  3654. type: string
  3655. wrstandardid:
  3656. description: 交易标的ID
  3657. type: integer
  3658. wrstandardname:
  3659. description: 交易标的名称
  3660. type: string
  3661. required:
  3662. - deliverygoodsid
  3663. - producttype
  3664. - unitname
  3665. - warehouseid
  3666. - wrstandardid
  3667. - wrstandardname
  3668. type: object
  3669. erms3.SpotPointOrder:
  3670. properties:
  3671. basic:
  3672. description: 基差
  3673. type: number
  3674. deliveryenddate:
  3675. description: 交收结束日期
  3676. type: string
  3677. deliverystartdate:
  3678. description: 交收开始日期
  3679. type: string
  3680. enddate:
  3681. description: 点价结束日期
  3682. type: string
  3683. goodsid:
  3684. description: 商品ID
  3685. type: integer
  3686. goodsname:
  3687. description: 商品名称
  3688. type: string
  3689. qty:
  3690. description: 数量
  3691. type: number
  3692. startdate:
  3693. description: 点价开始日期
  3694. type: string
  3695. required:
  3696. - basic
  3697. - goodsid
  3698. - qty
  3699. type: object
  3700. erms3.SpotPriceOrder:
  3701. properties:
  3702. amount:
  3703. description: 金额
  3704. type: number
  3705. deliveryenddate:
  3706. description: 交收结束日期
  3707. type: string
  3708. deliverystartdate:
  3709. description: 交收开始日期
  3710. type: string
  3711. price:
  3712. description: 价格
  3713. type: number
  3714. qty:
  3715. description: 数量
  3716. type: number
  3717. required:
  3718. - amount
  3719. - price
  3720. - qty
  3721. type: object
  3722. hsby.GetHsbyMyCountRsp:
  3723. properties:
  3724. myCouponCount:
  3725. description: 我的优惠卷数量
  3726. type: integer
  3727. myOrderDetailListingCount:
  3728. description: 我的订单求购中数量
  3729. type: integer
  3730. myOrderDetailPreCount:
  3731. description: 我的订单抢购中数量
  3732. type: integer
  3733. myPackageUnReceiveCount:
  3734. description: 我的包裹待收货数量
  3735. type: integer
  3736. myPackageUnSendCount:
  3737. description: 我的包裹待发货数量
  3738. type: integer
  3739. myPayOrderCount:
  3740. description: 我的订单待付款数量
  3741. type: integer
  3742. type: object
  3743. hsby.QueryProvincesAndCitiesRsp:
  3744. properties:
  3745. cities:
  3746. description: 市
  3747. items:
  3748. $ref: '#/definitions/models.Division'
  3749. type: array
  3750. province:
  3751. $ref: '#/definitions/models.Division'
  3752. description: 省
  3753. type: object
  3754. models.Arearole:
  3755. properties:
  3756. createtime:
  3757. description: 创建时间
  3758. type: string
  3759. creatorid:
  3760. description: 创建人ID
  3761. type: integer
  3762. fromuserid:
  3763. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3764. type: integer
  3765. isreturnscore:
  3766. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3767. type: integer
  3768. modifierid:
  3769. description: 修改人ID
  3770. type: integer
  3771. modifytime:
  3772. description: 修改时间
  3773. type: string
  3774. orgtype:
  3775. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3776. type: integer
  3777. outuserid:
  3778. description: 外部账户[场外期权做市商]
  3779. type: string
  3780. parentuserid:
  3781. description: 上级组织机构(组织机构)
  3782. type: integer
  3783. roletype:
  3784. 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:门店
  3785. type: integer
  3786. rootuserid:
  3787. description: 顶级组织机构用户ID(组织机构)
  3788. type: integer
  3789. shoppassword:
  3790. description: 商城店铺登陆密码(商城店铺角色使用)
  3791. type: string
  3792. sublevelpath:
  3793. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3794. type: string
  3795. suborgtype:
  3796. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3797. type: integer
  3798. tradeaccountid:
  3799. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3800. type: integer
  3801. transurl:
  3802. description: 物流地址(物流机构)
  3803. type: string
  3804. userid:
  3805. description: 机构用户ID其他做市关系,都设置为 1
  3806. type: integer
  3807. required:
  3808. - roletype
  3809. - userid
  3810. type: object
  3811. models.Clientfixedadconfig:
  3812. properties:
  3813. adsort:
  3814. description: 排序
  3815. type: integer
  3816. adtype:
  3817. description: 广告位类型 - 1:新品抢购(HSBY)
  3818. type: integer
  3819. areauserid:
  3820. description: 所属机构ID
  3821. type: integer
  3822. createdate:
  3823. description: 创建时间
  3824. type: string
  3825. creatorid:
  3826. description: 创建人
  3827. type: integer
  3828. imagepath:
  3829. description: 图片
  3830. type: string
  3831. isshow:
  3832. description: 是否展示 - 0:不展示 1:展示
  3833. type: integer
  3834. modifierid:
  3835. description: 操作人
  3836. type: integer
  3837. recsize:
  3838. description: 推荐尺寸
  3839. type: string
  3840. title:
  3841. description: 标题
  3842. type: string
  3843. updatedate:
  3844. description: 更新时间
  3845. type: string
  3846. urlcontent:
  3847. description: 链接(地址或商品ID)
  3848. type: string
  3849. urltype:
  3850. description: 链接类型 - 1:直接地址 2:商品ID
  3851. type: integer
  3852. required:
  3853. - adsort
  3854. - adtype
  3855. type: object
  3856. models.Division:
  3857. properties:
  3858. autoid:
  3859. description: 自增ID
  3860. type: integer
  3861. divisioncode:
  3862. description: 行政代码
  3863. type: string
  3864. divisionlevel:
  3865. description: 行政级别
  3866. type: string
  3867. divisionname:
  3868. description: 行政名称
  3869. type: string
  3870. modifierid:
  3871. description: 修改人
  3872. type: integer
  3873. modifytime:
  3874. description: 修改时间
  3875. type: string
  3876. parentcode:
  3877. description: 上级行政代码
  3878. type: string
  3879. pathname:
  3880. description: 路径名称
  3881. type: string
  3882. postcode:
  3883. description: 邮政编码
  3884. type: string
  3885. separablename:
  3886. description: 可拆分的全称
  3887. type: string
  3888. shortcode:
  3889. description: 地区简码
  3890. type: string
  3891. required:
  3892. - autoid
  3893. - divisioncode
  3894. type: object
  3895. models.Enumdicitem:
  3896. properties:
  3897. autoid:
  3898. description: 自增ID
  3899. type: integer
  3900. bankmappedvalue:
  3901. description: 银行服务对应值
  3902. type: string
  3903. enumdiccode:
  3904. description: 所属枚举代码
  3905. type: string
  3906. enumdicid:
  3907. description: 所属枚举ID
  3908. type: integer
  3909. enumdicname:
  3910. description: 枚举项名称
  3911. type: string
  3912. enumitemname:
  3913. description: 枚举项值
  3914. type: integer
  3915. enumitemstatus:
  3916. description: 枚举项状态 - 1.启用 2.不启用
  3917. type: integer
  3918. enumitemvalue:
  3919. description: 通用值 - [币种通用简写]
  3920. type: string
  3921. param1:
  3922. description: 参数1[币种:币种小数位]
  3923. type: string
  3924. param2:
  3925. description: 参数1[币种:币种显示单位]
  3926. type: string
  3927. remark:
  3928. description: 备注
  3929. type: string
  3930. required:
  3931. - autoid
  3932. - enumdiccode
  3933. - enumdicid
  3934. - enumitemname
  3935. type: object
  3936. models.Ermcp3AreaSpot:
  3937. properties:
  3938. areauserid:
  3939. description: 所属机构
  3940. type: integer
  3941. convertratio:
  3942. description: 套保系数
  3943. type: number
  3944. decreaseqty:
  3945. description: 减少数量=-(销售已定价数量+采购计划数量)
  3946. type: number
  3947. enumdicname:
  3948. description: 单位名称
  3949. type: string
  3950. increaseqty:
  3951. description: 增加数量=销售计划数量+采购已定价数量
  3952. type: number
  3953. oritoalspotqty:
  3954. description: 昨日数量
  3955. type: number
  3956. totalspotqty:
  3957. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3958. type: number
  3959. unitid:
  3960. description: 现货商品单位id
  3961. type: integer
  3962. updatetime:
  3963. description: 更新时间
  3964. type: string
  3965. wrstandardcode:
  3966. description: 现货商品代码
  3967. type: string
  3968. wrstandardid:
  3969. description: 现货商品ID(SEQ_WRSTANDARD)
  3970. type: integer
  3971. wrstandardname:
  3972. description: 现货商品名称
  3973. type: string
  3974. type: object
  3975. models.Ermcp3AreaSpotDetail:
  3976. properties:
  3977. contracttype:
  3978. description: 合同类型 1-采购 -1-销售
  3979. type: integer
  3980. createtime:
  3981. description: 创建时间
  3982. type: string
  3983. enumdicname:
  3984. description: 现货商品单位名称
  3985. type: string
  3986. logtype:
  3987. description: 记录类型 1-套保 2-现货合同
  3988. type: integer
  3989. qty:
  3990. description: 数量
  3991. type: number
  3992. recordname:
  3993. description: 类型名称
  3994. type: string
  3995. relatedid:
  3996. description: 套保计划ID/现货合同ID
  3997. type: string
  3998. relatedno:
  3999. description: 编号
  4000. type: string
  4001. strtime:
  4002. description: 时间
  4003. type: string
  4004. wrstandardcode:
  4005. description: 现货商品代码
  4006. type: string
  4007. wrstandardid:
  4008. description: 现货商品ID(SEQ_WRSTANDARD)
  4009. type: integer
  4010. wrstandardname:
  4011. description: 现货商品名称
  4012. type: string
  4013. type: object
  4014. models.Ermcp3AreaSpotPLReport:
  4015. properties:
  4016. accountid:
  4017. description: 期货账户ID (作废, 默认为0)
  4018. type: integer
  4019. accountname:
  4020. description: 机构名称
  4021. type: string
  4022. actualpl:
  4023. description: 现货损益
  4024. type: number
  4025. areauserid:
  4026. description: 所属机构\交易用户ID
  4027. type: integer
  4028. begindate:
  4029. description: 开始交易日
  4030. type: string
  4031. biztype:
  4032. description: 业务类型 - 1:套保 2:套利
  4033. type: integer
  4034. brandname:
  4035. description: 品牌名称
  4036. type: string
  4037. curamount:
  4038. description: 期末额
  4039. type: number
  4040. curaverageprice:
  4041. description: 期末均价
  4042. type: number
  4043. curbuyamount:
  4044. description: 期末采购总额
  4045. type: number
  4046. curbuyqty:
  4047. description: 期末采购总量
  4048. type: number
  4049. curmarketvalue:
  4050. description: 参考市值(期末市值)
  4051. type: number
  4052. curqty:
  4053. description: 期末量
  4054. type: number
  4055. currencyid:
  4056. description: 结算币种ID【原值】
  4057. type: integer
  4058. currencyname:
  4059. description: 币种名称
  4060. type: string
  4061. cursellamount:
  4062. description: 期末销售总额
  4063. type: number
  4064. cursellqty:
  4065. description: 期末销售总量
  4066. type: number
  4067. curspotprice:
  4068. description: 参考市价(最新价)
  4069. type: number
  4070. cycletime:
  4071. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4072. type: string
  4073. cycletype:
  4074. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4075. type: integer
  4076. deliverygoodscode:
  4077. description: 现货商品代码
  4078. type: string
  4079. deliverygoodsid:
  4080. description: 现货品种ID
  4081. type: integer
  4082. deliverygoodsname:
  4083. description: 现货商品名称
  4084. type: string
  4085. enddate:
  4086. description: 结束交易日
  4087. type: string
  4088. enumdicname:
  4089. description: 现货商品单位名称
  4090. type: string
  4091. floatpl:
  4092. description: 浮动损益
  4093. type: number
  4094. goodsunitid:
  4095. description: 现货商品单位id
  4096. type: integer
  4097. oriamount:
  4098. description: 期初额
  4099. type: number
  4100. oriaverageprice:
  4101. description: 期初均价
  4102. type: number
  4103. oribuyamount:
  4104. description: 期初采购总额
  4105. type: number
  4106. oribuyqty:
  4107. description: 期初采购总量
  4108. type: number
  4109. oriqty:
  4110. description: 期初量
  4111. type: number
  4112. orisellamount:
  4113. description: 期初销售总额
  4114. type: number
  4115. orisellqty:
  4116. description: 期初销售总量
  4117. type: number
  4118. reckondate:
  4119. description: 日照时期(yyyyMMdd)
  4120. type: string
  4121. spotgoodsbrandid:
  4122. description: 现货品牌ID
  4123. type: integer
  4124. todaybuyamount:
  4125. description: 今日采购额(今采购额)
  4126. type: number
  4127. todaybuyaverageprice:
  4128. description: 今日采购均价
  4129. type: number
  4130. todaybuyqty:
  4131. description: 今日采购量(今采购量)
  4132. type: number
  4133. todayinqty:
  4134. description: 今日入库量(今入库量)
  4135. type: number
  4136. todayoutqty:
  4137. description: 今日出库量(今出库量)
  4138. type: number
  4139. todaysellamount:
  4140. description: 今日销售额(今销售额)
  4141. type: number
  4142. todaysellaverageprice:
  4143. description: 今日销售均价
  4144. type: number
  4145. todaysellqty:
  4146. description: 今日销售量(今销售量)
  4147. type: number
  4148. unitid:
  4149. description: 品类单位id
  4150. type: integer
  4151. unitidname:
  4152. description: 品类单位名称
  4153. type: string
  4154. updatetime:
  4155. description: 更新时间
  4156. type: string
  4157. wrfactortypeid:
  4158. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4159. type: integer
  4160. wrstandardcode:
  4161. description: 品类代码
  4162. type: string
  4163. wrstandardid:
  4164. description: 现货品类ID
  4165. type: integer
  4166. wrstandardname:
  4167. description: 品类名称
  4168. type: string
  4169. type: object
  4170. models.Ermcp3AreaStock:
  4171. properties:
  4172. brandname:
  4173. description: 品牌名称
  4174. type: string
  4175. curstock:
  4176. description: 期末库存量(今日量)
  4177. type: number
  4178. deliverygoodscode:
  4179. description: 现货品种代码
  4180. type: string
  4181. deliverygoodsid:
  4182. description: 现货品种id
  4183. type: integer
  4184. deliverygoodsname:
  4185. description: 现货品种名称
  4186. type: string
  4187. enumdicname:
  4188. description: 单位名称
  4189. type: string
  4190. goodsunitid:
  4191. description: 现货商品单位id
  4192. type: integer
  4193. oristock:
  4194. description: 期初库存量(昨日量)
  4195. type: number
  4196. spotgoodsbrandid:
  4197. description: 现货品牌ID
  4198. type: integer
  4199. todaybuyinqty:
  4200. description: 今日采购入库量
  4201. type: number
  4202. todayproduceinqty:
  4203. description: 今日生产入库量
  4204. type: number
  4205. todayproduceoutqty:
  4206. description: 今日生产出库量
  4207. type: number
  4208. todayselloutqty:
  4209. description: 今日销售出库量
  4210. type: number
  4211. unitid:
  4212. description: 单位id
  4213. type: integer
  4214. updatetime:
  4215. description: 更新时间
  4216. type: string
  4217. userid:
  4218. description: 机构ID
  4219. type: integer
  4220. username:
  4221. description: 机构名称
  4222. type: string
  4223. warehousecode:
  4224. description: 仓库代码
  4225. type: string
  4226. warehouseinfoid:
  4227. description: 仓库ID
  4228. type: string
  4229. warehousename:
  4230. description: 仓库名称
  4231. type: string
  4232. warehousetype:
  4233. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4234. type: integer
  4235. wrstandardcode:
  4236. description: 品类代码
  4237. type: string
  4238. wrstandardid:
  4239. description: 品类ID
  4240. type: string
  4241. wrstandardname:
  4242. description: 品类名称
  4243. type: string
  4244. required:
  4245. - userid
  4246. type: object
  4247. models.Ermcp3AreaStockApply:
  4248. properties:
  4249. applyid:
  4250. description: 申请人
  4251. type: integer
  4252. applyname:
  4253. description: 申请人名称
  4254. type: string
  4255. applyremark:
  4256. description: 申请备注
  4257. type: string
  4258. applysrc:
  4259. description: 申请来源 - 1:管理端 2:终端
  4260. type: integer
  4261. applystatus:
  4262. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4263. type: integer
  4264. applytime:
  4265. description: 申请时间
  4266. type: string
  4267. auditid:
  4268. description: 审核人
  4269. type: integer
  4270. auditname:
  4271. description: 审核人名称
  4272. type: string
  4273. auditremark:
  4274. description: 审核备注
  4275. type: string
  4276. auditsrc:
  4277. description: 审核来源 - 1:管理端 2:终端
  4278. type: integer
  4279. audittime:
  4280. description: 审核时间
  4281. type: string
  4282. audittradedate:
  4283. description: 审核交易日(yyyyMMdd)
  4284. type: string
  4285. brandname:
  4286. description: 品牌名称
  4287. type: string
  4288. buynickname:
  4289. description: 采购方昵称
  4290. type: string
  4291. buyuserid:
  4292. description: 采购方userid
  4293. type: integer
  4294. buyusername:
  4295. description: 采购方名称
  4296. type: string
  4297. contractno:
  4298. description: 合同编号
  4299. type: string
  4300. contractqty:
  4301. description: 合同量
  4302. type: number
  4303. contracttype:
  4304. description: 现货合同类型 - 1:采购 -1:销售
  4305. type: integer
  4306. deliverygoodscode:
  4307. description: 现货品种代码
  4308. type: string
  4309. deliverygoodsid:
  4310. description: 现货品种id
  4311. type: integer
  4312. deliverygoodsname:
  4313. description: 现货品种名称
  4314. type: string
  4315. detailjson:
  4316. description: 明细数据
  4317. type: string
  4318. enumdicname:
  4319. description: 现货商品单位名称
  4320. type: string
  4321. inoutapplyid:
  4322. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4323. type: string
  4324. inouttype:
  4325. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4326. type: integer
  4327. pricetype:
  4328. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4329. type: integer
  4330. qty:
  4331. description: 数量
  4332. type: number
  4333. sellnickname:
  4334. description: 销售方昵称
  4335. type: string
  4336. selluserid:
  4337. description: 销售方userid
  4338. type: integer
  4339. sellusername:
  4340. description: 销售方名称
  4341. type: string
  4342. spotcontractid:
  4343. description: 关联现货合同ID
  4344. type: string
  4345. spotgoodsbrandid:
  4346. description: 现货品牌ID
  4347. type: integer
  4348. unitid:
  4349. description: 单位id
  4350. type: integer
  4351. userid:
  4352. description: 机构ID
  4353. type: integer
  4354. warehousecode:
  4355. description: 仓库代码
  4356. type: string
  4357. warehouseinfoid:
  4358. description: 现货仓库ID
  4359. type: string
  4360. warehousename:
  4361. description: 仓库名称
  4362. type: string
  4363. warehousetype:
  4364. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4365. type: integer
  4366. wrstandardcode:
  4367. description: 品类代码
  4368. type: string
  4369. wrstandardid:
  4370. description: 品类ID
  4371. type: integer
  4372. wrstandardname:
  4373. description: 品类名称
  4374. type: string
  4375. type: object
  4376. models.Ermcp3AreaStockApplySum:
  4377. properties:
  4378. brandname:
  4379. description: 品牌名称
  4380. type: string
  4381. inouttype:
  4382. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4383. type: integer
  4384. spotcontractid:
  4385. description: 关联现货合同ID
  4386. type: string
  4387. spotgoodsbrandid:
  4388. description: 品牌id
  4389. type: integer
  4390. totalqty:
  4391. description: 总数量
  4392. type: number
  4393. wrstandardid:
  4394. description: 品类id
  4395. type: integer
  4396. wrstandardname:
  4397. description: 品类名称
  4398. type: string
  4399. type: object
  4400. models.Ermcp3AreaStockReportEx:
  4401. properties:
  4402. begindate:
  4403. description: 开始交易日
  4404. type: string
  4405. brandname:
  4406. description: 品牌名称
  4407. type: string
  4408. curstock:
  4409. description: 期末库存量
  4410. type: number
  4411. cycletime:
  4412. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4413. type: string
  4414. cycletype:
  4415. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4416. type: integer
  4417. deliverygoodscode:
  4418. description: 现货品种代码
  4419. type: string
  4420. deliverygoodsid:
  4421. description: 现货品种id
  4422. type: integer
  4423. deliverygoodsname:
  4424. description: 现货品种名称
  4425. type: string
  4426. diffqty:
  4427. description: 库存变化量 = 期末 - 期初
  4428. type: number
  4429. enddate:
  4430. description: 结束交易日
  4431. type: string
  4432. enumdicname:
  4433. description: 单位名称
  4434. type: string
  4435. goodsunitid:
  4436. description: 现货单位id
  4437. type: integer
  4438. oristock:
  4439. description: 期初库存量
  4440. type: number
  4441. reckondate:
  4442. description: 日照时期(yyyyMMdd)
  4443. type: string
  4444. spotgoodsbrandid:
  4445. description: 现货品牌ID
  4446. type: integer
  4447. todaybuyinqty:
  4448. description: 今采购入库量
  4449. type: number
  4450. todayproduceinqty:
  4451. description: 今内部入库量
  4452. type: number
  4453. todayproduceoutqty:
  4454. description: 今内部出库量
  4455. type: number
  4456. todayselloutqty:
  4457. description: 今销售出库量
  4458. type: number
  4459. unbuyinqty:
  4460. description: 采购未入库量(数据库未找到相关字段?)
  4461. type: number
  4462. unitid:
  4463. description: 品类单位id
  4464. type: integer
  4465. unselloutqty:
  4466. description: 销售未出库量(数据库未找到相关字段?)
  4467. type: number
  4468. updatetime:
  4469. description: 更新时间
  4470. type: string
  4471. userid:
  4472. description: 机构ID
  4473. type: integer
  4474. username:
  4475. description: 机构名称
  4476. type: string
  4477. warehousecode:
  4478. description: 仓库代码
  4479. type: string
  4480. warehouseinfoid:
  4481. description: 仓库ID
  4482. type: string
  4483. warehousename:
  4484. description: 仓库名称
  4485. type: string
  4486. warehousetype:
  4487. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4488. type: integer
  4489. wrstandardcode:
  4490. description: 品类代码
  4491. type: string
  4492. wrstandardid:
  4493. description: 品类ID
  4494. type: integer
  4495. wrstandardname:
  4496. description: 品类名称
  4497. type: string
  4498. type: object
  4499. models.Ermcp3ArealSumPL:
  4500. properties:
  4501. accountname:
  4502. description: 机构名称
  4503. type: string
  4504. areauserid:
  4505. description: 所属机构\交易用户ID
  4506. type: integer
  4507. begindate:
  4508. description: 开始交易日
  4509. type: string
  4510. currencyid:
  4511. description: 结算币种ID
  4512. type: integer
  4513. currencyname:
  4514. description: 币种名称
  4515. type: string
  4516. cycletime:
  4517. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4518. type: string
  4519. cycletype:
  4520. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4521. type: integer
  4522. enddate:
  4523. description: 结束交易日
  4524. type: string
  4525. enumdicname:
  4526. description: 单位名称(套保品种)
  4527. type: string
  4528. futureactualpl:
  4529. description: 期货损益
  4530. type: number
  4531. futurefloatpl:
  4532. description: 期货浮动损益
  4533. type: number
  4534. futurespotratio:
  4535. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  4536. type: number
  4537. goodsunitid:
  4538. description: 套保品种单位id
  4539. type: integer
  4540. hedgeexposurepl:
  4541. description: 套保敞口损益
  4542. type: number
  4543. middlegoodscode:
  4544. description: 套保品种代码
  4545. type: string
  4546. middlegoodsid:
  4547. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  4548. type: integer
  4549. middlegoodsname:
  4550. description: 套保品种名称
  4551. type: string
  4552. reckondate:
  4553. description: 日照时期(yyyyMMdd)
  4554. type: string
  4555. spotactualpl:
  4556. description: 现货损益
  4557. type: number
  4558. spotfloatpl:
  4559. description: 现货浮动损益
  4560. type: number
  4561. sumactualpl:
  4562. description: 实际损益 = (ActualPL + FutureActualPL)
  4563. type: number
  4564. sumpl:
  4565. description: 总敞口损益 | 汇总损益
  4566. type: number
  4567. totalfutureqty:
  4568. description: 期货头寸总量
  4569. type: number
  4570. totalneedhedgeqty:
  4571. description: 应套保总量
  4572. type: number
  4573. totalspotqty:
  4574. description: 现货头寸总量
  4575. type: number
  4576. updatetime:
  4577. description: 更新时间
  4578. type: string
  4579. type: object
  4580. models.Ermcp3Brand:
  4581. properties:
  4582. areauserid:
  4583. description: 用户id
  4584. type: integer
  4585. brandid:
  4586. description: 品牌id
  4587. type: integer
  4588. brandname:
  4589. description: 品牌名称
  4590. type: string
  4591. deliverygoodsid:
  4592. description: 品种ID
  4593. type: integer
  4594. isvalid:
  4595. description: 是否有效
  4596. type: integer
  4597. type: object
  4598. models.Ermcp3Contract:
  4599. properties:
  4600. accountid:
  4601. description: 期货账户id
  4602. type: string
  4603. amount:
  4604. description: 金额 [1:一口价、3:暂定价]
  4605. type: number
  4606. attachment:
  4607. description: 附件
  4608. type: string
  4609. auditremark:
  4610. description: 审核意见
  4611. type: string
  4612. audittime:
  4613. description: 审核时间
  4614. type: string
  4615. biztype:
  4616. description: 业务类型 1-套保 2-套利
  4617. type: integer
  4618. brandname:
  4619. description: 品牌名称
  4620. type: string
  4621. buynickname:
  4622. description: 销售方昵称
  4623. type: string
  4624. buyuserid:
  4625. description: 采购方ID
  4626. type: integer
  4627. buyusername:
  4628. description: 采购方名称
  4629. type: string
  4630. contracctstatus:
  4631. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4632. type: integer
  4633. contractmargin:
  4634. description: 合同保证金
  4635. type: number
  4636. contractno:
  4637. description: 现货合同编号
  4638. type: string
  4639. contracttype:
  4640. description: 现货合同类型 - 1:采购 -1:销售
  4641. type: integer
  4642. convertfactor:
  4643. description: 标仓系数(品类)
  4644. type: number
  4645. createtime:
  4646. description: 创建时间
  4647. type: string
  4648. currencyid:
  4649. description: 币种id
  4650. type: integer
  4651. currencyname:
  4652. description: 币种名称
  4653. type: string
  4654. deliveryenddate:
  4655. description: 交收期(结束)
  4656. type: string
  4657. deliverygoodscode:
  4658. description: 现货品种代码
  4659. type: string
  4660. deliverygoodsid:
  4661. description: 现货品种ID
  4662. type: integer
  4663. deliverygoodsname:
  4664. description: 现货品种名称
  4665. type: string
  4666. deliverystartdate:
  4667. description: 交收期(开始)
  4668. type: string
  4669. enddate:
  4670. description: 点价结束日期 [2:点价 3:暂定价]
  4671. type: string
  4672. enumdicname:
  4673. description: 单位名称
  4674. type: string
  4675. goodscode:
  4676. description: 点价合约代码
  4677. type: string
  4678. goodsid:
  4679. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  4680. type: integer
  4681. goodsname:
  4682. description: 点价商品名称
  4683. type: string
  4684. margin:
  4685. description: 当前保证金
  4686. type: number
  4687. meruserid:
  4688. description: 跟单员id
  4689. type: integer
  4690. meruserlogincode:
  4691. description: 跟单员登录代码
  4692. type: string
  4693. merusername:
  4694. description: 跟单员名称
  4695. type: string
  4696. price:
  4697. description: 价格\暂定价 [1:一口价、3:暂定价]
  4698. type: number
  4699. pricemove:
  4700. description: 升贴水 [2:点价 3:暂定价]
  4701. type: number
  4702. pricetype:
  4703. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4704. type: integer
  4705. producttype:
  4706. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4707. type: integer
  4708. qty:
  4709. description: 数量
  4710. type: number
  4711. remark:
  4712. description: 备注
  4713. type: string
  4714. saleuserid:
  4715. description: 业务员id
  4716. type: integer
  4717. saleuserlogincode:
  4718. description: 业务员登录代码
  4719. type: string
  4720. saleusername:
  4721. description: 业务员名称
  4722. type: string
  4723. sellnickname:
  4724. description: 采购方昵称
  4725. type: string
  4726. selluserid:
  4727. description: 销售方ID
  4728. type: integer
  4729. sellusername:
  4730. description: 销售方名称
  4731. type: string
  4732. spotcontractid:
  4733. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  4734. type: string
  4735. spotgoodsbrandid:
  4736. description: 现货品牌ID(DGFactoryItem表的ID)
  4737. type: integer
  4738. spotgoodsdesc:
  4739. description: 商品型号
  4740. type: string
  4741. startdate:
  4742. description: 点价开始日期 [2:点价 3:暂定价]
  4743. type: string
  4744. subjectid:
  4745. description: 交易主体ID
  4746. type: integer
  4747. subjectname:
  4748. description: 交易主体名称
  4749. type: string
  4750. tradeuserid:
  4751. description: 交易员id
  4752. type: integer
  4753. tradeuserlogincode:
  4754. description: 交易员登录代码
  4755. type: string
  4756. tradeusername:
  4757. description: 交易员名称
  4758. type: string
  4759. unitid:
  4760. description: 单位id(取品类上的单位id)
  4761. type: integer
  4762. updatetime:
  4763. description: 更新时间
  4764. type: string
  4765. userid:
  4766. description: 所属机构ID
  4767. type: integer
  4768. vatrate:
  4769. description: 增值税率
  4770. type: number
  4771. wrstandardcode:
  4772. description: 品类代码
  4773. type: string
  4774. wrstandardid:
  4775. description: 品类ID
  4776. type: integer
  4777. wrstandardname:
  4778. description: 品类名称
  4779. type: string
  4780. type: object
  4781. models.Ermcp3ExposureContractDetail:
  4782. properties:
  4783. biztype:
  4784. description: 业务类型 1-套保 2-套利
  4785. type: integer
  4786. brandname:
  4787. description: 品牌名称
  4788. type: string
  4789. buyuserid:
  4790. description: 采购方id
  4791. type: integer
  4792. buyusername:
  4793. description: 采购方名称
  4794. type: string
  4795. contractno:
  4796. description: 合同编号
  4797. type: string
  4798. contracttype:
  4799. description: 现货合同类型 - 1:采购 -1:销售
  4800. type: integer
  4801. convertfactor:
  4802. description: 标仓系数
  4803. type: number
  4804. convertratio:
  4805. description: 折算系数(套保品种)
  4806. type: number
  4807. curqty:
  4808. description: 今定价量
  4809. type: number
  4810. deliverygoodscode:
  4811. description: 现货品种代码
  4812. type: string
  4813. deliverygoodsid:
  4814. description: 现货品种id
  4815. type: integer
  4816. deliverygoodsname:
  4817. description: 现货品种名称
  4818. type: string
  4819. diffhedgeqty:
  4820. description: 套保变动量
  4821. type: number
  4822. diffneedhedgeqty:
  4823. description: 应套保变动量
  4824. type: number
  4825. diffqty:
  4826. description: 套保品种今变动量
  4827. type: number
  4828. enumdicname:
  4829. description: 单位名称
  4830. type: string
  4831. mgunitname:
  4832. description: 套保品种单位名称
  4833. type: string
  4834. middlegoodscode:
  4835. description: 套保品种代码
  4836. type: string
  4837. middlegoodsid:
  4838. description: 套保品种id
  4839. type: integer
  4840. middlegoodsname:
  4841. description: 套保品种名称
  4842. type: string
  4843. needarbitrageratio:
  4844. description: 应套利比例
  4845. type: number
  4846. needhedgeratio:
  4847. description: 应套保比例
  4848. type: number
  4849. pricedqty:
  4850. description: 已定价量
  4851. type: number
  4852. qty:
  4853. description: 合同量
  4854. type: number
  4855. selluserid:
  4856. description: 销售方id
  4857. type: integer
  4858. sellusername:
  4859. description: 销售方名称
  4860. type: string
  4861. spotcontractid:
  4862. description: 合同id
  4863. type: string
  4864. todaypricedqty:
  4865. description: 今定价量
  4866. type: number
  4867. tradedate:
  4868. description: 交易日
  4869. type: string
  4870. unitid:
  4871. description: 品类单位id
  4872. type: integer
  4873. userid:
  4874. description: 机构id
  4875. type: integer
  4876. username:
  4877. description: 交易用户
  4878. type: string
  4879. wrstandardcode:
  4880. description: 现货商品代码
  4881. type: string
  4882. wrstandardid:
  4883. description: 现货商品id
  4884. type: integer
  4885. wrstandardname:
  4886. description: 现货商品名称
  4887. type: string
  4888. type: object
  4889. models.Ermcp3ExposureDetail:
  4890. properties:
  4891. areauserid:
  4892. description: 机构ID
  4893. type: integer
  4894. changeQty:
  4895. description: 套保变动量
  4896. type: number
  4897. contracttype:
  4898. description: 现货合同类型 - 1:采购 -1:销售
  4899. type: integer
  4900. convertfactor:
  4901. description: 标仓系数
  4902. type: number
  4903. convertratio:
  4904. description: 折算系数
  4905. type: number
  4906. createtime:
  4907. description: 时间
  4908. type: string
  4909. enumdicname:
  4910. description: 现货商品单位名称
  4911. type: string
  4912. logtype:
  4913. description: 类型 - 1:套保计划 2:现货合同
  4914. type: integer
  4915. mgunitid:
  4916. description: 套保品种单位id
  4917. type: integer
  4918. mgunitidname:
  4919. description: 套保品种单位名称
  4920. type: string
  4921. middlegoodsId:
  4922. description: 套保商品id
  4923. type: integer
  4924. middlegoodscode:
  4925. description: 套保商品代码
  4926. type: string
  4927. middlegoodsname:
  4928. description: 套保商品名称
  4929. type: string
  4930. qty:
  4931. description: 数量
  4932. type: number
  4933. relateNo:
  4934. description: 现货合同/套保计划编号
  4935. type: string
  4936. unitid:
  4937. description: 现货商品单位id
  4938. type: integer
  4939. wrstandardcode:
  4940. description: 现货商品代码
  4941. type: string
  4942. wrstandardid:
  4943. description: 现货商品ID(SEQ_WRSTANDARD)
  4944. type: integer
  4945. wrstandardname:
  4946. description: 现货商品名称
  4947. type: string
  4948. type: object
  4949. models.Ermcp3ExposureFutuDetail:
  4950. properties:
  4951. accountid:
  4952. description: 交易账户id
  4953. type: integer
  4954. accountname:
  4955. description: 交易账户
  4956. type: string
  4957. begindate:
  4958. description: 开始交易日
  4959. type: string
  4960. buyorsell:
  4961. description: 方向 0-买 1-卖
  4962. type: integer
  4963. diffmgqty:
  4964. description: 套保品种今变化量
  4965. type: number
  4966. diffneedqty:
  4967. description: 应套保总量变化量
  4968. type: number
  4969. difftradeqty:
  4970. description: 交易品种今变化量
  4971. type: number
  4972. enddate:
  4973. description: 结束交易日
  4974. type: string
  4975. enumdicname:
  4976. description: 单位名称
  4977. type: string
  4978. goodscode:
  4979. description: 商品代码
  4980. type: string
  4981. goodsid:
  4982. description: 商品id
  4983. type: integer
  4984. goodsname:
  4985. description: 商品名称
  4986. type: string
  4987. holdqty:
  4988. description: 期末持仓量
  4989. type: number
  4990. middlegoodscode:
  4991. description: 套保商品代码
  4992. type: string
  4993. middlegoodsid:
  4994. description: 套保商品id
  4995. type: integer
  4996. middlegoodsname:
  4997. description: 套保商品名称
  4998. type: string
  4999. oriholdqty:
  5000. description: 期初持仓量
  5001. type: number
  5002. todaycloseqty:
  5003. description: 今平仓量
  5004. type: number
  5005. todayopenqty:
  5006. description: 今开仓量
  5007. type: number
  5008. tradedate:
  5009. description: 交易日
  5010. type: string
  5011. username:
  5012. description: 用户名称(交易用户)
  5013. type: string
  5014. type: object
  5015. models.Ermcp3ExposureHedgeplanDetail:
  5016. properties:
  5017. biztype:
  5018. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5019. type: integer
  5020. changqty:
  5021. description: 应套保总量变化量
  5022. type: number
  5023. contracttype:
  5024. description: 计划类型 - 1:采购 -1:销售
  5025. type: integer
  5026. convertratio:
  5027. description: 折算系数(套保品种)
  5028. type: number
  5029. deliverygoodscode:
  5030. description: 现货商品代码
  5031. type: string
  5032. deliverygoodsid:
  5033. description: 现货商品id
  5034. type: integer
  5035. deliverygoodsname:
  5036. description: 现货商吕名称
  5037. type: string
  5038. dgunitid:
  5039. description: 现货商品单位id
  5040. type: integer
  5041. dgunitidname:
  5042. description: 单位名称(现货商品)
  5043. type: string
  5044. diffqty:
  5045. description: 套保品种今变动量
  5046. type: number
  5047. enumdicname:
  5048. description: 单位名称(品类)
  5049. type: string
  5050. hedgeplanid:
  5051. description: 套保计划id
  5052. type: string
  5053. hedgeplanno:
  5054. description: 套保计划名称
  5055. type: string
  5056. hedgeplanstatus:
  5057. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5058. type: integer
  5059. mgunitidname:
  5060. description: 单位名称(套保商品)
  5061. type: string
  5062. middlegoodscode:
  5063. description: 套保品种代码
  5064. type: string
  5065. middlegoodsid:
  5066. description: 套保品种id
  5067. type: integer
  5068. middlegoodsname:
  5069. description: 套保品种名称
  5070. type: string
  5071. needarbitrageratio:
  5072. description: 应套利比例
  5073. type: number
  5074. needhedgeratio:
  5075. description: 应套保比例
  5076. type: number
  5077. pricedqty:
  5078. description: 已定价量
  5079. type: number
  5080. qty:
  5081. description: 合同量
  5082. type: number
  5083. tradedate:
  5084. description: 交易日(登记日)
  5085. type: string
  5086. unitid:
  5087. description: 品类单位id
  5088. type: integer
  5089. userid:
  5090. description: 机构id
  5091. type: integer
  5092. wrstandardcode:
  5093. description: 品类代码
  5094. type: string
  5095. wrstandardid:
  5096. description: 品类id
  5097. type: integer
  5098. wrstandardname:
  5099. description: 品类名称
  5100. type: string
  5101. type: object
  5102. models.Ermcp3ExposureParamChLog:
  5103. properties:
  5104. accountid:
  5105. description: 期货账户ID (作废, 默认为0)
  5106. type: integer
  5107. aftervalue:
  5108. description: 应套保\套利量变更后(调整后应套保总量)
  5109. type: number
  5110. areauserid:
  5111. description: 所属机构\交易用户ID
  5112. type: integer
  5113. beforevalue:
  5114. description: 应套保\套利量变更前(调整前应套保总量)
  5115. type: number
  5116. begindate:
  5117. description: 开始交易日
  5118. type: string
  5119. changelogtype:
  5120. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5121. type: integer
  5122. curvalue:
  5123. description: 当前套保\套利量(套保总量|套利总量)
  5124. type: number
  5125. diffvalue:
  5126. description: 应套保总量变化量
  5127. type: number
  5128. enddate:
  5129. description: 结束交易日
  5130. type: string
  5131. logdatetime:
  5132. description: 流水日期
  5133. type: string
  5134. logid:
  5135. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5136. type: string
  5137. middlegoodscode:
  5138. description: 套保品种代码
  5139. type: string
  5140. middlegoodsid:
  5141. description: 套保品种
  5142. type: integer
  5143. middlegoodsname:
  5144. description: 套保品种名称
  5145. type: string
  5146. paramaftervalue:
  5147. description: 参数变更后(调整后参数值)
  5148. type: number
  5149. parambeforevalue:
  5150. description: 参数变更前(调整前参数值)
  5151. type: number
  5152. tradedate:
  5153. description: 交易日(yyyyMMdd)
  5154. type: string
  5155. type: object
  5156. models.Ermcp3ExpourseReport:
  5157. properties:
  5158. accountid:
  5159. description: 期货账户ID (作废, 默认为0)
  5160. type: integer
  5161. accountname:
  5162. description: 机构名称
  5163. type: string
  5164. arbitrageqty:
  5165. description: 套利量
  5166. type: number
  5167. areauserid:
  5168. description: 所属机构\交易用户ID
  5169. type: integer
  5170. begindate:
  5171. description: 开始交易日
  5172. type: string
  5173. buyfutureqty:
  5174. description: 买入期货数量
  5175. type: number
  5176. buyplanqty:
  5177. description: 采购计划数量
  5178. type: number
  5179. buypricedqty:
  5180. description: 采购合同已定价数量
  5181. type: number
  5182. cycletime:
  5183. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5184. type: string
  5185. cycletype:
  5186. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5187. type: integer
  5188. diffexposure:
  5189. description: 变动量(套保敞口)
  5190. type: number
  5191. difffutuqty:
  5192. description: 变动量(期货)
  5193. type: number
  5194. diffhedgeqty:
  5195. description: 变动量(现货应套保总量)
  5196. type: number
  5197. diffmgqtya:
  5198. description: 套保变动量
  5199. type: number
  5200. diffmgqtyb:
  5201. description: 套利变动量
  5202. type: number
  5203. diffqty:
  5204. description: 变动量(总敞口)
  5205. type: number
  5206. diffspotqty:
  5207. description: 变动量(现货)
  5208. type: number
  5209. enddate:
  5210. description: 结束交易日
  5211. type: string
  5212. enumdicname:
  5213. description: 单位名称
  5214. type: string
  5215. hedgeqty:
  5216. description: 套保量
  5217. type: number
  5218. mgneedhedgeratio:
  5219. description: 套保比例(套保品的)
  5220. type: number
  5221. middlegoodsid:
  5222. description: 套保品种ID
  5223. type: integer
  5224. middlegoodsname:
  5225. description: 套保商品名称
  5226. type: string
  5227. middlgoodscode:
  5228. description: 套保商品代码
  5229. type: string
  5230. needarbitrageqty:
  5231. description: 应套利量
  5232. type: number
  5233. needarbitrageratio:
  5234. description: 套利比例(套保品的)
  5235. type: number
  5236. needhedgeexposoure:
  5237. description: 应套保敞口(套保敞口)
  5238. type: number
  5239. needhedgeqty:
  5240. description: 应套保量
  5241. type: number
  5242. needhedgeratio:
  5243. description: 应套保敞口比例
  5244. type: number
  5245. oriarbitrageqty:
  5246. description: 期初套利量
  5247. type: number
  5248. oribuyfutureqty:
  5249. description: 期初买入期货数量
  5250. type: number
  5251. oribuyplanqty:
  5252. description: 期初采购计划数量
  5253. type: number
  5254. oribuypricedqty:
  5255. description: 期初采购合同已定价数量
  5256. type: number
  5257. orihedgeqty:
  5258. description: 期初套保量
  5259. type: number
  5260. orineedarbitrageqty:
  5261. description: 期初应套利量
  5262. type: number
  5263. orineedhedgeexposoure:
  5264. description: 期初应套保敞口
  5265. type: number
  5266. orineedhedgeqty:
  5267. description: 期初应套保量
  5268. type: number
  5269. orisellfutureqty:
  5270. description: 期初卖出期货数量
  5271. type: number
  5272. orisellplanqty:
  5273. description: 期初销售计划数量
  5274. type: number
  5275. orisellpricedqty:
  5276. description: 期初销售合同已定价数量
  5277. type: number
  5278. oritotalexposure:
  5279. description: 期初实时总敞口
  5280. type: number
  5281. oritotalfutureqty:
  5282. description: 期初期货头寸总量
  5283. type: number
  5284. oritotalneedhedgeqty:
  5285. description: 期初应套保总量
  5286. type: number
  5287. oritotalspotqty:
  5288. description: 期初现货头寸总量
  5289. type: number
  5290. reckondate:
  5291. description: 日照时期(yyyyMMdd)
  5292. type: string
  5293. sellfutureqty:
  5294. description: 卖出期货数量
  5295. type: number
  5296. sellplanqty:
  5297. description: 销售计划数量
  5298. type: number
  5299. sellpricedqty:
  5300. description: 销售合同已定价数量
  5301. type: number
  5302. totalexposure:
  5303. description: 实时总敞口(总敞口)
  5304. type: number
  5305. totalfutureqty:
  5306. description: 期货头寸总量(期货总量)
  5307. type: number
  5308. totalhedgeratio:
  5309. description: 敞口比例
  5310. type: number
  5311. totalneedhedgeqty:
  5312. description: 应套保总量(现货应套保总量)
  5313. type: number
  5314. totalspotqty:
  5315. description: 现货头寸总量
  5316. type: number
  5317. unitid:
  5318. description: 单位id
  5319. type: integer
  5320. updatetime:
  5321. description: 更新时间
  5322. type: string
  5323. type: object
  5324. models.Ermcp3FinanceReport:
  5325. properties:
  5326. accountname:
  5327. description: 机构名称
  5328. type: string
  5329. areauserid:
  5330. description: 所属机构\交易用户ID
  5331. type: integer
  5332. begindate:
  5333. description: 开始交易日
  5334. type: string
  5335. biztype:
  5336. description: 业务类型 - 1:套保 2:套利
  5337. type: integer
  5338. brandname:
  5339. description: 品牌名称
  5340. type: string
  5341. buypreinvoicedamount:
  5342. description: 采购预收票额(预收票额)
  5343. type: number
  5344. buyprepaidamount:
  5345. description: 采购预付款额(预付货款额)
  5346. type: number
  5347. buytodayinvoiceamount:
  5348. description: 采购今收票额(今收票额)
  5349. type: number
  5350. buytodayrefundamount:
  5351. description: 采购今收退款额(今收退款额)
  5352. type: number
  5353. buytodaysettleamount:
  5354. description: 采购今付款额(今付货款额)
  5355. type: number
  5356. buyuninvoicedamount:
  5357. description: 采购应收票额(应收票额)
  5358. type: number
  5359. buyunpaidamount:
  5360. description: 采购应付款额(应付货款额)
  5361. type: number
  5362. currencyid:
  5363. description: 结算币种ID
  5364. type: integer
  5365. currencyname:
  5366. description: 币种名称
  5367. type: string
  5368. cycletime:
  5369. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5370. type: string
  5371. cycletype:
  5372. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5373. type: integer
  5374. deliverygoodscode:
  5375. description: 现货品种代码
  5376. type: string
  5377. deliverygoodsid:
  5378. description: 现货品种ID
  5379. type: integer
  5380. deliverygoodsname:
  5381. description: 现货品种名称
  5382. type: string
  5383. enddate:
  5384. description: 结束交易日
  5385. type: string
  5386. reckondate:
  5387. description: 日照时期(yyyyMMdd)
  5388. type: string
  5389. sellpreinvoicedamount:
  5390. description: 销售预开票额(预开票额)
  5391. type: number
  5392. sellprepaidamount:
  5393. description: 销售预收款额(预收货款额)
  5394. type: number
  5395. selltodayinvoiceamount:
  5396. description: 销售今开票额(今开票额)
  5397. type: number
  5398. selltodayrefundamount:
  5399. description: 销售今付退款额(今付退款额)
  5400. type: number
  5401. selltodaysettleamount:
  5402. description: 销售今收款额(今收货款额)
  5403. type: number
  5404. selluninvoicedamount:
  5405. description: 销售应开票额(应开票额)
  5406. type: number
  5407. sellunpaidamount:
  5408. description: 销售应收款额(应收货款额)
  5409. type: number
  5410. spotgoodsbrandid:
  5411. description: 现货品牌ID
  5412. type: integer
  5413. todaypaysum:
  5414. description: 今付款合计
  5415. type: number
  5416. todayreceivesum:
  5417. description: 今收款合计
  5418. type: number
  5419. updatetime:
  5420. description: 更新时间
  5421. type: string
  5422. wrfactortypeid:
  5423. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  5424. type: integer
  5425. wrstandardcode:
  5426. description: 品类代码
  5427. type: string
  5428. wrstandardid:
  5429. description: 现货商品ID
  5430. type: integer
  5431. wrstandardname:
  5432. description: 品类名称
  5433. type: string
  5434. type: object
  5435. models.Ermcp3GoodsGroup:
  5436. properties:
  5437. agreeunit:
  5438. description: 合约单位
  5439. type: number
  5440. areauserid:
  5441. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  5442. type: integer
  5443. canshort:
  5444. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  5445. type: integer
  5446. closepricemode:
  5447. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5448. type: integer
  5449. createtime:
  5450. description: 创建时间
  5451. type: string
  5452. creatorid:
  5453. description: 创建人
  5454. type: integer
  5455. currencyid:
  5456. description: 报价货币ID
  5457. type: integer
  5458. decimalplace:
  5459. description: 报价小数位
  5460. type: integer
  5461. enumdicname:
  5462. description: 单位名称
  5463. type: string
  5464. exchangefullname:
  5465. description: 交易所全称
  5466. type: string
  5467. excludecfg:
  5468. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  5469. type: integer
  5470. exexchangecode:
  5471. description: 交易所代码
  5472. type: string
  5473. exexchangeid:
  5474. description: 外部交易所ID[通道交易]
  5475. type: integer
  5476. exexchangename:
  5477. description: 交易所名称
  5478. type: string
  5479. goodsgroupid:
  5480. description: 商品组ID(自增ID)
  5481. type: integer
  5482. goodsgroupname:
  5483. description: 商品组名称
  5484. type: string
  5485. goodsgroupstatus:
  5486. description: 商品组状态 - 1:正常 2:注销
  5487. type: integer
  5488. goodunitid:
  5489. description: 报价单位ID
  5490. type: integer
  5491. groupcategroyid:
  5492. description: 品种分类ID
  5493. type: integer
  5494. innerdealmode:
  5495. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5496. type: integer
  5497. marketid:
  5498. description: 所属市场ID
  5499. type: integer
  5500. modifierid:
  5501. description: 修改人
  5502. type: integer
  5503. modifytime:
  5504. description: 修改时间
  5505. type: string
  5506. outerdealmode:
  5507. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5508. type: integer
  5509. outergroupcode:
  5510. description: 外部商品组代码[通道交易]
  5511. type: string
  5512. quoteminunit:
  5513. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5514. type: integer
  5515. quotesourcegroupid:
  5516. description: 所属行情源分组ID[参考行情市场用\通道交易]
  5517. type: integer
  5518. syncgoodsqty:
  5519. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  5520. type: integer
  5521. required:
  5522. - areauserid
  5523. type: object
  5524. models.Ermcp3HedgePlan:
  5525. properties:
  5526. accountid:
  5527. description: 资金账号
  5528. type: integer
  5529. areauserid:
  5530. description: 用户ID
  5531. type: integer
  5532. auditid:
  5533. description: 审核id
  5534. type: integer
  5535. auditname:
  5536. description: 审核人名称
  5537. type: string
  5538. auditremark:
  5539. description: 审核备注
  5540. type: string
  5541. auditsrc:
  5542. description: 审核来源 1-管理端 2-终端
  5543. type: integer
  5544. audittime:
  5545. description: 审核时间
  5546. type: string
  5547. contracttype:
  5548. description: 计划类型 - 1:采购 -1:销售
  5549. type: integer
  5550. convertfactor:
  5551. description: 标仓系数
  5552. type: number
  5553. createtime:
  5554. description: 创建时间
  5555. type: string
  5556. currencyid:
  5557. description: 币种id
  5558. type: integer
  5559. currencyname:
  5560. description: 币种名称
  5561. type: string
  5562. deliverygoodscode:
  5563. description: 现货品种代码
  5564. type: string
  5565. deliverygoodsid:
  5566. description: 现货品种ID
  5567. type: integer
  5568. deliverygoodsname:
  5569. description: 现货品种名称
  5570. type: string
  5571. enumdicname:
  5572. description: 单位名称(现货商品)
  5573. type: string
  5574. hedgeplanid:
  5575. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  5576. type: string
  5577. hedgeplanno:
  5578. description: 套保计划编号(名称)
  5579. type: string
  5580. hedgeplanstatus:
  5581. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5582. type: integer
  5583. planqty:
  5584. description: 计划数量
  5585. type: number
  5586. plantime:
  5587. description: 计划时间
  5588. type: string
  5589. producttype:
  5590. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5591. type: integer
  5592. remark:
  5593. description: 备注
  5594. type: string
  5595. spotgoodsdesc:
  5596. description: 商品型号
  5597. type: string
  5598. taaccountname:
  5599. description: 资金账号名称
  5600. type: string
  5601. tradeuserid:
  5602. description: 交易用户id
  5603. type: integer
  5604. tradeusername:
  5605. description: 交易用户名称
  5606. type: string
  5607. unitid:
  5608. description: 单位id(现货商品)
  5609. type: integer
  5610. updatetime:
  5611. description: 更新时间
  5612. type: string
  5613. vatrate:
  5614. description: 增值税率
  5615. type: number
  5616. wrstandardcode:
  5617. description: 品类代码
  5618. type: string
  5619. wrstandardid:
  5620. description: 品类id
  5621. type: integer
  5622. wrstandardname:
  5623. description: 品类名称
  5624. type: string
  5625. wrunitid:
  5626. description: 品类单位id
  5627. type: integer
  5628. wrunitidame:
  5629. description: 品类单位名称
  5630. type: string
  5631. type: object
  5632. models.Ermcp3InnerTradeLink:
  5633. properties:
  5634. accountid:
  5635. description: 期货账号代码 | 资金账号ID
  5636. type: integer
  5637. buyorsell:
  5638. description: 方向 - 0:买 1:卖
  5639. type: integer
  5640. channelbuildtype:
  5641. description: 委托单据类型 0:无 1:建仓 2:平仓
  5642. type: integer
  5643. currencyid:
  5644. description: 币种id
  5645. type: integer
  5646. currencyname:
  5647. description: 结算币种 名称
  5648. type: string
  5649. goodscode:
  5650. description: 商品代码
  5651. type: string
  5652. goodsid:
  5653. description: 商品ID
  5654. type: integer
  5655. goodsname:
  5656. description: 商品名称
  5657. type: string
  5658. outtradeid:
  5659. description: 外部成交单号
  5660. type: string
  5661. taname:
  5662. description: 期货账户名称
  5663. type: string
  5664. tradeid:
  5665. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5666. type: string
  5667. tradeprice:
  5668. description: 成交价格
  5669. type: number
  5670. tradeqty:
  5671. description: 期货成交数量
  5672. type: integer
  5673. tradetime:
  5674. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  5675. type: string
  5676. username:
  5677. description: 用户名称
  5678. type: string
  5679. type: object
  5680. models.Ermcp3OutTradeLink:
  5681. properties:
  5682. buyorsell:
  5683. description: 买卖方向 - 0:买 1:卖
  5684. type: integer
  5685. channelbuildtype:
  5686. description: 开平标志- 0:无 1:建仓 2:平仓
  5687. type: integer
  5688. currencyname:
  5689. description: 币种名称
  5690. type: string
  5691. exexchangecode:
  5692. description: 交易所代码
  5693. type: string
  5694. exexchangename:
  5695. description: 交易所名称
  5696. type: string
  5697. goodscode:
  5698. description: 合约代码
  5699. type: string
  5700. goodsid:
  5701. description: 合约id
  5702. type: integer
  5703. goodsname:
  5704. description: 合约名称
  5705. type: string
  5706. hasinnerorder:
  5707. description: 是否有内部单关联 - 0:无 1:有
  5708. type: integer
  5709. hedgeaccountcode:
  5710. description: 外部账号 | 对冲账号
  5711. type: string
  5712. outtradeid:
  5713. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5714. type: string
  5715. tradeprice:
  5716. description: 成交价格
  5717. type: number
  5718. tradeqty:
  5719. description: 成交数量
  5720. type: integer
  5721. tradetime:
  5722. description: 成交时间
  5723. type: string
  5724. type: object
  5725. models.Ermcp3PaAreaAuditCfg:
  5726. properties:
  5727. areauserid:
  5728. description: 用户ID
  5729. type: integer
  5730. buyinauditflag:
  5731. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  5732. type: integer
  5733. costratioauditflag:
  5734. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  5735. type: integer
  5736. customerauditflag:
  5737. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  5738. type: integer
  5739. deliveryauditflag:
  5740. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  5741. type: integer
  5742. invoiceauditflag:
  5743. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  5744. type: integer
  5745. mgneedhedgeratioauditflag:
  5746. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  5747. type: integer
  5748. moneyauditflag:
  5749. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  5750. type: integer
  5751. operatorid:
  5752. description: 操作人
  5753. type: integer
  5754. operatorsrc:
  5755. description: 操作来源 - 1:管理端 2:终端
  5756. type: integer
  5757. pointpriceauditflag:
  5758. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  5759. type: integer
  5760. produceinauditflag:
  5761. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  5762. type: integer
  5763. produceoutauditflag:
  5764. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  5765. type: integer
  5766. selloutauditflag:
  5767. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  5768. type: integer
  5769. sgconvertratioauditflag:
  5770. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  5771. type: integer
  5772. sgvtaratioauditflag:
  5773. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  5774. type: integer
  5775. spotcontractauditflag:
  5776. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  5777. type: integer
  5778. updatetime:
  5779. description: 更新时间
  5780. type: string
  5781. type: object
  5782. models.Ermcp3PaAreaSubject:
  5783. properties:
  5784. areauserid:
  5785. description: 所属机构
  5786. type: integer
  5787. canmodify:
  5788. description: 是否可修改 - 0:否 1:是
  5789. type: integer
  5790. createtime:
  5791. description: 创建时间
  5792. type: string
  5793. creatorid:
  5794. description: 创建人ID
  5795. type: string
  5796. creatorsrc:
  5797. description: 创建人来源 - 1:管理端 2:终端 3:交易
  5798. type: integer
  5799. modifierid:
  5800. description: 修改人
  5801. type: string
  5802. modifiersrc:
  5803. description: 修改人来源 - 1:管理端 2:终端
  5804. type: integer
  5805. modifytime:
  5806. description: 修改时间
  5807. type: string
  5808. parentsubjectid:
  5809. description: 上级主体ID
  5810. type: string
  5811. remark:
  5812. description: 备注
  5813. type: string
  5814. subjectid:
  5815. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  5816. type: integer
  5817. subjectname:
  5818. description: 主体名称
  5819. type: string
  5820. subjectstatus:
  5821. description: '主体状态 - 1:正常 2: 停用'
  5822. type: integer
  5823. subjecttype:
  5824. description: 主体类型 - 1:交易主体 2:业务部门
  5825. type: integer
  5826. type: object
  5827. models.Ermcp3PaTradeLink:
  5828. properties:
  5829. accountid:
  5830. description: 期货账户代码 | 账号ID
  5831. type: integer
  5832. agreeunit:
  5833. description: 合约乘数
  5834. type: number
  5835. buyorsell:
  5836. description: 方向 - 0:买 1:卖
  5837. type: integer
  5838. channelbuildtype:
  5839. description: 委托单据类型 0:无 1:建仓 2:平仓
  5840. type: integer
  5841. charge:
  5842. description: 手续费
  5843. type: number
  5844. closepl:
  5845. description: 平仓盈亏
  5846. type: number
  5847. closetype:
  5848. description: 平仓方式 - 0:无 1:平今 2:平昨
  5849. type: integer
  5850. convertratio:
  5851. description: 折算系数
  5852. type: number
  5853. enumdicname:
  5854. description: 单位名称
  5855. type: string
  5856. executeprice:
  5857. description: 执行价 [期权]
  5858. type: integer
  5859. goodscode:
  5860. description: 合约代码
  5861. type: string
  5862. goodsgroupid:
  5863. description: 对冲品种ID[期货合约商品组ID]
  5864. type: integer
  5865. goodsid:
  5866. description: 商品ID
  5867. type: integer
  5868. goodsname:
  5869. description: 合约名称
  5870. type: string
  5871. goodunitid:
  5872. description: 单位id
  5873. type: integer
  5874. hedgeflag:
  5875. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  5876. type: integer
  5877. marketid:
  5878. description: 市场ID
  5879. type: integer
  5880. middlegoodsid:
  5881. description: 套保品种ID
  5882. type: integer
  5883. middlegoodsqty:
  5884. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  5885. type: number
  5886. optioncode:
  5887. description: 期权代码 [期权]
  5888. type: string
  5889. ordertype:
  5890. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  5891. type: integer
  5892. ordertypename:
  5893. description: 订单类型
  5894. type: string
  5895. parentaccountid:
  5896. description: 所属母账户
  5897. type: integer
  5898. premium:
  5899. description: 权利金 [期权]
  5900. type: number
  5901. relatedlot:
  5902. description: 已关联数量(已关联数量手) | db:关联手数
  5903. type: number
  5904. relatedouttradeid:
  5905. description: 关联外部成交单ID
  5906. type: string
  5907. relatedqty:
  5908. description: 关联数量
  5909. type: number
  5910. spotcontractid:
  5911. description: 现货合同ID [4:套期保值\10\11]
  5912. type: string
  5913. taname:
  5914. description: 期货账户名称
  5915. type: string
  5916. tradeamount:
  5917. description: 成交金额(账户)
  5918. type: number
  5919. tradedate:
  5920. description: 交易日(yyyyMMdd)
  5921. type: string
  5922. tradeid:
  5923. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5924. type: string
  5925. tradelot:
  5926. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  5927. type: integer
  5928. tradeprice:
  5929. description: 成交价格
  5930. type: number
  5931. tradetime:
  5932. description: 时间 | db:成交时间
  5933. type: string
  5934. tradetype:
  5935. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  5936. type: integer
  5937. userid:
  5938. description: 所属机构 - 所属母账户的UserID
  5939. type: string
  5940. username:
  5941. description: 用户名称
  5942. type: string
  5943. type: object
  5944. models.Ermcp3ParamChangeApp:
  5945. properties:
  5946. aftervalue:
  5947. description: 变更后
  5948. type: number
  5949. applicationid:
  5950. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  5951. type: string
  5952. applyid:
  5953. description: 申请人
  5954. type: string
  5955. applyname:
  5956. description: 申请人名称(代码)
  5957. type: string
  5958. applyremark:
  5959. description: 申请备注
  5960. type: string
  5961. applysrc:
  5962. description: 申请来源 - 1:管理端 2:终端
  5963. type: integer
  5964. applystatus:
  5965. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  5966. type: integer
  5967. applytime:
  5968. description: 申请时间
  5969. type: string
  5970. areauserid:
  5971. description: 所属机构用户ID
  5972. type: integer
  5973. auditid:
  5974. description: 审核人
  5975. type: string
  5976. auditname:
  5977. description: 审核人名称(代码)
  5978. type: string
  5979. auditremark:
  5980. description: 审核备注
  5981. type: string
  5982. auditsrc:
  5983. description: 审核来源 - 1:管理端 2:终端
  5984. type: integer
  5985. audittime:
  5986. description: 审核时间
  5987. type: string
  5988. audittradedate:
  5989. description: 审核交易日(yyyyMMdd)
  5990. type: string
  5991. beforevalue:
  5992. description: 变更前
  5993. type: number
  5994. deliverygoodscode:
  5995. description: 品种代码
  5996. type: string
  5997. deliverygoodsid:
  5998. description: 品种id
  5999. type: integer
  6000. deliverygoodsname:
  6001. description: 品种名称
  6002. type: string
  6003. middlegoodscode:
  6004. description: 套保品种代码
  6005. type: string
  6006. middlegoodsid:
  6007. description: 套保品种ID [ParamChangeType = 2,3,4]
  6008. type: integer
  6009. middlegoodsname:
  6010. description: 套保品种名称
  6011. type: string
  6012. operatetype:
  6013. description: 操作类型 - 1:新增 2:修改
  6014. type: integer
  6015. paramchangetype:
  6016. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6017. type: integer
  6018. wrstandardcode:
  6019. description: 现货商品代码
  6020. type: string
  6021. wrstandardid:
  6022. description: 现货商品ID [ParamChangeType = 1,2,3]
  6023. type: integer
  6024. wrstandardname:
  6025. description: 现货商品名称
  6026. type: string
  6027. type: object
  6028. models.Ermcp3RootUserAccount:
  6029. properties:
  6030. accountname:
  6031. description: 账户名称(机构名称)
  6032. type: string
  6033. accountstatus:
  6034. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6035. type: integer
  6036. applysrc:
  6037. description: 申请来源 - 1:管理端 2:终端
  6038. type: integer
  6039. auditremark:
  6040. description: 审核备注
  6041. type: string
  6042. auditsrc:
  6043. description: 审核来源 - 1:管理端 2:终端
  6044. type: integer
  6045. audittime:
  6046. description: 审核时间
  6047. type: string
  6048. audituserid:
  6049. description: 审核人
  6050. type: integer
  6051. broker:
  6052. description: 所属经纪人ID
  6053. type: integer
  6054. canceltime:
  6055. description: 销户时间
  6056. type: string
  6057. canceluserid:
  6058. description: 销户人
  6059. type: integer
  6060. canrecommend:
  6061. description: 是否可推荐 - 0:不可 1;可
  6062. type: integer
  6063. createtime:
  6064. description: 创建时间
  6065. type: string
  6066. creatorid:
  6067. description: 创建人
  6068. type: integer
  6069. hasauth:
  6070. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6071. type: integer
  6072. isanonymous:
  6073. description: 是否匿名下单 - 0:否 1:是
  6074. type: integer
  6075. maxinvestornum:
  6076. description: 最大用户数(经纪会员下投资者个数)
  6077. type: integer
  6078. memberuserid:
  6079. description: 所属会员ID
  6080. type: integer
  6081. modifierid:
  6082. description: 修改人
  6083. type: integer
  6084. modifyremark:
  6085. description: 变更备注
  6086. type: string
  6087. modifystatus:
  6088. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6089. type: integer
  6090. modifytime:
  6091. description: 修改时间
  6092. type: string
  6093. nickname:
  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. bizsubjectid:
  6346. description: 归属业务部门ID - SubjectID
  6347. type: integer
  6348. biztype:
  6349. description: 业务类型 1-套保 2-套利
  6350. type: integer
  6351. brandname:
  6352. description: 品牌名称
  6353. type: string
  6354. contracctstatus:
  6355. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6356. type: integer
  6357. contractmargin:
  6358. description: 合同保证金
  6359. type: number
  6360. contractno:
  6361. description: 合同编号
  6362. type: string
  6363. contracttype:
  6364. description: 合同类型 1-采购, -1-销售
  6365. type: integer
  6366. convertfactor:
  6367. description: 标仓系数(品类)
  6368. type: number
  6369. createtime:
  6370. description: 创建时间
  6371. type: string
  6372. currencyid:
  6373. description: 币种id
  6374. type: integer
  6375. currencyname:
  6376. description: 币种名称
  6377. type: string
  6378. daikaiamount:
  6379. description: 应收(开)票额
  6380. type: number
  6381. deliveryenddate:
  6382. description: 交割结束日
  6383. type: string
  6384. deliverygoodscode:
  6385. description: 现货品种代码
  6386. type: string
  6387. deliverygoodsid:
  6388. description: 现货商品ID
  6389. type: integer
  6390. deliverygoodsname:
  6391. description: 现货品种名称
  6392. type: string
  6393. deliverystartdate:
  6394. description: 交割开始日
  6395. type: string
  6396. enddate:
  6397. description: 点价结束日
  6398. type: string
  6399. enumdicname:
  6400. description: 单位名称
  6401. type: string
  6402. goodscode:
  6403. description: 点价商品代码
  6404. type: string
  6405. goodsgroupid:
  6406. description: 点价商品组id
  6407. type: integer
  6408. goodsid:
  6409. description: 点价商品ID
  6410. type: integer
  6411. goodsname:
  6412. description: 点价商品名称
  6413. type: string
  6414. invoiceamount:
  6415. description: 已开票额
  6416. type: number
  6417. loanamount:
  6418. description: 贷款总额=已定价额+调整金额
  6419. type: number
  6420. margin:
  6421. description: 保证金
  6422. type: number
  6423. meruserid:
  6424. description: 跟单员id
  6425. type: integer
  6426. meruserlogincode:
  6427. description: 跟单员登录代码
  6428. type: string
  6429. merusername:
  6430. description: 跟单员名称
  6431. type: string
  6432. nickname:
  6433. description: 账户昵称
  6434. type: string
  6435. orireckonrealqty:
  6436. description: 应交收量
  6437. type: number
  6438. payamount:
  6439. description: 已收付额(收款或付款)
  6440. type: number
  6441. preinvoiceamount:
  6442. description: 预收(开)票额
  6443. type: number
  6444. prepayamount:
  6445. description: 预收付额
  6446. type: number
  6447. price:
  6448. description: 价格
  6449. type: number
  6450. pricedamount:
  6451. description: 已定价额
  6452. type: number
  6453. pricedavg:
  6454. description: 已点均价
  6455. type: number
  6456. pricedqty:
  6457. description: 已定价量
  6458. type: number
  6459. pricemove:
  6460. description: 升贴水
  6461. type: number
  6462. pricetype:
  6463. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  6464. type: integer
  6465. producttype:
  6466. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6467. type: integer
  6468. qty:
  6469. description: 合同量
  6470. type: number
  6471. reckonadjustamount:
  6472. description: 调整金额
  6473. type: number
  6474. reckonedamount:
  6475. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  6476. type: number
  6477. reckonotheramount:
  6478. description: 其它费用
  6479. type: number
  6480. reckonrealqty:
  6481. description: 已交收量
  6482. type: number
  6483. remark:
  6484. description: 备注
  6485. type: string
  6486. saleuserid:
  6487. description: 业务员id
  6488. type: integer
  6489. saleuserlogincode:
  6490. description: 业务员登录代码
  6491. type: string
  6492. saleusername:
  6493. description: 业务员名称
  6494. type: string
  6495. spotcontractid:
  6496. description: 合同ID
  6497. type: string
  6498. spotgoodsbrandid:
  6499. description: 现货品牌ID(DGFactoryItem表的ID)
  6500. type: integer
  6501. spotgoodsdesc:
  6502. description: 商品型号(商品规格)
  6503. type: string
  6504. startdate:
  6505. description: 点价开始日
  6506. type: string
  6507. subjectid:
  6508. description: 交易主体ID
  6509. type: integer
  6510. subjectname:
  6511. description: 交易主体名称
  6512. type: string
  6513. totalamount:
  6514. description: 合计总额
  6515. type: number
  6516. tradeuserid:
  6517. description: 交易员id
  6518. type: integer
  6519. tradeuserlogincode:
  6520. description: 交易员登录代码
  6521. type: string
  6522. tradeusername:
  6523. description: 交易员名称
  6524. type: string
  6525. unpayamount:
  6526. description: 应收付款额(应支付或应收款)
  6527. type: number
  6528. unpricedqty:
  6529. description: 未定价量
  6530. type: number
  6531. unsureqty:
  6532. description: 未确定量
  6533. type: number
  6534. userid:
  6535. description: 机构ID
  6536. type: integer
  6537. vatrate:
  6538. description: 增值税率
  6539. type: number
  6540. wrstandardcode:
  6541. description: 品类代码
  6542. type: string
  6543. wrstandardid:
  6544. description: 品类ID
  6545. type: integer
  6546. wrstandardname:
  6547. description: 品类名称
  6548. type: string
  6549. type: object
  6550. models.Ermcp3SpotGoodsPrice:
  6551. properties:
  6552. areauserid:
  6553. description: 所属机构id
  6554. type: integer
  6555. brandname:
  6556. description: 品牌名称
  6557. type: string
  6558. currencyid:
  6559. description: 报价货币ID
  6560. type: integer
  6561. currencyname:
  6562. description: 币种名称
  6563. type: string
  6564. deliverygoodscode:
  6565. description: 现货商品代码
  6566. type: string
  6567. deliverygoodsid:
  6568. description: 现货商品id
  6569. type: integer
  6570. deliverygoodsname:
  6571. description: 现货商品名称
  6572. type: string
  6573. enumdicname:
  6574. description: 现货商品单位名称
  6575. type: string
  6576. gbenumdicname:
  6577. description: 品类单位名称
  6578. type: string
  6579. gmunitid:
  6580. description: 品类单位id
  6581. type: integer
  6582. isvalid:
  6583. description: 是否有效 - 0:无效 1:有效
  6584. type: integer
  6585. operateid:
  6586. description: 最后操作人
  6587. type: integer
  6588. operatesrc:
  6589. description: 最后操作来源 - 1:管理端 2:终端
  6590. type: integer
  6591. operatetime:
  6592. description: 最后操作时间
  6593. type: string
  6594. operatorname:
  6595. description: 操作人名称
  6596. type: string
  6597. spotgoodsbrandid:
  6598. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6599. type: integer
  6600. spotgoodsprice:
  6601. description: 现货价格
  6602. type: number
  6603. tradedate:
  6604. description: 交易日(yyyyMMdd)
  6605. type: string
  6606. unitid:
  6607. description: 现货商品单位id
  6608. type: integer
  6609. wrstandardcode:
  6610. description: 品类代码
  6611. type: string
  6612. wrstandardid:
  6613. description: 现货品类ID(通用则为0)
  6614. type: integer
  6615. wrstandardname:
  6616. description: 品类名称
  6617. type: string
  6618. type: object
  6619. models.Ermcp3SpotGoodsPriceLog:
  6620. properties:
  6621. areauserid:
  6622. description: 所属机构id
  6623. type: integer
  6624. brandname:
  6625. description: 品牌名称
  6626. type: string
  6627. currencyid:
  6628. description: 报价货币ID
  6629. type: integer
  6630. deliverygoodscode:
  6631. description: 现货商品代码
  6632. type: string
  6633. deliverygoodsid:
  6634. description: 现货商品id
  6635. type: integer
  6636. deliverygoodsname:
  6637. description: 现货商品名称
  6638. type: string
  6639. enumdicname:
  6640. description: 现货商品单位名称
  6641. type: string
  6642. gbenumdicname:
  6643. description: 品类单位名称
  6644. type: string
  6645. gmunitid:
  6646. description: 品类单位id
  6647. type: integer
  6648. logid:
  6649. description: 日志id
  6650. type: integer
  6651. operateid:
  6652. description: 最后操作人
  6653. type: integer
  6654. operatesrc:
  6655. description: 最后操作来源 - 1:管理端 2:终端
  6656. type: integer
  6657. operatetime:
  6658. description: 最后操作时间
  6659. type: string
  6660. operatorname:
  6661. description: 操作人名称
  6662. type: string
  6663. spotgoodsbrandid:
  6664. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6665. type: integer
  6666. spotgoodsprice:
  6667. description: 现货价格
  6668. type: number
  6669. tradedate:
  6670. description: 交易日(yyyyMMdd)
  6671. type: string
  6672. unitid:
  6673. description: 现货商品单位id
  6674. type: integer
  6675. wrstandardcode:
  6676. description: 品类代码
  6677. type: string
  6678. wrstandardid:
  6679. description: 现货品类ID(通用则为0)
  6680. type: integer
  6681. wrstandardname:
  6682. description: 品类名称
  6683. type: string
  6684. type: object
  6685. models.Ermcp3SubTaaccount:
  6686. properties:
  6687. accountid:
  6688. description: 资金账户ID
  6689. type: integer
  6690. parentaccountcode:
  6691. description: 所属根账号代码(母账号代码)
  6692. type: string
  6693. parentaccountid:
  6694. description: 所属根账号(母账号)
  6695. type: integer
  6696. taname:
  6697. description: 资金账号名称
  6698. type: string
  6699. tradestatus:
  6700. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  6701. type: integer
  6702. username:
  6703. description: 交易用户
  6704. type: string
  6705. type: object
  6706. models.Ermcp3TaFutuReDataReport:
  6707. properties:
  6708. accountid:
  6709. description: 交易账户
  6710. type: integer
  6711. accountname:
  6712. description: 交易账号名称
  6713. type: string
  6714. agreeunit:
  6715. description: 商品合约单位
  6716. type: number
  6717. begindate:
  6718. description: 开始交易日
  6719. type: string
  6720. buyorsell:
  6721. description: 持仓方向
  6722. type: integer
  6723. charge:
  6724. description: 手续费
  6725. type: number
  6726. closeavgprice:
  6727. description: 平仓均价
  6728. type: number
  6729. closepl:
  6730. description: 平仓损益
  6731. type: number
  6732. currencyid:
  6733. description: 结算币种ID
  6734. type: integer
  6735. currencyname:
  6736. description: 币种名称
  6737. type: string
  6738. cycletime:
  6739. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6740. type: string
  6741. cycletype:
  6742. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6743. type: integer
  6744. enddate:
  6745. description: 结束交易日
  6746. type: string
  6747. enumdicname:
  6748. description: 单位名称
  6749. type: string
  6750. floatpl:
  6751. description: 浮动损益
  6752. type: number
  6753. goodscode:
  6754. description: 交易合约代码
  6755. type: string
  6756. goodsgroupid:
  6757. description: 交易品种
  6758. type: integer
  6759. goodsgroupname:
  6760. description: 交易品种名称
  6761. type: string
  6762. goodsgroupspotqty:
  6763. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  6764. type: number
  6765. goodsid:
  6766. description: 交易合约
  6767. type: integer
  6768. goodsname:
  6769. description: 交易合约名称
  6770. type: string
  6771. goodunitid:
  6772. description: 交易合约单位id
  6773. type: integer
  6774. holdamount:
  6775. description: 期末持仓额
  6776. type: number
  6777. holdqty:
  6778. description: 期末持仓量
  6779. type: number
  6780. lastholdamount:
  6781. description: 当前持仓额
  6782. type: number
  6783. lastprice:
  6784. description: 最新价
  6785. type: number
  6786. middlegoodsid:
  6787. description: 套保品种id
  6788. type: integer
  6789. middlegoodsname:
  6790. description: 套保商品名称
  6791. type: string
  6792. middlegoodsqty:
  6793. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  6794. type: number
  6795. middlgoodscode:
  6796. description: 套保商品代码
  6797. type: string
  6798. openamount:
  6799. description: 期末开仓额
  6800. type: number
  6801. openavgprice:
  6802. description: 开仓均价
  6803. type: number
  6804. oriholdamount:
  6805. description: 期初持仓额
  6806. type: number
  6807. oriholdqty:
  6808. description: 期初持仓量
  6809. type: number
  6810. oriopenamount:
  6811. description: 期初开仓额
  6812. type: number
  6813. outergroupcode:
  6814. description: 交易品种代码
  6815. type: string
  6816. qtydecimalplace:
  6817. description: 成交量小数位
  6818. type: integer
  6819. reckondate:
  6820. description: 日照时期(yyyyMMdd)
  6821. type: string
  6822. reckonholdamount:
  6823. description: 结算持仓额
  6824. type: number
  6825. reckonpl:
  6826. description: 结算损益
  6827. type: number
  6828. reckonpl2:
  6829. description: 结算逐笔盈亏
  6830. type: number
  6831. reckonprice:
  6832. description: 结算价
  6833. type: number
  6834. relateduserid:
  6835. description: 账户关联用户ID
  6836. type: integer
  6837. todaycloseamount:
  6838. description: 今平仓额
  6839. type: number
  6840. todaycloseqty:
  6841. description: 今平仓量
  6842. type: number
  6843. todaygoodsgroupspotqty:
  6844. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  6845. type: number
  6846. todaymiddlegoodsqty:
  6847. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  6848. type: number
  6849. todayopenamount:
  6850. description: 今开仓额
  6851. type: number
  6852. todayopenqty:
  6853. description: 今开仓量
  6854. type: number
  6855. userid:
  6856. description: 账户所属用户ID
  6857. type: integer
  6858. type: object
  6859. models.Ermcp3TradeLinkDetail:
  6860. properties:
  6861. accountid:
  6862. description: 资金账号
  6863. type: integer
  6864. agreeunit:
  6865. description: 合约乘数
  6866. type: number
  6867. areauserid:
  6868. description: 所属机构
  6869. type: string
  6870. bizsubjectid:
  6871. description: 归属业务部门ID - SubjectID
  6872. type: string
  6873. buyorsell:
  6874. description: 方向 - 0:买 1:卖
  6875. type: integer
  6876. channelbuildtype:
  6877. description: 委托单据类型 0:无 1:建仓 2:平仓
  6878. type: integer
  6879. contractno:
  6880. description: 现货编号 (合同编号)
  6881. type: string
  6882. convertratio:
  6883. description: 折算系数
  6884. type: number
  6885. createtime:
  6886. description: 关联时间 | 创建时间
  6887. type: string
  6888. creatorid:
  6889. description: 创建人ID
  6890. type: string
  6891. creatorsrc:
  6892. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6893. type: integer
  6894. enumdicname:
  6895. description: 单位名称
  6896. type: string
  6897. goodscode:
  6898. description: 合约代码
  6899. type: string
  6900. goodsgroupid:
  6901. description: 对冲品种ID[期货合约商品组ID]
  6902. type: integer
  6903. goodsid:
  6904. description: 商品ID
  6905. type: integer
  6906. goodsname:
  6907. description: 合约名称
  6908. type: string
  6909. hedgeflag:
  6910. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6911. type: integer
  6912. linkdetailid:
  6913. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  6914. type: string
  6915. linkstatus:
  6916. description: 关联状态 - 1:成功 2:失败 3:解绑
  6917. type: integer
  6918. middlegoodscode:
  6919. description: 套保品种代码
  6920. type: string
  6921. middlegoodsid:
  6922. description: 套保品种ID
  6923. type: integer
  6924. middlegoodsname:
  6925. description: 套保品种名称
  6926. type: string
  6927. relatedlot:
  6928. description: 关联手数
  6929. type: number
  6930. relatedmode:
  6931. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  6932. type: integer
  6933. relatedqty:
  6934. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  6935. type: number
  6936. retcode:
  6937. description: 返回码
  6938. type: integer
  6939. saleuserid:
  6940. description: 业务员ID
  6941. type: string
  6942. spotcontractid:
  6943. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  6944. type: string
  6945. taname:
  6946. description: 期货账户
  6947. type: string
  6948. tradedate:
  6949. description: 关联交易日(yyyyMMdd)
  6950. type: string
  6951. tradeid:
  6952. description: 期货订单号 | 内部成交单ID
  6953. type: string
  6954. tradelot:
  6955. description: 成交数量 | 成交手数
  6956. type: integer
  6957. tradeprice:
  6958. description: 成交价格
  6959. type: number
  6960. tradetime:
  6961. description: 期货成交时间
  6962. type: string
  6963. tradetradedate:
  6964. description: 成交交易日(yyyyMMdd)
  6965. type: string
  6966. username:
  6967. description: 用户名称
  6968. type: string
  6969. type: object
  6970. models.Ermcp3Wrstandard:
  6971. properties:
  6972. areauserid:
  6973. description: 所属机构
  6974. type: integer
  6975. cantrade:
  6976. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  6977. type: integer
  6978. convertfactor:
  6979. description: 标仓系数
  6980. type: number
  6981. createtime:
  6982. description: 创建时间
  6983. type: string
  6984. creatorid:
  6985. description: 创建人
  6986. type: integer
  6987. deliverygoodsid:
  6988. description: 现货品种ID
  6989. type: integer
  6990. enumdicname:
  6991. description: 品类单位名称
  6992. type: string
  6993. isvalid:
  6994. description: 是否有效 0-无效(停用) 1-有效(正常)
  6995. type: integer
  6996. minivalue:
  6997. description: 最小变动值
  6998. type: integer
  6999. minivaluedp:
  7000. description: 最小变动值小数位
  7001. type: integer
  7002. realminivalue:
  7003. description: 实际最小变动值
  7004. type: integer
  7005. realminivaluedp:
  7006. description: 实际最小变动值小数位
  7007. type: integer
  7008. remark:
  7009. description: 备注
  7010. type: string
  7011. unitid:
  7012. description: 品类单位ID
  7013. type: integer
  7014. updatetime:
  7015. description: 更新时间
  7016. type: string
  7017. wrstandardcode:
  7018. description: 品类代码
  7019. type: string
  7020. wrstandardid:
  7021. description: 品类ID(SEQ_WRSTANDARD)
  7022. type: integer
  7023. wrstandardname:
  7024. description: 品类名称
  7025. type: string
  7026. type: object
  7027. models.ErmcpBizGroupEx:
  7028. properties:
  7029. acclist:
  7030. description: 账号列表
  7031. items:
  7032. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  7033. type: array
  7034. bizgroupid:
  7035. description: 业务分组id
  7036. type: integer
  7037. biztype:
  7038. description: 业务类型 1-套保 2-套利
  7039. type: integer
  7040. wrlist:
  7041. description: 现货商品表
  7042. items:
  7043. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  7044. type: array
  7045. type: object
  7046. models.ErmcpBizGroupSpotGoods:
  7047. properties:
  7048. areauserid:
  7049. description: 所属机构id
  7050. type: integer
  7051. bizgroupid:
  7052. description: 分组id
  7053. type: integer
  7054. biztype:
  7055. description: 业务类型 1-套保 2-套利
  7056. type: integer
  7057. deliverygoodscode:
  7058. description: 现货商品代码
  7059. type: string
  7060. deliverygoodsid:
  7061. description: 现货商品id
  7062. type: integer
  7063. deliverygoodsname:
  7064. description: 现货商品名称
  7065. type: string
  7066. unitid:
  7067. description: 现货商品单位id
  7068. type: integer
  7069. type: object
  7070. models.ErmcpBizGroupTaAccount:
  7071. properties:
  7072. accountid:
  7073. description: 账号id
  7074. type: integer
  7075. accountname:
  7076. description: 账号名称
  7077. type: string
  7078. areauserid:
  7079. description: 所属机构id
  7080. type: integer
  7081. bizgroupid:
  7082. description: 业务分组id
  7083. type: integer
  7084. ismain:
  7085. description: 是否主账号 1-是 0-否
  7086. type: integer
  7087. type: object
  7088. models.ErmcpDGFactoryItem:
  7089. properties:
  7090. areauserid:
  7091. description: 用户id
  7092. type: integer
  7093. deliverygoodsid:
  7094. description: 现货品种ID
  7095. type: integer
  7096. dgfactoryitemid:
  7097. description: 选择项ID(SEQ_DGFACTORYITEM)
  7098. type: integer
  7099. dgfactoryitemtypeid:
  7100. description: 要素项类型
  7101. type: integer
  7102. dgfactoryitemvalue:
  7103. description: 要素项值(类型为仓库时填写仓库名称)
  7104. type: string
  7105. isvalid:
  7106. description: 是否有效 - 0:无效 1:有效
  7107. type: integer
  7108. orderindex:
  7109. description: 顺序
  7110. type: integer
  7111. warehouseid:
  7112. description: 仓库ID(类型为仓库时填写)
  7113. type: integer
  7114. type: object
  7115. models.ErmcpDeliveryGoods:
  7116. properties:
  7117. agreeunit:
  7118. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  7119. type: integer
  7120. areauserid:
  7121. description: 所属机构
  7122. type: integer
  7123. auditflag:
  7124. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  7125. type: integer
  7126. categoryid:
  7127. description: 类别ID(SEQ_WRCATEGORY)
  7128. type: integer
  7129. deliverygoodscode:
  7130. description: 现货品种代码
  7131. type: string
  7132. deliverygoodsid:
  7133. description: 现货品种ID(SEQ_DELIVERYGOODS)
  7134. type: integer
  7135. deliverygoodsname:
  7136. description: 现货品种名称
  7137. type: string
  7138. deliverygoodstype:
  7139. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  7140. type: integer
  7141. dgstatus:
  7142. description: 品种状态 - 作废 - 0:未激活 1:正常
  7143. type: integer
  7144. enumdicname:
  7145. description: 现货品种单位名称
  7146. type: string
  7147. goodsunitid:
  7148. description: 现货品种单位ID
  7149. type: integer
  7150. isvalid:
  7151. description: 是否有效 - 0:无效 1:有效
  7152. type: integer
  7153. qtydecimalplace:
  7154. description: 成交量小数位
  7155. type: integer
  7156. remark:
  7157. description: 备注
  7158. type: string
  7159. standardqty:
  7160. description: 标准数量(库位数量) [标准品特有]
  7161. type: integer
  7162. standardqtyrange:
  7163. description: 标准数量偏差范围 [标准品特有]
  7164. type: integer
  7165. type: object
  7166. models.ErmcpFuturesCompany:
  7167. properties:
  7168. brokerid:
  7169. description: 经纪公司代码
  7170. type: string
  7171. channeladdress:
  7172. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  7173. type: string
  7174. channelid:
  7175. description: 对冲渠道ID
  7176. type: string
  7177. createtime:
  7178. description: 创建时间
  7179. type: string
  7180. creatorid:
  7181. description: 创建人
  7182. type: string
  7183. fcid:
  7184. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  7185. type: integer
  7186. fcname:
  7187. description: 期货公司名称
  7188. type: string
  7189. isvalid:
  7190. description: 是否有效 - 0:无效 1:有效
  7191. type: integer
  7192. mhpaddress:
  7193. description: MHP服务地址(IP:Port)
  7194. type: string
  7195. riskrulegroupid:
  7196. description: 风控规则组ID
  7197. type: string
  7198. tradefeetmpid:
  7199. description: 手续费模板ID[TradeConfigTmpType为2]
  7200. type: string
  7201. trademargintmpid:
  7202. description: 保证金模板ID [TradeConfigTmpType为1]
  7203. type: string
  7204. traderatetmpid:
  7205. description: 汇率模板ID[TradeConfigTmpType为3]
  7206. type: string
  7207. updatetime:
  7208. description: 更新时间
  7209. type: string
  7210. updatorid:
  7211. description: 更新人
  7212. type: string
  7213. type: object
  7214. models.ErmcpGGConvertCfg:
  7215. properties:
  7216. convertratio:
  7217. description: 折算系数
  7218. type: number
  7219. destgoodsgroupid:
  7220. description: 目标品种ID
  7221. type: integer
  7222. dstcode:
  7223. description: 目录品种代码
  7224. type: string
  7225. dstexchangecode:
  7226. description: 目标期货交易所
  7227. type: string
  7228. dstname:
  7229. description: 目标品种名称
  7230. type: string
  7231. dstunitid:
  7232. description: 目标品种单位ID
  7233. type: integer
  7234. dstunitidname:
  7235. description: 目标品种单位名称
  7236. type: string
  7237. modifytime:
  7238. description: 修改时间
  7239. type: string
  7240. srccode:
  7241. description: 源品种代码
  7242. type: string
  7243. srcexchangecode:
  7244. description: 源期货交易所
  7245. type: string
  7246. srcgoodsgroupid:
  7247. description: 源品种ID
  7248. type: integer
  7249. srcname:
  7250. description: 源品种名称
  7251. type: string
  7252. srcunitid:
  7253. description: 源品种单位ID
  7254. type: integer
  7255. srcunitidname:
  7256. description: 源品种单位名称
  7257. type: string
  7258. type: object
  7259. models.ErmcpGoods:
  7260. properties:
  7261. agreeunit:
  7262. description: 合约单位
  7263. type: number
  7264. areauserid:
  7265. description: 所属机构
  7266. type: integer
  7267. auditaccountid:
  7268. description: 审核操作员账号
  7269. type: integer
  7270. audittime:
  7271. description: 审核时间
  7272. type: string
  7273. cancelaccountid:
  7274. description: 注销操作员账号
  7275. type: integer
  7276. canceltime:
  7277. description: 注销时间
  7278. type: string
  7279. closepricemode:
  7280. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7281. type: integer
  7282. closepriceparam:
  7283. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7284. type: number
  7285. createtime:
  7286. description: 创建时间
  7287. type: string
  7288. creatorid:
  7289. description: 创建人
  7290. type: integer
  7291. currencyid:
  7292. description: 报价货币ID
  7293. type: integer
  7294. cutmode:
  7295. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7296. type: integer
  7297. decimalplace:
  7298. description: 报价小数位
  7299. type: integer
  7300. delistingdate:
  7301. description: 商品退市时间(状态:退市) -- 已作废
  7302. type: string
  7303. delistingmode:
  7304. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7305. type: integer
  7306. deliveryflag:
  7307. description: 交割标志 - 0:不可交割 1:可交割
  7308. type: integer
  7309. enumdicname:
  7310. description: 单位名称
  7311. type: string
  7312. forceclosemode:
  7313. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7314. type: integer
  7315. forceclosevalue:
  7316. description: 定期强平参数 [收益权]
  7317. type: integer
  7318. goodscode:
  7319. description: 商品代码(内部)
  7320. type: string
  7321. goodscurrencyid:
  7322. description: 合约货币ID
  7323. type: integer
  7324. goodsgroupid:
  7325. description: 所属商品组ID
  7326. type: integer
  7327. goodsid:
  7328. description: 商品ID(自增ID SEQ_GOODS)
  7329. type: integer
  7330. goodsname:
  7331. description: 商品名称
  7332. type: string
  7333. goodsquotetype:
  7334. description: '合约报价类型: 1-直接报价 2-间接报价'
  7335. type: integer
  7336. goodsstatus:
  7337. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7338. type: integer
  7339. goodstradetype:
  7340. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7341. type: integer
  7342. goodunitid:
  7343. description: 报价单位ID
  7344. type: integer
  7345. hasquoter:
  7346. description: 是否有报价商 - 0:无报价商 1:有报价商
  7347. type: integer
  7348. hqprotecttime:
  7349. description: 行情保护时间(秒)
  7350. type: integer
  7351. innerdealmode:
  7352. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7353. type: integer
  7354. isbuylimited:
  7355. description: 是否限制建仓量 - 0:不限制 1:限制
  7356. type: integer
  7357. isvisible:
  7358. description: 游客是否可见 - 0:不可见 1:可见
  7359. type: integer
  7360. lasttradedate:
  7361. description: 最后交易日期(状态:待退市)
  7362. type: string
  7363. listingdate:
  7364. description: 交易开始日期
  7365. type: string
  7366. marketid:
  7367. description: 所属市场ID
  7368. type: integer
  7369. modifierid:
  7370. description: 修改人
  7371. type: integer
  7372. modifystatus:
  7373. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7374. type: integer
  7375. modifytime:
  7376. description: 修改时间
  7377. type: string
  7378. outerdealmode:
  7379. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7380. type: integer
  7381. outgoodscode:
  7382. description: 商品代码(外部)
  7383. type: string
  7384. pictureurl:
  7385. description: 商品图片
  7386. type: string
  7387. qtydecimalplace:
  7388. description: 成交量小数位
  7389. type: integer
  7390. quotegear:
  7391. description: 行情档位(1-10)
  7392. type: integer
  7393. quoteminunit:
  7394. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7395. type: integer
  7396. quoteshowtype:
  7397. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7398. type: integer
  7399. quoteshowtypeinterval:
  7400. description: 行情报价间隔时间(秒)(成交价时为0)
  7401. type: integer
  7402. relatedgoodsid:
  7403. description: 关联参考商品ID
  7404. type: integer
  7405. remark:
  7406. description: 备注
  7407. type: string
  7408. trademode:
  7409. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  7410. type: integer
  7411. required:
  7412. - goodscode
  7413. - goodsid
  7414. - goodsname
  7415. - marketid
  7416. type: object
  7417. models.ErmcpGoodsBrand:
  7418. properties:
  7419. areauserid:
  7420. description: 所属机构
  7421. type: integer
  7422. brandid:
  7423. description: BrandID(SEQ_SPOTGOODSBRAND)
  7424. type: integer
  7425. brandname:
  7426. description: 品牌名称
  7427. type: string
  7428. createtime:
  7429. description: 创建时间
  7430. type: string
  7431. creatorid:
  7432. description: 创建人
  7433. type: integer
  7434. creatorsrc:
  7435. description: 创建人来源 - 1:管理端 2:终端
  7436. type: integer
  7437. deliverygoodsid:
  7438. description: 现货品种ID
  7439. type: integer
  7440. isvalid:
  7441. description: 是否有效 - 0:无效 1:有效
  7442. type: integer
  7443. updatetime:
  7444. description: 更新时间
  7445. type: string
  7446. updatorid:
  7447. description: 更新人
  7448. type: integer
  7449. updatorsrc:
  7450. description: 更新人来源 - 1:管理端 2:终端
  7451. type: integer
  7452. wrstandardid:
  7453. description: 现货商品ID
  7454. type: integer
  7455. type: object
  7456. models.ErmcpGoodsModel:
  7457. properties:
  7458. areauserid:
  7459. description: 所属机构
  7460. type: integer
  7461. convertfactor:
  7462. description: 标仓系数
  7463. type: number
  7464. createtime:
  7465. description: 创建时间
  7466. type: string
  7467. creatorid:
  7468. description: 创建人
  7469. type: integer
  7470. creatorsrc:
  7471. description: 创建人来源 - 1:管理端 2:终端
  7472. type: integer
  7473. deliverygoodsid:
  7474. description: 现货品种ID
  7475. type: integer
  7476. isvalid:
  7477. description: 是否有效 - 0:无效 1:有效
  7478. type: integer
  7479. modelid:
  7480. description: ModelID(SEQ_SPOTGOODSMODEL)
  7481. type: integer
  7482. modelname:
  7483. description: 型号名称
  7484. type: string
  7485. updatetime:
  7486. description: 更新时间
  7487. type: string
  7488. updatorid:
  7489. description: 更新人
  7490. type: integer
  7491. updatorsrc:
  7492. description: 更新人来源 - 1:管理端 2:终端
  7493. type: integer
  7494. wrstandardid:
  7495. description: 现货商品ID
  7496. type: integer
  7497. type: object
  7498. models.ErmcpHisExposure:
  7499. properties:
  7500. needhedgeexposoure:
  7501. description: 应套保敞口
  7502. type: number
  7503. reckondate:
  7504. description: 日照时期(yyyyMMdd)
  7505. type: string
  7506. totalexposure:
  7507. description: 总敞口
  7508. type: number
  7509. type: object
  7510. models.ErmcpLoginTaAccount:
  7511. properties:
  7512. accountid:
  7513. description: 账号id
  7514. type: integer
  7515. accountname:
  7516. description: 账号名称
  7517. type: string
  7518. type: object
  7519. models.ErmcpLoginUser:
  7520. properties:
  7521. acclist:
  7522. description: 关联资金账号
  7523. items:
  7524. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  7525. type: array
  7526. accountname:
  7527. description: 用户名称
  7528. type: string
  7529. clientroleid:
  7530. description: 角色id(usertype=2)
  7531. type: integer
  7532. createtime:
  7533. description: 创建时间
  7534. type: string
  7535. logincode:
  7536. description: 登录代码
  7537. type: string
  7538. loginid:
  7539. description: 登录id(LOGINID)
  7540. type: integer
  7541. loginname:
  7542. description: 登录名称(loginaccount表中的accountname字段)
  7543. type: string
  7544. loginstatus:
  7545. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  7546. type: integer
  7547. memberuserid:
  7548. description: 所属会员id
  7549. type: integer
  7550. mobile:
  7551. description: 手机号
  7552. type: string
  7553. modifytime:
  7554. description: 修改时间
  7555. type: string
  7556. password:
  7557. description: 密码(不可解密)
  7558. type: string
  7559. rolename:
  7560. description: 角色名称
  7561. type: string
  7562. rolestatus:
  7563. description: 角色状态 1-启用 2-停用
  7564. type: integer
  7565. roletype:
  7566. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  7567. type: string
  7568. userid:
  7569. description: 用户id
  7570. type: integer
  7571. usertype:
  7572. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  7573. type: integer
  7574. type: object
  7575. models.ErmcpLoginUserEx:
  7576. properties:
  7577. accountstatus:
  7578. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  7579. type: integer
  7580. mobile:
  7581. description: 手机号
  7582. type: string
  7583. querytype:
  7584. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  7585. type: integer
  7586. roleid:
  7587. description: 角色id(交易账户->用户id)
  7588. type: integer
  7589. rolename:
  7590. description: 角色名称(交易账户->用户名称)
  7591. type: string
  7592. userlist:
  7593. description: 用户列表
  7594. items:
  7595. $ref: '#/definitions/models.ErmcpLoginUser'
  7596. type: array
  7597. usertype:
  7598. description: 用户类型 2-机构 7-企业成员(云平台)
  7599. type: integer
  7600. type: object
  7601. models.ErmcpMiddleGoodsModel:
  7602. properties:
  7603. areauserid:
  7604. description: 机构用户ID
  7605. type: integer
  7606. createtime:
  7607. description: 修改时间
  7608. type: string
  7609. enumdicname:
  7610. description: 单位名称
  7611. type: string
  7612. evaluateratio:
  7613. description: 估价系数
  7614. type: number
  7615. goodsgroupid:
  7616. description: 关联期货品种ID
  7617. type: integer
  7618. goodsunitid:
  7619. description: 单位ID
  7620. type: integer
  7621. isvalid:
  7622. description: 状态 0-无效(停用) 1-有效(正常)
  7623. type: integer
  7624. middlegoodscode:
  7625. description: 套保品种代码
  7626. type: string
  7627. middlegoodsid:
  7628. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  7629. type: integer
  7630. middlegoodsname:
  7631. description: 套保品种名称
  7632. type: string
  7633. modifytime:
  7634. description: 修改时间
  7635. type: string
  7636. needarbitrageratio:
  7637. description: 套利比例
  7638. type: number
  7639. needhedgeratio:
  7640. description: 套保比率
  7641. type: number
  7642. qtydecimalplace:
  7643. description: 数量小数位
  7644. type: integer
  7645. relatedgoodsid:
  7646. description: 关联交易商品ID
  7647. type: integer
  7648. relatedgoodstype:
  7649. description: 关联商品类型 - 1:期货合约 2:现货品种
  7650. type: integer
  7651. remark:
  7652. description: 备注
  7653. type: string
  7654. type: object
  7655. models.ErmcpMiddlegoodsRelateGoods:
  7656. properties:
  7657. agreeunit:
  7658. description: 合约乘数
  7659. type: number
  7660. convertratio:
  7661. description: 折算系数
  7662. type: number
  7663. enumdicname:
  7664. description: 单位名称(交易商品)
  7665. type: string
  7666. goodscode:
  7667. description: 交易商品代码
  7668. type: string
  7669. goodsgroupid:
  7670. description: 交易品种id
  7671. type: integer
  7672. goodsid:
  7673. description: 商品Id
  7674. type: integer
  7675. goodsname:
  7676. description: 交易商品名称
  7677. type: string
  7678. goodunitid:
  7679. description: 交易商品单位id
  7680. type: integer
  7681. middlegoodsid:
  7682. description: 套保商品id
  7683. type: integer
  7684. middlegoodsname:
  7685. description: 套保商品名称
  7686. type: string
  7687. middlegoodsswcode:
  7688. description: 套保商品代码
  7689. type: string
  7690. needarbitrageratio:
  7691. description: 应套利比例
  7692. type: number
  7693. needhedgeratio:
  7694. description: 应套保比例
  7695. type: number
  7696. type: object
  7697. models.ErmcpRole:
  7698. properties:
  7699. areauserid:
  7700. description: 所属机构
  7701. type: integer
  7702. autoid:
  7703. description: 角色ID(自增ID)
  7704. type: integer
  7705. modifierid:
  7706. description: 修改人(创建人)
  7707. type: integer
  7708. modifiername:
  7709. description: 修改人名称
  7710. type: string
  7711. modifytime:
  7712. description: 修改时间(创建时间)
  7713. type: string
  7714. rolename:
  7715. description: 角色名称
  7716. type: string
  7717. rolestatus:
  7718. description: 角色状态 - 1:启用 2:停用
  7719. type: integer
  7720. roletype:
  7721. description: 角色类型 - 1- 管理端 2- 交易端
  7722. type: integer
  7723. type: object
  7724. models.ErmcpRoleMenu:
  7725. properties:
  7726. iconame:
  7727. description: 菜单图标
  7728. type: string
  7729. ishadrole:
  7730. description: 是否有权限
  7731. type: boolean
  7732. menutype:
  7733. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  7734. type: integer
  7735. parentcode:
  7736. description: 上级资源代码
  7737. type: string
  7738. remark:
  7739. description: 菜单备注
  7740. type: string
  7741. resourcecode:
  7742. description: 菜单代码
  7743. type: string
  7744. resourcelevel:
  7745. description: 级别
  7746. type: integer
  7747. resourcename:
  7748. description: 菜单名称
  7749. type: string
  7750. roleid:
  7751. description: 角色id
  7752. type: integer
  7753. sort:
  7754. description: 排序
  7755. type: integer
  7756. url:
  7757. description: URL
  7758. type: string
  7759. userid:
  7760. description: 用户id
  7761. type: integer
  7762. type: object
  7763. models.ErmcpRoleMenuEx:
  7764. properties:
  7765. menu:
  7766. $ref: '#/definitions/models.ErmcpRoleMenu'
  7767. description: 父级菜单
  7768. subMenu:
  7769. description: 子级菜单
  7770. items:
  7771. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  7772. type: array
  7773. type: object
  7774. models.ErmcpTaAccount:
  7775. properties:
  7776. accountid:
  7777. description: 账户id
  7778. type: integer
  7779. accountname:
  7780. description: 账户名称
  7781. type: string
  7782. currencyid:
  7783. description: 币种id
  7784. type: integer
  7785. hedgeaccountcode:
  7786. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7787. type: string
  7788. ismain:
  7789. description: 是否主账户 0-否 1-是
  7790. type: integer
  7791. parentaccountid:
  7792. description: 父账户id
  7793. type: integer
  7794. relateduserid:
  7795. description: 关联userid
  7796. type: integer
  7797. tradefeetmpid:
  7798. description: 手续费模板id
  7799. type: integer
  7800. tradefeetmpname:
  7801. description: 手续费模板名称
  7802. type: string
  7803. trademargintmpid:
  7804. description: 保证金模板id
  7805. type: integer
  7806. trademargintmpname:
  7807. description: 保证金模板名称
  7808. type: string
  7809. traderatetmpid:
  7810. description: 汇率模板id
  7811. type: integer
  7812. traderatetmpname:
  7813. description: 汇率模板名称
  7814. type: string
  7815. tradestatus:
  7816. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7817. type: integer
  7818. userid:
  7819. description: 用户id
  7820. type: integer
  7821. type: object
  7822. models.ErmcpTaAccountEx:
  7823. properties:
  7824. mainAcc:
  7825. $ref: '#/definitions/models.ErmcpTaAccountM'
  7826. description: 主账号
  7827. subacclist:
  7828. description: 子账号列表
  7829. items:
  7830. $ref: '#/definitions/models.ErmcpTaAccount'
  7831. type: array
  7832. type: object
  7833. models.ErmcpTaAccountInfo:
  7834. properties:
  7835. accountid:
  7836. description: 资金账户ID
  7837. type: integer
  7838. accountname:
  7839. description: 账户名称
  7840. type: string
  7841. balance:
  7842. description: 期初余额
  7843. type: number
  7844. capitalbalance:
  7845. description: 本金余额[外部子账户实际出入金余额]
  7846. type: number
  7847. closepl:
  7848. description: 今日平仓盈亏
  7849. type: number
  7850. creditdecrease:
  7851. description: 今日授信减少
  7852. type: number
  7853. creditincrease:
  7854. description: 今日授信增加
  7855. type: number
  7856. curdebt:
  7857. description: 期末欠款
  7858. type: number
  7859. currencyid:
  7860. description: 货币ID
  7861. type: integer
  7862. currentbalance:
  7863. description: 期末余额
  7864. type: number
  7865. freezecharge:
  7866. description: 手续费冻结
  7867. type: number
  7868. freezemargin:
  7869. description: 冻结保证金
  7870. type: number
  7871. fromaccountid:
  7872. description: 所属上级账户
  7873. type: integer
  7874. inamount:
  7875. description: 今日入金金额(包括三方入金)
  7876. type: number
  7877. ismain:
  7878. description: 是否母账号 0:不是母账户 1:是母账户
  7879. type: integer
  7880. mortgagecredit:
  7881. description: 授信金额
  7882. type: number
  7883. oridebt:
  7884. description: 期初欠款
  7885. type: number
  7886. orifreezecharge:
  7887. description: 期初手续费冻结
  7888. type: number
  7889. orifreezemargin:
  7890. description: 期初冻结保证金
  7891. type: number
  7892. orimortgagecredit:
  7893. description: 期初授信金额
  7894. type: number
  7895. oriothercredit:
  7896. description: 期初其它授信金额
  7897. type: number
  7898. oriotherfreezemargin:
  7899. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  7900. type: number
  7901. orioutamountfreeze:
  7902. description: 期初出金冻结
  7903. type: number
  7904. oriusedmargin:
  7905. description: 期初占用保证金
  7906. type: number
  7907. othercredit:
  7908. description: 其它授信金额
  7909. type: number
  7910. othercreditdecrease:
  7911. description: 今日其它授信减少
  7912. type: number
  7913. othercreditincrease:
  7914. description: 今日其它授信增加
  7915. type: number
  7916. otherfreezemargin:
  7917. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  7918. type: number
  7919. outamount:
  7920. description: 今日出金金额(包括三方出金)
  7921. type: number
  7922. outamountfreeze:
  7923. description: 出金冻结
  7924. type: number
  7925. outthreshold:
  7926. description: 出金阈值
  7927. type: number
  7928. parentaccountid:
  7929. description: 所属根账号
  7930. type: integer
  7931. paycharge:
  7932. description: 今日手续费支出
  7933. type: number
  7934. relateduserid:
  7935. description: 关联用户
  7936. type: integer
  7937. signstatus:
  7938. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  7939. type: integer
  7940. sublevelpath:
  7941. description: 账号层级路径(逗号分隔,首尾加逗号)
  7942. type: string
  7943. taaccounttype:
  7944. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  7945. type: integer
  7946. thirdinamount:
  7947. description: 今日三方入金
  7948. type: number
  7949. thirdoutamount:
  7950. description: 今日三方出金
  7951. type: number
  7952. tradestatus:
  7953. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7954. type: integer
  7955. transferamount:
  7956. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  7957. type: number
  7958. usedmargin:
  7959. description: 占用保证金
  7960. type: number
  7961. userid:
  7962. description: 用户ID
  7963. type: integer
  7964. type: object
  7965. models.ErmcpTaAccountM:
  7966. properties:
  7967. accountid:
  7968. description: 账户id
  7969. type: integer
  7970. accountname:
  7971. description: 账户名称
  7972. type: string
  7973. currencyid:
  7974. description: 币种id
  7975. type: integer
  7976. fcid:
  7977. description: 期货公司id
  7978. type: integer
  7979. fcname:
  7980. description: 期货公司代码
  7981. type: string
  7982. hedgeaccountcode:
  7983. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7984. type: string
  7985. ismain:
  7986. description: 是否主账户 0-否 1-是
  7987. type: integer
  7988. parentaccountid:
  7989. description: 父账户id
  7990. type: integer
  7991. relateduserid:
  7992. description: 关联userid
  7993. type: integer
  7994. tradefeetmpid:
  7995. description: 手续费模板id
  7996. type: integer
  7997. tradefeetmpname:
  7998. description: 手续费模板名称
  7999. type: string
  8000. trademargintmpid:
  8001. description: 保证金模板id
  8002. type: integer
  8003. trademargintmpname:
  8004. description: 保证金模板名称
  8005. type: string
  8006. traderatetmpid:
  8007. description: 汇率模板id
  8008. type: integer
  8009. traderatetmpname:
  8010. description: 汇率模板名称
  8011. type: string
  8012. tradestatus:
  8013. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  8014. type: integer
  8015. userid:
  8016. description: 用户id
  8017. type: integer
  8018. type: object
  8019. models.ErmcpTradeConfigTMP:
  8020. properties:
  8021. areauserid:
  8022. description: 所属机构
  8023. type: integer
  8024. basiccurrencyid:
  8025. description: 基本币种ID[汇率] - 目标币种
  8026. type: integer
  8027. mainaccountid:
  8028. description: 主账户ID
  8029. type: integer
  8030. modifierid:
  8031. description: 修改人
  8032. type: integer
  8033. remark:
  8034. description: 备注
  8035. type: string
  8036. tradeconfigtmpid:
  8037. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  8038. type: integer
  8039. tradeconfigtmpname:
  8040. description: 交易配置模板名称
  8041. type: string
  8042. tradeconfigtmptype:
  8043. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  8044. type: integer
  8045. updatetime:
  8046. description: 更新时间
  8047. type: string
  8048. type: object
  8049. models.Externalexchange:
  8050. properties:
  8051. autoid:
  8052. description: AutoID - SEQ_EXTERNALEXCHANGE
  8053. type: integer
  8054. exchangefullname:
  8055. description: 外部交易所全称
  8056. type: string
  8057. exexchangecode:
  8058. description: 外部交易所代码
  8059. type: string
  8060. exexchangename:
  8061. description: 外部交易所名称(简称)
  8062. type: string
  8063. ismarketprice:
  8064. description: 是否支持市价 - 0:不支持 1:支持
  8065. type: integer
  8066. quotegear:
  8067. description: 行情档位(1-10)
  8068. type: integer
  8069. showbrokerflag:
  8070. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  8071. type: integer
  8072. updatetime:
  8073. description: 更新时间
  8074. type: string
  8075. required:
  8076. - autoid
  8077. type: object
  8078. models.Funcmenulist:
  8079. properties:
  8080. iconame:
  8081. description: 菜单图标
  8082. type: string
  8083. menutype:
  8084. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  8085. type: integer
  8086. parentcode:
  8087. description: 上级资源代码
  8088. type: string
  8089. remark:
  8090. description: 备注
  8091. type: string
  8092. resourcecode:
  8093. description: 资源代码
  8094. type: string
  8095. resourcelevel:
  8096. description: 级别 1-一级 2-二级 3-三级 4-四级
  8097. type: integer
  8098. resourcename:
  8099. description: 资源名
  8100. type: string
  8101. sort:
  8102. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  8103. type: integer
  8104. url:
  8105. description: URL
  8106. type: string
  8107. required:
  8108. - resourcecode
  8109. type: object
  8110. models.Goods:
  8111. properties:
  8112. agreeunit:
  8113. description: 合约单位
  8114. type: number
  8115. areauserid:
  8116. description: 所属机构
  8117. type: integer
  8118. auditaccountid:
  8119. description: 审核操作员账号
  8120. type: integer
  8121. audittime:
  8122. description: 审核时间
  8123. type: string
  8124. cancelaccountid:
  8125. description: 注销操作员账号
  8126. type: integer
  8127. canceltime:
  8128. description: 注销时间
  8129. type: string
  8130. closepricemode:
  8131. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8132. type: integer
  8133. closepriceparam:
  8134. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8135. type: number
  8136. createtime:
  8137. description: 创建时间
  8138. type: string
  8139. creatorid:
  8140. description: 创建人
  8141. type: integer
  8142. currencyid:
  8143. description: 报价货币ID
  8144. type: integer
  8145. cutmode:
  8146. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8147. type: integer
  8148. decimalplace:
  8149. description: 报价小数位
  8150. type: integer
  8151. delistingdate:
  8152. description: 商品退市时间(状态:退市) -- 已作废
  8153. type: string
  8154. delistingmode:
  8155. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8156. type: integer
  8157. deliveryflag:
  8158. description: 交割标志 - 0:不可交割 1:可交割
  8159. type: integer
  8160. forceclosemode:
  8161. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8162. type: integer
  8163. forceclosevalue:
  8164. description: 定期强平参数 [收益权]
  8165. type: integer
  8166. goodscode:
  8167. description: 商品代码(内部)
  8168. type: string
  8169. goodscurrencyid:
  8170. description: 合约货币ID
  8171. type: integer
  8172. goodsgroupid:
  8173. description: 所属商品组ID
  8174. type: integer
  8175. goodsid:
  8176. description: 商品ID(自增ID SEQ_GOODS)
  8177. type: integer
  8178. goodsname:
  8179. description: 商品名称
  8180. type: string
  8181. goodsquotetype:
  8182. description: '合约报价类型: 1-直接报价 2-间接报价'
  8183. type: integer
  8184. goodsstatus:
  8185. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8186. type: integer
  8187. goodstradetype:
  8188. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8189. type: integer
  8190. goodunitid:
  8191. description: 报价单位ID
  8192. type: integer
  8193. hasquoter:
  8194. description: 是否有报价商 - 0:无报价商 1:有报价商
  8195. type: integer
  8196. hqprotecttime:
  8197. description: 行情保护时间(秒)
  8198. type: integer
  8199. innerdealmode:
  8200. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8201. type: integer
  8202. isbuylimited:
  8203. description: 是否限制建仓量 - 0:不限制 1:限制
  8204. type: integer
  8205. isvisible:
  8206. description: 游客是否可见 - 0:不可见 1:可见
  8207. type: integer
  8208. lasttradedate:
  8209. description: 最后交易日期(状态:待退市)
  8210. type: string
  8211. listingdate:
  8212. description: 交易开始日期
  8213. type: string
  8214. marketid:
  8215. description: 所属市场ID
  8216. type: integer
  8217. modifierid:
  8218. description: 修改人
  8219. type: integer
  8220. modifystatus:
  8221. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8222. type: integer
  8223. modifytime:
  8224. description: 修改时间
  8225. type: string
  8226. outerdealmode:
  8227. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8228. type: integer
  8229. outgoodscode:
  8230. description: 商品代码(外部)
  8231. type: string
  8232. pictureurl:
  8233. description: 商品图片
  8234. type: string
  8235. qtydecimalplace:
  8236. description: 成交量小数位
  8237. type: integer
  8238. quotegear:
  8239. description: 行情档位(1-10)
  8240. type: integer
  8241. quoteminunit:
  8242. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8243. type: integer
  8244. quoteshowtype:
  8245. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8246. type: integer
  8247. quoteshowtypeinterval:
  8248. description: 行情报价间隔时间(秒)(成交价时为0)
  8249. type: integer
  8250. remark:
  8251. description: 备注
  8252. type: string
  8253. required:
  8254. - goodscode
  8255. - goodsid
  8256. - goodsname
  8257. - marketid
  8258. type: object
  8259. models.GoodsIDAndName:
  8260. properties:
  8261. goodscode:
  8262. description: 商品代码(内部)
  8263. type: string
  8264. goodsid:
  8265. description: 商品ID(自增ID SEQ_GOODS)
  8266. type: integer
  8267. goodsname:
  8268. description: 商品名称
  8269. type: string
  8270. marketid:
  8271. description: 所属市场ID
  8272. type: integer
  8273. required:
  8274. - goodscode
  8275. - goodsid
  8276. - goodsname
  8277. - marketid
  8278. type: object
  8279. models.Goodsgroup:
  8280. properties:
  8281. agreeunit:
  8282. description: 合约单位
  8283. type: number
  8284. canshort:
  8285. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  8286. type: integer
  8287. closepricemode:
  8288. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8289. type: integer
  8290. closepriceparam:
  8291. description: 强平最新价浮动比例 - 方式为2时使用
  8292. type: number
  8293. createtime:
  8294. description: 创建时间
  8295. type: string
  8296. creatorid:
  8297. description: 创建人
  8298. type: integer
  8299. currencyid:
  8300. description: 报价货币ID
  8301. type: integer
  8302. decimalplace:
  8303. description: 报价小数位
  8304. type: integer
  8305. exercisetype:
  8306. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  8307. type: integer
  8308. exexchangeid:
  8309. description: 外部交易所ID[通道交易]
  8310. type: integer
  8311. goodsgroupid:
  8312. description: 商品组ID(自增ID)
  8313. type: integer
  8314. goodsgroupname:
  8315. description: 商品组名称
  8316. type: string
  8317. goodsgroupstatus:
  8318. description: 商品组状态 - 1:正常 2:注销
  8319. type: integer
  8320. goodunitid:
  8321. description: 报价单位ID
  8322. type: integer
  8323. innerdealmode:
  8324. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8325. type: integer
  8326. isbuylimited:
  8327. description: 是否限制建仓量 - 0:不限制 1:限制
  8328. type: integer
  8329. marketid:
  8330. description: 所属市场ID
  8331. type: integer
  8332. modifierid:
  8333. description: 修改人
  8334. type: integer
  8335. modifytime:
  8336. description: 修改时间
  8337. type: string
  8338. outerdealmode:
  8339. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8340. type: integer
  8341. outergroupcode:
  8342. description: 外部商品组代码[通道交易]
  8343. type: string
  8344. premiumdecimalplace:
  8345. description: 权利金小数位[场外期权]
  8346. type: integer
  8347. premiumspreadalgorithm:
  8348. description: 权利金点差方式[场外期权] 1:比率 2:固定
  8349. type: integer
  8350. premiumspreadvalue:
  8351. description: 权利金点差值[场外期权]
  8352. type: number
  8353. qtydecimalplace:
  8354. description: 成交量小数位
  8355. type: integer
  8356. quotegear:
  8357. description: 行情档位(1-10)
  8358. type: integer
  8359. quoteminunit:
  8360. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8361. type: integer
  8362. quoterid:
  8363. description: 报价商ID[场外期权]
  8364. type: integer
  8365. quotesourcegroupid:
  8366. description: 所属行情源分组ID[参考行情市场用\通道交易]
  8367. type: integer
  8368. syncgoodsqty:
  8369. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  8370. type: integer
  8371. required:
  8372. - goodsgroupid
  8373. - goodsgroupname
  8374. - goodsgroupstatus
  8375. - marketid
  8376. type: object
  8377. models.Goodssortbypreposition:
  8378. properties:
  8379. goodscode:
  8380. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  8381. type: string
  8382. goodsgroupcode:
  8383. description: 品种代码
  8384. type: string
  8385. prepositionqty:
  8386. description: 昨持仓量
  8387. type: integer
  8388. sortindex:
  8389. description: 排序
  8390. type: integer
  8391. tradedate:
  8392. description: 交易日
  8393. type: string
  8394. updatetime:
  8395. description: 更新时间
  8396. type: string
  8397. required:
  8398. - goodscode
  8399. - tradedate
  8400. type: object
  8401. models.Hedgeinnerholderdetail:
  8402. properties:
  8403. accountid:
  8404. description: 账号ID
  8405. type: integer
  8406. buyorsell:
  8407. description: 方向 - 0:买 1:卖
  8408. type: integer
  8409. freezeqty:
  8410. description: 冻结数量 - 按单平使用
  8411. type: integer
  8412. goodsid:
  8413. description: 商品ID
  8414. type: integer
  8415. holderamount:
  8416. description: 持仓金额 [商品币种]
  8417. type: number
  8418. holderdays:
  8419. description: 剩余冻结天数
  8420. type: integer
  8421. holderprice:
  8422. description: 持仓价格
  8423. type: number
  8424. holderqty:
  8425. description: 持仓数量
  8426. type: integer
  8427. marketid:
  8428. description: 市场ID
  8429. type: integer
  8430. openprice:
  8431. description: 建仓价格
  8432. type: number
  8433. openqty:
  8434. description: 建仓数量
  8435. type: integer
  8436. parentaccountid:
  8437. description: 所属母账户
  8438. type: integer
  8439. releaseamount:
  8440. description: 释放持仓金额[商品币种]
  8441. type: number
  8442. tradeamount:
  8443. description: 成交金额[账户]
  8444. type: number
  8445. tradedate:
  8446. description: 交易日(yyyyMMdd)
  8447. type: string
  8448. tradeid:
  8449. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8450. type: string
  8451. tradetime:
  8452. description: 交易时间
  8453. type: string
  8454. required:
  8455. - buyorsell
  8456. - tradeid
  8457. type: object
  8458. models.Hedgemarketopenlog:
  8459. properties:
  8460. accountid:
  8461. description: 资金账号[外部母账户]
  8462. type: integer
  8463. fcname:
  8464. description: 期货公司名称
  8465. type: string
  8466. handlestatus:
  8467. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  8468. type: integer
  8469. marketid:
  8470. description: 市场ID
  8471. type: integer
  8472. status:
  8473. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  8474. type: integer
  8475. tradedate:
  8476. description: 交易日(yyyyMMdd)
  8477. type: string
  8478. updatetime:
  8479. description: 更新时间
  8480. type: string
  8481. required:
  8482. - accountid
  8483. type: object
  8484. models.HsbyBuyMyPayOrder:
  8485. properties:
  8486. agreeunit:
  8487. description: 合约单位
  8488. type: number
  8489. buyaccountid:
  8490. description: 买方账号ID[报价币种]
  8491. type: integer
  8492. buyorderid:
  8493. description: 买方委托单号
  8494. type: string
  8495. createtime:
  8496. description: 创建时间
  8497. type: string
  8498. currencysign:
  8499. description: 货币符号
  8500. type: string
  8501. decimalplace:
  8502. description: 报价小数位
  8503. type: integer
  8504. goodscode:
  8505. description: 商品代码(内部)
  8506. type: string
  8507. goodsid:
  8508. description: 商品ID
  8509. type: integer
  8510. goodsname:
  8511. description: 商品名称
  8512. type: string
  8513. marketid:
  8514. description: 市场ID
  8515. type: integer
  8516. offamount:
  8517. description: 优惠金额
  8518. type: number
  8519. originalamount:
  8520. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  8521. type: number
  8522. payamount:
  8523. description: 支付金额 = TradeAmount + TradeCharge
  8524. type: number
  8525. payflag:
  8526. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8527. type: integer
  8528. paylimitedtime:
  8529. description: 支付期限
  8530. type: string
  8531. paytime:
  8532. description: 付款时间
  8533. type: string
  8534. picurls1:
  8535. description: 预售商品介绍图片[多张用逗号分隔]
  8536. type: string
  8537. picurls2:
  8538. description: 挂牌商品介绍图片[多张用逗号分隔]
  8539. type: string
  8540. sellaccountid:
  8541. description: 卖方账号ID[报价币种]
  8542. type: integer
  8543. sellorderid:
  8544. description: 卖方委托单号
  8545. type: string
  8546. tradeamount:
  8547. description: 成交金额
  8548. type: number
  8549. tradecharge:
  8550. description: 成交手续费(买方)
  8551. type: number
  8552. tradedate:
  8553. description: 交易日(yyyyMMdd)
  8554. type: string
  8555. tradeid:
  8556. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8557. type: string
  8558. trademode:
  8559. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8560. type: integer
  8561. tradeprice:
  8562. description: 成交价格
  8563. type: number
  8564. tradeqty:
  8565. description: 成交数量
  8566. type: integer
  8567. vendorname1:
  8568. description: 预售商品供应商名称
  8569. type: string
  8570. vendorname2:
  8571. description: 挂牌商品供应商名称
  8572. type: string
  8573. required:
  8574. - goodscode
  8575. - goodsname
  8576. - tradeid
  8577. - trademode
  8578. type: object
  8579. models.HsbyBuyMyTradeDetail:
  8580. properties:
  8581. accountid:
  8582. description: 账户ID[报价币种]
  8583. type: integer
  8584. agreeunit:
  8585. description: 合约单位
  8586. type: number
  8587. amount:
  8588. description: 金额 = 价格 * 数量 * 合约单位
  8589. type: number
  8590. buyorsell:
  8591. description: 买卖 - 0:买 1:卖
  8592. type: integer
  8593. currencysign:
  8594. description: 货币符号
  8595. type: string
  8596. decimalplace:
  8597. description: 报价小数位
  8598. type: integer
  8599. goodscode:
  8600. description: 商品代码(内部)
  8601. type: string
  8602. goodsid:
  8603. description: 商品ID
  8604. type: integer
  8605. goodsname:
  8606. description: 商品名称
  8607. type: string
  8608. marketid:
  8609. description: 市场ID
  8610. type: integer
  8611. orderamount:
  8612. description: 委托金额
  8613. type: number
  8614. orderid:
  8615. description: 单号(成交单号)
  8616. type: string
  8617. picurls1:
  8618. description: 预售商品介绍图片[多张用逗号分隔]
  8619. type: string
  8620. picurls2:
  8621. description: 挂牌商品介绍图片[多张用逗号分隔]
  8622. type: string
  8623. price:
  8624. description: 价格
  8625. type: number
  8626. qty:
  8627. description: 数量
  8628. type: integer
  8629. time:
  8630. description: 时间
  8631. type: string
  8632. trademode:
  8633. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8634. type: integer
  8635. vendorname1:
  8636. description: 预售商品供应商名称
  8637. type: string
  8638. vendorname2:
  8639. description: 挂牌商品供应商名称
  8640. type: string
  8641. required:
  8642. - accountid
  8643. - buyorsell
  8644. - goodscode
  8645. - goodsid
  8646. - goodsname
  8647. - marketid
  8648. - orderid
  8649. - qty
  8650. - time
  8651. - trademode
  8652. type: object
  8653. models.HsbyGoodsOrderDetail:
  8654. properties:
  8655. buyorsell:
  8656. description: 买卖 - 0:买 1:卖
  8657. type: integer
  8658. currencysign:
  8659. description: 货币符号
  8660. type: string
  8661. customername:
  8662. description: 客户名称(企业名称),已脱敏
  8663. type: string
  8664. enableqty:
  8665. description: 可用数量
  8666. type: integer
  8667. goodunit:
  8668. description: 报价单位
  8669. type: string
  8670. orderid:
  8671. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8672. type: string
  8673. orderprice:
  8674. description: 委托价格
  8675. type: number
  8676. ordertime:
  8677. description: 委托时间
  8678. type: string
  8679. required:
  8680. - buyorsell
  8681. - orderid
  8682. - ordertime
  8683. type: object
  8684. models.HsbyListingGoodsDetail:
  8685. properties:
  8686. agreeunit:
  8687. description: 合约单位
  8688. type: number
  8689. buymaxqty:
  8690. description: 购买上限 [71] - 0为不限
  8691. type: integer
  8692. currency:
  8693. description: 货币
  8694. type: string
  8695. currencysign:
  8696. description: 货币符号
  8697. type: string
  8698. decimalplace:
  8699. description: 报价小数位
  8700. type: integer
  8701. desccityid:
  8702. description: 目的地(市)ID
  8703. type: integer
  8704. descprovinceid:
  8705. description: 目的地(省)ID
  8706. type: integer
  8707. goodscode:
  8708. description: 商品代码(内部)
  8709. type: string
  8710. goodsdesc:
  8711. description: 商品详情
  8712. type: string
  8713. goodsid:
  8714. description: 商品ID(自增ID SEQ_GOODS)
  8715. type: integer
  8716. goodsname:
  8717. description: 商品名称
  8718. type: string
  8719. goodsprice:
  8720. description: 商品价格
  8721. type: number
  8722. hotindex:
  8723. description: 景点热度
  8724. type: integer
  8725. last:
  8726. description: 现价
  8727. type: number
  8728. limitdown:
  8729. description: 跌停价
  8730. type: number
  8731. limitup:
  8732. description: 涨停价
  8733. type: number
  8734. lotsize:
  8735. description: 手数最小变动单位
  8736. type: integer
  8737. marketid:
  8738. description: 所属市场ID
  8739. type: integer
  8740. picurls:
  8741. description: 介绍图片[多张用逗号分隔]
  8742. type: string
  8743. quoteminunit:
  8744. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8745. type: integer
  8746. stepvalue:
  8747. description: 价格最小变动单位
  8748. type: number
  8749. trademode:
  8750. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8751. type: integer
  8752. vendorattr:
  8753. description: 供应商附件(多张,逗号分隔)
  8754. type: string
  8755. vendorname:
  8756. description: 供应商名称
  8757. type: string
  8758. vendorphone:
  8759. description: 供应商客服电话
  8760. type: string
  8761. videourls:
  8762. description: 介绍视频[多张用逗号分隔]
  8763. type: string
  8764. required:
  8765. - goodscode
  8766. - goodsid
  8767. - goodsname
  8768. - marketid
  8769. - trademode
  8770. type: object
  8771. models.HsbyMarketGoods:
  8772. properties:
  8773. accountid:
  8774. description: 账户ID[报价币种]
  8775. type: integer
  8776. agreeunit:
  8777. description: 合约单位
  8778. type: number
  8779. buyorsell:
  8780. description: 买卖 - 0:买 1:卖
  8781. type: integer
  8782. categoryid:
  8783. description: 类别ID(WRCATEGORY)
  8784. type: integer
  8785. currency:
  8786. description: 货币
  8787. type: string
  8788. currencysign:
  8789. description: 货币符号
  8790. type: string
  8791. customername:
  8792. description: 卖家名称
  8793. type: string
  8794. decimalplace:
  8795. description: 报价小数位
  8796. type: integer
  8797. goodscode:
  8798. description: 商品代码(内部)
  8799. type: string
  8800. goodsid:
  8801. description: 商品ID
  8802. type: integer
  8803. goodsname:
  8804. description: 商品名称
  8805. type: string
  8806. goodsprice:
  8807. description: 商品价格
  8808. type: number
  8809. hascoupon:
  8810. description: 是否可用优惠卷
  8811. type: boolean
  8812. hotindex:
  8813. description: 景点热度
  8814. type: integer
  8815. marketid:
  8816. description: 市场ID
  8817. type: integer
  8818. orderid:
  8819. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8820. type: string
  8821. orderprice:
  8822. description: 委托价格
  8823. type: number
  8824. orderstatus:
  8825. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  8826. type: integer
  8827. picurls:
  8828. description: 介绍图片[多张用逗号分隔]
  8829. type: string
  8830. quoteminunit:
  8831. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8832. type: integer
  8833. sellUserID:
  8834. description: 卖方UserID
  8835. type: integer
  8836. trademode:
  8837. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8838. type: integer
  8839. videourls:
  8840. description: 介绍视频[多张用逗号分隔]
  8841. type: string
  8842. required:
  8843. - accountid
  8844. - buyorsell
  8845. - goodscode
  8846. - goodsid
  8847. - goodsname
  8848. - marketid
  8849. - orderid
  8850. - trademode
  8851. type: object
  8852. models.HsbyMarketGoodsDetail:
  8853. properties:
  8854. accountid:
  8855. description: 账户ID[报价币种]
  8856. type: integer
  8857. agreeunit:
  8858. description: 合约单位
  8859. type: number
  8860. buymaxqty:
  8861. description: 购买上限 [71] - 0为不限
  8862. type: integer
  8863. buyorsell:
  8864. description: 买卖 - 0:买 1:卖
  8865. type: integer
  8866. cancelqty:
  8867. description: 撤单数量
  8868. type: integer
  8869. categoryid:
  8870. description: 类别ID(WRCATEGORY)
  8871. type: integer
  8872. currency:
  8873. description: 货币
  8874. type: string
  8875. currencysign:
  8876. description: 货币符号
  8877. type: string
  8878. customername:
  8879. description: 卖家名称
  8880. type: string
  8881. decimalplace:
  8882. description: 报价小数位
  8883. type: integer
  8884. goodscode:
  8885. description: 商品代码(内部)
  8886. type: string
  8887. goodsdesc:
  8888. description: 商品详情
  8889. type: string
  8890. goodsid:
  8891. description: 商品ID
  8892. type: integer
  8893. goodsname:
  8894. description: 商品名称
  8895. type: string
  8896. goodsprice:
  8897. description: 商品价格
  8898. type: number
  8899. hotindex:
  8900. description: 景点热度
  8901. type: integer
  8902. lotsize:
  8903. description: 手数最小变动单位
  8904. type: integer
  8905. marketid:
  8906. description: 市场ID
  8907. type: integer
  8908. orderid:
  8909. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8910. type: string
  8911. orderprice:
  8912. description: 委托价格
  8913. type: number
  8914. orderqty:
  8915. description: 委托数量
  8916. type: integer
  8917. orderstatus:
  8918. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  8919. type: integer
  8920. picurls:
  8921. description: 介绍图片[多张用逗号分隔]
  8922. type: string
  8923. quoteminunit:
  8924. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8925. type: integer
  8926. sellUserID:
  8927. description: 卖方UserID
  8928. type: integer
  8929. trademode:
  8930. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8931. type: integer
  8932. tradeqty:
  8933. description: 成交数量
  8934. type: integer
  8935. vendorattr:
  8936. description: 供应商附件(多张,逗号分隔)
  8937. type: string
  8938. vendorname:
  8939. description: 供应商名称
  8940. type: string
  8941. vendorphone:
  8942. description: 供应商客服电话
  8943. type: string
  8944. videourls:
  8945. description: 介绍视频[多张用逗号分隔]
  8946. type: string
  8947. required:
  8948. - accountid
  8949. - buyorsell
  8950. - goodscode
  8951. - goodsid
  8952. - goodsname
  8953. - marketid
  8954. - orderid
  8955. - orderqty
  8956. - trademode
  8957. type: object
  8958. models.HsbyMarketInfo:
  8959. properties:
  8960. marketid:
  8961. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8962. type: integer
  8963. marketname:
  8964. description: 市场名称
  8965. type: string
  8966. marketstatus:
  8967. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8968. type: integer
  8969. trademode:
  8970. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8971. type: integer
  8972. required:
  8973. - marketid
  8974. - marketstatus
  8975. - trademode
  8976. type: object
  8977. models.HsbyMyGoods:
  8978. properties:
  8979. accountid:
  8980. description: 账号Id
  8981. type: integer
  8982. agreeunit:
  8983. description: 合约单位
  8984. type: number
  8985. buyaverageprice:
  8986. description: 持仓均价
  8987. type: number
  8988. buycurholderamount:
  8989. description: 买当前持仓总金额[商品币种]
  8990. type: number
  8991. buycurpositionqty:
  8992. description: 买当前持仓总数量
  8993. type: integer
  8994. buymaxqty:
  8995. description: 购买上限 [71] - 0为不限
  8996. type: integer
  8997. currencysign:
  8998. description: 货币符号
  8999. type: string
  9000. decimalplace:
  9001. description: 报价小数位
  9002. type: integer
  9003. enableqty:
  9004. description: 可用数量
  9005. type: integer
  9006. goodscode:
  9007. description: 商品代码(内部)
  9008. type: string
  9009. goodsid:
  9010. description: 商品Id
  9011. type: integer
  9012. goodsname:
  9013. description: 商品名称
  9014. type: string
  9015. goodsprice:
  9016. description: 商品价格
  9017. type: number
  9018. goodsstatus:
  9019. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  9020. type: integer
  9021. last:
  9022. description: 现价(仅使用于挂牌点选)
  9023. type: number
  9024. limitdown:
  9025. description: 跌停价(仅使用于挂牌点选)
  9026. type: number
  9027. limitup:
  9028. description: 涨停价(仅使用于挂牌点选)
  9029. type: number
  9030. lotsize:
  9031. description: 手数最小变动单位
  9032. type: integer
  9033. marketid:
  9034. description: 所属市场ID
  9035. type: integer
  9036. picurls:
  9037. description: 介绍图片[多张用逗号分隔]
  9038. type: string
  9039. quoteminunit:
  9040. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9041. type: integer
  9042. stepvalue:
  9043. description: 价格最小变动单位
  9044. type: number
  9045. trademode:
  9046. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9047. type: integer
  9048. required:
  9049. - accountid
  9050. - goodscode
  9051. - goodsid
  9052. - goodsname
  9053. - marketid
  9054. - trademode
  9055. type: object
  9056. models.HsbyMyPackage:
  9057. properties:
  9058. accountid:
  9059. description: 账户ID
  9060. type: integer
  9061. address:
  9062. description: 提货人详细地址
  9063. type: string
  9064. agreeunit:
  9065. description: 合约单位
  9066. type: number
  9067. amount:
  9068. description: 提货金额
  9069. type: number
  9070. auditer:
  9071. description: 审核人
  9072. type: integer
  9073. audittime:
  9074. description: 审核时间
  9075. type: string
  9076. averageprice:
  9077. description: 均价
  9078. type: number
  9079. cardnum:
  9080. description: 提货人证件号码
  9081. type: string
  9082. cardtypeid:
  9083. description: 提货人证件类型
  9084. type: integer
  9085. checkremark:
  9086. description: 审核备注
  9087. type: string
  9088. currencysign:
  9089. description: 货币符号
  9090. type: string
  9091. decimalplace:
  9092. description: 报价小数位
  9093. type: integer
  9094. goodscode:
  9095. description: 商品代码(内部)
  9096. type: string
  9097. goodsid:
  9098. description: 商品ID
  9099. type: integer
  9100. goodsname:
  9101. description: 商品名称
  9102. type: string
  9103. handlestatus:
  9104. description: 处理状态
  9105. type: integer
  9106. marketid:
  9107. description: 市场ID
  9108. type: integer
  9109. phonenum:
  9110. description: 提货人联系方式
  9111. type: string
  9112. picurls:
  9113. description: 介绍图片[多张用逗号分隔]
  9114. type: string
  9115. qty:
  9116. description: 提货数量
  9117. type: number
  9118. recivername:
  9119. description: 提货人姓名
  9120. type: string
  9121. reqtime:
  9122. description: 更新时间
  9123. type: string
  9124. takemode:
  9125. description: 提货方式 - 2:自提 3:配送
  9126. type: integer
  9127. takeorderid:
  9128. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  9129. type: string
  9130. takeorderstatus:
  9131. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  9132. type: integer
  9133. takeremark:
  9134. description: 提货备注
  9135. type: string
  9136. tradedate:
  9137. description: 交易日(yyyyMMdd)
  9138. type: string
  9139. trademode:
  9140. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9141. type: integer
  9142. userid:
  9143. description: 用户ID
  9144. type: integer
  9145. vendorname:
  9146. description: 供应商名称
  9147. type: string
  9148. required:
  9149. - goodscode
  9150. - goodsname
  9151. - takeorderid
  9152. - trademode
  9153. type: object
  9154. models.HsbyPreGoods:
  9155. properties:
  9156. agreeunit:
  9157. description: 合约单位
  9158. type: number
  9159. currency:
  9160. description: 货币
  9161. type: string
  9162. currencysign:
  9163. description: 货币符号
  9164. type: string
  9165. decimalplace:
  9166. description: 报价小数位
  9167. type: integer
  9168. desccityid:
  9169. description: 目的地(市)
  9170. type: integer
  9171. descprovinceid:
  9172. description: 目的地(省)
  9173. type: integer
  9174. enableqty:
  9175. description: 剩余数量
  9176. type: integer
  9177. goodscode:
  9178. description: 商品代码(内部)
  9179. type: string
  9180. goodsid:
  9181. description: 商品ID(自增ID SEQ_GOODS)
  9182. type: integer
  9183. goodsname:
  9184. description: 商品名称
  9185. type: string
  9186. goodsstatus:
  9187. description: 商品状态- 2:未上市 3:上市
  9188. type: integer
  9189. lasttradedate:
  9190. description: 最后交易日期(状态:待退市)
  9191. type: string
  9192. listingdate:
  9193. description: 交易开始日期
  9194. type: string
  9195. marketid:
  9196. description: 所属市场ID
  9197. type: integer
  9198. picurls:
  9199. description: 介绍图片[多张用逗号分隔]
  9200. type: string
  9201. presaledqty:
  9202. description: 已预售量(预售结束时更新)
  9203. type: integer
  9204. presaleqty:
  9205. description: 预售数量
  9206. type: integer
  9207. quoteminunit:
  9208. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9209. type: integer
  9210. refprice:
  9211. description: 参考价格[一口价]
  9212. type: number
  9213. relatedgoodsid:
  9214. description: 关联交易合约ID
  9215. type: integer
  9216. trademode:
  9217. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9218. type: integer
  9219. videourls:
  9220. description: 介绍视频[多张用逗号分隔]
  9221. type: string
  9222. required:
  9223. - goodscode
  9224. - goodsid
  9225. - goodsname
  9226. - marketid
  9227. - trademode
  9228. type: object
  9229. models.HsbyPreGoodsDetail:
  9230. properties:
  9231. agreeunit:
  9232. description: 合约单位
  9233. type: number
  9234. buymaxqty:
  9235. description: 购买上限 [71] - 0为不限
  9236. type: integer
  9237. currency:
  9238. description: 货币
  9239. type: string
  9240. currencysign:
  9241. description: 货币符号
  9242. type: string
  9243. customername:
  9244. description: 发行单位
  9245. type: string
  9246. decimalplace:
  9247. description: 报价小数位
  9248. type: integer
  9249. desccityid:
  9250. description: 目的地(市)ID
  9251. type: integer
  9252. descprovinceid:
  9253. description: 目的地(省)ID
  9254. type: integer
  9255. enableqty:
  9256. description: 剩余数量
  9257. type: integer
  9258. goodscode:
  9259. description: 商品代码(内部)
  9260. type: string
  9261. goodsdesc:
  9262. description: 商品详情
  9263. type: string
  9264. goodsid:
  9265. description: 商品ID(自增ID SEQ_GOODS)
  9266. type: integer
  9267. goodsname:
  9268. description: 商品名称
  9269. type: string
  9270. goodsstatus:
  9271. description: 商品状态- 2:未上市 3:上市
  9272. type: integer
  9273. goodunit:
  9274. description: 报价单位
  9275. type: string
  9276. lasttradedate:
  9277. description: 最后交易日期(状态:待退市)
  9278. type: string
  9279. listingdate:
  9280. description: 交易开始日期
  9281. type: string
  9282. lotsize:
  9283. description: 手数最小变动单位
  9284. type: integer
  9285. marketid:
  9286. description: 所属市场ID
  9287. type: integer
  9288. picurls:
  9289. description: 介绍图片[多张用逗号分隔]
  9290. type: string
  9291. presaledqty:
  9292. description: 已预售量(预售结束时更新)
  9293. type: integer
  9294. presaleqty:
  9295. description: 预售数量
  9296. type: integer
  9297. quoteminunit:
  9298. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9299. type: integer
  9300. refprice:
  9301. description: 参考价格[一口价]
  9302. type: number
  9303. relatedgoodsid:
  9304. description: 关联交易合约ID
  9305. type: integer
  9306. stepvalue:
  9307. description: 价格最小变动单位
  9308. type: number
  9309. trademode:
  9310. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9311. type: integer
  9312. vendorattr:
  9313. description: 供应商附件(多张,逗号分隔)
  9314. type: string
  9315. vendorname:
  9316. description: 供应商名称
  9317. type: string
  9318. vendorphone:
  9319. description: 供应商客服电话
  9320. type: string
  9321. videourls:
  9322. description: 介绍视频[多张用逗号分隔]
  9323. type: string
  9324. required:
  9325. - goodscode
  9326. - goodsid
  9327. - goodsname
  9328. - marketid
  9329. - trademode
  9330. type: object
  9331. models.HsbySellCollectionOrder:
  9332. properties:
  9333. agreeunit:
  9334. description: 合约单位
  9335. type: number
  9336. buyaccountid:
  9337. description: 买方账号ID[报价币种]
  9338. type: integer
  9339. buyorderid:
  9340. description: 买方委托单号
  9341. type: string
  9342. createtime:
  9343. description: 创建时间
  9344. type: string
  9345. currencysign:
  9346. description: 货币符号
  9347. type: string
  9348. decimalplace:
  9349. description: 报价小数位
  9350. type: integer
  9351. goodscode:
  9352. description: 商品代码(内部)
  9353. type: string
  9354. goodsid:
  9355. description: 商品ID
  9356. type: integer
  9357. goodsname:
  9358. description: 商品名称
  9359. type: string
  9360. marketid:
  9361. description: 市场ID
  9362. type: integer
  9363. offamount:
  9364. description: 优惠金额
  9365. type: number
  9366. payamount:
  9367. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  9368. type: number
  9369. payflag:
  9370. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  9371. type: integer
  9372. paylimitedtime:
  9373. description: 支付期限
  9374. type: string
  9375. paytime:
  9376. description: 付款时间
  9377. type: string
  9378. picurls:
  9379. description: 商品介绍图片[多张用逗号分隔]
  9380. type: string
  9381. sellaccountid:
  9382. description: 卖方账号ID[报价币种]
  9383. type: integer
  9384. sellorderid:
  9385. description: 卖方委托单号
  9386. type: string
  9387. tradeamount:
  9388. description: 成交金额
  9389. type: number
  9390. tradecharge:
  9391. description: 成交手续费(买方)
  9392. type: number
  9393. tradedate:
  9394. description: 交易日(yyyyMMdd)
  9395. type: string
  9396. tradeid:
  9397. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9398. type: string
  9399. trademode:
  9400. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9401. type: integer
  9402. tradeprice:
  9403. description: 成交价格
  9404. type: number
  9405. tradeqty:
  9406. description: 成交数量
  9407. type: integer
  9408. required:
  9409. - goodscode
  9410. - goodsname
  9411. - tradeid
  9412. - trademode
  9413. type: object
  9414. models.HsbySellMyDetail:
  9415. properties:
  9416. accountid:
  9417. description: 账户ID[报价币种]
  9418. type: integer
  9419. agreeunit:
  9420. description: 合约单位
  9421. type: number
  9422. buyorsell:
  9423. description: 买卖 - 0:买 1:卖
  9424. type: integer
  9425. currencysign:
  9426. description: 货币符号
  9427. type: string
  9428. decimalplace:
  9429. description: 报价小数位
  9430. type: integer
  9431. goodscode:
  9432. description: 商品代码(内部)
  9433. type: string
  9434. goodsid:
  9435. description: 商品ID
  9436. type: integer
  9437. goodsname:
  9438. description: 商品名称
  9439. type: string
  9440. marketid:
  9441. description: 市场ID
  9442. type: integer
  9443. orderid:
  9444. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  9445. type: string
  9446. ordertype:
  9447. description: 单据类型:0 - 发布中, 1 - 已完成
  9448. type: integer
  9449. picurls:
  9450. description: 介绍图片[多张用逗号分隔]
  9451. type: string
  9452. price:
  9453. description: 价格
  9454. type: number
  9455. qty:
  9456. description: 数量
  9457. type: integer
  9458. time:
  9459. description: 时间
  9460. type: string
  9461. trademode:
  9462. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9463. type: integer
  9464. vendorname:
  9465. description: 供应商名称
  9466. type: string
  9467. required:
  9468. - accountid
  9469. - buyorsell
  9470. - goodscode
  9471. - goodsid
  9472. - goodsname
  9473. - marketid
  9474. - orderid
  9475. - time
  9476. - trademode
  9477. type: object
  9478. models.HsbyTopGoods:
  9479. properties:
  9480. agreeunit:
  9481. description: 合约单位
  9482. type: number
  9483. currency:
  9484. description: 货币
  9485. type: string
  9486. currencysign:
  9487. description: 货币符号
  9488. type: string
  9489. decimalplace:
  9490. description: 报价小数位
  9491. type: integer
  9492. desccityid:
  9493. description: 目的地(市)
  9494. type: integer
  9495. descprovinceid:
  9496. description: 目的地(省)
  9497. type: integer
  9498. goodscode:
  9499. description: 商品代码(内部)
  9500. type: string
  9501. goodsid:
  9502. description: 商品ID(自增ID SEQ_GOODS)
  9503. type: integer
  9504. goodsname:
  9505. description: 商品名称
  9506. type: string
  9507. hotindex:
  9508. description: 景点热度
  9509. type: integer
  9510. last:
  9511. description: 现价
  9512. type: number
  9513. marketid:
  9514. description: 所属市场ID
  9515. type: integer
  9516. picurls:
  9517. description: 介绍图片[多张用逗号分隔]
  9518. type: string
  9519. quoteminunit:
  9520. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9521. type: integer
  9522. trademode:
  9523. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9524. type: integer
  9525. videourls:
  9526. description: 介绍视频[多张用逗号分隔]
  9527. type: string
  9528. required:
  9529. - goodscode
  9530. - goodsid
  9531. - goodsname
  9532. - marketid
  9533. - trademode
  9534. type: object
  9535. models.HybsMyBuyOrderDetail:
  9536. properties:
  9537. accountid:
  9538. description: 账户ID[报价币种]
  9539. type: integer
  9540. agreeunit:
  9541. description: 合约单位
  9542. type: number
  9543. buyorsell:
  9544. description: 买卖 - 0:买 1:卖
  9545. type: integer
  9546. cancelqty:
  9547. description: 撤单数量
  9548. type: integer
  9549. currencysign:
  9550. description: 货币符号
  9551. type: string
  9552. decimalplace:
  9553. description: 报价小数位
  9554. type: integer
  9555. goodscode:
  9556. description: 商品代码(内部)
  9557. type: string
  9558. goodsid:
  9559. description: 商品ID
  9560. type: integer
  9561. goodsname:
  9562. description: 商品名称
  9563. type: string
  9564. listingselecttype:
  9565. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9566. type: integer
  9567. marketid:
  9568. description: 市场ID
  9569. type: integer
  9570. mybuystatus:
  9571. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  9572. type: integer
  9573. orderamount:
  9574. description: 委托金额
  9575. type: number
  9576. orderid:
  9577. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9578. type: string
  9579. orderprice:
  9580. description: 委托价格
  9581. type: number
  9582. orderqty:
  9583. description: 委托数量
  9584. type: integer
  9585. orderstatus:
  9586. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  9587. type: integer
  9588. ordertime:
  9589. description: 委托时间
  9590. type: string
  9591. picurls1:
  9592. description: 预售商品介绍图片[多张用逗号分隔]
  9593. type: string
  9594. picurls2:
  9595. description: 挂牌商品介绍图片[多张用逗号分隔]
  9596. type: string
  9597. trademode:
  9598. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9599. type: integer
  9600. tradeqty:
  9601. description: 成交数量
  9602. type: integer
  9603. vendorname1:
  9604. description: 预售商品供应商名称
  9605. type: string
  9606. vendorname2:
  9607. description: 挂牌商品供应商名称
  9608. type: string
  9609. required:
  9610. - accountid
  9611. - buyorsell
  9612. - goodscode
  9613. - goodsid
  9614. - goodsname
  9615. - marketid
  9616. - orderid
  9617. - orderqty
  9618. - ordertime
  9619. - trademode
  9620. type: object
  9621. models.Loginaccount:
  9622. properties:
  9623. accountname:
  9624. description: 账户名称
  9625. type: string
  9626. canoutin:
  9627. description: 是否可出入金 - 0:不可 1:可
  9628. type: integer
  9629. clientroleid:
  9630. description: 终端角色ID
  9631. type: integer
  9632. haslogined:
  9633. description: 是否已登录 - 0:未登录 1:已登录
  9634. type: integer
  9635. hasupdatedpwd:
  9636. description: 是否已更改密码 - 0:未修改 1:已修改
  9637. type: integer
  9638. lastloginip:
  9639. description: 最新登录地址
  9640. type: string
  9641. lastloginmode:
  9642. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9643. type: integer
  9644. lastloginremark:
  9645. description: 最新登录描述
  9646. type: string
  9647. lastlogintime:
  9648. description: 最新登录时间
  9649. type: string
  9650. logincode:
  9651. description: 登录代码
  9652. type: string
  9653. loginfailnum:
  9654. description: 连续登录失败次数(登录成功时清零)
  9655. type: integer
  9656. loginid:
  9657. description: 登陆账号
  9658. type: integer
  9659. loginport:
  9660. description: 最新登录端口
  9661. type: integer
  9662. loginstatus:
  9663. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  9664. type: integer
  9665. loginusertype:
  9666. description: 登录账号类型 - 1:投资者 2:机构交易员
  9667. type: integer
  9668. mobile:
  9669. description: 手机号码(加密存储)
  9670. type: string
  9671. modifierid:
  9672. description: 修改人
  9673. type: integer
  9674. modifysrc:
  9675. description: 审核来源 - 1:管理端 2:终端
  9676. type: integer
  9677. modifytime:
  9678. description: 修改时间
  9679. type: string
  9680. password:
  9681. description: 登陆密码
  9682. type: string
  9683. pwdwrongcount:
  9684. description: 密码错误次数
  9685. type: integer
  9686. relateduserid:
  9687. description: 关联用户ID(机构)
  9688. type: integer
  9689. taaccountrighttype:
  9690. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  9691. type: integer
  9692. unfreezetime:
  9693. description: 账户解冻时间
  9694. type: string
  9695. userid:
  9696. description: 用户ID
  9697. type: integer
  9698. required:
  9699. - loginid
  9700. type: object
  9701. models.MainAccountInfo:
  9702. properties:
  9703. accountid:
  9704. description: 账号id
  9705. type: integer
  9706. accountname:
  9707. description: 账号名称(taaccount表中的名称)
  9708. type: string
  9709. appid:
  9710. description: AppID
  9711. type: string
  9712. authcode:
  9713. description: 授权码
  9714. type: string
  9715. brokerid:
  9716. description: 经纪商id
  9717. type: string
  9718. fcid:
  9719. description: 期货公司id
  9720. type: integer
  9721. fcname:
  9722. description: 期货公司代码
  9723. type: string
  9724. hedgeaccountcode:
  9725. description: 外部账号代码(主账号登录代码)
  9726. type: string
  9727. hedgeaccountpwd:
  9728. description: 密码
  9729. type: string
  9730. ismain:
  9731. description: 是否主账号
  9732. type: integer
  9733. relateduserid:
  9734. description: 关联用户id
  9735. type: integer
  9736. userid:
  9737. description: 关联用户id
  9738. type: integer
  9739. type: object
  9740. models.Market:
  9741. properties:
  9742. auctionwrtype:
  9743. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  9744. type: integer
  9745. canacceptquote:
  9746. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  9747. type: integer
  9748. cangoodsexercise:
  9749. description: '[期权]是否可现货行权- 0:否 1:是'
  9750. type: integer
  9751. cangoodsexercisetype:
  9752. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  9753. type: integer
  9754. canmanualquotestrike:
  9755. description: 是否可手动报行权价- 0:否 1:是 [期权]
  9756. type: integer
  9757. canmutistage:
  9758. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  9759. type: integer
  9760. canpreexercise:
  9761. description: '[期权]是否可预申报- 0:否 1:是'
  9762. type: integer
  9763. clearinterval:
  9764. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  9765. type: integer
  9766. contracttmp:
  9767. description: 合同模板[荷兰式][竞价式][仓单贸易]
  9768. type: string
  9769. exchareaid:
  9770. description: 所属交易所,可以没有
  9771. type: integer
  9772. goodstype:
  9773. description: 商品类型 - 1:交易商品 2:仓单商品
  9774. type: integer
  9775. hasrebate:
  9776. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  9777. type: integer
  9778. hastradecredit:
  9779. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  9780. type: integer
  9781. haswr:
  9782. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  9783. type: integer
  9784. isdeductmargin:
  9785. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  9786. type: integer
  9787. isrecordsource:
  9788. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  9789. type: integer
  9790. isreleasemargin:
  9791. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  9792. type: integer
  9793. marginformula:
  9794. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9795. type: integer
  9796. marginformula2:
  9797. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9798. type: integer
  9799. marketid:
  9800. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9801. type: integer
  9802. marketname:
  9803. description: 市场名称
  9804. type: string
  9805. marketserviceid:
  9806. description: 市场服务ID
  9807. type: integer
  9808. marketstatus:
  9809. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9810. type: integer
  9811. markettype:
  9812. description: 市场类型- 1:非交易服务 2:交易服务
  9813. type: integer
  9814. matchermode:
  9815. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9816. type: integer
  9817. openmethod:
  9818. description: 开盘模式 - 0 自动 1手动
  9819. type: integer
  9820. otcuserid:
  9821. description: 场外期权做市商[场外期权]
  9822. type: integer
  9823. outersynctime:
  9824. description: 外部同步时间点(h24:mi:ss)[场外期权]
  9825. type: string
  9826. pendingflag:
  9827. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  9828. type: integer
  9829. pendingtime:
  9830. description: 待开市时间[通道交易-对冲](HH:mm)
  9831. type: string
  9832. performancetempid:
  9833. description: 履约计划模板ID - 作废
  9834. type: integer
  9835. premiumquotemode:
  9836. description: 权利金报价方式 - 1:自动 2:手动
  9837. type: integer
  9838. rebateratio:
  9839. description: 返利比率[竞价式]
  9840. type: number
  9841. reckonorder:
  9842. description: 结算顺序
  9843. type: integer
  9844. reckonpricealgorithm:
  9845. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价'
  9846. type: integer
  9847. reckonpriceparam:
  9848. description: 结算价参数
  9849. type: integer
  9850. reckontime:
  9851. description: 结算时间[通道交易-对冲](HH:mm)
  9852. type: string
  9853. roleprioritytype:
  9854. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  9855. type: integer
  9856. selllistingauditflag:
  9857. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  9858. type: integer
  9859. trademarkettype:
  9860. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9861. type: integer
  9862. trademode:
  9863. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9864. type: integer
  9865. tradeproperty:
  9866. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权
  9867. type: integer
  9868. tradetype:
  9869. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9870. type: integer
  9871. required:
  9872. - marketid
  9873. - marketstatus
  9874. - openmethod
  9875. - reckonpricealgorithm
  9876. - trademode
  9877. - tradeproperty
  9878. type: object
  9879. models.Marketrun:
  9880. properties:
  9881. afternexttradedate:
  9882. description: 下下交易日
  9883. type: string
  9884. clearquoteflag:
  9885. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9886. type: integer
  9887. lastreckondate:
  9888. description: 最新交易日(结算成功)
  9889. type: string
  9890. machinedate:
  9891. description: 机器时间
  9892. type: string
  9893. manualflag:
  9894. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9895. type: integer
  9896. marketid:
  9897. description: 市场ID
  9898. type: integer
  9899. nexttradedate:
  9900. description: 下一交易日
  9901. type: string
  9902. pretradedate:
  9903. description: 上一交易日
  9904. type: string
  9905. reckonflag:
  9906. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9907. type: integer
  9908. runstatus:
  9909. 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.今日免清算
  9910. type: integer
  9911. sectionid:
  9912. description: 时间段号[多时段时用]
  9913. type: integer
  9914. tradedate:
  9915. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9916. type: string
  9917. tradedate2:
  9918. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9919. type: string
  9920. updatetime:
  9921. description: 更新时间
  9922. type: string
  9923. required:
  9924. - marketid
  9925. - nexttradedate
  9926. - reckonflag
  9927. - runstatus
  9928. - tradedate
  9929. - tradedate2
  9930. type: object
  9931. models.Messageboard:
  9932. properties:
  9933. contactnum:
  9934. description: 联系电话
  9935. type: string
  9936. createtime:
  9937. description: 创建时间
  9938. type: string
  9939. message:
  9940. description: 留言信息
  9941. type: string
  9942. messageboardid:
  9943. description: 留言簿ID(SEQ_MessageBoard)
  9944. type: integer
  9945. userid:
  9946. description: 用户ID
  9947. type: integer
  9948. required:
  9949. - messageboardid
  9950. type: object
  9951. models.MyCoupon:
  9952. properties:
  9953. accountid:
  9954. description: 资金账户ID
  9955. type: integer
  9956. areauserid:
  9957. description: 所属机构
  9958. type: integer
  9959. conditionvalue:
  9960. description: 条件阈值(可为0)
  9961. type: number
  9962. couponcategroy:
  9963. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  9964. type: integer
  9965. couponname:
  9966. description: 优惠券名称
  9967. type: string
  9968. coupontypeid:
  9969. description: 优惠券类型ID
  9970. type: string
  9971. couponvalue:
  9972. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9973. type: number
  9974. curfreezeqty:
  9975. description: 期末冻结数量
  9976. type: integer
  9977. curqty:
  9978. description: 期末数量
  9979. type: integer
  9980. isgeneral:
  9981. description: 是否通用券 - 0:否 1:是
  9982. type: integer
  9983. isunusable:
  9984. description: 是否不可用
  9985. type: boolean
  9986. limitedflag:
  9987. description: 是否指定商品 - 0:不限 1:限制
  9988. type: integer
  9989. limitedgoodsids:
  9990. description: 指定商品IDs[逗号分隔,前后加逗号]
  9991. type: string
  9992. orifreezeqty:
  9993. description: 期初冻结数量
  9994. type: integer
  9995. oriqty:
  9996. description: 期初数量
  9997. type: integer
  9998. reasontype:
  9999. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  10000. type: integer
  10001. todaydecrease:
  10002. description: 今日减少
  10003. type: integer
  10004. todayincrease:
  10005. description: 今日增加
  10006. type: integer
  10007. userid:
  10008. description: 用户ID
  10009. type: integer
  10010. userscope:
  10011. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  10012. type: string
  10013. required:
  10014. - accountid
  10015. - coupontypeid
  10016. type: object
  10017. models.MyCouponHold:
  10018. properties:
  10019. accountid:
  10020. description: 资金账户ID
  10021. type: integer
  10022. conditionvalue:
  10023. description: 条件阈值(可为0)
  10024. type: number
  10025. couponcategroy:
  10026. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  10027. type: integer
  10028. couponholdid:
  10029. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  10030. type: string
  10031. couponname:
  10032. description: 优惠券名称
  10033. type: string
  10034. coupontypeid:
  10035. description: 优惠券类型ID - SEQ_COUPONTYPE
  10036. type: string
  10037. couponvalue:
  10038. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  10039. type: number
  10040. createtime:
  10041. description: 创建时间
  10042. type: string
  10043. enddate:
  10044. description: 结束日期
  10045. type: string
  10046. giveapplyid:
  10047. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  10048. type: integer
  10049. holdstatus:
  10050. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  10051. type: integer
  10052. isgeneral:
  10053. description: 是否通用券 - 0:否 1:是
  10054. type: integer
  10055. limitedflag:
  10056. description: 是否指定商品 - 0:不限 1:限制
  10057. type: integer
  10058. limitedgoodsids:
  10059. description: 指定商品IDs[逗号分隔]
  10060. type: string
  10061. qty:
  10062. description: 数量(按1平铺)
  10063. type: integer
  10064. startdate:
  10065. description: 开始日期
  10066. type: string
  10067. userid:
  10068. description: 用户ID
  10069. type: integer
  10070. userscope:
  10071. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  10072. type: string
  10073. required:
  10074. - couponholdid
  10075. type: object
  10076. models.MyUsedCoupon:
  10077. properties:
  10078. accountid:
  10079. description: 资金账户ID(买方)
  10080. type: integer
  10081. conditionvalue:
  10082. description: 条件阈值(可为0)
  10083. type: number
  10084. couponcategroy:
  10085. description: 种类 - 1:现金券 2:折扣券
  10086. type: integer
  10087. couponname:
  10088. description: 优惠券名称
  10089. type: string
  10090. coupontypeid:
  10091. description: 优惠券类型ID(买方)
  10092. type: string
  10093. couponvalue:
  10094. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  10095. type: number
  10096. createtime:
  10097. description: 创建时间
  10098. type: string
  10099. goodsid:
  10100. description: 商品ID
  10101. type: integer
  10102. handlestatus:
  10103. description: 处理状态
  10104. type: integer
  10105. marketid:
  10106. description: 市场ID
  10107. type: integer
  10108. offamount:
  10109. description: 优惠金额
  10110. type: number
  10111. orderid:
  10112. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10113. type: string
  10114. sellaccountid:
  10115. description: 资金账户ID(卖方)
  10116. type: integer
  10117. tradeamount:
  10118. description: 成交金额
  10119. type: number
  10120. tradeid:
  10121. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10122. type: string
  10123. usedqty:
  10124. description: 使用数量
  10125. type: integer
  10126. required:
  10127. - coupontypeid
  10128. - orderid
  10129. type: object
  10130. models.OperationPrimaryMenu:
  10131. properties:
  10132. Children:
  10133. description: 二级功能菜单
  10134. items:
  10135. $ref: '#/definitions/models.OperationSecondaryMenu'
  10136. type: array
  10137. Key:
  10138. description: 菜单KEY
  10139. type: string
  10140. Label:
  10141. description: 菜单标题
  10142. type: string
  10143. type: object
  10144. models.OperationSecondaryMenu:
  10145. properties:
  10146. Key:
  10147. description: 菜单KEY
  10148. type: string
  10149. Label:
  10150. description: 菜单标题
  10151. type: string
  10152. TabList:
  10153. description: 三级功能菜单
  10154. items:
  10155. $ref: '#/definitions/models.OperationTabMenu'
  10156. type: array
  10157. type: object
  10158. models.OperationTabMenu:
  10159. properties:
  10160. Key:
  10161. description: 菜单KEY
  10162. type: string
  10163. Label:
  10164. description: 菜单标题
  10165. type: string
  10166. type: object
  10167. models.QhjAccountOutInApply:
  10168. properties:
  10169. accountcode:
  10170. description: 资金账号
  10171. type: string
  10172. accountname:
  10173. description: 用户名称(名称)
  10174. type: string
  10175. accountpwd:
  10176. description: 资金密码
  10177. type: string
  10178. accountticket:
  10179. description: 最新账户服务流水号
  10180. type: string
  10181. amount:
  10182. description: 金额
  10183. type: number
  10184. applyremark:
  10185. description: 申请备注
  10186. type: string
  10187. applystatus:
  10188. 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: 复审通过,账户冻结金额检查中;'
  10189. type: integer
  10190. auditid:
  10191. description: 审核人
  10192. type: integer
  10193. audittime:
  10194. description: 审核时间
  10195. type: string
  10196. bank_apply_ticket:
  10197. description: 银行申请流水
  10198. type: string
  10199. bankaccountname:
  10200. description: 银行账户名
  10201. type: string
  10202. bankaccountno:
  10203. description: 银行卡号
  10204. type: string
  10205. bankid:
  10206. description: 银行编号
  10207. type: string
  10208. bankticket:
  10209. description: 银行流水
  10210. type: string
  10211. branchbankid:
  10212. description: 银行支行号
  10213. type: string
  10214. branchbankname:
  10215. description: 银行支行名称
  10216. type: string
  10217. capamountout:
  10218. description: 出金(劣后本金) - 外部子账户
  10219. type: number
  10220. certificatephotourl:
  10221. description: 凭证地址
  10222. type: string
  10223. charge:
  10224. description: 手续费
  10225. type: number
  10226. checkerrorflag:
  10227. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10228. type: integer
  10229. currency:
  10230. description: 币种
  10231. type: string
  10232. cusbankid:
  10233. description: 托管银行编号
  10234. type: string
  10235. exchticket:
  10236. description: 银行服务流水号
  10237. type: string
  10238. executetype:
  10239. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金'
  10240. type: integer
  10241. extendinfo:
  10242. description: 扩展信息
  10243. type: string
  10244. extoperateid:
  10245. description: 交易服务流水号
  10246. type: integer
  10247. infamount:
  10248. description: 劣后金额(自有)
  10249. type: number
  10250. logincode:
  10251. description: 登录账号(账号)
  10252. type: string
  10253. netaddr:
  10254. description: 调转网址
  10255. type: string
  10256. priamount:
  10257. description: 优先金额(授信)
  10258. type: number
  10259. reauditid:
  10260. description: 复审人
  10261. type: integer
  10262. reauditremark:
  10263. description: 复审备注
  10264. type: string
  10265. reaudittime:
  10266. description: 复审时间
  10267. type: string
  10268. relatedorderid:
  10269. description: 三方关联ID
  10270. type: string
  10271. remark:
  10272. description: 备注
  10273. type: string
  10274. remark2:
  10275. description: 备注(失败原因)
  10276. type: string
  10277. soucreamount:
  10278. description: 原始出入金金额
  10279. type: number
  10280. soucrecurrencyid:
  10281. description: 原始出入金币种
  10282. type: integer
  10283. tradedate:
  10284. description: 交易日(yyyyMMdd)
  10285. type: string
  10286. updatetime:
  10287. description: 更新时间(申请时间)
  10288. type: string
  10289. userid:
  10290. description: 用户id
  10291. type: integer
  10292. userinfotype:
  10293. description: 账户类型 1-个人 2-企业
  10294. type: integer
  10295. type: object
  10296. models.QhjAgreementChangeLog:
  10297. properties:
  10298. agreementcontent:
  10299. description: 协议内容
  10300. type: string
  10301. agreementfrequency:
  10302. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10303. type: integer
  10304. agreementid:
  10305. description: 协议ID
  10306. type: integer
  10307. agreementname:
  10308. description: 协议名称
  10309. type: string
  10310. agreementno:
  10311. description: 协议编号
  10312. type: string
  10313. agreementtype:
  10314. description: 协议类型 - 1:注册 2:登录 3:交易
  10315. type: integer
  10316. agreementversion:
  10317. description: 协议版本号
  10318. type: integer
  10319. logid:
  10320. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  10321. type: integer
  10322. reviserid:
  10323. description: 修改人
  10324. type: integer
  10325. revisersrc:
  10326. description: 修改来源 - 1:管理端 2:终端
  10327. type: integer
  10328. updatetime:
  10329. description: 更新时间
  10330. type: string
  10331. type: object
  10332. models.QhjAgreementConfig:
  10333. properties:
  10334. agreementcontent:
  10335. description: 协议内容
  10336. type: string
  10337. agreementfrequency:
  10338. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10339. type: integer
  10340. agreementid:
  10341. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  10342. type: integer
  10343. agreementname:
  10344. description: 协议名称
  10345. type: string
  10346. agreementno:
  10347. description: 协议编号
  10348. type: string
  10349. agreementtype:
  10350. description: 协议类型 - 1:注册 2:登录 3:交易
  10351. type: integer
  10352. agreementversion:
  10353. description: 协议版本号(从1开始每次修改加1)
  10354. type: integer
  10355. createtime:
  10356. description: 创建时间
  10357. type: string
  10358. creatorid:
  10359. description: 创建人
  10360. type: integer
  10361. creatorsrc:
  10362. description: 创建来源 - 1:管理端 2:终端
  10363. type: integer
  10364. isvalid:
  10365. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  10366. type: integer
  10367. reviserid:
  10368. description: 修改人
  10369. type: integer
  10370. revisersrc:
  10371. description: 修改来源 - 1:管理端 2:终端
  10372. type: integer
  10373. updatetime:
  10374. description: 更新时间
  10375. type: string
  10376. type: object
  10377. models.QhjAreaFinanceConfig:
  10378. properties:
  10379. additionalratio:
  10380. description: 追加款比例
  10381. type: number
  10382. advanceratio:
  10383. description: 预付款比例
  10384. type: number
  10385. alarmratio:
  10386. description: 告警比例
  10387. type: number
  10388. consumptiondirectreward:
  10389. description: 消费直推奖励值
  10390. type: number
  10391. consumptionenabled:
  10392. description: 是否启用消费奖励 - 0:不启用 1:启用
  10393. type: integer
  10394. consumptionindirectreward:
  10395. description: 消费间推奖励值
  10396. type: number
  10397. consumptionmodel:
  10398. description: 消费奖励方式 - 1:比率 2:固定
  10399. type: integer
  10400. customerservicenum:
  10401. description: 客服电话
  10402. type: string
  10403. dayinterestrate:
  10404. description: 日利率
  10405. type: number
  10406. disableconsumptiontips:
  10407. description: 关闭消费奖励提示
  10408. type: string
  10409. modifierid:
  10410. description: 修改人ID
  10411. type: integer
  10412. modifysrc:
  10413. description: 审核来源 - 1:管理端 2:终端
  10414. type: integer
  10415. modifytime:
  10416. description: 修改时间
  10417. type: string
  10418. promotionvalue:
  10419. description: 推广奖励值(固定)
  10420. type: number
  10421. scoreconfigvalue1:
  10422. description: 提货积分配置1
  10423. type: integer
  10424. scoreconfigvalue2:
  10425. description: 提货积分配置2
  10426. type: integer
  10427. userid:
  10428. description: 机构用户ID其他做市关系,都设置为 1
  10429. type: integer
  10430. username:
  10431. description: 用户名称
  10432. type: string
  10433. type: object
  10434. models.QhjBankAccountSign:
  10435. properties:
  10436. accountcode:
  10437. description: 资金账号
  10438. type: string
  10439. accountname:
  10440. description: 资金账号对应的账号名(UserName)
  10441. type: string
  10442. accountname2:
  10443. description: 资金账号对应的账号名(UserName) - 密文
  10444. type: string
  10445. accounttype:
  10446. description: 账户类型(UserType)
  10447. type: integer
  10448. applicationtime:
  10449. description: 最后一次更新的时间
  10450. type: string
  10451. applyexchticket:
  10452. description: 申请流水
  10453. type: string
  10454. auditid:
  10455. description: 审核人
  10456. type: integer
  10457. audittime:
  10458. description: 审核时间
  10459. type: string
  10460. bankaccountname:
  10461. description: 签约银行卡账号名
  10462. type: string
  10463. bankaccountname2:
  10464. description: 签约银行卡账号名 - 密文
  10465. type: string
  10466. bankaccountno:
  10467. description: 银行卡号
  10468. type: string
  10469. bankaccountno2:
  10470. description: 银行卡号 - 密文
  10471. type: string
  10472. bankaccounttype:
  10473. description: 银行账户类型 - 1-对私; 2-对公
  10474. type: integer
  10475. bankcardtype:
  10476. description: 银行卡类型
  10477. type: integer
  10478. bankchildaccount:
  10479. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  10480. type: string
  10481. bankcity:
  10482. description: 开户行城市
  10483. type: string
  10484. bankid:
  10485. description: 签约银行ID
  10486. type: string
  10487. bankname:
  10488. description: 签约银行名称
  10489. type: string
  10490. bankprovince:
  10491. description: 开户行省份
  10492. type: string
  10493. branchbankid:
  10494. description: 签约银行支行号
  10495. type: string
  10496. branchbankname:
  10497. description: 签约银行支行名称
  10498. type: string
  10499. cardno:
  10500. description: 证件号码
  10501. type: string
  10502. cardno2:
  10503. description: 证件号码 - 密文
  10504. type: string
  10505. cardtype:
  10506. description: 证件类型
  10507. type: string
  10508. currency:
  10509. description: 币种
  10510. type: string
  10511. cusbankid:
  10512. description: 托管银行编号
  10513. type: string
  10514. direct:
  10515. description: 方向(可以判断那方先发起的签约)
  10516. type: integer
  10517. exchticket:
  10518. description: 最后一次签约成功的流水号
  10519. type: string
  10520. extendinfo:
  10521. description: 扩展信息(JSON字符串)
  10522. type: string
  10523. mobilephone:
  10524. description: 手机号
  10525. type: string
  10526. mobilephone2:
  10527. description: 手机号 - 密文
  10528. type: string
  10529. netaddr:
  10530. description: 调转网址
  10531. type: string
  10532. relateduserid:
  10533. description: 关联使用者userid
  10534. type: integer
  10535. signstatus:
  10536. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核
  10537. type: integer
  10538. updatetime:
  10539. description: 更新时间(签解约更新时间)
  10540. type: string
  10541. type: object
  10542. models.QhjBankInfo:
  10543. properties:
  10544. bankid:
  10545. description: 银行ID
  10546. type: string
  10547. bankname:
  10548. description: 银行名称
  10549. type: string
  10550. clearbankno:
  10551. description: 清算系统银行编号
  10552. type: string
  10553. orderindex:
  10554. description: 排序顺序
  10555. type: integer
  10556. status:
  10557. description: 状态 - 0:正常 1:注销
  10558. type: integer
  10559. type: object
  10560. models.QhjBrokerApply:
  10561. properties:
  10562. applicantid:
  10563. description: 申请人
  10564. type: integer
  10565. applysrc:
  10566. description: 申请来源 - 1:管理端 2:终端
  10567. type: integer
  10568. applystatus:
  10569. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10570. type: integer
  10571. applytime:
  10572. description: 申请时间
  10573. type: string
  10574. auditorid:
  10575. description: 审核人
  10576. type: integer
  10577. auditremark:
  10578. description: 审核备注
  10579. type: string
  10580. auditsrc:
  10581. description: 审核来源 - 1:管理端 2:终端
  10582. type: integer
  10583. audittime:
  10584. description: 审核时间
  10585. type: string
  10586. audittradedate:
  10587. description: 审核交易日(yyyyMMdd)
  10588. type: string
  10589. brokerapplyid:
  10590. description: 申请ID(SEQ_BROKERAPPLY)
  10591. type: integer
  10592. cardbackphotourl:
  10593. description: 证件背面图片地址
  10594. type: string
  10595. cardfrontphotourl:
  10596. description: 证件正面图片地址
  10597. type: string
  10598. cardnum:
  10599. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  10600. type: string
  10601. customername:
  10602. description: 姓名
  10603. type: string
  10604. logincode:
  10605. description: 登录代码
  10606. type: string
  10607. mobile:
  10608. description: 手机号码
  10609. type: string
  10610. parentuserid:
  10611. description: 所属机构id
  10612. type: integer
  10613. parentusername:
  10614. description: 所属机构名称
  10615. type: string
  10616. refereeuserid:
  10617. description: 推荐人id(经纪人)
  10618. type: integer
  10619. refernum:
  10620. description: 推荐码
  10621. type: string
  10622. remark:
  10623. description: 备注
  10624. type: string
  10625. subarealevelpath:
  10626. description: 层级路径
  10627. type: string
  10628. tradedate:
  10629. description: 交易日(yyyyMMdd)
  10630. type: string
  10631. userid:
  10632. description: 申请人用户ID
  10633. type: integer
  10634. userinfotype:
  10635. description: 用户类型 1-个人 2-企业
  10636. type: integer
  10637. username:
  10638. description: 用户名称
  10639. type: string
  10640. type: object
  10641. models.QhjBrokerApplyEx:
  10642. properties:
  10643. applylist:
  10644. description: 经纪人申请记录(只返回最新一条)
  10645. items:
  10646. $ref: '#/definitions/models.QhjBrokerApply'
  10647. type: array
  10648. canrecommend:
  10649. description: 是否经纪人 0-不是 1-是
  10650. type: integer
  10651. refernum:
  10652. description: 推荐码
  10653. type: string
  10654. userid:
  10655. description: 用户id
  10656. type: integer
  10657. userinfotype:
  10658. description: 用户类型 1-个人 2-企业
  10659. type: integer
  10660. type: object
  10661. models.QhjBrokerRewardLog:
  10662. properties:
  10663. accountid:
  10664. description: 资金账号ID
  10665. type: integer
  10666. createtime:
  10667. description: 创建时间(时间)
  10668. type: string
  10669. handlestatus:
  10670. description: 处理状态
  10671. type: integer
  10672. logid:
  10673. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10674. type: string
  10675. marketid:
  10676. description: 市场ID
  10677. type: integer
  10678. mmaccountid:
  10679. description: 做市商资金账号ID
  10680. type: string
  10681. mmuserid:
  10682. description: 做市商用户ID
  10683. type: string
  10684. rewardamount:
  10685. description: 奖励金额
  10686. type: number
  10687. rewardmodel:
  10688. description: 消费奖励方式 - 1:比率 2:固定
  10689. type: integer
  10690. rewardtype:
  10691. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  10692. type: integer
  10693. rewardvalue:
  10694. description: 配置奖励值
  10695. type: number
  10696. srcamount:
  10697. description: 成交金额 [消费奖励] (金额)
  10698. type: number
  10699. srcgoodsid:
  10700. description: 来源商品ID [消费奖励]
  10701. type: string
  10702. srctime:
  10703. description: 来源时间 (成交时间) [消费奖励]
  10704. type: string
  10705. srctradeid:
  10706. description: 来源成交单ID [消费奖励] - 排除提货成交
  10707. type: string
  10708. srcuserid:
  10709. description: 来源用户ID(推广账户)
  10710. type: string
  10711. srcusername:
  10712. description: 推广账户名称
  10713. type: string
  10714. tradedate:
  10715. description: 交易日(yyyyMMdd)
  10716. type: string
  10717. userid:
  10718. description: 经纪人用户ID
  10719. type: integer
  10720. type: object
  10721. models.QhjContract:
  10722. properties:
  10723. contractconfirmtime:
  10724. description: 合同确认时间(时间)
  10725. type: string
  10726. currisklevel:
  10727. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10728. type: integer
  10729. decimalplace:
  10730. description: 商品报价小数位
  10731. type: integer
  10732. enumdicname:
  10733. description: 单位名称
  10734. type: string
  10735. goodscode:
  10736. description: 商品代码
  10737. type: string
  10738. goodsid:
  10739. description: 商品ID [5:融资单]
  10740. type: integer
  10741. goodsname:
  10742. description: 商品名称
  10743. type: string
  10744. goodunitid:
  10745. description: 商品单位id
  10746. type: integer
  10747. initmargin:
  10748. description: 初始保证金(首付款)
  10749. type: number
  10750. lenderamount:
  10751. description: 贷款金额(总额|订单总额)
  10752. type: number
  10753. marginratio:
  10754. description: 保证金比率(首付比例)
  10755. type: number
  10756. payamount:
  10757. description: 已付(已付货款)
  10758. type: number
  10759. reckonrecovermargin:
  10760. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10761. type: number
  10762. recoveredmargin:
  10763. description: 已追缴保证金
  10764. type: number
  10765. remainamount:
  10766. description: 合同剩余金额(融资额)
  10767. type: number
  10768. scfcontractid:
  10769. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10770. type: string
  10771. scfcontractstatus:
  10772. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  10773. type: integer
  10774. scfcontracttype:
  10775. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10776. type: integer
  10777. totalinterest:
  10778. description: 已计总利息(利息)
  10779. type: number
  10780. tradeprice:
  10781. description: 成交价格(成本价格)
  10782. type: number
  10783. userid:
  10784. description: 用户ID
  10785. type: integer
  10786. username:
  10787. description: 用户名称
  10788. type: string
  10789. wrqty:
  10790. description: 仓单数量(数量)
  10791. type: number
  10792. type: object
  10793. models.QhjContractLog:
  10794. properties:
  10795. amount:
  10796. description: 支付金额
  10797. type: number
  10798. amounttype:
  10799. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  10800. type: integer
  10801. logid:
  10802. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10803. type: string
  10804. remainamount:
  10805. description: 剩余货款
  10806. type: number
  10807. scfcontractid:
  10808. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10809. type: integer
  10810. updatetime:
  10811. description: 更新时间
  10812. type: string
  10813. type: object
  10814. models.QhjCusBankSignBankEx:
  10815. properties:
  10816. banklst:
  10817. description: 银行列表
  10818. items:
  10819. $ref: '#/definitions/models.QhjBankInfo'
  10820. type: array
  10821. canallot:
  10822. description: 是否支持跨行调拨 - 0:不支持 1:支持
  10823. type: integer
  10824. canallotquery:
  10825. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  10826. type: integer
  10827. canbindcard:
  10828. description: 是否可绑卡与解卡 - 0:不可 1:可以
  10829. type: integer
  10830. caninamount:
  10831. description: 是否可入金 - 0:不可 1:可以
  10832. type: integer
  10833. caninamount2:
  10834. description: 是否可入金(网银端) - 0:不可 1:可以
  10835. type: integer
  10836. canmodifybankcard:
  10837. description: 是否可修改银行卡号 - 0:不可 1:可以
  10838. type: integer
  10839. canmodifyphone:
  10840. description: 是否可修改手机号 - 0:不可 1:可以
  10841. type: integer
  10842. canmodifysigninfo:
  10843. description: 是否可修改签约信息 - 0:不可 1:可以
  10844. type: integer
  10845. canoutamount:
  10846. description: 是否可出金 - 0:不可 1:可以
  10847. type: integer
  10848. canoutamount2:
  10849. description: 是否可出金(网银端) - 0:不可 1:可以
  10850. type: integer
  10851. canrelease:
  10852. description: 是否可解约 - 0:不可 1:可以
  10853. type: integer
  10854. canrelease2:
  10855. description: 是否可解约(网银端) - 0:不可 1:可以
  10856. type: integer
  10857. cansign:
  10858. description: 是否可签约 - 0:不可 1:可以
  10859. type: integer
  10860. cansign2:
  10861. description: 是否可签约(网银端) - 0:不可 1:可以
  10862. type: integer
  10863. currency:
  10864. description: 币种
  10865. type: string
  10866. cusbankid:
  10867. description: 托管银行编号(对应清算中心TRAN_NO)
  10868. type: string
  10869. cusbankname:
  10870. description: 银行业务名称
  10871. type: string
  10872. cusbankshortname:
  10873. description: 银行业务简称
  10874. type: string
  10875. exchbankid:
  10876. description: 交易所开户银行ID
  10877. type: string
  10878. exchpaybankaccname:
  10879. description: 交易所支出结算账户户名
  10880. type: string
  10881. exchpaybankaccno:
  10882. description: 交易所支出结算账户
  10883. type: string
  10884. isneedcheck:
  10885. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  10886. type: integer
  10887. isneedclear:
  10888. description: 是否需要清算 - 0:不需要 1:需要
  10889. type: integer
  10890. lastcheckstatus:
  10891. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  10892. type: integer
  10893. lastchecktime:
  10894. description: 最后对账时间
  10895. type: string
  10896. lastclearstatus:
  10897. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  10898. type: integer
  10899. lastcleartime:
  10900. description: 最后清算时间
  10901. type: string
  10902. lastsignintime:
  10903. description: 最后签到时间
  10904. type: string
  10905. lastsignouttime:
  10906. description: 最后签退时间
  10907. type: string
  10908. riskinfo:
  10909. description: 签约风险提示书
  10910. type: string
  10911. signstatus:
  10912. description: 当前签到/签退状态 - 1:签到 2:签退
  10913. type: integer
  10914. tradedate:
  10915. description: 交易日(yyyyMMdd)
  10916. type: string
  10917. updatetime:
  10918. description: 当前签到/签退更新时间
  10919. type: string
  10920. type: object
  10921. models.QhjCustomer:
  10922. properties:
  10923. address:
  10924. description: 通讯地址
  10925. type: string
  10926. attachment1:
  10927. description: 附件1
  10928. type: string
  10929. attachment2:
  10930. description: 附件2
  10931. type: string
  10932. audittime:
  10933. description: 审核时间
  10934. type: string
  10935. cardbackphotourl:
  10936. description: 证件反面图片地址
  10937. type: string
  10938. cardfrontphotourl:
  10939. description: 证件正面图片地址
  10940. type: string
  10941. cardnum:
  10942. description: 证件号码
  10943. type: string
  10944. cardtype:
  10945. description: 证件类型
  10946. type: integer
  10947. cardtypename:
  10948. description: 证件类型名称
  10949. type: string
  10950. cityid:
  10951. description: 市
  10952. type: integer
  10953. cityname:
  10954. description: 城市名称
  10955. type: string
  10956. contactname:
  10957. description: 联系人
  10958. type: string
  10959. countryid:
  10960. description: 国家
  10961. type: integer
  10962. countryname:
  10963. description: 国家名称
  10964. type: string
  10965. createtime:
  10966. description: 创建时间
  10967. type: string
  10968. customername:
  10969. description: 客户名称
  10970. type: string
  10971. districtid:
  10972. description: 区域
  10973. type: integer
  10974. districtname:
  10975. description: 地区名称
  10976. type: string
  10977. email:
  10978. description: 邮件
  10979. type: string
  10980. legalpersonname:
  10981. description: 法人姓名(企业)
  10982. type: string
  10983. logincode:
  10984. description: 登录账号(代码)
  10985. type: string
  10986. memberuserid:
  10987. description: 所属机构ID(所属会员)
  10988. type: integer
  10989. memberusername:
  10990. description: 所属会员名称
  10991. type: string
  10992. mobile:
  10993. description: 手机号码
  10994. type: string
  10995. modifytime:
  10996. description: 修改时间
  10997. type: string
  10998. nickname:
  10999. description: 昵称
  11000. type: string
  11001. parentuserid:
  11002. description: 上级机构(所属机构)
  11003. type: integer
  11004. parentusername:
  11005. description: 所属机构名称
  11006. type: string
  11007. provinceid:
  11008. description: 省
  11009. type: integer
  11010. provincename:
  11011. description: 省名称
  11012. type: string
  11013. proxystatementurl:
  11014. description: 授权委托书
  11015. type: string
  11016. remark:
  11017. description: 备注
  11018. type: string
  11019. status:
  11020. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  11021. type: integer
  11022. statusdesc:
  11023. description: 账户状态中文描述
  11024. type: string
  11025. taxpayernum:
  11026. description: 纳税人识别号
  11027. type: string
  11028. telphone:
  11029. description: 联系电话
  11030. type: string
  11031. userid:
  11032. description: 用户ID
  11033. type: integer
  11034. userinfotype:
  11035. description: 客户类型 1-个人 2-企业
  11036. type: integer
  11037. username:
  11038. description: 用户名称
  11039. type: string
  11040. type: object
  11041. models.QhjCustomerSignLog:
  11042. properties:
  11043. agreementcontent:
  11044. description: 协议内容
  11045. type: string
  11046. agreementid:
  11047. description: 协议ID
  11048. type: integer
  11049. agreementname:
  11050. description: 协议名称
  11051. type: string
  11052. agreementno:
  11053. description: 协议编号
  11054. type: string
  11055. agreementtype:
  11056. description: 协议类型 - 1:注册 2:登录 3:交易
  11057. type: integer
  11058. agreementversion:
  11059. description: 协议版本号
  11060. type: integer
  11061. createtime:
  11062. description: 创建时间
  11063. type: string
  11064. goodscode:
  11065. description: 商品代码
  11066. type: string
  11067. goodsid:
  11068. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11069. type: integer
  11070. goodsname:
  11071. description: 商品名称
  11072. type: string
  11073. logid:
  11074. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  11075. type: integer
  11076. nodetype:
  11077. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11078. type: integer
  11079. signadressurl:
  11080. description: 签约文件地址
  11081. type: string
  11082. signtimestamp:
  11083. description: 签约状态时间戳
  11084. type: string
  11085. userid:
  11086. description: 客户ID
  11087. type: integer
  11088. username:
  11089. description: 客户名称
  11090. type: string
  11091. type: object
  11092. models.QhjCustomerSignStatus:
  11093. properties:
  11094. createtime:
  11095. description: 创建时间
  11096. type: string
  11097. goodscode:
  11098. description: 商品代码
  11099. type: string
  11100. goodsid:
  11101. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11102. type: integer
  11103. goodsname:
  11104. description: 商品名称
  11105. type: string
  11106. nodetype:
  11107. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  11108. type: integer
  11109. signtimestamp:
  11110. description: 签约状态时间戳
  11111. type: string
  11112. tradedate:
  11113. description: 创建交易日(yyyyMMdd)
  11114. type: string
  11115. updatetime:
  11116. description: 更新时间
  11117. type: string
  11118. userid:
  11119. description: 客户ID
  11120. type: integer
  11121. username:
  11122. description: 客户名称
  11123. type: string
  11124. type: object
  11125. models.QhjMgrAccountOutInApply:
  11126. properties:
  11127. accountcode:
  11128. description: 资金账号
  11129. type: string
  11130. accountname:
  11131. description: 用户名称(名称)
  11132. type: string
  11133. accountpwd:
  11134. description: 资金密码
  11135. type: string
  11136. accountticket:
  11137. description: 最新账户服务流水号
  11138. type: string
  11139. amount:
  11140. description: 金额
  11141. type: number
  11142. applyremark:
  11143. description: 申请备注
  11144. type: string
  11145. applystatus:
  11146. 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: 复审通过,账户冻结金额检查中;'
  11147. type: integer
  11148. auditid:
  11149. description: 审核人
  11150. type: integer
  11151. audittime:
  11152. description: 审核时间
  11153. type: string
  11154. bank_apply_ticket:
  11155. description: 银行申请流水
  11156. type: string
  11157. bankaccountname:
  11158. description: 银行账户名
  11159. type: string
  11160. bankaccountno:
  11161. description: 银行卡号
  11162. type: string
  11163. bankid:
  11164. description: 银行编号
  11165. type: string
  11166. bankname:
  11167. description: 银行名称
  11168. type: string
  11169. bankticket:
  11170. description: 银行流水
  11171. type: string
  11172. branchbankid:
  11173. description: 银行支行号
  11174. type: string
  11175. branchbankname:
  11176. description: 银行支行名称
  11177. type: string
  11178. capamountout:
  11179. description: 出金(劣后本金) - 外部子账户
  11180. type: number
  11181. certificatephotourl:
  11182. description: 凭证地址
  11183. type: string
  11184. charge:
  11185. description: 手续费
  11186. type: number
  11187. checkerrorflag:
  11188. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  11189. type: integer
  11190. currency:
  11191. description: 币种
  11192. type: string
  11193. cusbankid:
  11194. description: 托管银行编号
  11195. type: string
  11196. exchticket:
  11197. description: 银行服务流水号
  11198. type: string
  11199. executetype:
  11200. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金'
  11201. type: integer
  11202. extendinfo:
  11203. description: 扩展信息
  11204. type: string
  11205. extoperateid:
  11206. description: 交易服务流水号
  11207. type: integer
  11208. infamount:
  11209. description: 劣后金额(自有)
  11210. type: number
  11211. logincode:
  11212. description: 登录账号(账号)
  11213. type: string
  11214. netaddr:
  11215. description: 调转网址
  11216. type: string
  11217. priamount:
  11218. description: 优先金额(授信)
  11219. type: number
  11220. reauditid:
  11221. description: 复审人
  11222. type: integer
  11223. reauditremark:
  11224. description: 复审备注
  11225. type: string
  11226. reaudittime:
  11227. description: 复审时间
  11228. type: string
  11229. relatedorderid:
  11230. description: 三方关联ID
  11231. type: string
  11232. remark:
  11233. description: 备注
  11234. type: string
  11235. remark2:
  11236. description: 备注(失败原因)
  11237. type: string
  11238. soucreamount:
  11239. description: 原始出入金金额
  11240. type: number
  11241. soucrecurrencyid:
  11242. description: 原始出入金币种
  11243. type: integer
  11244. tradedate:
  11245. description: 交易日(yyyyMMdd)
  11246. type: string
  11247. updatetime:
  11248. description: 更新时间(申请时间)
  11249. type: string
  11250. userid:
  11251. description: 用户id
  11252. type: integer
  11253. userinfotype:
  11254. description: 账户类型 1-个人 2-企业
  11255. type: integer
  11256. type: object
  11257. models.QhjMgrBrokerApply:
  11258. properties:
  11259. applicantid:
  11260. description: 申请人
  11261. type: integer
  11262. applysrc:
  11263. description: 申请来源 - 1:管理端 2:终端
  11264. type: integer
  11265. applystatus:
  11266. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  11267. type: integer
  11268. applytime:
  11269. description: 申请时间
  11270. type: string
  11271. auditorid:
  11272. description: 审核人
  11273. type: integer
  11274. auditremark:
  11275. description: 审核备注
  11276. type: string
  11277. auditsrc:
  11278. description: 审核来源 - 1:管理端 2:终端
  11279. type: integer
  11280. audittime:
  11281. description: 审核时间
  11282. type: string
  11283. audittradedate:
  11284. description: 审核交易日(yyyyMMdd)
  11285. type: string
  11286. brokerapplyid:
  11287. description: 申请ID(SEQ_BROKERAPPLY)
  11288. type: integer
  11289. cardbackphotourl:
  11290. description: 证件背面图片地址
  11291. type: string
  11292. cardfrontphotourl:
  11293. description: 证件正面图片地址
  11294. type: string
  11295. cardnum:
  11296. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  11297. type: string
  11298. customername:
  11299. description: 姓名
  11300. type: string
  11301. filterstatus:
  11302. description: 筛选条件
  11303. type: string
  11304. logincode:
  11305. description: 登录代码
  11306. type: string
  11307. mobile:
  11308. description: 手机号码
  11309. type: string
  11310. parentuserid:
  11311. description: 所属机构id
  11312. type: integer
  11313. parentusername:
  11314. description: 所属机构名称
  11315. type: string
  11316. refereeuserid:
  11317. description: 推荐人id(经纪人)
  11318. type: integer
  11319. refernum:
  11320. description: 推荐码
  11321. type: string
  11322. remark:
  11323. description: 备注
  11324. type: string
  11325. subarealevelpath:
  11326. description: 层级路径
  11327. type: string
  11328. tradedate:
  11329. description: 交易日(yyyyMMdd)
  11330. type: string
  11331. userid:
  11332. description: 申请人用户ID
  11333. type: integer
  11334. userinfotype:
  11335. description: 用户类型 1-个人 2-企业
  11336. type: integer
  11337. username:
  11338. description: 用户名称
  11339. type: string
  11340. type: object
  11341. models.QhjMgrBrokerRewardReport:
  11342. properties:
  11343. createtime:
  11344. description: 创建时间(注册时间)
  11345. type: string
  11346. cycletime:
  11347. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  11348. type: string
  11349. cycletype:
  11350. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  11351. type: integer
  11352. directtotalnum:
  11353. description: 直推总人数【期末】
  11354. type: integer
  11355. indirecttotalnum:
  11356. description: 间推总人数【期末】
  11357. type: integer
  11358. mobile:
  11359. description: 电话号码
  11360. type: string
  11361. refereeuserid:
  11362. description: 推荐人id(经纪人id)
  11363. type: integer
  11364. refereeusername:
  11365. description: 推荐人名称(经纪人) 上级经纪人名称
  11366. type: string
  11367. refernum:
  11368. description: 推荐码
  11369. type: string
  11370. subarealevelpath:
  11371. description: 用户层级路径
  11372. type: string
  11373. todayrewardamount:
  11374. description: 奖励总金额【汇总】
  11375. type: number
  11376. updatetime:
  11377. description: 更新时间
  11378. type: string
  11379. userid:
  11380. description: 经纪人用户ID
  11381. type: integer
  11382. userinfotype:
  11383. description: 用户类型 1-个人 2-企业
  11384. type: integer
  11385. username:
  11386. description: 用户名称
  11387. type: string
  11388. type: object
  11389. models.QhjMgrContract:
  11390. properties:
  11391. contractconfirmtime:
  11392. description: 合同确认时间(时间)
  11393. type: string
  11394. currisklevel:
  11395. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  11396. type: integer
  11397. decimalplace:
  11398. description: 商品报价小数位
  11399. type: integer
  11400. enumdicname:
  11401. description: 单位名称
  11402. type: string
  11403. goodscode:
  11404. description: 商品代码
  11405. type: string
  11406. goodsid:
  11407. description: 商品ID [5:融资单]
  11408. type: integer
  11409. goodsname:
  11410. description: 商品名称
  11411. type: string
  11412. goodunitid:
  11413. description: 商品单位id
  11414. type: integer
  11415. initmargin:
  11416. description: 初始保证金(首付款)
  11417. type: number
  11418. lenderamount:
  11419. description: 贷款金额(总额|订单总额)
  11420. type: number
  11421. logincode:
  11422. description: 账号(登录代码)
  11423. type: string
  11424. marginratio:
  11425. description: 保证金比率(首付比例)
  11426. type: number
  11427. mobile:
  11428. description: 电话号码(用户资料里的电话)
  11429. type: string
  11430. payamount:
  11431. description: 已付(已付货款)
  11432. type: number
  11433. reckonrecovermargin:
  11434. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  11435. type: number
  11436. recoveredmargin:
  11437. description: 已追缴保证金
  11438. type: number
  11439. remainamount:
  11440. description: 合同剩余金额(融资额)
  11441. type: number
  11442. scfcontractid:
  11443. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  11444. type: string
  11445. scfcontractstatus:
  11446. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  11447. type: integer
  11448. scfcontracttype:
  11449. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  11450. type: integer
  11451. totalinterest:
  11452. description: 已计总利息(利息)
  11453. type: number
  11454. tradedate:
  11455. description: 交易日
  11456. type: string
  11457. tradeprice:
  11458. description: 成交价格(成本价格)
  11459. type: number
  11460. userid:
  11461. description: 用户ID
  11462. type: integer
  11463. userinfotype:
  11464. description: 用户类型 1-个人 2-企业
  11465. type: integer
  11466. username:
  11467. description: 用户名称
  11468. type: string
  11469. wrqty:
  11470. description: 仓单数量(数量)
  11471. type: number
  11472. type: object
  11473. models.QhjMgrCustomer:
  11474. properties:
  11475. address:
  11476. description: 通讯地址
  11477. type: string
  11478. attachment1:
  11479. description: 附件1
  11480. type: string
  11481. audittime:
  11482. description: 审核时间
  11483. type: string
  11484. birthday:
  11485. description: 生日
  11486. type: string
  11487. brokerid:
  11488. description: 所属客户经理id
  11489. type: integer
  11490. brokername:
  11491. description: 所属客户经理名称
  11492. type: string
  11493. cardbackphotourl:
  11494. description: 证件反面图片地址
  11495. type: string
  11496. cardfrontphotourl:
  11497. description: 证件正面图片地址
  11498. type: string
  11499. cardnum:
  11500. description: 证件号码
  11501. type: string
  11502. cardtype:
  11503. description: 证件类型
  11504. type: integer
  11505. cardtypename:
  11506. description: 证件类型名称
  11507. type: string
  11508. cityid:
  11509. description: 市
  11510. type: integer
  11511. cityname:
  11512. description: 城市名称
  11513. type: string
  11514. contactname:
  11515. description: 联系人
  11516. type: string
  11517. countryid:
  11518. description: 国家
  11519. type: integer
  11520. countryname:
  11521. description: 国家名称
  11522. type: string
  11523. createtime:
  11524. description: 创建时间
  11525. type: string
  11526. customername:
  11527. description: 客户名称
  11528. type: string
  11529. districtid:
  11530. description: 区域
  11531. type: integer
  11532. districtname:
  11533. description: 地区名称
  11534. type: string
  11535. email:
  11536. description: 邮件
  11537. type: string
  11538. legalpersonname:
  11539. description: 法人姓名(企业)
  11540. type: string
  11541. logincode:
  11542. description: 登录账号(代码)
  11543. type: string
  11544. memberuserid:
  11545. description: 所属机构ID(所属会员)
  11546. type: integer
  11547. memberusername:
  11548. description: 所属会员名称
  11549. type: string
  11550. mobile:
  11551. description: 手机号码
  11552. type: string
  11553. modifytime:
  11554. description: 修改时间
  11555. type: string
  11556. nickname:
  11557. description: 昵称
  11558. type: string
  11559. parentuserid:
  11560. description: 上级机构(所属机构)
  11561. type: integer
  11562. parentusername:
  11563. description: 所属机构名称
  11564. type: string
  11565. provinceid:
  11566. description: 省
  11567. type: integer
  11568. provincename:
  11569. description: 省名称
  11570. type: string
  11571. proxystatementurl:
  11572. description: 授权委托书
  11573. type: string
  11574. querytype:
  11575. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  11576. type: integer
  11577. remark:
  11578. description: 备注
  11579. type: string
  11580. sex:
  11581. description: 性别 0-女 1-男
  11582. type: integer
  11583. status:
  11584. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  11585. type: integer
  11586. statusdesc:
  11587. description: 账户状态中文描述
  11588. type: string
  11589. taxpayernum:
  11590. description: 纳税人识别号
  11591. type: string
  11592. telphone:
  11593. description: 联系电话
  11594. type: string
  11595. userid:
  11596. description: 用户ID
  11597. type: integer
  11598. userinfotype:
  11599. description: 客户类型 1-个人 2-企业
  11600. type: integer
  11601. username:
  11602. description: 用户名称
  11603. type: string
  11604. type: object
  11605. models.QhjMgrPickGoods:
  11606. properties:
  11607. enumdicname:
  11608. description: 单位名称(提货商品)
  11609. type: string
  11610. goodsid:
  11611. description: 商品id
  11612. type: integer
  11613. imageaddress:
  11614. description: 图片
  11615. type: string
  11616. modifierid:
  11617. description: 修改人
  11618. type: integer
  11619. modifiername:
  11620. description: 修改人名称
  11621. type: string
  11622. modifysrc:
  11623. description: 修改来源 - 1:管理端 2:终端
  11624. type: integer
  11625. pickupgoodsagreeunit:
  11626. description: 合约乘数
  11627. type: number
  11628. pickupgoodsdesc:
  11629. description: 描述
  11630. type: string
  11631. pickupgoodsid:
  11632. description: 提货商品ID
  11633. type: string
  11634. pickupgoodsname:
  11635. description: 提货商品名称
  11636. type: string
  11637. pickupgoodsstatus:
  11638. description: 状态 - 1:正常 2:停用 3:注销
  11639. type: integer
  11640. pickupgoodsunitid:
  11641. description: 单位ID
  11642. type: integer
  11643. pickupratio:
  11644. description: 提货系数
  11645. type: number
  11646. preparedays:
  11647. description: 备货期(天)
  11648. type: integer
  11649. remark:
  11650. description: 备注
  11651. type: string
  11652. updatetime:
  11653. description: 更新时间
  11654. type: string
  11655. type: object
  11656. models.QhjMgrPositionRsp:
  11657. properties:
  11658. accountid:
  11659. description: 账号Id
  11660. type: integer
  11661. accountname:
  11662. description: 用户名称
  11663. type: string
  11664. agreeunit:
  11665. description: 合约乘数
  11666. type: number
  11667. averageprice:
  11668. description: 均价
  11669. type: number
  11670. avialqty:
  11671. description: 可用数量
  11672. type: number
  11673. decimalplace:
  11674. description: 报价小数位
  11675. type: integer
  11676. enumdicname:
  11677. description: 单位名称(商品)
  11678. type: string
  11679. frozenqty:
  11680. description: 冻结数量
  11681. type: number
  11682. goodscode:
  11683. description: 商品代码(内部)
  11684. type: string
  11685. goodsid:
  11686. description: 商品Id
  11687. type: integer
  11688. goodsname:
  11689. description: 商品名称
  11690. type: string
  11691. goodunitid:
  11692. description: 报价单位ID
  11693. type: integer
  11694. holderamount:
  11695. description: 金额
  11696. type: number
  11697. holderqty:
  11698. description: 持有数量
  11699. type: number
  11700. holdertype:
  11701. description: 持仓类别 - 1:单边持仓 2:双边持仓
  11702. type: integer
  11703. logincode:
  11704. description: 登录代码(账户)
  11705. type: string
  11706. marketid:
  11707. description: 市场id
  11708. type: integer
  11709. qtydecimalplace:
  11710. description: 成交量小数位
  11711. type: integer
  11712. trademode:
  11713. description: 交易模式
  11714. type: integer
  11715. userid:
  11716. description: 用户id
  11717. type: integer
  11718. userinfotype:
  11719. description: 账户类型 1-个人 2-企业
  11720. type: integer
  11721. type: object
  11722. models.QhjMgrSubArea:
  11723. properties:
  11724. accountname:
  11725. description: 账户名称(机构名称)
  11726. type: string
  11727. memberuserid:
  11728. description: 所属会员ID
  11729. type: integer
  11730. parenttopuser:
  11731. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  11732. type: string
  11733. parentuserid:
  11734. description: 所属机构ID
  11735. type: integer
  11736. rootuserid:
  11737. description: 根用户ID
  11738. type: string
  11739. subaccountlevel:
  11740. description: 子账户层数
  11741. type: integer
  11742. subarealevelpath:
  11743. description: 子机构层级路径(逗号分隔,首尾加逗号)
  11744. type: string
  11745. userid:
  11746. description: 用户ID
  11747. type: integer
  11748. usertype:
  11749. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11750. type: integer
  11751. type: object
  11752. models.QhjMgrTradeDetailRsp:
  11753. properties:
  11754. accountid:
  11755. description: 资金账号
  11756. type: integer
  11757. accountname:
  11758. description: 用户名称
  11759. type: string
  11760. agreeunit:
  11761. description: 合约乘数
  11762. type: number
  11763. buyorsell:
  11764. description: 成交类型(方向) 0:买 1:卖
  11765. type: integer
  11766. decimalplace:
  11767. description: 报价小数位
  11768. type: integer
  11769. enumdicname:
  11770. description: 单位名称(商品)
  11771. type: string
  11772. goodscode:
  11773. description: 商品代码(内部)
  11774. type: string
  11775. goodsid:
  11776. description: 商品id
  11777. type: integer
  11778. goodsname:
  11779. description: 商品名称
  11780. type: string
  11781. goodunitid:
  11782. description: 报价单位ID
  11783. type: integer
  11784. logincode:
  11785. description: 登录代码(账户)
  11786. type: string
  11787. marketid:
  11788. description: 市场id
  11789. type: integer
  11790. orderid:
  11791. description: 关联委托单号
  11792. type: string
  11793. qtydecimalplace:
  11794. description: 成交量小数位
  11795. type: integer
  11796. tradeamount:
  11797. description: 金额
  11798. type: number
  11799. tradedate:
  11800. description: 交易日
  11801. type: string
  11802. tradeid:
  11803. description: 成交单号
  11804. type: string
  11805. trademode:
  11806. description: 交易模式
  11807. type: integer
  11808. tradeprice:
  11809. description: 价格
  11810. type: number
  11811. tradeqty:
  11812. description: 数量
  11813. type: number
  11814. tradetime:
  11815. description: 成交时间
  11816. type: string
  11817. userid:
  11818. description: 用户id
  11819. type: integer
  11820. userinfotype:
  11821. description: 账户类型 1-个人 2-企业
  11822. type: integer
  11823. type: object
  11824. models.QhjMgrTradeOrderDetailRsp:
  11825. properties:
  11826. accountid:
  11827. description: 资金账号
  11828. type: integer
  11829. accountname:
  11830. description: 用户名称
  11831. type: string
  11832. agreeunit:
  11833. description: 合约乘数
  11834. type: number
  11835. amount:
  11836. description: 金额
  11837. type: number
  11838. decimalplace:
  11839. description: 报价小数位
  11840. type: integer
  11841. enumdicname:
  11842. description: 单位名称(商品)
  11843. type: string
  11844. goodscode:
  11845. description: 商品代码(内部)
  11846. type: string
  11847. goodsid:
  11848. description: 商品id
  11849. type: integer
  11850. goodsname:
  11851. description: 商品名称
  11852. type: string
  11853. goodunitid:
  11854. description: 报价单位ID
  11855. type: integer
  11856. logincode:
  11857. description: 登录代码(账户)
  11858. type: string
  11859. marketid:
  11860. description: 市场id
  11861. type: integer
  11862. orderid:
  11863. description: 关联委托单号
  11864. type: string
  11865. orderprice:
  11866. description: 价格
  11867. type: number
  11868. orderqty:
  11869. description: 数量
  11870. type: number
  11871. orderstatus:
  11872. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  11873. type: integer
  11874. ordertime:
  11875. description: 委托时间
  11876. type: string
  11877. qtydecimalplace:
  11878. description: 成交量小数位
  11879. type: integer
  11880. tradedate:
  11881. description: 交易日
  11882. type: string
  11883. trademode:
  11884. description: 交易模式
  11885. type: integer
  11886. userid:
  11887. description: 用户id
  11888. type: integer
  11889. userinfotype:
  11890. description: 账户类型 1-个人 2-企业
  11891. type: integer
  11892. type: object
  11893. models.QhjMgrTradePayOrder:
  11894. properties:
  11895. accountname:
  11896. description: 用户名称
  11897. type: string
  11898. advanceratio:
  11899. description: 首付比率
  11900. type: number
  11901. agreeunit:
  11902. description: 合约乘数
  11903. type: number
  11904. buyaccountid:
  11905. description: 买方账号ID[报价币种]
  11906. type: integer
  11907. buyorderid:
  11908. description: 买方委托单号(关联单号)
  11909. type: string
  11910. createtime:
  11911. description: 创建时间
  11912. type: string
  11913. decimalplace:
  11914. description: 报价小数位
  11915. type: integer
  11916. enumdicname:
  11917. description: 单位名称(商品)
  11918. type: string
  11919. goodscode:
  11920. description: 商品代码(内部)
  11921. type: string
  11922. goodsid:
  11923. description: 商品ID
  11924. type: integer
  11925. goodsname:
  11926. description: 商品名称
  11927. type: string
  11928. goodunitid:
  11929. description: 报价单位ID
  11930. type: integer
  11931. logincode:
  11932. description: 登录代码(账户)
  11933. type: string
  11934. marketid:
  11935. description: 市场id
  11936. type: integer
  11937. offamount:
  11938. description: 优惠金额
  11939. type: number
  11940. operatetype:
  11941. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11942. type: integer
  11943. payamount:
  11944. description: 支付金额(金额)
  11945. type: number
  11946. payflag:
  11947. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11948. type: integer
  11949. paylimitedtime:
  11950. description: 支付期限
  11951. type: string
  11952. paytime:
  11953. description: 付款时间
  11954. type: string
  11955. qtydecimalplace:
  11956. description: 成交量小数位
  11957. type: integer
  11958. sellaccountid:
  11959. description: 卖方账号ID[报价币种]
  11960. type: integer
  11961. sellorderid:
  11962. description: 卖方委托单号
  11963. type: string
  11964. tradeamount:
  11965. description: 成交金额(优惠后金额)
  11966. type: number
  11967. tradecharge:
  11968. description: 成交手续费(买方)
  11969. type: number
  11970. tradedate:
  11971. description: 交易日(yyyyMMdd)
  11972. type: string
  11973. tradeid:
  11974. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11975. type: string
  11976. trademode:
  11977. description: 交易模式
  11978. type: integer
  11979. tradeprice:
  11980. description: 成交价格(价格)
  11981. type: number
  11982. tradeqty:
  11983. description: 成交数量(数量)
  11984. type: number
  11985. tradetime:
  11986. description: 成交时间
  11987. type: string
  11988. userid:
  11989. description: 用户id
  11990. type: integer
  11991. userinfotype:
  11992. description: 账户类型 1-个人 2-企业
  11993. type: integer
  11994. type: object
  11995. models.QhjMyTeamEx:
  11996. properties:
  11997. accountname:
  11998. description: 用户名称
  11999. type: string
  12000. accountstatus:
  12001. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  12002. type: integer
  12003. createtime:
  12004. description: 创建时间
  12005. type: string
  12006. mobile:
  12007. description: 手机号码
  12008. type: string
  12009. refereeuserid:
  12010. description: 推荐人id
  12011. type: integer
  12012. refernum:
  12013. description: 推荐码
  12014. type: string
  12015. subList:
  12016. items:
  12017. $ref: '#/definitions/models.QhjMyTeamEx'
  12018. type: array
  12019. userid:
  12020. description: 用户id
  12021. type: integer
  12022. userinfotype:
  12023. description: 用户类型 1-个人 2-企业
  12024. type: integer
  12025. type: object
  12026. models.QhjNodeAgreementConfig:
  12027. properties:
  12028. agreementcontent:
  12029. description: 协议内容
  12030. type: string
  12031. agreementid:
  12032. description: 协议ID
  12033. type: integer
  12034. agreementname:
  12035. description: 协议名称
  12036. type: string
  12037. agreementno:
  12038. description: 协议编号
  12039. type: string
  12040. agreementtype:
  12041. description: 协议类型 - 1:注册 2:登录 3:交易
  12042. type: integer
  12043. agreementversion:
  12044. description: 协议版本号
  12045. type: integer
  12046. configid:
  12047. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12048. type: integer
  12049. createtime:
  12050. description: 创建时间
  12051. type: string
  12052. goodsid:
  12053. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12054. type: integer
  12055. nodetype:
  12056. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12057. type: integer
  12058. type: object
  12059. models.QhjParentAreaList:
  12060. properties:
  12061. accountname:
  12062. description: 账户名称(机构名称)
  12063. type: string
  12064. userid:
  12065. description: 用户ID
  12066. type: integer
  12067. usertype:
  12068. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12069. type: integer
  12070. type: object
  12071. models.QhjPayOrder:
  12072. properties:
  12073. advanceratio:
  12074. description: 首付比率
  12075. type: number
  12076. buyaccountid:
  12077. description: 买方账号ID[报价币种]
  12078. type: integer
  12079. buyorderid:
  12080. description: 买方委托单号
  12081. type: string
  12082. createtime:
  12083. description: 创建时间
  12084. type: string
  12085. decimalplace:
  12086. description: 商品报价小数位
  12087. type: integer
  12088. enumdicname:
  12089. description: 单位名称
  12090. type: string
  12091. goodscode:
  12092. description: 商品代码
  12093. type: string
  12094. goodsid:
  12095. description: 商品ID
  12096. type: integer
  12097. goodsname:
  12098. description: 商品名称
  12099. type: string
  12100. goodunitid:
  12101. description: 商品单位id
  12102. type: integer
  12103. marketid:
  12104. description: 市场ID
  12105. type: integer
  12106. offamount:
  12107. description: 优惠金额
  12108. type: number
  12109. operatetype:
  12110. description: 买委托操作类型 - 1:正常下单 16:融资买入
  12111. type: integer
  12112. payamount:
  12113. description: 支付金额
  12114. type: number
  12115. payflag:
  12116. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12117. type: integer
  12118. paylimitedtime:
  12119. description: 支付期限
  12120. type: string
  12121. paytime:
  12122. description: 付款时间
  12123. type: string
  12124. qtydecimalplace:
  12125. description: 成交量小数位
  12126. type: integer
  12127. sellaccountid:
  12128. description: 卖方账号ID[报价币种]
  12129. type: integer
  12130. sellorderid:
  12131. description: 卖方委托单号
  12132. type: string
  12133. tradeamount:
  12134. description: 成交金额(优惠后金额)
  12135. type: number
  12136. tradecharge:
  12137. description: 成交手续费(买方)
  12138. type: number
  12139. tradedate:
  12140. description: 交易日(yyyyMMdd)
  12141. type: string
  12142. tradeid:
  12143. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12144. type: string
  12145. tradeprice:
  12146. description: 成交价格
  12147. type: number
  12148. tradeqty:
  12149. description: 成交数量
  12150. type: number
  12151. type: object
  12152. models.QhjPickArea:
  12153. properties:
  12154. address:
  12155. description: 详细地址
  12156. type: string
  12157. cityid:
  12158. description: 市
  12159. type: integer
  12160. cityname:
  12161. description: 城市名称
  12162. type: string
  12163. countryid:
  12164. description: 国家
  12165. type: integer
  12166. countryname:
  12167. description: 国家名称
  12168. type: string
  12169. districtid:
  12170. description: 地区
  12171. type: integer
  12172. districtname:
  12173. description: 地区名称
  12174. type: string
  12175. fromuserid:
  12176. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  12177. type: integer
  12178. fromusername:
  12179. description: 所属机构名称
  12180. type: string
  12181. provinceid:
  12182. description: 省
  12183. type: integer
  12184. provincename:
  12185. description: 省名称
  12186. type: string
  12187. suborgtype:
  12188. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  12189. type: integer
  12190. userid:
  12191. description: 机构用户ID 其他做市关系,都设置为 1
  12192. type: integer
  12193. username:
  12194. description: 机构用户名称(门店门称)
  12195. type: string
  12196. type: object
  12197. models.QhjPickGoods:
  12198. properties:
  12199. enumdicname:
  12200. description: 单位名称(提货商品)
  12201. type: string
  12202. goodsid:
  12203. description: 商品id
  12204. type: integer
  12205. imageaddress:
  12206. description: 图片
  12207. type: string
  12208. modifierid:
  12209. description: 修改人
  12210. type: integer
  12211. modifiername:
  12212. description: 修改人名称
  12213. type: string
  12214. modifysrc:
  12215. description: 修改来源 - 1:管理端 2:终端
  12216. type: integer
  12217. pickupgoodsagreeunit:
  12218. description: 合约乘数
  12219. type: number
  12220. pickupgoodsdesc:
  12221. description: 描述
  12222. type: string
  12223. pickupgoodsid:
  12224. description: 提货商品ID
  12225. type: string
  12226. pickupgoodsname:
  12227. description: 提货商品名称
  12228. type: string
  12229. pickupgoodsstatus:
  12230. description: 状态 - 1:正常 2:停用 3:注销
  12231. type: integer
  12232. pickupgoodsunitid:
  12233. description: 单位ID
  12234. type: integer
  12235. pickupratio:
  12236. description: 提货系数
  12237. type: number
  12238. preparedays:
  12239. description: 备货期(天)
  12240. type: integer
  12241. remark:
  12242. description: 备注
  12243. type: string
  12244. updatetime:
  12245. description: 更新时间
  12246. type: string
  12247. type: object
  12248. models.QhjRSTriggerLog:
  12249. properties:
  12250. accountid:
  12251. description: 用户资金账户
  12252. type: integer
  12253. accountname:
  12254. description: 账号名称(ACCOUNTID对应的名称)
  12255. type: string
  12256. currencyid:
  12257. description: 币种id
  12258. type: integer
  12259. currencyname:
  12260. description: 币种名称
  12261. type: string
  12262. decimalplace:
  12263. description: 商品报价小数位
  12264. type: integer
  12265. enumdicname:
  12266. description: 单位名称
  12267. type: string
  12268. goodscode:
  12269. description: 定投商品代码
  12270. type: string
  12271. goodsid:
  12272. description: 定投商品ID
  12273. type: integer
  12274. goodsname:
  12275. description: 定投商品名称
  12276. type: string
  12277. goodunitid:
  12278. description: 定投商品单位id
  12279. type: integer
  12280. logid:
  12281. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  12282. type: string
  12283. logincode:
  12284. description: 账号(登录代码)
  12285. type: string
  12286. qtydecimalplace:
  12287. description: 成交量小数位
  12288. type: integer
  12289. regularlycycle:
  12290. description: 定投频率 - 1:每周 2:每月
  12291. type: integer
  12292. regularlycyclevalue:
  12293. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12294. type: string
  12295. regularlymode:
  12296. description: 定投方式 - 1:按数量 2:按金额
  12297. type: integer
  12298. regularlymodevalue:
  12299. description: 定投方式值 - 数量或金额
  12300. type: number
  12301. regularlystrategyid:
  12302. description: 定投策略ID
  12303. type: integer
  12304. retcode:
  12305. description: 错误码
  12306. type: string
  12307. tradeid:
  12308. description: 成交单ID
  12309. type: string
  12310. triggeramount:
  12311. description: 触发金额
  12312. type: number
  12313. triggerqty:
  12314. description: 触发数量
  12315. type: number
  12316. triggerstatus:
  12317. description: 触发状态 - 1:成功 2:失败
  12318. type: integer
  12319. triggertime:
  12320. description: 触发时间
  12321. type: string
  12322. triggertradedate:
  12323. description: 触发交易日
  12324. type: string
  12325. userid:
  12326. description: 所属用户ID
  12327. type: integer
  12328. userinfotype:
  12329. description: 用户类型 1-个人 2-企业
  12330. type: integer
  12331. username:
  12332. description: 用户名称(userid对应的名称)
  12333. type: string
  12334. type: object
  12335. models.QhjRStrategy:
  12336. properties:
  12337. accountid:
  12338. description: 用户资金账户
  12339. type: integer
  12340. accountname:
  12341. description: 账号名称(ACCOUNTID对应的名称)
  12342. type: string
  12343. currencyid:
  12344. description: 币种id
  12345. type: integer
  12346. currencyname:
  12347. description: 币种名称
  12348. type: string
  12349. decimalplace:
  12350. description: 商品报价小数位
  12351. type: integer
  12352. enumdicname:
  12353. description: 单位名称
  12354. type: string
  12355. goodscode:
  12356. description: 定投商品代码
  12357. type: string
  12358. goodsid:
  12359. description: 定投商品ID
  12360. type: integer
  12361. goodsname:
  12362. description: 定投商品名称
  12363. type: string
  12364. goodunitid:
  12365. description: 定投商品单位id
  12366. type: integer
  12367. lasteffecttradedate:
  12368. description: 最新生效交易日
  12369. type: string
  12370. laststoptradedate:
  12371. description: 最新暂停交易日
  12372. type: string
  12373. lasttriggertradedate:
  12374. description: 最新触发交易日
  12375. type: string
  12376. logincode:
  12377. description: 账号(登录代码)
  12378. type: string
  12379. nexttriggeramount:
  12380. description: 下次触发金额
  12381. type: number
  12382. nexttriggerdate:
  12383. description: 下次触发日期
  12384. type: string
  12385. nexttriggerqty:
  12386. description: 下次触发数量 [按小数位放大值]
  12387. type: number
  12388. qtydecimalplace:
  12389. description: 成交量小数位
  12390. type: integer
  12391. regularlycycle:
  12392. description: 定投频率 - 1:每周 2:每月
  12393. type: integer
  12394. regularlycyclevalue:
  12395. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12396. type: string
  12397. regularlymode:
  12398. description: 定投方式 - 1:按数量 2:按金额
  12399. type: integer
  12400. regularlymodevalue:
  12401. description: 定投方式值 - 数量或金额
  12402. type: number
  12403. regularlystrategyid:
  12404. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  12405. type: integer
  12406. regularlystrategystatus:
  12407. description: 策略状态 - 1:正常 2:暂停 3:终止
  12408. type: integer
  12409. remark:
  12410. description: 备注
  12411. type: string
  12412. triggersuccesstimes:
  12413. description: 累计定投成功次数
  12414. type: string
  12415. triggertotalamount:
  12416. description: 累计定投金额(成功)
  12417. type: number
  12418. triggertotalqty:
  12419. description: 累计定投数量(成功) [按小数位放大值]
  12420. type: number
  12421. triggertotaltimes:
  12422. description: 累计定投总次数
  12423. type: string
  12424. updatesrc:
  12425. description: 更新来源 - 1:管理端 2:终端
  12426. type: integer
  12427. updatetime:
  12428. description: 更新时间
  12429. type: string
  12430. updatorid:
  12431. description: 更新人
  12432. type: string
  12433. userid:
  12434. description: 所属用户ID
  12435. type: integer
  12436. userinfotype:
  12437. description: 用户类型 1-个人 2-企业
  12438. type: integer
  12439. username:
  12440. description: 用户名称(userid对应的名称)
  12441. type: string
  12442. type: object
  12443. models.QhjReckonPriceLog:
  12444. properties:
  12445. decimalplace:
  12446. description: 商品报价小数位
  12447. type: integer
  12448. goodscode:
  12449. description: 商品代码
  12450. type: string
  12451. goodsid:
  12452. description: 商品ID
  12453. type: integer
  12454. goodsname:
  12455. description: 商品名称
  12456. type: string
  12457. lastreckonprice:
  12458. description: 上日结算价
  12459. type: number
  12460. nextdnlimitprice:
  12461. description: 下个交易日跌停价
  12462. type: number
  12463. nexttrade:
  12464. description: 下个交易日
  12465. type: string
  12466. nextuplimitprice:
  12467. description: 下个交易日涨停价
  12468. type: number
  12469. reckonprice:
  12470. description: 今日结算价(定投价)
  12471. type: number
  12472. reckontime:
  12473. description: 结算时间
  12474. type: string
  12475. totalholderqty:
  12476. description: 总持仓数
  12477. type: integer
  12478. totalstock:
  12479. description: 总库存
  12480. type: integer
  12481. tradedate:
  12482. description: 交易日
  12483. type: string
  12484. updowncount:
  12485. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  12486. type: integer
  12487. updownflag:
  12488. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  12489. type: integer
  12490. updownrate:
  12491. description: 今日涨跌幅
  12492. type: number
  12493. updownrate_2d:
  12494. description: 连续两日涨跌幅
  12495. type: number
  12496. updownrate_3d:
  12497. description: 连续三日涨跌幅
  12498. type: number
  12499. type: object
  12500. models.QhjScoreLog:
  12501. properties:
  12502. accountid:
  12503. description: 账户ID
  12504. type: integer
  12505. createtime:
  12506. description: 创建时间(时间)
  12507. type: string
  12508. goodsid:
  12509. description: 商品ID
  12510. type: integer
  12511. hasuploaded:
  12512. description: 是否已同步(千海金) 0:未同步 1;已同步
  12513. type: integer
  12514. logid:
  12515. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12516. type: string
  12517. marketid:
  12518. description: 市场ID
  12519. type: integer
  12520. relatedamount:
  12521. description: 关联金额
  12522. type: number
  12523. relatedorderid:
  12524. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  12525. type: string
  12526. scoreconfigvalue1:
  12527. description: 积分配置1
  12528. type: integer
  12529. scoreconfigvalue2:
  12530. description: 积分配置1
  12531. type: integer
  12532. scoretype:
  12533. description: 积分类型 - 1:提货积分
  12534. type: integer
  12535. scorevalue:
  12536. description: 积分
  12537. type: number
  12538. tradedate:
  12539. description: 交易日(yyyyMMdd)
  12540. type: string
  12541. uploadedtime:
  12542. description: 同步时间
  12543. type: string
  12544. userid:
  12545. description: 用户ID
  12546. type: integer
  12547. type: object
  12548. models.QhjSiteColumnDetail:
  12549. properties:
  12550. author:
  12551. description: 作者
  12552. type: string
  12553. brief:
  12554. description: 简介
  12555. type: string
  12556. columnid:
  12557. description: 所属栏目
  12558. type: integer
  12559. context:
  12560. description: 内容
  12561. type: string
  12562. coverimage:
  12563. description: 封面图片
  12564. type: string
  12565. creaedate:
  12566. description: 创建时间
  12567. type: string
  12568. creatorid:
  12569. description: 创建人
  12570. type: integer
  12571. hits:
  12572. description: 点击数
  12573. type: integer
  12574. id:
  12575. description: ID(SEQ_SITE_COLUMNDETAIL)
  12576. type: integer
  12577. isshow:
  12578. description: 是否展示 - 0:不展示 1:展示
  12579. type: integer
  12580. istop:
  12581. description: 是否置顶 - 0:不置 1:置顶
  12582. type: integer
  12583. modifierid:
  12584. description: 操作人
  12585. type: integer
  12586. publishdate:
  12587. description: 发布日期
  12588. type: string
  12589. status:
  12590. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  12591. type: integer
  12592. title:
  12593. description: 标题
  12594. type: string
  12595. updatedate:
  12596. description: 修改时间
  12597. type: string
  12598. userid:
  12599. description: 用户ID(默认为0, 核心为为机构用户ID)
  12600. type: integer
  12601. username:
  12602. description: 用户名称
  12603. type: string
  12604. type: object
  12605. models.QhjTeamOrder:
  12606. properties:
  12607. accountid:
  12608. description: 账户ID[报价币种]
  12609. type: integer
  12610. accountname:
  12611. description: 账户名称
  12612. type: string
  12613. agreeunit:
  12614. description: 合约乘数
  12615. type: number
  12616. buyorsell:
  12617. description: 方向 - 0:买 1:卖
  12618. type: integer
  12619. decimalplace:
  12620. description: 报价小数位
  12621. type: integer
  12622. enumdicname:
  12623. description: 单位名称
  12624. type: string
  12625. goodscode:
  12626. description: 商品代码(内部)
  12627. type: string
  12628. goodsid:
  12629. description: 商品ID
  12630. type: integer
  12631. goodsname:
  12632. description: 商品名称
  12633. type: string
  12634. goodunitid:
  12635. description: 报价单位ID
  12636. type: integer
  12637. marketid:
  12638. description: 市场ID
  12639. type: integer
  12640. marketname:
  12641. description: 市场名称
  12642. type: string
  12643. qtydecimalplace:
  12644. description: 成交量小数位
  12645. type: integer
  12646. refereeuserid:
  12647. description: 推荐人ID
  12648. type: integer
  12649. tradeamount:
  12650. description: 成交金额[账户币种,用于所有权]
  12651. type: number
  12652. tradedate:
  12653. description: 交易日(yyyyMMdd)
  12654. type: string
  12655. trademode:
  12656. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  12657. type: integer
  12658. tradeprice:
  12659. description: 成交价格
  12660. type: number
  12661. tradeqty:
  12662. description: 成交数量
  12663. type: number
  12664. tradetime:
  12665. description: 成交时间
  12666. type: string
  12667. userid:
  12668. description: 用户ID
  12669. type: integer
  12670. type: object
  12671. models.QhjTradeGoodsPickup:
  12672. properties:
  12673. accountid:
  12674. description: 账户ID
  12675. type: integer
  12676. address:
  12677. description: 提货人详细地址
  12678. type: string
  12679. amount:
  12680. description: 提货金额
  12681. type: number
  12682. artradedate:
  12683. description: 自动收货交易日(yyyyMMdd)
  12684. type: string
  12685. auditer:
  12686. description: 审核人
  12687. type: integer
  12688. auditsrc:
  12689. description: 更新来源 - 1:管理端 2:终端
  12690. type: integer
  12691. audittime:
  12692. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  12693. type: string
  12694. audittradedate:
  12695. description: 审核交易日(yyyyMMdd)
  12696. type: string
  12697. cardnum:
  12698. description: 提货人证件号码
  12699. type: string
  12700. cardtypeid:
  12701. description: 提货人证件类型
  12702. type: integer
  12703. checkremark:
  12704. description: 审核备注
  12705. type: string
  12706. cityid:
  12707. description: 市
  12708. type: integer
  12709. cityname:
  12710. description: 城市名称
  12711. type: string
  12712. confirmtime:
  12713. description: 取货时间 或 收货时间
  12714. type: string
  12715. countryid:
  12716. description: 国家
  12717. type: integer
  12718. countryname:
  12719. description: 国家名称
  12720. type: string
  12721. decimalplace:
  12722. description: 商品报价小数位
  12723. type: integer
  12724. districtid:
  12725. description: 地区
  12726. type: integer
  12727. districtname:
  12728. description: 地区名称
  12729. type: string
  12730. enumdicname:
  12731. description: 单位名称(提货商品)
  12732. type: string
  12733. expresscompany:
  12734. description: 物流公司
  12735. type: string
  12736. expressnum:
  12737. description: 物流单号
  12738. type: string
  12739. goodsagreeunit:
  12740. description: 交易商品乘数
  12741. type: number
  12742. goodscode:
  12743. description: 商品代码
  12744. type: string
  12745. goodsid:
  12746. description: 商品ID
  12747. type: integer
  12748. goodsname:
  12749. description: 商品名称
  12750. type: string
  12751. goodsqty:
  12752. description: 交易商品手数(69模式按成交量小数位放大取整)
  12753. type: number
  12754. handlestatus:
  12755. description: 处理状态
  12756. type: integer
  12757. logincode:
  12758. description: 账号(登录代码, 有可能为空)
  12759. type: string
  12760. marketid:
  12761. description: 市场ID
  12762. type: integer
  12763. phonenum:
  12764. description: 提货人联系方式
  12765. type: string
  12766. pickupgoodsagreeunit:
  12767. description: 提货商品合约乘数
  12768. type: number
  12769. pickupgoodsid:
  12770. description: 提货商品ID
  12771. type: string
  12772. pickupgoodsname:
  12773. description: 提货商品名称
  12774. type: string
  12775. pickupgoodsqty:
  12776. description: 提货商品手数(数量)
  12777. type: number
  12778. pickupgoodsunitid:
  12779. description: 单位ID(提货商品)
  12780. type: integer
  12781. pickupratio:
  12782. description: 提货系数
  12783. type: number
  12784. preparedays:
  12785. description: 备货期(天)-提货单明细表
  12786. type: integer
  12787. provinceid:
  12788. description: 省
  12789. type: integer
  12790. provincename:
  12791. description: 省名称
  12792. type: string
  12793. qty:
  12794. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  12795. type: number
  12796. qtydecimalplace:
  12797. description: 商品数量小数位
  12798. type: integer
  12799. recivername:
  12800. description: 提货人姓名
  12801. type: string
  12802. reqtime:
  12803. description: 提货申请时间
  12804. type: string
  12805. storeuserid:
  12806. description: 门店用户ID (千海金)
  12807. type: integer
  12808. storeusername:
  12809. description: 门店用户名称
  12810. type: string
  12811. takemode:
  12812. description: 提货方式 - 2:自提 3:配送(邮寄)
  12813. type: integer
  12814. takeorderid:
  12815. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12816. type: string
  12817. takeorderstatus:
  12818. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销
  12819. type: integer
  12820. takeremark:
  12821. description: 提货备注
  12822. type: string
  12823. tradedate:
  12824. description: 交易日(yyyyMMdd)
  12825. type: string
  12826. updatetime:
  12827. description: 更新时间
  12828. type: string
  12829. userid:
  12830. description: 用户ID
  12831. type: integer
  12832. userinfotype:
  12833. description: 客户类型 1-个人 2-企业
  12834. type: integer
  12835. username:
  12836. description: 用户名称
  12837. type: string
  12838. type: object
  12839. models.QhjUserNodeCfgAndStatus:
  12840. properties:
  12841. agreementcontent:
  12842. description: 协议内容
  12843. type: string
  12844. agreementid:
  12845. description: 协议ID
  12846. type: integer
  12847. agreementname:
  12848. description: 协议名称
  12849. type: string
  12850. agreementno:
  12851. description: 协议编号
  12852. type: string
  12853. agreementtype:
  12854. description: 协议类型 - 1:注册 2:登录 3:交易
  12855. type: integer
  12856. agreementversion:
  12857. description: 协议版本号
  12858. type: integer
  12859. configid:
  12860. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12861. type: integer
  12862. createtime:
  12863. description: 创建时间
  12864. type: string
  12865. goodsid:
  12866. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12867. type: integer
  12868. nodetype:
  12869. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12870. type: integer
  12871. signtimestamp:
  12872. description: 签约状态时间戳(最近一次)
  12873. type: string
  12874. tradedate:
  12875. description: 签约交易日(yyyyMMdd)
  12876. type: string
  12877. userid:
  12878. description: 客户ID
  12879. type: integer
  12880. type: object
  12881. models.Qhjgoodsex:
  12882. properties:
  12883. canfinance:
  12884. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  12885. type: integer
  12886. canregularlybuy:
  12887. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  12888. type: integer
  12889. defaulttradeuserid:
  12890. description: 默认交易用户ID
  12891. type: integer
  12892. deliverygoodsid:
  12893. description: 现货品种ID
  12894. type: integer
  12895. goodsid:
  12896. description: 商品ID(自增ID SEQ_GOODS)
  12897. type: integer
  12898. minamount:
  12899. description: 最小购买金额
  12900. type: number
  12901. regularlybuyminamount:
  12902. description: 定投最小金额
  12903. type: number
  12904. regularlybuyminqty:
  12905. description: 定投最小数量
  12906. type: number
  12907. spotgoodsbrandid:
  12908. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  12909. type: integer
  12910. visibilityforenterprise:
  12911. description: 企业客户是否可见 - 0:不可见 1:可见
  12912. type: integer
  12913. visibilityforpersonal:
  12914. description: 个人客户是否可见 - 0:不可见 1:可见
  12915. type: integer
  12916. wrstandardid:
  12917. description: 现货商品ID
  12918. type: integer
  12919. type: object
  12920. models.QueryErrorInfosRsp:
  12921. properties:
  12922. description:
  12923. description: 异常描述
  12924. type: string
  12925. errorcode:
  12926. description: 异常代码
  12927. type: string
  12928. errorid:
  12929. description: 异常ID
  12930. type: integer
  12931. modulecode:
  12932. description: 所属模块
  12933. type: string
  12934. operatecode:
  12935. description: 所属操作
  12936. type: string
  12937. rownumber:
  12938. description: 行号
  12939. type: string
  12940. required:
  12941. - errorid
  12942. type: object
  12943. models.QueryHedgeOrderDetailRsp:
  12944. properties:
  12945. accountid:
  12946. description: 账户ID
  12947. type: integer
  12948. buyorsell:
  12949. description: 买卖 - 0:买 1:卖
  12950. type: integer
  12951. cancellogincode:
  12952. description: 撤单人
  12953. type: string
  12954. channelbuildtype:
  12955. description: 开平标志 - 0:无 1:建仓 2:平仓
  12956. type: integer
  12957. channelinnerorderstatus:
  12958. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交
  12959. type: integer
  12960. channeloperatetype:
  12961. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  12962. type: integer
  12963. closetype:
  12964. description: 平仓方式 - 0:无 1:平今 2:平昨
  12965. type: integer
  12966. curexchangerate:
  12967. description: 当前汇率
  12968. type: number
  12969. decimalplace:
  12970. description: 商品报价小数位
  12971. type: integer
  12972. exchangefullname:
  12973. description: 外部交易所全称
  12974. type: string
  12975. goodscode:
  12976. description: 商品代码(内部)
  12977. type: string
  12978. goodsid:
  12979. description: 商品ID
  12980. type: integer
  12981. goodsname:
  12982. description: 商品名称
  12983. type: string
  12984. marketid:
  12985. description: 市场ID
  12986. type: integer
  12987. openfreezemargin:
  12988. description: 冻结保证金(冻结交易金额)
  12989. type: number
  12990. orderid:
  12991. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12992. type: string
  12993. orderlogincode:
  12994. description: 委托人
  12995. type: string
  12996. orderprice:
  12997. description: 委托价格(账户)
  12998. type: number
  12999. orderqty:
  13000. description: 委托数量
  13001. type: integer
  13002. ordertime:
  13003. description: 委托时间
  13004. type: string
  13005. pricemode:
  13006. description: '取价方式 - 1:市价 2: 限价'
  13007. type: integer
  13008. tradedate:
  13009. description: 交易日(yyyyMMdd)
  13010. type: string
  13011. tradeqty:
  13012. description: 成交数量
  13013. type: integer
  13014. type: object
  13015. models.QueryHedgeTradeDetailRsp:
  13016. properties:
  13017. accountid:
  13018. description: 账号ID
  13019. type: integer
  13020. buyorsell:
  13021. description: 方向 - 0:买 1:卖
  13022. type: integer
  13023. channelbuildtype:
  13024. description: 委托单据类型 0:无 1:建仓 2:平仓
  13025. type: integer
  13026. closecharge:
  13027. description: 平仓手续费(账户)
  13028. type: number
  13029. closecharge2:
  13030. description: 平仓手续费(商品)
  13031. type: number
  13032. closepl:
  13033. description: 平仓盈亏(账户)
  13034. type: number
  13035. closepl2:
  13036. description: 平仓盈亏(商品)
  13037. type: number
  13038. closepl3:
  13039. description: 平仓盈亏(账户)(逐笔)
  13040. type: number
  13041. closepl4:
  13042. description: 平仓盈亏(商品)(逐笔)
  13043. type: number
  13044. closetype:
  13045. description: 平仓方式 - 0:无 1:平今 2:平昨
  13046. type: integer
  13047. curexchangerate:
  13048. description: 当前汇率
  13049. type: number
  13050. decimalplace:
  13051. description: 商品报价小数位
  13052. type: integer
  13053. exchangefullname:
  13054. description: 外部交易所全称
  13055. type: string
  13056. goodscode:
  13057. description: 商品代码(内部)
  13058. type: string
  13059. goodsid:
  13060. description: 商品ID
  13061. type: integer
  13062. goodsname:
  13063. description: 商品名称
  13064. type: string
  13065. marketid:
  13066. description: 市场ID
  13067. type: integer
  13068. opencharge:
  13069. description: 建仓手续费(账户)
  13070. type: number
  13071. opencharge2:
  13072. description: 建仓手续费(商品)
  13073. type: number
  13074. orderid:
  13075. description: 委托单号
  13076. type: string
  13077. orderlogincode:
  13078. description: 委托人
  13079. type: string
  13080. tradeamount:
  13081. description: 成交金额(账户)
  13082. type: number
  13083. tradedate:
  13084. description: 交易日(yyyyMMdd)
  13085. type: string
  13086. tradeid:
  13087. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13088. type: string
  13089. tradeprice:
  13090. description: 成交价格
  13091. type: number
  13092. tradeqty:
  13093. description: 成交数量
  13094. type: integer
  13095. tradetime:
  13096. description: 成交时间
  13097. type: string
  13098. tradetype:
  13099. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  13100. type: integer
  13101. type: object
  13102. models.QuotePrimaryMenu:
  13103. properties:
  13104. Index:
  13105. description: 序号
  13106. type: integer
  13107. Key:
  13108. description: 键名
  13109. type: string
  13110. Name:
  13111. description: 菜单名称
  13112. type: string
  13113. SubMenus:
  13114. description: 子菜单
  13115. items:
  13116. $ref: '#/definitions/models.QuoteSecondaryMenu'
  13117. type: array
  13118. SubTitleType:
  13119. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  13120. type: integer
  13121. TradeModes:
  13122. description: 包含市场交易类型
  13123. type: string
  13124. type: object
  13125. models.QuoteSecondaryMenu:
  13126. properties:
  13127. ExExchangeCode:
  13128. description: 外部交易所代码
  13129. type: string
  13130. ExExchangeID:
  13131. description: 外部交易所ID
  13132. type: integer
  13133. GoodsGroupIDs:
  13134. description: 商品组ID列表
  13135. items:
  13136. type: integer
  13137. type: array
  13138. Index:
  13139. description: 序号
  13140. type: integer
  13141. MarketID:
  13142. description: 市场ID
  13143. type: integer
  13144. MenuTitle:
  13145. description: 菜单标题(市场名称或外部交易所名称)
  13146. type: string
  13147. TradeMode:
  13148. description: 交易模式
  13149. type: integer
  13150. type: object
  13151. models.RoleMenu:
  13152. properties:
  13153. hasright:
  13154. description: 是否有权限 0-没有权限 1-有权限
  13155. type: integer
  13156. iconame:
  13157. description: 菜单图标
  13158. type: string
  13159. menutype:
  13160. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  13161. type: integer
  13162. parentcode:
  13163. description: 上级资源代码
  13164. type: string
  13165. remark:
  13166. description: 菜单备注
  13167. type: string
  13168. resourcecode:
  13169. description: 菜单代码
  13170. type: string
  13171. resourcelevel:
  13172. description: 级别
  13173. type: integer
  13174. resourcename:
  13175. description: 菜单名称
  13176. type: string
  13177. roleid:
  13178. description: 角色id
  13179. type: integer
  13180. sort:
  13181. description: 排序
  13182. type: integer
  13183. subMenu:
  13184. description: 子级菜单(结构同上层一样, swag解析不出来)
  13185. items:
  13186. $ref: '#/definitions/models.RoleMenu'
  13187. type: array
  13188. url:
  13189. description: URL
  13190. type: string
  13191. userid:
  13192. description: 用户id
  13193. type: integer
  13194. type: object
  13195. models.SearchGoods:
  13196. properties:
  13197. goodscode:
  13198. description: 商品代码(内部)
  13199. type: string
  13200. goodsid:
  13201. description: 商品ID(自增ID SEQ_GOODS)
  13202. type: integer
  13203. goodsname:
  13204. description: 商品名称
  13205. type: string
  13206. marketid:
  13207. description: 所属市场ID
  13208. type: integer
  13209. marketname:
  13210. description: 市场名称
  13211. type: string
  13212. trademode:
  13213. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  13214. type: integer
  13215. required:
  13216. - goodscode
  13217. - goodsid
  13218. - goodsname
  13219. - marketid
  13220. - trademode
  13221. type: object
  13222. models.Systemparam:
  13223. properties:
  13224. loginid:
  13225. description: 更新用户账号,登录账号
  13226. type: string
  13227. modifyflag:
  13228. description: 修改标志0 不允许修改 1 允许修改
  13229. type: integer
  13230. paramcode:
  13231. description: 参数代码
  13232. type: string
  13233. paramname:
  13234. description: 参数名
  13235. type: string
  13236. paramtype:
  13237. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  13238. type: integer
  13239. paramvalue:
  13240. description: 参数值
  13241. type: string
  13242. paramvalue2:
  13243. description: 参数值(CLOB)
  13244. type: string
  13245. regexpress:
  13246. description: 正则表达式
  13247. type: string
  13248. remark:
  13249. description: 备注
  13250. type: string
  13251. serverip:
  13252. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  13253. type: string
  13254. showflag:
  13255. description: 是否显示0 不显示 1 显示
  13256. type: integer
  13257. updatetime:
  13258. description: 更新时间
  13259. type: string
  13260. userid:
  13261. description: 更新用户ID
  13262. type: integer
  13263. required:
  13264. - paramcode
  13265. type: object
  13266. models.Szdz3convertconfig:
  13267. properties:
  13268. canin:
  13269. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  13270. type: integer
  13271. canout:
  13272. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  13273. type: integer
  13274. converttype:
  13275. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)
  13276. type: integer
  13277. createtime:
  13278. description: 创建时间
  13279. type: string
  13280. creatorid:
  13281. description: 创建人
  13282. type: integer
  13283. daymaxvalue:
  13284. description: 当日最大转入限制
  13285. type: number
  13286. freezedays:
  13287. description: 冻结天数 [5:花生米转交易]
  13288. type: integer
  13289. innergoodsid:
  13290. description: 内部商品ID[交易]
  13291. type: integer
  13292. inratio:
  13293. description: 目标值
  13294. type: integer
  13295. modifierid:
  13296. description: 修改人
  13297. type: integer
  13298. modifytime:
  13299. description: 修改时间
  13300. type: string
  13301. outergoodscode:
  13302. description: 外部商品代码[JD\PD]
  13303. type: string
  13304. outratio:
  13305. description: 源值
  13306. type: integer
  13307. pddecimalplace:
  13308. description: PD小数位
  13309. type: integer
  13310. timemaxvalue:
  13311. description: 单次最大转入限制
  13312. type: number
  13313. timeminvalue:
  13314. description: 单次最小转入限制
  13315. type: number
  13316. required:
  13317. - converttype
  13318. - innergoodsid
  13319. - outergoodscode
  13320. type: object
  13321. models.Szdz3searchwhitelist:
  13322. properties:
  13323. createtime:
  13324. description: 创建时间
  13325. type: string
  13326. creatorid:
  13327. description: 创建人
  13328. type: integer
  13329. modifierid:
  13330. description: 修改人
  13331. type: integer
  13332. modifytime:
  13333. description: 修改时间
  13334. type: string
  13335. userid:
  13336. description: 用户ID
  13337. type: integer
  13338. required:
  13339. - userid
  13340. type: object
  13341. models.TBGoods:
  13342. properties:
  13343. agreeunit:
  13344. description: 合约乘数
  13345. type: number
  13346. enumdicname:
  13347. description: 单位名称
  13348. type: string
  13349. goodscode:
  13350. description: 商品代码(内部)
  13351. type: string
  13352. goodsid:
  13353. description: 商品ID(自增ID SEQ_GOODS)
  13354. type: integer
  13355. goodsname:
  13356. description: 商品名称
  13357. type: string
  13358. type: object
  13359. models.TBGoodsGroup:
  13360. properties:
  13361. GDLST:
  13362. description: 商品列表
  13363. items:
  13364. $ref: '#/definitions/models.TBGoods'
  13365. type: array
  13366. convertratio:
  13367. description: 折算系数
  13368. type: number
  13369. enumdicname:
  13370. description: 单位名称
  13371. type: string
  13372. exexchangecode:
  13373. description: 交易所代码
  13374. type: string
  13375. exexchangename:
  13376. description: 交易所名称
  13377. type: string
  13378. goodsgroupid:
  13379. description: 商品组ID(自增ID)
  13380. type: integer
  13381. goodsgroupname:
  13382. description: 商品组名称
  13383. type: string
  13384. goodunitid:
  13385. description: 报价单位ID
  13386. type: integer
  13387. type: object
  13388. models.TBMiddleGoods:
  13389. properties:
  13390. GPLST:
  13391. description: 期货品种列表
  13392. items:
  13393. $ref: '#/definitions/models.TBGoodsGroup'
  13394. type: array
  13395. WDLST:
  13396. description: 商品信息列表(现货品类)
  13397. items:
  13398. $ref: '#/definitions/models.TBWrstandard'
  13399. type: array
  13400. areauserid:
  13401. description: 机构用户ID
  13402. type: integer
  13403. enumdicname:
  13404. description: 单位名称
  13405. type: string
  13406. goodsunitid:
  13407. description: 套保品种单位id
  13408. type: integer
  13409. middlegoodscode:
  13410. description: 套保品种代码
  13411. type: string
  13412. middlegoodsid:
  13413. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  13414. type: integer
  13415. middlegoodsname:
  13416. description: 套保品种名称
  13417. type: string
  13418. needarbitrageratio:
  13419. description: 套利比率
  13420. type: number
  13421. needhedgeratio:
  13422. description: 套保比率
  13423. type: number
  13424. type: object
  13425. models.TBWrstandard:
  13426. properties:
  13427. convertratio:
  13428. description: 折算系数
  13429. type: number
  13430. deliverygoodsname:
  13431. description: 品种名称
  13432. type: string
  13433. enumdicname:
  13434. description: 单位名称
  13435. type: string
  13436. vatrate:
  13437. description: 增值税率
  13438. type: number
  13439. wrstandardcode:
  13440. description: 现货商品代码
  13441. type: string
  13442. wrstandardid:
  13443. description: 现货商品ID(SEQ_WRSTANDARD)
  13444. type: integer
  13445. wrstandardname:
  13446. description: 现货商品名称
  13447. type: string
  13448. type: object
  13449. models.Taaccount:
  13450. properties:
  13451. accountflag:
  13452. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  13453. type: integer
  13454. accountid:
  13455. description: 资金账户ID
  13456. type: integer
  13457. accountname:
  13458. description: 账户名称
  13459. type: string
  13460. balance:
  13461. description: 期初余额
  13462. type: number
  13463. capitalbalance:
  13464. description: 本金余额[外部子账户实际出入金余额]
  13465. type: number
  13466. changeflag:
  13467. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  13468. type: integer
  13469. changetime:
  13470. description: 账户状态变更时间
  13471. type: string
  13472. closepl:
  13473. description: 今日平仓盈亏
  13474. type: number
  13475. creditdecrease:
  13476. description: 今日授信减少
  13477. type: number
  13478. creditincrease:
  13479. description: 今日授信增加
  13480. type: number
  13481. curamount:
  13482. description: 总市值(从持仓中统计)
  13483. type: number
  13484. currencyid:
  13485. description: 货币ID
  13486. type: integer
  13487. currentbalance:
  13488. description: 期末余额
  13489. type: number
  13490. freezecharge:
  13491. description: 手续费冻结
  13492. type: number
  13493. freezemargin:
  13494. description: 冻结保证金
  13495. type: number
  13496. fromaccountid:
  13497. description: 所属上级账户
  13498. type: integer
  13499. inamount:
  13500. description: 今日入金金额(包括三方入金)
  13501. type: number
  13502. ismain:
  13503. description: 是否母账号 0:不是母账户 1:是母账户
  13504. type: integer
  13505. ismarketaccount:
  13506. description: 是否机构接单账号 0:不是 1:是
  13507. type: integer
  13508. isreckonaccount:
  13509. description: 是否机构分润账号 0:不是 1:是
  13510. type: integer
  13511. mortgagecredit:
  13512. description: 授信金额
  13513. type: number
  13514. orifreezecharge:
  13515. description: 期初手续费冻结
  13516. type: number
  13517. orifreezemargin:
  13518. description: 期初冻结保证金
  13519. type: number
  13520. orimortgagecredit:
  13521. description: 期初授信金额
  13522. type: number
  13523. oriothercredit:
  13524. description: 期初其它授信金额
  13525. type: number
  13526. oriotherfreezemargin:
  13527. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  13528. type: number
  13529. orioutamountfreeze:
  13530. description: 期初出金冻结
  13531. type: number
  13532. oriusedmargin:
  13533. description: 期初占用保证金
  13534. type: number
  13535. othercredit:
  13536. description: 其它授信金额
  13537. type: number
  13538. othercreditdecrease:
  13539. description: 今日其它授信减少
  13540. type: number
  13541. othercreditincrease:
  13542. description: 今日其它授信增加
  13543. type: number
  13544. otherfreezemargin:
  13545. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  13546. type: number
  13547. otherincome:
  13548. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  13549. type: number
  13550. otherpay:
  13551. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  13552. type: number
  13553. outamount:
  13554. description: 今日出金金额(包括三方出金)
  13555. type: number
  13556. outamountfreeze:
  13557. description: 出金冻结
  13558. type: number
  13559. outthreshold:
  13560. description: 出金阈值
  13561. type: number
  13562. parentaccountid:
  13563. description: 所属根账号
  13564. type: integer
  13565. paycharge:
  13566. description: 今日手续费支出
  13567. type: number
  13568. relatedaccountstatus:
  13569. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  13570. type: integer
  13571. relateduserid:
  13572. description: 关联用户
  13573. type: integer
  13574. remainamount:
  13575. description: 融资额(从融资合同中统计)
  13576. type: number
  13577. serivcegroup:
  13578. description: 服务分组
  13579. type: integer
  13580. signstatus:
  13581. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  13582. type: integer
  13583. sublevelpath:
  13584. description: 账号层级路径(逗号分隔,首尾加逗号)
  13585. type: string
  13586. taaccounttype:
  13587. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  13588. type: integer
  13589. thirdinamount:
  13590. description: 今日三方入金
  13591. type: number
  13592. thirdoutamount:
  13593. description: 今日三方出金
  13594. type: number
  13595. tradestatus:
  13596. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  13597. type: integer
  13598. tradestatuschangetime:
  13599. description: 激活时间
  13600. type: string
  13601. transferamount:
  13602. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  13603. type: number
  13604. usedmargin:
  13605. description: 占用保证金
  13606. type: number
  13607. userid:
  13608. description: 用户ID
  13609. type: integer
  13610. required:
  13611. - accountid
  13612. - userid
  13613. type: object
  13614. models.Tablecolumnconfig:
  13615. properties:
  13616. aligntype:
  13617. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  13618. type: integer
  13619. autoid:
  13620. description: AutoID
  13621. type: integer
  13622. columnfield:
  13623. description: 列字段
  13624. type: string
  13625. columntitle:
  13626. description: 列Title
  13627. type: string
  13628. columnwidth:
  13629. description: 列宽
  13630. type: string
  13631. formatterstring:
  13632. description: 格式化字符
  13633. type: string
  13634. formattertype:
  13635. description: 格式化类型
  13636. type: string
  13637. groupname:
  13638. description: 表头分组名称
  13639. type: string
  13640. isshow:
  13641. description: 是否显示 - 0:不显示 1:显示
  13642. type: integer
  13643. needsummary:
  13644. description: 是否需要汇总 - 0:不需要 1:需要
  13645. type: integer
  13646. orderindex:
  13647. description: 顺序
  13648. type: integer
  13649. remark:
  13650. description: 备注
  13651. type: string
  13652. summarytype:
  13653. description: 汇总类型 - 1:加总 2:最后一个
  13654. type: integer
  13655. tablekey:
  13656. description: 列表Key
  13657. type: string
  13658. required:
  13659. - autoid
  13660. type: object
  13661. models.TjmdMarketSection:
  13662. properties:
  13663. marketsectionid:
  13664. description: 市场版块ID(SEQ_MARKETSECTION)
  13665. type: integer
  13666. marketsectionname:
  13667. description: 市场版块名称
  13668. type: string
  13669. mlist:
  13670. description: 市场列表(板块下面有多少个市场)
  13671. items:
  13672. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  13673. type: array
  13674. orderindex:
  13675. description: 排序
  13676. type: integer
  13677. pictureurl:
  13678. description: 图片url, 规格(90*90)
  13679. type: string
  13680. remark:
  13681. description: 备注
  13682. type: string
  13683. type: object
  13684. models.TjmdMarketSectionConfig:
  13685. properties:
  13686. auctionwrtype:
  13687. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  13688. type: integer
  13689. canacceptquote:
  13690. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  13691. type: integer
  13692. cangoodsexercise:
  13693. description: '[期权]是否可现货行权- 0:否 1:是'
  13694. type: integer
  13695. cangoodsexercisetype:
  13696. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  13697. type: integer
  13698. canmanualquotestrike:
  13699. description: 是否可手动报行权价- 0:否 1:是 [期权]
  13700. type: integer
  13701. canmutistage:
  13702. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  13703. type: integer
  13704. canpreexercise:
  13705. description: '[期权]是否可预申报- 0:否 1:是'
  13706. type: integer
  13707. clearinterval:
  13708. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  13709. type: integer
  13710. contracttmp:
  13711. description: 合同模板[荷兰式][竞价式][仓单贸易]
  13712. type: string
  13713. exchareaid:
  13714. description: 所属交易所,可以没有
  13715. type: integer
  13716. financemarketid:
  13717. description: 融资回购市场ID [仓单贸易]
  13718. type: integer
  13719. goodstype:
  13720. description: 商品类型 - 1:交易商品 2:仓单商品
  13721. type: integer
  13722. hasrebate:
  13723. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  13724. type: integer
  13725. hastradecredit:
  13726. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  13727. type: integer
  13728. haswr:
  13729. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  13730. type: integer
  13731. isdeductmargin:
  13732. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  13733. type: integer
  13734. isrecordsource:
  13735. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  13736. type: integer
  13737. isreleasemargin:
  13738. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  13739. type: integer
  13740. isupdatereckonprice:
  13741. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  13742. type: integer
  13743. listingmode:
  13744. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  13745. type: integer
  13746. marginformula:
  13747. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  13748. type: integer
  13749. marginformula2:
  13750. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  13751. type: integer
  13752. marketid:
  13753. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  13754. type: integer
  13755. marketname:
  13756. description: 市场名称
  13757. type: string
  13758. marketsectionid:
  13759. description: 市场版块ID(SEQ_MARKETSECTION)
  13760. type: integer
  13761. marketserviceid:
  13762. description: 市场服务ID
  13763. type: integer
  13764. marketstatus:
  13765. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  13766. type: integer
  13767. markettype:
  13768. description: 市场类型- 1:非交易服务 2:交易服务
  13769. type: integer
  13770. matchermode:
  13771. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  13772. type: integer
  13773. nowrquotaflag:
  13774. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  13775. type: integer
  13776. openmethod:
  13777. description: 开盘模式 - 0 自动 1手动
  13778. type: integer
  13779. orderindex:
  13780. description: 排序
  13781. type: integer
  13782. otcuserid:
  13783. description: 场外期权做市商[场外期权]
  13784. type: integer
  13785. outersynctime:
  13786. description: 外部同步时间点(h24:mi:ss)[场外期权]
  13787. type: string
  13788. paylaterflag:
  13789. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  13790. type: integer
  13791. pendingflag:
  13792. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  13793. type: integer
  13794. pendingtime:
  13795. description: 待开市时间[通道交易-对冲](HH:mm)
  13796. type: string
  13797. performancetempid:
  13798. description: 履约计划模板ID - 作废
  13799. type: integer
  13800. premiumquotemode:
  13801. description: 权利金报价方式 - 1:自动 2:手动
  13802. type: integer
  13803. rebateratio:
  13804. description: 返利比率[竞价式]
  13805. type: number
  13806. reckonorder:
  13807. description: 结算顺序
  13808. type: integer
  13809. reckonpricealgorithm:
  13810. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价'
  13811. type: integer
  13812. reckonpriceparam:
  13813. description: 结算价参数
  13814. type: integer
  13815. reckontime:
  13816. description: 结算时间[通道交易-对冲](HH:mm)
  13817. type: string
  13818. roleprioritytype:
  13819. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  13820. type: integer
  13821. selllistingauditflag:
  13822. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  13823. type: integer
  13824. trademarkettype:
  13825. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  13826. type: integer
  13827. trademode:
  13828. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  13829. type: integer
  13830. tradeproperty:
  13831. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权
  13832. type: integer
  13833. tradetype:
  13834. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  13835. type: integer
  13836. updatereckonpriceinterval:
  13837. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  13838. type: integer
  13839. type: object
  13840. models.TjmdQuoteGoods:
  13841. properties:
  13842. buyqty:
  13843. description: 买量(暂不做, 无值, 保留字段)
  13844. type: number
  13845. goodscode:
  13846. description: 合约代码
  13847. type: string
  13848. goodsgroupid:
  13849. description: 商品组ID(自增ID)
  13850. type: integer
  13851. goodsgroupname:
  13852. description: 商品组名称
  13853. type: string
  13854. goodsid:
  13855. description: 合约id
  13856. type: integer
  13857. goodsname:
  13858. description: 合约名称
  13859. type: string
  13860. refgoodscode:
  13861. description: 标的合约代码
  13862. type: string
  13863. refgoodsid:
  13864. description: 标的合约id
  13865. type: integer
  13866. refgoodsname:
  13867. description: 标的合约名称
  13868. type: string
  13869. sellqty:
  13870. description: 卖量(暂不做, 无值, 保留字段)
  13871. type: number
  13872. type: object
  13873. models.TjmdTodayAccountMargin:
  13874. properties:
  13875. accountid:
  13876. description: 账号ID
  13877. type: integer
  13878. goodsid:
  13879. description: 商品ID
  13880. type: integer
  13881. infoc:
  13882. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  13883. description: 配置参数
  13884. marketid:
  13885. description: 市场ID
  13886. type: integer
  13887. type: object
  13888. models.TjmdTradeOrderDetail:
  13889. properties:
  13890. buyorsell:
  13891. description: 买卖方向 0-买 1-卖
  13892. type: integer
  13893. goodsid:
  13894. description: 商品id
  13895. type: integer
  13896. marketmaxsub:
  13897. description: 市价最大偏移范围 [浮动价 - 点差]
  13898. type: number
  13899. orderid:
  13900. description: 委托单号
  13901. type: string
  13902. orderprice:
  13903. description: 委托价格
  13904. type: number
  13905. orderqty:
  13906. description: 委托数量
  13907. type: integer
  13908. pricemode:
  13909. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  13910. type: integer
  13911. userid:
  13912. description: 用户id
  13913. type: integer
  13914. username:
  13915. description: 用户名称(已脱敏)
  13916. type: string
  13917. type: object
  13918. models.TjmdTransferApply:
  13919. properties:
  13920. applyid:
  13921. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  13922. type: integer
  13923. applystatus:
  13924. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  13925. type: integer
  13926. applytime:
  13927. description: 申请时间(时间)
  13928. type: string
  13929. auditremark:
  13930. description: 审核备注(拒绝原因?)
  13931. type: string
  13932. begindate:
  13933. description: 开始交易日(yyyymmdd)
  13934. type: string
  13935. buyorsell:
  13936. description: 买卖 - 0:买 1:卖
  13937. type: integer
  13938. enddate:
  13939. description: 结束交易日(yyyymmdd)
  13940. type: string
  13941. goodscode:
  13942. description: 商品代码
  13943. type: string
  13944. goodsid:
  13945. description: 商品ID
  13946. type: integer
  13947. goodsname:
  13948. description: 商品名称
  13949. type: string
  13950. marketid:
  13951. description: 市场ID
  13952. type: integer
  13953. qty:
  13954. description: 转让数量(数量)
  13955. type: number
  13956. tradeid:
  13957. description: 成交单号(关联持仓)
  13958. type: string
  13959. transferamount:
  13960. description: 转让总金额(金额)
  13961. type: number
  13962. transferprice:
  13963. description: 转让价格(协议价格)
  13964. type: number
  13965. type: object
  13966. models.TradeHolderDetail:
  13967. properties:
  13968. accountid:
  13969. description: 账号ID
  13970. type: integer
  13971. agreeunit:
  13972. description: 合约乘数
  13973. type: number
  13974. buyorsell:
  13975. description: 方向 - 0:买 1:卖
  13976. type: integer
  13977. currencyid:
  13978. description: 商品币种id
  13979. type: integer
  13980. currencyname:
  13981. description: 币种名称
  13982. type: string
  13983. decimalplace:
  13984. description: 商品价格小数位
  13985. type: integer
  13986. enumdicname:
  13987. description: 商品单位名称
  13988. type: string
  13989. expirecycle:
  13990. description: 行权周期(天) - 1:滚动行权时填写
  13991. type: integer
  13992. expiredate:
  13993. description: 行权日(yyyyMMdd) - 到期日
  13994. type: string
  13995. expiretype:
  13996. description: 行权日类型 - 1:滚动行权 2:固定日行权
  13997. type: integer
  13998. freezeqty:
  13999. description: 冻结数量
  14000. type: number
  14001. goodscode:
  14002. description: 商品代码
  14003. type: string
  14004. goodsid:
  14005. description: 商品ID
  14006. type: integer
  14007. goodsname:
  14008. description: 商品名称
  14009. type: string
  14010. goodunitid:
  14011. description: 商品单位id
  14012. type: integer
  14013. holderamount:
  14014. description: 持仓金额
  14015. type: number
  14016. holdercredit:
  14017. description: 持仓授信金额
  14018. type: number
  14019. holderdays:
  14020. description: 剩余冻结天数
  14021. type: integer
  14022. holderprice:
  14023. description: 持仓价格
  14024. type: number
  14025. holderqty:
  14026. description: 持仓数量
  14027. type: number
  14028. isconfirmexercise:
  14029. description: 是否确认行权- 0:否 1:是
  14030. type: integer
  14031. ispreexercise:
  14032. description: 是否预申报- 0:否 1:是 2:不可行权
  14033. type: integer
  14034. marketid:
  14035. description: 市场id
  14036. type: integer
  14037. marketname:
  14038. description: 市场名称
  14039. type: string
  14040. openprice:
  14041. description: 建仓价格
  14042. type: number
  14043. openqty:
  14044. description: 建仓数量
  14045. type: number
  14046. optiontype:
  14047. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  14048. type: integer
  14049. preexerciseprice:
  14050. description: 预申报价格
  14051. type: number
  14052. premium:
  14053. description: 权利金
  14054. type: number
  14055. qtydecimalplace:
  14056. description: 商品成交量小数位
  14057. type: integer
  14058. refgoodscode:
  14059. description: 标的合约代码
  14060. type: string
  14061. refgoodsid:
  14062. description: 标的合约id
  14063. type: integer
  14064. releaseamount:
  14065. description: 释放持仓金额
  14066. type: number
  14067. releaseholdercredit:
  14068. description: 释放持仓授信金额
  14069. type: number
  14070. taname:
  14071. description: 资金账号名称
  14072. type: string
  14073. tradeamount:
  14074. description: 成交金额
  14075. type: number
  14076. tradedate:
  14077. description: 交易日(yyyyMMdd)
  14078. type: string
  14079. tradeid:
  14080. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14081. type: string
  14082. trademode:
  14083. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期
  14084. type: integer
  14085. tradeproperty:
  14086. description: 交易属性
  14087. type: integer
  14088. tradetime:
  14089. description: 交易时间
  14090. type: string
  14091. userid:
  14092. description: 用户id
  14093. type: integer
  14094. username:
  14095. description: 用户名称
  14096. type: string
  14097. type: object
  14098. models.UserCollectConfig:
  14099. properties:
  14100. accountstatus:
  14101. description: 账户状态 - 1:正常 2:停用 3:注销
  14102. type: integer
  14103. collectaccountname:
  14104. description: 收款人账户名称
  14105. type: string
  14106. collectaccountno:
  14107. description: 收款人账户
  14108. type: string
  14109. collectbankname:
  14110. description: 收款人开户行
  14111. type: string
  14112. collectbranchbankname:
  14113. description: 收款人开户支行
  14114. type: string
  14115. collectconfigid:
  14116. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  14117. type: string
  14118. remark:
  14119. description: 备注
  14120. type: string
  14121. userid:
  14122. description: 收款人用户ID
  14123. type: integer
  14124. type: object
  14125. models.UserReceiveInfo:
  14126. properties:
  14127. address:
  14128. description: 提货人详细地址
  14129. type: string
  14130. autoid:
  14131. description: AutoID
  14132. type: integer
  14133. cardnum:
  14134. description: 证件号码(加密存储)
  14135. type: string
  14136. cardtypeid:
  14137. description: 证件类型
  14138. type: integer
  14139. cityid:
  14140. description: 市
  14141. type: integer
  14142. cityname:
  14143. description: 城市名称
  14144. type: string
  14145. countryid:
  14146. description: 国家
  14147. type: integer
  14148. countryname:
  14149. description: 国家名称
  14150. type: string
  14151. districtid:
  14152. description: 地区
  14153. type: integer
  14154. districtname:
  14155. description: 地区名称
  14156. type: string
  14157. hasencrypt:
  14158. description: 数据是否已加密 - 0:未加密 1:已加密
  14159. type: integer
  14160. isdefault:
  14161. description: 是否默认地址 - 0:否 1:是
  14162. type: integer
  14163. phonenum:
  14164. description: 提货人联系方式(加密存储)
  14165. type: string
  14166. provinceid:
  14167. description: 省
  14168. type: integer
  14169. provincename:
  14170. description: 省名称
  14171. type: string
  14172. receivername:
  14173. description: 提货人姓名
  14174. type: string
  14175. takeremark:
  14176. description: 提货备注
  14177. type: string
  14178. userid:
  14179. description: 用户ID
  14180. type: integer
  14181. type: object
  14182. models.Useraccount:
  14183. properties:
  14184. accountname:
  14185. description: 账户名称(机构名称)
  14186. type: string
  14187. accountstatus:
  14188. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  14189. type: integer
  14190. applysrc:
  14191. description: 申请来源 - 1:管理端 2:终端
  14192. type: integer
  14193. auditremark:
  14194. description: 审核备注
  14195. type: string
  14196. auditsrc:
  14197. description: 审核来源 - 1:管理端 2:终端
  14198. type: integer
  14199. audittime:
  14200. description: 审核时间
  14201. type: string
  14202. audituserid:
  14203. description: 审核人
  14204. type: integer
  14205. broker:
  14206. description: 所属经纪人ID
  14207. type: integer
  14208. canceltime:
  14209. description: 销户时间
  14210. type: string
  14211. canceluserid:
  14212. description: 销户人
  14213. type: integer
  14214. canrecommend:
  14215. description: 是否可推荐 - 0:不可 1;可
  14216. type: integer
  14217. createtime:
  14218. description: 创建时间
  14219. type: string
  14220. creatorid:
  14221. description: 创建人
  14222. type: integer
  14223. hasauth:
  14224. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  14225. type: integer
  14226. isanonymous:
  14227. description: 是否匿名下单 - 0:否 1:是
  14228. type: integer
  14229. maxinvestornum:
  14230. description: 最大用户数(经纪会员下投资者个数)
  14231. type: integer
  14232. memberuserid:
  14233. description: 所属会员ID
  14234. type: integer
  14235. modifierid:
  14236. description: 修改人
  14237. type: integer
  14238. modifyremark:
  14239. description: 变更备注
  14240. type: string
  14241. modifystatus:
  14242. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  14243. type: integer
  14244. modifytime:
  14245. description: 修改时间
  14246. type: string
  14247. parenttopuser:
  14248. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  14249. type: string
  14250. parentuserid:
  14251. description: 所属机构ID
  14252. type: integer
  14253. reckonaccountid:
  14254. description: 默认结算资金账号ID(机构分润使用) 作废
  14255. type: integer
  14256. refercount:
  14257. description: 推荐总人数
  14258. type: integer
  14259. refereeuserid:
  14260. description: 推荐人ID
  14261. type: integer
  14262. refernum:
  14263. description: 推荐码
  14264. type: string
  14265. rootuserid:
  14266. description: 根用户ID
  14267. type: integer
  14268. subaccountlevel:
  14269. description: 子账户层数
  14270. type: integer
  14271. subarealevelpath:
  14272. description: 子机构层级路径(逗号分隔,首尾加逗号)
  14273. type: string
  14274. userid:
  14275. description: 用户ID
  14276. type: integer
  14277. usertype:
  14278. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14279. type: integer
  14280. required:
  14281. - userid
  14282. type: object
  14283. models.Userfavoritegoods:
  14284. properties:
  14285. goodsid:
  14286. description: 商品ID
  14287. type: integer
  14288. required:
  14289. - goodsid
  14290. type: object
  14291. models.Userinfo:
  14292. properties:
  14293. address:
  14294. description: 地址
  14295. type: string
  14296. attachment1:
  14297. description: 附件1
  14298. type: string
  14299. attachment2:
  14300. description: 附件2
  14301. type: string
  14302. bankaccount:
  14303. description: 银行帐号 (加密存储)
  14304. type: string
  14305. bankaccountname:
  14306. description: 收款人名称
  14307. type: string
  14308. bankcardfrontphotourl:
  14309. description: 银行卡正面照地址
  14310. type: string
  14311. bankid:
  14312. description: 银行编码
  14313. type: string
  14314. bankname:
  14315. description: 银行名称
  14316. type: string
  14317. biznature:
  14318. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  14319. type: integer
  14320. bizscope:
  14321. description: 企业经营范围(企业)
  14322. type: string
  14323. cardbackphotourl:
  14324. description: 证件背面图片地址
  14325. type: string
  14326. cardfrontphotourl:
  14327. description: 证件正面图片地址
  14328. type: string
  14329. cardnum:
  14330. description: 证件号码(加密存储)
  14331. type: string
  14332. cardtypeid:
  14333. description: 证件类型ID
  14334. type: integer
  14335. cityid:
  14336. description: 市
  14337. type: integer
  14338. company:
  14339. description: 公司(个人)
  14340. type: string
  14341. contactname:
  14342. description: 联系人
  14343. type: string
  14344. countryid:
  14345. description: 国家
  14346. type: integer
  14347. createtime:
  14348. description: 创建时间
  14349. type: string
  14350. creatorid:
  14351. description: 创建人
  14352. type: integer
  14353. customername:
  14354. description: 客户名称(企业名称)
  14355. type: string
  14356. districtid:
  14357. description: 地区
  14358. type: integer
  14359. email:
  14360. description: 邮件(加密存储)
  14361. type: string
  14362. fax:
  14363. description: 传真(加密存储)
  14364. type: string
  14365. halfbodyphotourl:
  14366. description: 半身照地址
  14367. type: string
  14368. hasencrypt:
  14369. description: 数据是否已加密 - 0:未加密 1:已加密
  14370. type: integer
  14371. headurl:
  14372. description: 头像地址
  14373. type: string
  14374. legalcardbackphotourl:
  14375. description: 法人身份证背面照地址
  14376. type: string
  14377. legalcardfrontphotourl:
  14378. description: 法人身份证正面照地址
  14379. type: string
  14380. legalpersonname:
  14381. description: 法人姓名(企业)
  14382. type: string
  14383. mobile:
  14384. description: 手机号码(加密存储)
  14385. type: string
  14386. mobile2:
  14387. description: 手机号码[明文-尚志]
  14388. type: string
  14389. modifierid:
  14390. description: 修改人
  14391. type: integer
  14392. modifiertime:
  14393. description: 修改时间
  14394. type: string
  14395. needinvoice:
  14396. description: 是否需要发票 - 0:不需要 1:需要
  14397. type: integer
  14398. nickname:
  14399. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  14400. type: string
  14401. openmode:
  14402. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  14403. type: integer
  14404. otherurl:
  14405. description: 其它图片地址[使用分号分隔]
  14406. type: string
  14407. postalcode:
  14408. description: 邮政编码
  14409. type: string
  14410. provinceid:
  14411. description: 省
  14412. type: integer
  14413. qq:
  14414. description: QQ(加密存储
  14415. type: string
  14416. remark:
  14417. description: 备注
  14418. type: string
  14419. sex:
  14420. description: '用户性别 0: 女 1: 男'
  14421. type: integer
  14422. signpdfurl:
  14423. description: 签约pdf文件
  14424. type: string
  14425. telphone:
  14426. description: 联系电话(加密存储)
  14427. type: string
  14428. userid:
  14429. description: 用户ID
  14430. type: integer
  14431. userinfotype:
  14432. description: 用户信息类型 - 1:个人 2:企业
  14433. type: integer
  14434. userstatus:
  14435. description: 用户状态 - 1:正常 2:注销
  14436. type: integer
  14437. usertype:
  14438. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  14439. type: integer
  14440. wechat:
  14441. description: 微信(加密存储)
  14442. type: string
  14443. wskhinfo:
  14444. description: 开户申请信息(JSON)
  14445. type: string
  14446. required:
  14447. - userid
  14448. type: object
  14449. models.WRSConverTDetail:
  14450. properties:
  14451. convertratio:
  14452. description: 套保系数
  14453. type: number
  14454. deliverygoodscode:
  14455. description: 现货商品代码
  14456. type: string
  14457. deliverygoodsid:
  14458. description: 现货品种ID
  14459. type: integer
  14460. deliverygoodsname:
  14461. description: 现货商品名称
  14462. type: string
  14463. enumdicname:
  14464. description: 单位名称
  14465. type: string
  14466. goodsunitid:
  14467. description: 套保品种单位id
  14468. type: integer
  14469. middlegoodscode:
  14470. description: 套保品种代码
  14471. type: string
  14472. middlegoodsid:
  14473. description: 套保品种ID
  14474. type: integer
  14475. middlegoodsname:
  14476. description: 套保品种名称
  14477. type: string
  14478. modifytime:
  14479. description: 修改时间
  14480. type: string
  14481. wrstandardid:
  14482. description: 品类ID
  14483. type: integer
  14484. type: object
  14485. models.WRStandardInfo:
  14486. properties:
  14487. areauserid:
  14488. description: 所属机构
  14489. type: integer
  14490. convertfactor:
  14491. description: 标仓系数
  14492. type: number
  14493. createtime:
  14494. description: 创建时间
  14495. type: string
  14496. creatorid:
  14497. description: 创建人
  14498. type: integer
  14499. deliverygoodsid:
  14500. description: 品种ID
  14501. type: integer
  14502. deliverygoodsname:
  14503. description: 交割商品名称
  14504. type: string
  14505. factoryitemjson:
  14506. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID, 逗号分隔'
  14507. type: string
  14508. isvalid:
  14509. description: 是否有效 - 0:无效 1:有效
  14510. type: integer
  14511. minivalue:
  14512. description: 最小变动值
  14513. type: integer
  14514. minivaluedp:
  14515. description: 最小变动值小数位
  14516. type: integer
  14517. realminivalue:
  14518. description: 实际最小变动值
  14519. type: integer
  14520. realminivaluedp:
  14521. description: 实际最小变动值小数位
  14522. type: integer
  14523. remark:
  14524. description: 备注
  14525. type: string
  14526. unitid:
  14527. description: 单位ID
  14528. type: integer
  14529. unitname:
  14530. description: 单位
  14531. type: string
  14532. updatetime:
  14533. description: 更新时间
  14534. type: string
  14535. updatorid:
  14536. description: 更新人
  14537. type: integer
  14538. wrsstatus:
  14539. description: 状态 - 作废 - 0:未激活 1:正常
  14540. type: integer
  14541. wrstandardcode:
  14542. description: 现货品类代码
  14543. type: string
  14544. wrstandardid:
  14545. description: 现货品类ID(SEQ_WRSTANDARD)
  14546. type: integer
  14547. wrstandardname:
  14548. description: 现货品类名称
  14549. type: string
  14550. required:
  14551. - wrstandardid
  14552. type: object
  14553. models.WRTradeBargainApply:
  14554. properties:
  14555. accountid:
  14556. description: 摘牌资金账号
  14557. type: integer
  14558. applyprice:
  14559. description: 申请价格(议价价格)
  14560. type: string
  14561. applyqty:
  14562. description: 摘牌数量(议价数量)
  14563. type: number
  14564. applyremark:
  14565. description: 申请备注
  14566. type: string
  14567. applystatus:
  14568. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  14569. type: integer
  14570. applytime:
  14571. description: 申请时间(议价时间)
  14572. type: string
  14573. begindate:
  14574. description: 开始交易日(yyyymmdd)
  14575. type: string
  14576. buyorsell:
  14577. description: 买卖(挂牌类型) - 0:买 1:卖
  14578. type: integer
  14579. confirmremark:
  14580. description: 确认备注
  14581. type: string
  14582. confirmtime:
  14583. description: 确认时间
  14584. type: string
  14585. confirmuserid:
  14586. description: 确认人
  14587. type: integer
  14588. deliverygoodscode:
  14589. description: 品种代码
  14590. type: string
  14591. deliverygoodsid:
  14592. description: 品种ID
  14593. type: integer
  14594. deliverygoodsname:
  14595. description: 品种名称
  14596. type: string
  14597. deliverymonth:
  14598. description: 交收月
  14599. type: string
  14600. enddate:
  14601. description: 结束交易日(yyyymmdd)
  14602. type: string
  14603. enumdicname:
  14604. description: 单位名称
  14605. type: string
  14606. fixedprice:
  14607. description: 挂牌价格
  14608. type: number
  14609. handlestatus:
  14610. description: 处理状态
  14611. type: integer
  14612. marginvalue:
  14613. description: 履约保证金比例
  14614. type: number
  14615. marketid:
  14616. description: 市场ID
  14617. type: integer
  14618. matchaccountid:
  14619. description: 挂牌方资金账号
  14620. type: integer
  14621. matchuserid:
  14622. description: 挂牌方用户id
  14623. type: integer
  14624. matchusername:
  14625. description: 挂牌方用户名称(已脱敏)
  14626. type: string
  14627. minivalue:
  14628. description: 现货商品最小变动值
  14629. type: integer
  14630. optioncompare:
  14631. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14632. type: string
  14633. orderqty:
  14634. description: 挂牌数量
  14635. type: integer
  14636. refprice:
  14637. description: 参考价格
  14638. type: string
  14639. retcode:
  14640. description: 委托返回代码
  14641. type: integer
  14642. templatename:
  14643. description: 履约方式(履约模板名称)
  14644. type: string
  14645. tradedate:
  14646. description: 交易日(yyyyMMdd)
  14647. type: string
  14648. userid:
  14649. description: 摘牌人用户ID(议价人ID)
  14650. type: integer
  14651. username:
  14652. description: 议价人名字(已脱敏)
  14653. type: string
  14654. validtime:
  14655. description: 有效期限
  14656. type: string
  14657. warehouseid:
  14658. description: 仓库ID
  14659. type: integer
  14660. warehousename:
  14661. description: 仓库名称
  14662. type: string
  14663. wrbargainid:
  14664. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  14665. type: string
  14666. wrfactortypeid:
  14667. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14668. type: string
  14669. wrfactortypename:
  14670. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14671. type: string
  14672. wrstandardcode:
  14673. description: 现货商品代码
  14674. type: string
  14675. wrstandardid:
  14676. description: 现货商品ID
  14677. type: integer
  14678. wrstandardname:
  14679. description: 商品名称
  14680. type: string
  14681. wrtradeorderid:
  14682. description: 关联委托单ID
  14683. type: string
  14684. wrtypename:
  14685. description: 商品
  14686. type: string
  14687. type: object
  14688. models.Warehouseinfo:
  14689. properties:
  14690. address:
  14691. description: 详细地址
  14692. type: string
  14693. areauserid:
  14694. description: 所属机构
  14695. type: integer
  14696. autoid:
  14697. description: 自增ID
  14698. type: integer
  14699. cityid:
  14700. description: 市
  14701. type: integer
  14702. contactname:
  14703. description: 联系人
  14704. type: string
  14705. contactnum:
  14706. description: 联系电话
  14707. type: string
  14708. countryid:
  14709. description: 国家
  14710. type: integer
  14711. createtime:
  14712. description: 创建时间
  14713. type: string
  14714. districtid:
  14715. description: 区
  14716. type: integer
  14717. hasvideo:
  14718. description: 是否有视频 - 0:无 1:有
  14719. type: integer
  14720. provinceid:
  14721. description: 省
  14722. type: integer
  14723. remark:
  14724. description: 审核备注
  14725. type: string
  14726. videourl:
  14727. description: 视频地址
  14728. type: string
  14729. warehousecode:
  14730. description: 仓库代码
  14731. type: string
  14732. warehousename:
  14733. description: 仓库名称
  14734. type: string
  14735. warehousestatus:
  14736. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  14737. type: integer
  14738. warehousetype:
  14739. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  14740. type: integer
  14741. required:
  14742. - autoid
  14743. - warehousecode
  14744. type: object
  14745. models.WrAverageTradePrice:
  14746. properties:
  14747. averageprice:
  14748. description: 成交均价
  14749. type: number
  14750. tradedate:
  14751. description: 交易日yyyymm
  14752. type: string
  14753. type: object
  14754. models.WrBsGoodsInfo:
  14755. properties:
  14756. buyorsell:
  14757. description: 买卖方向 0-买 1-卖
  14758. type: integer
  14759. goodsid:
  14760. description: 交易合约ID
  14761. type: integer
  14762. lstitem:
  14763. description: 商品信息项
  14764. items:
  14765. $ref: '#/definitions/models.WrTypeItem'
  14766. type: array
  14767. lststep:
  14768. description: 履约规则
  14769. items:
  14770. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14771. type: array
  14772. type: object
  14773. models.WrBuybackDetail:
  14774. properties:
  14775. buybackamount:
  14776. description: 回购金额
  14777. type: number
  14778. buybackqty:
  14779. description: 回购数量
  14780. type: number
  14781. buybackreleasemargin:
  14782. description: 回购释放保证金
  14783. type: number
  14784. buybacktime:
  14785. description: 回购时间
  14786. type: string
  14787. errordesc:
  14788. description: 错误描述
  14789. type: string
  14790. handlestatus:
  14791. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  14792. type: integer
  14793. relatedwrid:
  14794. description: 关联仓单ID
  14795. type: integer
  14796. scfcontractid:
  14797. description: SCF合同ID
  14798. type: string
  14799. scfwrbuybackid:
  14800. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  14801. type: integer
  14802. tradedate:
  14803. description: 交易日(yyyyMMdd)
  14804. type: string
  14805. type: object
  14806. models.WrDeliveryAvalidHoldLB:
  14807. properties:
  14808. accountid:
  14809. description: 资金账号
  14810. type: integer
  14811. avalidqty:
  14812. description: 数量(可点选数量)
  14813. type: number
  14814. deliverygoodsid:
  14815. description: 品种id
  14816. type: integer
  14817. enumdicname:
  14818. description: 单位名称
  14819. type: string
  14820. goodsid:
  14821. description: x合约商品id
  14822. type: integer
  14823. ladingbillid:
  14824. description: 提单id
  14825. type: string
  14826. pgoodscode:
  14827. description: p商品代码(点价合约)
  14828. type: string
  14829. pgoodsid:
  14830. description: p商品id(点价合约)
  14831. type: integer
  14832. pgoodsname:
  14833. description: p商品名称(点价合约)
  14834. type: string
  14835. pricemove:
  14836. description: 升贴水
  14837. type: number
  14838. subnum:
  14839. description: 提单子id
  14840. type: integer
  14841. userid:
  14842. description: 用户id
  14843. type: integer
  14844. username:
  14845. description: 仓单持有人
  14846. type: string
  14847. warehousecode:
  14848. description: 仓库代码
  14849. type: string
  14850. warehouseid:
  14851. description: 仓库id
  14852. type: integer
  14853. warehousename:
  14854. description: 仓库名称
  14855. type: string
  14856. wrfactortypeid:
  14857. description: 仓单要素id
  14858. type: string
  14859. wrstandardcode:
  14860. description: 品代码
  14861. type: string
  14862. wrstandardid:
  14863. description: 品类d
  14864. type: integer
  14865. wrstandardname:
  14866. description: 品类名称
  14867. type: string
  14868. wrtypename:
  14869. description: 商品
  14870. type: string
  14871. xgoodscode:
  14872. description: x合约代码
  14873. type: string
  14874. xgoodsname:
  14875. description: x合约名称
  14876. type: string
  14877. type: object
  14878. models.WrDeliveryDetail:
  14879. properties:
  14880. accountid:
  14881. description: 账号ID
  14882. type: integer
  14883. averageprice:
  14884. description: 交割均价 = 交割金额 / 交割数量
  14885. type: number
  14886. begindate:
  14887. description: 开始交易日(yyyymmdd)
  14888. type: string
  14889. buyorsell:
  14890. description: 方向 - 0:买 1:卖
  14891. type: integer
  14892. deliveryamount:
  14893. description: 货款金额(X总货款+P总货款)
  14894. type: number
  14895. deliveryid:
  14896. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  14897. type: string
  14898. deliveryorderid:
  14899. description: 申报单号
  14900. type: string
  14901. deliverypricemove:
  14902. description: 升贴水(升贴水总额)
  14903. type: number
  14904. deliveryqty:
  14905. description: 交收数量(点选数量)
  14906. type: number
  14907. deliverystatus:
  14908. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  14909. type: integer
  14910. deliverytime:
  14911. description: 交割时间
  14912. type: string
  14913. deliverytotalamount:
  14914. description: 交收金额
  14915. type: number
  14916. enddate:
  14917. description: 结束交易日(yyyymmdd)
  14918. type: string
  14919. enumdicname:
  14920. description: 单位名称
  14921. type: string
  14922. matchaccountid:
  14923. description: 对手账号ID
  14924. type: integer
  14925. matchusername:
  14926. description: 对手方名称(仓单持有人)
  14927. type: string
  14928. p1goodsremainamount:
  14929. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  14930. type: number
  14931. pdeliverycloseqty:
  14932. description: p合约平仓数量
  14933. type: number
  14934. pdeliveryprice:
  14935. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  14936. type: number
  14937. pgoodscode:
  14938. description: 商品代码
  14939. type: string
  14940. pgoodsid:
  14941. description: p点选合约id
  14942. type: integer
  14943. pgoodsname:
  14944. description: 商品名称
  14945. type: string
  14946. ppricemode:
  14947. description: 点价价格方式 - 1:商品价 2:固定值
  14948. type: integer
  14949. tradedate:
  14950. description: 交易日(yyyymmdd)
  14951. type: string
  14952. userid:
  14953. description: 用户id
  14954. type: integer
  14955. username:
  14956. description: 用户名称
  14957. type: string
  14958. warehousename:
  14959. description: 仓库名称
  14960. type: string
  14961. wrfactortypeid:
  14962. description: 仓单要素类型ID
  14963. type: string
  14964. wrtypename:
  14965. description: 商品
  14966. type: string
  14967. xdeliverycloseqty:
  14968. description: 合约数量
  14969. type: number
  14970. xgoodsamount:
  14971. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  14972. type: number
  14973. xgoodscode:
  14974. description: 商品代码
  14975. type: string
  14976. xgoodsid:
  14977. description: x交易合约ID
  14978. type: integer
  14979. xgoodsname:
  14980. description: 商品名称
  14981. type: string
  14982. type: object
  14983. models.WrDeliveryGoodsSection:
  14984. properties:
  14985. dglst:
  14986. description: 板块商品列表
  14987. items:
  14988. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  14989. type: array
  14990. imagepath:
  14991. description: 图片地址
  14992. type: string
  14993. orderindex:
  14994. description: 排序
  14995. type: integer
  14996. sectionid:
  14997. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数
  14998. type: integer
  14999. sectionname:
  15000. description: 版块名称
  15001. type: string
  15002. sectiontype:
  15003. description: 版块类型 - 1:指数版块 2:普通版块
  15004. type: integer
  15005. type: object
  15006. models.WrDeliveryGoodsSectionConfig:
  15007. properties:
  15008. deliverygoodscode:
  15009. description: 现货商品代码
  15010. type: string
  15011. deliverygoodsid:
  15012. description: 现货品种ID(SEQ_DELIVERYGOODS)
  15013. type: integer
  15014. deliverygoodsname:
  15015. description: 现货商品名称
  15016. type: string
  15017. orderindex:
  15018. description: 排序
  15019. type: integer
  15020. type: object
  15021. models.WrFAProductDetail:
  15022. properties:
  15023. accountid:
  15024. description: 资金账号
  15025. type: integer
  15026. areauserid:
  15027. description: 金融机构ID
  15028. type: integer
  15029. financingdays:
  15030. description: 天数(天)
  15031. type: integer
  15032. interestminlen:
  15033. description: 最小起息天数
  15034. type: integer
  15035. interestrate:
  15036. description: 利率
  15037. type: number
  15038. interestratemode:
  15039. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15040. type: integer
  15041. interestsettlemode:
  15042. description: 结息方式 - 1:按日结息 3:按月结息
  15043. type: integer
  15044. interestsettlevalue:
  15045. description: 结息方式值
  15046. type: integer
  15047. isautoloan:
  15048. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  15049. type: integer
  15050. loantag:
  15051. description: '放款标识: "放款快" 或者为空'
  15052. type: string
  15053. marginratio:
  15054. description: 保证金比率质押率 - [仓单质押]
  15055. type: number
  15056. productdetailid:
  15057. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  15058. type: integer
  15059. productid:
  15060. description: 金融产品ID
  15061. type: integer
  15062. productname:
  15063. description: 产品名称
  15064. type: string
  15065. updatetime:
  15066. description: 更新时间
  15067. type: string
  15068. username:
  15069. description: 融出方
  15070. type: string
  15071. type: object
  15072. models.WrFactorTypeInfo:
  15073. properties:
  15074. deliverygoodscode:
  15075. description: 品种代码
  15076. type: string
  15077. deliverygoodsname:
  15078. description: 品种名称
  15079. type: string
  15080. dgfactoryitemid:
  15081. description: 选择项id
  15082. type: integer
  15083. dgfactoryitemtypeid:
  15084. description: 要素选择项ID (1-仓库 2-品牌)
  15085. type: integer
  15086. dgfactoryitemvalue:
  15087. description: 要素项值
  15088. type: string
  15089. itemtypename:
  15090. description: 要素项名称
  15091. type: string
  15092. optioncompare:
  15093. description: 选择比较串
  15094. type: string
  15095. warehouseid:
  15096. description: 仓库id
  15097. type: integer
  15098. wrfactortypeid:
  15099. description: 仓单要素ID
  15100. type: string
  15101. wrfactortypename:
  15102. description: 要素名称
  15103. type: string
  15104. wrfactortypename2:
  15105. description: 要素名称(不含仓库)
  15106. type: string
  15107. wrstandardcode:
  15108. description: 品类代码
  15109. type: string
  15110. wrstandardid:
  15111. description: 品类id
  15112. type: integer
  15113. wrstandardname:
  15114. description: 品类名称
  15115. type: string
  15116. type: object
  15117. models.WrFilterItem:
  15118. properties:
  15119. itemcode:
  15120. description: 代码
  15121. type: string
  15122. itemid:
  15123. description: 项id
  15124. type: integer
  15125. itemname:
  15126. description: 名称
  15127. type: string
  15128. itemtype:
  15129. description: 类型 1-品种 2-品类(商品) 3-仓库
  15130. type: integer
  15131. type: object
  15132. models.WrFinanceBuyApply:
  15133. properties:
  15134. applydate:
  15135. description: 申请时间
  15136. type: string
  15137. applystatus:
  15138. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  15139. type: integer
  15140. applyuserid:
  15141. description: 申请人
  15142. type: integer
  15143. auditdate:
  15144. description: 审核时间
  15145. type: string
  15146. auditremark:
  15147. description: 审核备注
  15148. type: string
  15149. audituserid:
  15150. description: 审核人
  15151. type: integer
  15152. buyaccountid:
  15153. description: 买方资金账号
  15154. type: integer
  15155. buyorsell:
  15156. description: 买卖 - 0:买 1:卖
  15157. type: integer
  15158. buyuserid:
  15159. description: 买方用户ID
  15160. type: integer
  15161. buyusername:
  15162. description: 买方名称
  15163. type: string
  15164. buywrtradeorderid:
  15165. description: 融资方买委托单ID
  15166. type: string
  15167. deliverygoodscode:
  15168. description: 品种代码
  15169. type: string
  15170. deliverygoodsid:
  15171. description: 品种ID
  15172. type: integer
  15173. deliverygoodsname:
  15174. description: 品种名称
  15175. type: string
  15176. deliverymonth:
  15177. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  15178. type: string
  15179. enumdicname:
  15180. description: 单位名称
  15181. type: string
  15182. financeaccountid:
  15183. description: 融资方资金帐户ID
  15184. type: integer
  15185. financeapplyid:
  15186. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15187. type: string
  15188. financeareauserid:
  15189. description: 融资方用户ID
  15190. type: string
  15191. financename:
  15192. description: 融出方名称
  15193. type: string
  15194. financetype:
  15195. description: 融资类型 1-融资回购
  15196. type: integer
  15197. financingdays:
  15198. description: 天数(天)
  15199. type: integer
  15200. freezebuymargin:
  15201. description: 冻结融资保证金(买方)
  15202. type: number
  15203. handleremark:
  15204. description: 处理备注
  15205. type: string
  15206. handlestatus:
  15207. description: 处理状态
  15208. type: integer
  15209. interestminlen:
  15210. description: 最小起息天数
  15211. type: integer
  15212. interestrate:
  15213. description: 利率
  15214. type: number
  15215. interestratemode:
  15216. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15217. type: integer
  15218. interestsettlemode:
  15219. description: 结息方式 - 1:按日结息 3:按月结息
  15220. type: integer
  15221. interestsettlevalue:
  15222. description: 结息方式值
  15223. type: integer
  15224. isautoloan:
  15225. description: 是否自动放款 - 0:手动 1:自动
  15226. type: integer
  15227. marginratio:
  15228. description: 保证金比率质押率 - [仓单质押]
  15229. type: number
  15230. marketid:
  15231. description: 市场ID
  15232. type: integer
  15233. minivalue:
  15234. description: 现货商品最小变动值
  15235. type: integer
  15236. optioncompare:
  15237. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15238. type: string
  15239. orderqty:
  15240. description: 委托数量(商品数量)
  15241. type: number
  15242. productdetailid:
  15243. description: 产品组合ID
  15244. type: integer
  15245. productid:
  15246. description: 金融产品ID
  15247. type: integer
  15248. productname:
  15249. description: 产品名称
  15250. type: string
  15251. remark:
  15252. description: 备注
  15253. type: string
  15254. scfcontractid:
  15255. description: 仓单回购合同ID
  15256. type: string
  15257. sellaccountid:
  15258. description: 卖方资金账号
  15259. type: integer
  15260. selluserid:
  15261. description: 卖方用户ID
  15262. type: integer
  15263. sellwrtradeorderid:
  15264. description: 卖方委托单ID
  15265. type: string
  15266. tradeamount:
  15267. description: 成交金额(借款金额)
  15268. type: number
  15269. tradedate:
  15270. description: 交易日(yyyyMMdd)
  15271. type: string
  15272. tradeprice:
  15273. description: 成交价格
  15274. type: number
  15275. warehouseid:
  15276. description: 仓库ID
  15277. type: integer
  15278. warehousename:
  15279. description: 仓库名称
  15280. type: string
  15281. wrfactortypeid:
  15282. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15283. type: string
  15284. wrfactortypename:
  15285. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15286. type: string
  15287. wrpricetype:
  15288. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  15289. type: integer
  15290. wrstandardcode:
  15291. description: 现货商品代码
  15292. type: string
  15293. wrstandardid:
  15294. description: 现货商品ID
  15295. type: integer
  15296. wrstandardname:
  15297. description: 商品名称
  15298. type: string
  15299. wrtypename:
  15300. description: 商品
  15301. type: string
  15302. type: object
  15303. models.WrFriendApply:
  15304. properties:
  15305. applicantid:
  15306. description: 申请人
  15307. type: integer
  15308. applyname:
  15309. description: 申请人名称
  15310. type: string
  15311. applysrc:
  15312. description: 申请来源 - 1:管理端 2:终端
  15313. type: integer
  15314. applystatus:
  15315. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15316. type: integer
  15317. applytime:
  15318. description: 申请时间
  15319. type: string
  15320. auditname:
  15321. description: 审核人名称
  15322. type: string
  15323. auditorid:
  15324. description: 审核人
  15325. type: integer
  15326. auditremark:
  15327. description: 审核备注
  15328. type: string
  15329. auditsrc:
  15330. description: 审核来源 - 1:管理端 2:终端
  15331. type: integer
  15332. audittime:
  15333. description: 审核时间
  15334. type: string
  15335. friendapplyid:
  15336. description: 申请ID(SEQ_FRIENDAPPLY)
  15337. type: string
  15338. friendname:
  15339. description: 好友名字(已脱敏)
  15340. type: string
  15341. frienduserid:
  15342. description: 好友用户ID
  15343. type: string
  15344. remark:
  15345. description: 备注
  15346. type: string
  15347. userid:
  15348. description: 申请人用户ID
  15349. type: integer
  15350. type: object
  15351. models.WrFtDeliveryGoods:
  15352. properties:
  15353. deliverygoodscode:
  15354. description: 品种代码
  15355. type: string
  15356. deliverygoodsid:
  15357. description: 品种ID
  15358. type: integer
  15359. deliverygoodsname:
  15360. description: 品种名称
  15361. type: string
  15362. wdlst:
  15363. description: 商品列表
  15364. items:
  15365. $ref: '#/definitions/models.WrFtWrstandard'
  15366. type: array
  15367. type: object
  15368. models.WrFtWrstandard:
  15369. properties:
  15370. enumdicname:
  15371. description: 单位名称
  15372. type: string
  15373. minivalue:
  15374. description: 最小变动值
  15375. type: integer
  15376. wrstandardcode:
  15377. description: 现货商品代码
  15378. type: string
  15379. wrstandardid:
  15380. description: 现货商品ID
  15381. type: integer
  15382. wrstandardname:
  15383. description: 商品名称
  15384. type: string
  15385. type: object
  15386. models.WrGoodsInfo:
  15387. properties:
  15388. haswr:
  15389. description: 0:仓单预售 1:仓单贸易
  15390. type: integer
  15391. lstitem:
  15392. description: 商品信息项
  15393. items:
  15394. $ref: '#/definitions/models.WrTypeItem'
  15395. type: array
  15396. lststep:
  15397. description: 履约规则
  15398. items:
  15399. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15400. type: array
  15401. marketid:
  15402. description: 市场id
  15403. type: integer
  15404. type: object
  15405. models.WrGoodsPerformanceStep:
  15406. properties:
  15407. autoid:
  15408. description: AutoID
  15409. type: integer
  15410. isauto:
  15411. description: 是否自动 - 0:不自动 1:自动
  15412. type: integer
  15413. remark:
  15414. description: 备注
  15415. type: string
  15416. stepdate:
  15417. description: 天数信息(T+N)
  15418. type: string
  15419. stepdays:
  15420. description: 距离上一步天数
  15421. type: integer
  15422. stepindex:
  15423. description: 步骤序号
  15424. type: integer
  15425. stepinfo:
  15426. description: 步骤信息(步骤名称+步骤值)
  15427. type: string
  15428. steptypeid:
  15429. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15430. type: integer
  15431. steptypename:
  15432. description: 步骤名称
  15433. type: string
  15434. stepvalue:
  15435. description: 步骤值
  15436. type: number
  15437. templateid:
  15438. description: 履约计划模板ID
  15439. type: integer
  15440. type: object
  15441. models.WrHoldLB:
  15442. properties:
  15443. accountid:
  15444. description: 持有人帐户ID
  15445. type: integer
  15446. createtime:
  15447. description: 创建时间(过户时间)
  15448. type: string
  15449. deliverygoodscode:
  15450. description: 品种代码
  15451. type: string
  15452. deliverygoodsid:
  15453. description: 品种ID
  15454. type: integer
  15455. deliverygoodsname:
  15456. description: 品种名称
  15457. type: string
  15458. enableqty:
  15459. description: 可用数量
  15460. type: number
  15461. enumdicname:
  15462. description: 单位名称
  15463. type: string
  15464. freezerqty:
  15465. description: 冻结数量
  15466. type: number
  15467. ladingbillid:
  15468. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15469. type: string
  15470. minivalue:
  15471. description: 现货商品最小变动值
  15472. type: integer
  15473. optioncompare:
  15474. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15475. type: string
  15476. parentsubnum:
  15477. description: 拆分父子单号
  15478. type: integer
  15479. pledgeqty:
  15480. description: 质押数量
  15481. type: number
  15482. qty:
  15483. description: 数量
  15484. type: number
  15485. subnum:
  15486. description: 提单子单号
  15487. type: integer
  15488. tradedate:
  15489. description: 交易日(yyyyMMdd)
  15490. type: string
  15491. userid:
  15492. description: 持有人ID
  15493. type: integer
  15494. warehouseid:
  15495. description: 仓库ID
  15496. type: integer
  15497. warehousename:
  15498. description: 仓库名称
  15499. type: string
  15500. wrfactortypeid:
  15501. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15502. type: string
  15503. wrfactortypename:
  15504. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15505. type: string
  15506. wrholdeno:
  15507. description: 仓单编号
  15508. type: string
  15509. wrid:
  15510. description: 仓单变更ID
  15511. type: string
  15512. wrstandardcode:
  15513. description: 现货商品代码
  15514. type: string
  15515. wrstandardid:
  15516. description: 现货商品ID
  15517. type: integer
  15518. wrstandardname:
  15519. description: 商品名称
  15520. type: string
  15521. wrtypename:
  15522. description: 商品
  15523. type: string
  15524. type: object
  15525. models.WrMarketTradeConfig:
  15526. properties:
  15527. basisdownratio:
  15528. description: 浮动价基差下限比例(仓单贸易)
  15529. type: number
  15530. basisupratio:
  15531. description: 浮动价基差上限比例(仓单贸易)
  15532. type: number
  15533. buychargealgorithm:
  15534. description: 买方手续费收取方式 1:比率 2:固定
  15535. type: integer
  15536. buychargealgorithm2:
  15537. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  15538. type: integer
  15539. buychargealgorithmvalue:
  15540. description: 买方手续费设置值(交易所部分)
  15541. type: number
  15542. buychargealgorithmvalue2:
  15543. description: 买方手续费设置值(会员部分)
  15544. type: number
  15545. buychargealgorithmvalue3:
  15546. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  15547. type: number
  15548. buychargealgorithmvalue4:
  15549. description: 回购买方手续费设置值(会员部分) --77:现货商城
  15550. type: number
  15551. buyfirstmarginalgorithm:
  15552. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  15553. type: integer
  15554. buyfirstmarginvalue:
  15555. description: 买方出价保证金设置值 - [竞拍]
  15556. type: number
  15557. buymarginalgorithm:
  15558. description: 买方保证金方式 - 1:比率 2:固定
  15559. type: integer
  15560. buymarginvalue:
  15561. description: 买方保证金设置值
  15562. type: number
  15563. buyreleaseratio:
  15564. description: 买方释放比率[2:分步履约]
  15565. type: number
  15566. executemode:
  15567. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  15568. type: integer
  15569. executeside:
  15570. description: 执行方[2:分步履约] - 1:买方 2:卖方
  15571. type: integer
  15572. failedchargealgorithm:
  15573. description: 流拍手续费收取方式 1:比率 2:固定
  15574. type: integer
  15575. failedchargevalue:
  15576. description: 流拍手续费设置值
  15577. type: number
  15578. failedchargevalue2:
  15579. description: 流拍卖方手续费设置值
  15580. type: number
  15581. holddays:
  15582. description: 合同期限[2:分步履约]
  15583. type: integer
  15584. marketid:
  15585. description: 市场ID-仓单贸易、竞拍、预售
  15586. type: integer
  15587. minqty:
  15588. description: 最小执行量[2:分步履约]
  15589. type: number
  15590. modifierid:
  15591. description: 修改人
  15592. type: integer
  15593. performancetempid:
  15594. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)
  15595. type: integer
  15596. performancetempid2:
  15597. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行
  15598. type: integer
  15599. performancetempid2s:
  15600. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行
  15601. type: string
  15602. performancetempids:
  15603. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)
  15604. type: string
  15605. performanceway:
  15606. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  15607. type: integer
  15608. sellchargealgorithm:
  15609. description: 卖方手续费收取方式 1:比率 2:固定
  15610. type: integer
  15611. sellchargealgorithm2:
  15612. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  15613. type: integer
  15614. sellchargealgorithmvalue:
  15615. description: 卖方手续费设置值(交易所部分)
  15616. type: number
  15617. sellchargealgorithmvalue2:
  15618. description: 卖方手续费设置值(会员部分)
  15619. type: number
  15620. sellchargealgorithmvalue3:
  15621. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  15622. type: number
  15623. sellchargealgorithmvalue4:
  15624. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  15625. type: number
  15626. sellmarginalgorithm:
  15627. description: 卖方保证金方式 - 1:比率 2:固定
  15628. type: integer
  15629. sellmarginvalue:
  15630. description: 卖方保证金设置值
  15631. type: number
  15632. sellmarginvalue2:
  15633. description: 卖方保证金设置值(无仓单)
  15634. type: number
  15635. sellreleaseratio:
  15636. description: 卖方释放比率[2:分步履约]
  15637. type: number
  15638. updatetime:
  15639. description: 更新时间
  15640. type: string
  15641. type: object
  15642. models.WrOrderDetail:
  15643. properties:
  15644. accountid:
  15645. description: 交易账号(资金账号)
  15646. type: integer
  15647. allfriendsflag:
  15648. description: 是否全好友可见 - 0:否 1:是
  15649. type: integer
  15650. amount:
  15651. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  15652. type: number
  15653. begindate:
  15654. description: 开始交易日(yyyymmdd)
  15655. type: string
  15656. buyorsell:
  15657. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15658. type: integer
  15659. canbargain:
  15660. description: 是否可议价 - 0:不可 1:可
  15661. type: integer
  15662. cancelqty:
  15663. description: 撤销数量
  15664. type: number
  15665. canpart:
  15666. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  15667. type: integer
  15668. delistminqty:
  15669. description: 起摘数量
  15670. type: integer
  15671. deliverygoodscode:
  15672. description: 品种代码
  15673. type: string
  15674. deliverygoodsid:
  15675. description: 品种ID
  15676. type: integer
  15677. deliverygoodsname:
  15678. description: 品种名称
  15679. type: string
  15680. deliverymonth:
  15681. description: 交收月
  15682. type: string
  15683. enddate:
  15684. description: 结束交易日(yyyymmdd)
  15685. type: string
  15686. enumdicname:
  15687. description: 单位名称
  15688. type: string
  15689. fixedprice:
  15690. description: 固定价格 - [挂牌]
  15691. type: number
  15692. freezecharge:
  15693. description: 冻结手续费
  15694. type: number
  15695. freezemargin:
  15696. description: 冻结保证金(保证金)
  15697. type: number
  15698. futupricemove:
  15699. description: 期货升贴水
  15700. type: number
  15701. futushow:
  15702. description: 期货合约/升贴水
  15703. type: string
  15704. goodscode:
  15705. description: 期货合约
  15706. type: string
  15707. goodsid:
  15708. description: 期货商品id
  15709. type: integer
  15710. goodsname:
  15711. description: 商品名称
  15712. type: string
  15713. haswr:
  15714. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15715. type: integer
  15716. isspecified:
  15717. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  15718. type: integer
  15719. ladingbillid:
  15720. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15721. type: string
  15722. marginvalue:
  15723. description: 保证金设置值(履约保证金)
  15724. type: number
  15725. marketid:
  15726. description: 市场ID
  15727. type: integer
  15728. matchusername:
  15729. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  15730. type: string
  15731. minivalue:
  15732. description: 现货商品最小变动值
  15733. type: integer
  15734. optioncompare:
  15735. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15736. type: string
  15737. orderqty:
  15738. description: 委托数量
  15739. type: number
  15740. ordertime:
  15741. description: 委托时间(挂牌时间)
  15742. type: string
  15743. performancetemplateid:
  15744. description: 履约模板id
  15745. type: integer
  15746. pricemove:
  15747. description: 升贴水(浮动价时填写) - [挂牌]
  15748. type: number
  15749. taname:
  15750. description: 交易用户名称(资金账号名称)
  15751. type: string
  15752. tradedate:
  15753. description: 交易日(yyyyMMdd)
  15754. type: string
  15755. tradeprice:
  15756. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  15757. type: number
  15758. tradeqty:
  15759. description: 成交数量
  15760. type: number
  15761. userid:
  15762. description: 用户ID
  15763. type: integer
  15764. validtime:
  15765. description: 挂牌有效期
  15766. type: string
  15767. validtype:
  15768. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  15769. type: integer
  15770. warehouseid:
  15771. description: 仓库ID
  15772. type: integer
  15773. warehousename:
  15774. description: 仓库名称
  15775. type: string
  15776. wrfactortypeid:
  15777. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15778. type: string
  15779. wrfactortypename:
  15780. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15781. type: string
  15782. wrpricetype:
  15783. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15784. type: integer
  15785. wrstandardcode:
  15786. description: 现货商品代码
  15787. type: string
  15788. wrstandardid:
  15789. description: 现货商品ID
  15790. type: integer
  15791. wrstandardname:
  15792. description: 商品名称
  15793. type: string
  15794. wrtradeorderid:
  15795. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15796. type: string
  15797. wrtradeorderstatus:
  15798. 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:撤单解冻贷款失败
  15799. type: integer
  15800. wrtradetype:
  15801. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15802. type: integer
  15803. wrtypename:
  15804. description: 商品
  15805. type: string
  15806. type: object
  15807. models.WrOrderQuote:
  15808. properties:
  15809. buyprice:
  15810. description: 买价
  15811. type: number
  15812. buypricemove:
  15813. description: 买升贴水(基差)
  15814. type: number
  15815. buyqty:
  15816. description: 买量
  15817. type: number
  15818. deliverygoodscode:
  15819. description: 品种代码
  15820. type: string
  15821. deliverygoodsid:
  15822. description: 品种id
  15823. type: integer
  15824. deliverygoodsname:
  15825. description: 品种名称
  15826. type: string
  15827. deliverymonth:
  15828. description: 交收月
  15829. type: string
  15830. enumdicname:
  15831. description: 单位名称
  15832. type: string
  15833. goodscode:
  15834. description: 商品合约(浮动价列表才有)
  15835. type: string
  15836. goodsid:
  15837. description: 商品id(浮动价列表才有)
  15838. type: integer
  15839. minivalue:
  15840. description: 现货商品最小变动值
  15841. type: integer
  15842. sellprice:
  15843. description: 卖价
  15844. type: number
  15845. sellpricemove:
  15846. description: 卖升贴水(基差)
  15847. type: number
  15848. sellqty:
  15849. description: 卖量
  15850. type: number
  15851. warehousecode:
  15852. description: 仓库代码
  15853. type: string
  15854. warehouseid:
  15855. description: 仓库id
  15856. type: integer
  15857. warehousename:
  15858. description: 仓库名称
  15859. type: string
  15860. wrfactortypeid:
  15861. description: 仓单要素id
  15862. type: string
  15863. wrfactortypename:
  15864. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15865. type: string
  15866. wrgoodsname:
  15867. description: 商品(商品名称+仓库要素名称 拼接)
  15868. type: string
  15869. wrstandardcode:
  15870. description: 商品代码
  15871. type: string
  15872. wrstandardid:
  15873. description: 商品id
  15874. type: integer
  15875. wrstandardname:
  15876. description: 商品名称
  15877. type: string
  15878. type: object
  15879. models.WrOrderQuoteDetail:
  15880. properties:
  15881. buyorsell:
  15882. description: 买卖 - 0:买 1:卖
  15883. type: integer
  15884. delistminqty:
  15885. description: 起摘数量
  15886. type: number
  15887. deliverymonth:
  15888. description: 交收月
  15889. type: string
  15890. enumdicname:
  15891. description: 单位名称
  15892. type: string
  15893. fixedprice:
  15894. description: 买(卖)价
  15895. type: number
  15896. marketid:
  15897. description: 市场id
  15898. type: integer
  15899. minivalue:
  15900. description: 现货商品最小变动值
  15901. type: integer
  15902. orderqty:
  15903. description: 买(卖)量(=委托量-成交量)
  15904. type: number
  15905. ordertime:
  15906. description: 委托时间
  15907. type: string
  15908. pricemove:
  15909. description: 买(卖)升贴水- 基差
  15910. type: number
  15911. userid:
  15912. description: 购买方(销售方)用户ID
  15913. type: integer
  15914. username:
  15915. description: 购买方(销售方)
  15916. type: string
  15917. wrtradeorderid:
  15918. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15919. type: string
  15920. type: object
  15921. models.WrOutInApply:
  15922. properties:
  15923. applyid:
  15924. description: 申请单id
  15925. type: string
  15926. applystatus:
  15927. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  15928. type: integer
  15929. applytime:
  15930. description: 申请时间
  15931. type: string
  15932. applytype:
  15933. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  15934. type: integer
  15935. begindate:
  15936. description: 开始交易日(yyyymmdd)
  15937. type: string
  15938. deliverygoodscode:
  15939. description: 品种代码
  15940. type: string
  15941. deliverygoodsid:
  15942. description: 品种ID
  15943. type: integer
  15944. deliverygoodsname:
  15945. description: 品种名称
  15946. type: string
  15947. enddate:
  15948. description: 结束交易日(yyyymmdd)
  15949. type: string
  15950. enumdicname:
  15951. description: 单位名称
  15952. type: string
  15953. expresscompany:
  15954. description: 物流公司
  15955. type: string
  15956. expressnum:
  15957. description: 物流单号
  15958. type: string
  15959. minivalue:
  15960. description: 现货商品最小变动值
  15961. type: integer
  15962. optioncompare:
  15963. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15964. type: string
  15965. qty:
  15966. description: 数量
  15967. type: integer
  15968. userid:
  15969. description: 用户id
  15970. type: integer
  15971. warehouseid:
  15972. description: 仓库ID
  15973. type: integer
  15974. warehousename:
  15975. description: 仓库名称
  15976. type: string
  15977. wrfactortypeid:
  15978. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15979. type: string
  15980. wrfactortypename:
  15981. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15982. type: string
  15983. wrstandardcode:
  15984. description: 现货商品代码
  15985. type: string
  15986. wrstandardid:
  15987. description: 现货商品ID
  15988. type: integer
  15989. wrstandardname:
  15990. description: 商品名称
  15991. type: string
  15992. wrtypename:
  15993. description: 商品
  15994. type: string
  15995. type: object
  15996. models.WrPerformancePlan:
  15997. properties:
  15998. activatemonth:
  15999. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  16000. type: string
  16001. amount:
  16002. description: 履约金额(总金额)
  16003. type: number
  16004. begindate:
  16005. description: 开始交易日(yyyymmdd)
  16006. type: string
  16007. buyaccountid:
  16008. description: 买方账号
  16009. type: integer
  16010. buyerfreezeamount:
  16011. description: 履约冻结(买履约)
  16012. type: number
  16013. buyerfreezeamountremain:
  16014. description: 履约冻结剩余(买履约)
  16015. type: number
  16016. buyorsell:
  16017. description: 买卖方向 0-买 1-卖
  16018. type: integer
  16019. buypaidamount:
  16020. description: 买方已冻/已扣金额 (已付金额)
  16021. type: number
  16022. buyusername:
  16023. description: 买方名字
  16024. type: string
  16025. contractid:
  16026. description: 合同ID
  16027. type: integer
  16028. createtime:
  16029. description: 创建时间
  16030. type: string
  16031. creatorid:
  16032. description: 创建人
  16033. type: integer
  16034. curstepdeadline:
  16035. description: 当前步骤到期时间
  16036. type: string
  16037. curstepid:
  16038. description: 当前步骤ID
  16039. type: string
  16040. curstepname:
  16041. description: 当前步骤名称
  16042. type: string
  16043. deliverygoodscode:
  16044. description: 品种代码
  16045. type: string
  16046. deliverygoodsid:
  16047. description: 品种ID
  16048. type: integer
  16049. deliverygoodsname:
  16050. description: 品种名称
  16051. type: string
  16052. enddate:
  16053. description: 结束交易日(yyyymmdd)
  16054. type: string
  16055. enumdicname:
  16056. description: 单位名称
  16057. type: string
  16058. expressfee:
  16059. description: 运费
  16060. type: number
  16061. expressfeeconfirmed:
  16062. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  16063. type: integer
  16064. hasovershort:
  16065. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  16066. type: integer
  16067. haswr:
  16068. description: 类型 0-仓单预售 1-仓单贸易
  16069. type: integer
  16070. marketid:
  16071. description: 市场ID
  16072. type: integer
  16073. middleaccountid:
  16074. description: 中间商资金账号ID
  16075. type: integer
  16076. middleuserid:
  16077. description: 中间商用户ID
  16078. type: integer
  16079. minivalue:
  16080. description: 现货商品最小变动值
  16081. type: integer
  16082. optioncompare:
  16083. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16084. type: string
  16085. overshortamount:
  16086. description: 溢短金额
  16087. type: number
  16088. overshortqty:
  16089. description: 溢短数量
  16090. type: number
  16091. paymenttype:
  16092. description: 付款方式 - 1:冻结 2:扣款
  16093. type: integer
  16094. performanceplanid:
  16095. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  16096. type: string
  16097. performancestatus:
  16098. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭
  16099. type: integer
  16100. performancetype:
  16101. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  16102. type: integer
  16103. qty:
  16104. description: 履约数量
  16105. type: number
  16106. relatedorderid:
  16107. description: 关联单号(履约类型的关联单号)
  16108. type: string
  16109. remark:
  16110. description: 备注
  16111. type: string
  16112. sellaccountid:
  16113. description: 卖方账号
  16114. type: integer
  16115. sellerfreezeamount:
  16116. description: 履约冻结(卖履约)
  16117. type: number
  16118. sellerfreezeamountremain:
  16119. description: 履约冻结剩余(卖履约)
  16120. type: number
  16121. sellreceivedamount:
  16122. description: 卖方已收金额
  16123. type: number
  16124. sellusername:
  16125. description: 卖方名字
  16126. type: string
  16127. shipremark:
  16128. description: 发货备注[物流单号]
  16129. type: string
  16130. starttime:
  16131. description: 开始时间
  16132. type: string
  16133. steptypeid:
  16134. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16135. type: integer
  16136. typename:
  16137. description: 履约类型 名称
  16138. type: string
  16139. unpaidamount:
  16140. description: 剩余款(待支付金额)
  16141. type: number
  16142. userid:
  16143. description: 用户id
  16144. type: integer
  16145. warehouseid:
  16146. description: 仓库ID
  16147. type: integer
  16148. warehousename:
  16149. description: 仓库名称
  16150. type: string
  16151. wrfactortypeid:
  16152. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16153. type: string
  16154. wrfactortypename:
  16155. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16156. type: string
  16157. wrstandardcode:
  16158. description: 现货商品代码
  16159. type: string
  16160. wrstandardid:
  16161. description: 现货商品ID
  16162. type: integer
  16163. wrstandardname:
  16164. description: 商品名称
  16165. type: string
  16166. wrtransferuserid:
  16167. description: 仓单受让用户
  16168. type: integer
  16169. wrtypename:
  16170. description: 商品
  16171. type: string
  16172. required:
  16173. - userid
  16174. type: object
  16175. models.WrPerformancePlanStep:
  16176. properties:
  16177. delaydays:
  16178. description: 延期申请天数
  16179. type: integer
  16180. deliverygoodscode:
  16181. description: 品种代码
  16182. type: string
  16183. deliverygoodsid:
  16184. description: 品种ID
  16185. type: integer
  16186. deliverygoodsname:
  16187. description: 品种名称
  16188. type: string
  16189. endtime:
  16190. description: 结束日期
  16191. type: string
  16192. enumdicname:
  16193. description: 单位名称
  16194. type: string
  16195. executeside:
  16196. description: 步骤执行方 - 1:买方 2:卖方
  16197. type: integer
  16198. handlestatus:
  16199. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  16200. type: integer
  16201. isauto:
  16202. description: 是否自动 - 0:不自动 1:自动
  16203. type: integer
  16204. islastreceivestep:
  16205. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  16206. type: integer
  16207. minivalue:
  16208. description: 现货商品最小变动值
  16209. type: integer
  16210. optioncompare:
  16211. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16212. type: string
  16213. overdays:
  16214. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  16215. type: integer
  16216. performancestepid:
  16217. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  16218. type: string
  16219. planid:
  16220. description: 所属履约计划ID
  16221. type: string
  16222. realamount:
  16223. description: 实际完成金额
  16224. type: number
  16225. relatedorderid:
  16226. description: 关联单号
  16227. type: string
  16228. remaindays:
  16229. description: 剩余天数
  16230. type: integer
  16231. remark:
  16232. description: 错误备注
  16233. type: string
  16234. starttime:
  16235. description: 开始日期
  16236. type: string
  16237. stepamount:
  16238. description: 步骤金额
  16239. type: number
  16240. stepdays:
  16241. description: 距离上一步天数(分钟)
  16242. type: integer
  16243. stepindex:
  16244. description: 步骤序号
  16245. type: integer
  16246. steplanchtype:
  16247. description: 步骤启动类型 - 1:系统自动 2:手动
  16248. type: integer
  16249. stepremark:
  16250. description: 步骤备注
  16251. type: string
  16252. stepstatus:
  16253. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  16254. type: integer
  16255. steptypeid:
  16256. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16257. type: integer
  16258. steptypename:
  16259. description: 步骤名称
  16260. type: string
  16261. stepvalue:
  16262. description: 步骤值
  16263. type: number
  16264. warehouseid:
  16265. description: 仓库ID
  16266. type: integer
  16267. warehousename:
  16268. description: 仓库名称
  16269. type: string
  16270. wrfactortypeid:
  16271. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16272. type: string
  16273. wrfactortypename:
  16274. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16275. type: string
  16276. wrstandardcode:
  16277. description: 现货商品代码
  16278. type: string
  16279. wrstandardid:
  16280. description: 现货商品ID
  16281. type: integer
  16282. wrstandardname:
  16283. description: 商品名称
  16284. type: string
  16285. wrtypename:
  16286. description: 商品
  16287. type: string
  16288. type: object
  16289. models.WrPerformanceStepType:
  16290. properties:
  16291. canauto:
  16292. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  16293. type: integer
  16294. steptypeid:
  16295. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  16296. type: integer
  16297. steptypename:
  16298. description: 步骤类型名称
  16299. type: string
  16300. type: object
  16301. models.WrPerformanceTemplateEx:
  16302. properties:
  16303. autoid:
  16304. description: AutoID 模板id
  16305. type: integer
  16306. createtime:
  16307. description: 创建时间
  16308. type: string
  16309. creatorid:
  16310. description: 创建人
  16311. type: integer
  16312. lstStep:
  16313. description: 步骤信息列表
  16314. items:
  16315. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  16316. type: array
  16317. paymenttype:
  16318. description: 支付方式 - 1:冻结 2:扣款
  16319. type: integer
  16320. takemode:
  16321. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  16322. type: integer
  16323. templatename:
  16324. description: 模板名称
  16325. type: string
  16326. templatetype:
  16327. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  16328. type: integer
  16329. userid:
  16330. description: 所属用户
  16331. type: integer
  16332. type: object
  16333. models.WrPosition:
  16334. properties:
  16335. accountid:
  16336. description: 帐户ID
  16337. type: integer
  16338. buyexcuteqty:
  16339. description: 采购履约中数量
  16340. type: number
  16341. creditcurqty:
  16342. description: 授信当前数量(预售仓单:预售当前量)
  16343. type: number
  16344. creditenableqty:
  16345. description: '授信可用数量(预售仓单: 可用数量)'
  16346. type: number
  16347. creditfreezeqty:
  16348. description: '授信冻结数量(预售仓单: 当前数量)'
  16349. type: number
  16350. credittotalqty:
  16351. description: 授信总数量(预售仓单:预售总量)
  16352. type: number
  16353. credittradeqty:
  16354. description: 授信成交数量(预售仓单:成交总量)
  16355. type: number
  16356. deliverygoodscode:
  16357. description: 品种代码
  16358. type: string
  16359. deliverygoodsid:
  16360. description: 品种ID
  16361. type: integer
  16362. deliverygoodsname:
  16363. description: 品种名称
  16364. type: string
  16365. enalbeqty:
  16366. description: 可用数量
  16367. type: number
  16368. enumdicname:
  16369. description: 单位名称
  16370. type: string
  16371. freezeqty:
  16372. description: 总冻结数量
  16373. type: number
  16374. haswr:
  16375. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16376. type: integer
  16377. minivalue:
  16378. description: 现货商品最小变动值
  16379. type: integer
  16380. modifytime:
  16381. description: 修改时间(过户时间)
  16382. type: string
  16383. optioncompare:
  16384. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16385. type: string
  16386. pledgeqty:
  16387. description: 质押数量
  16388. type: number
  16389. querytype:
  16390. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  16391. type: integer
  16392. sellexcuteqty:
  16393. description: 销售履约中数量
  16394. type: number
  16395. totalqty:
  16396. description: 总数量(库存数量)
  16397. type: number
  16398. warehouseid:
  16399. description: 仓库ID
  16400. type: integer
  16401. warehousename:
  16402. description: 仓库名称
  16403. type: string
  16404. wrfactortypeid:
  16405. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16406. type: string
  16407. wrfactortypename:
  16408. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16409. type: string
  16410. wrpositionid:
  16411. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  16412. type: string
  16413. wrpositionno:
  16414. description: 仓单编号
  16415. type: string
  16416. wrstandardcode:
  16417. description: 现货商品代码
  16418. type: string
  16419. wrstandardid:
  16420. description: 现货商品ID
  16421. type: integer
  16422. wrstandardname:
  16423. description: 商品名称
  16424. type: string
  16425. wrtypename:
  16426. description: 商品
  16427. type: string
  16428. wruserid:
  16429. description: 持有人ID
  16430. type: integer
  16431. type: object
  16432. models.WrQuoteOrderMyq:
  16433. properties:
  16434. buyorsell:
  16435. description: 买卖 - 0:买 1:卖
  16436. type: integer
  16437. canbargain:
  16438. description: 是否可议价 - 0:不可 1:可
  16439. type: integer
  16440. canpart:
  16441. description: 是否允许部份摘牌 - 0:不允许 1:允许
  16442. type: integer
  16443. delistminqty:
  16444. description: 起摘数量
  16445. type: number
  16446. deliverygoodscode:
  16447. description: 品种代码
  16448. type: string
  16449. deliverygoodsid:
  16450. description: 品种ID
  16451. type: integer
  16452. deliverygoodsname:
  16453. description: 品种名称
  16454. type: string
  16455. deliverymonth:
  16456. description: 交收月
  16457. type: string
  16458. enumdicname:
  16459. description: 单位名称
  16460. type: string
  16461. fixedprice:
  16462. description: 买(卖)价
  16463. type: number
  16464. goodscode:
  16465. description: 商品合约代码
  16466. type: string
  16467. marginflag:
  16468. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  16469. type: integer
  16470. marginvalue:
  16471. description: 保证金设置值
  16472. type: number
  16473. minivalue:
  16474. description: 现货商品最小变动值
  16475. type: integer
  16476. orderqty:
  16477. description: 买(卖)量(=委托量-成交量)
  16478. type: number
  16479. ordertime:
  16480. description: 委托时间
  16481. type: string
  16482. performancetemplateid:
  16483. description: 履约模板id
  16484. type: integer
  16485. pricemove:
  16486. description: 买(卖)升贴水- 基差
  16487. type: number
  16488. templatename:
  16489. description: 履约模板名称
  16490. type: string
  16491. userid:
  16492. description: 购买方(销售方)用户ID
  16493. type: integer
  16494. username:
  16495. description: 购买方(销售方)
  16496. type: string
  16497. validtime:
  16498. description: 有效期限
  16499. type: string
  16500. validtype:
  16501. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  16502. type: integer
  16503. warehousename:
  16504. description: 仓库名称
  16505. type: string
  16506. wrfactortypeid:
  16507. description: 仓单要素id
  16508. type: string
  16509. wrstandardcode:
  16510. description: 现货商品代码
  16511. type: string
  16512. wrstandardid:
  16513. description: 现货商品ID
  16514. type: integer
  16515. wrstandardname:
  16516. description: 商品名称
  16517. type: string
  16518. wrtradeorderid:
  16519. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16520. type: string
  16521. wrtypename:
  16522. description: 商品
  16523. type: string
  16524. type: object
  16525. models.WrScfContract:
  16526. properties:
  16527. borroweruserid:
  16528. description: 借款用户ID
  16529. type: integer
  16530. buybackwrpositionqty:
  16531. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  16532. type: number
  16533. closeinterest:
  16534. description: 已结利息 -> 已结费用
  16535. type: number
  16536. currisklevel:
  16537. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  16538. type: integer
  16539. deadline:
  16540. description: 截止日期(yyyyMMdd) -> 借款到期时间
  16541. type: string
  16542. deliverygoodscode:
  16543. description: 品种代码
  16544. type: string
  16545. deliverygoodsid:
  16546. description: 品种ID
  16547. type: integer
  16548. deliverygoodsname:
  16549. description: 品种名称
  16550. type: string
  16551. enumdicname:
  16552. description: 单位名称
  16553. type: string
  16554. financingdays:
  16555. description: 天数(天)
  16556. type: integer
  16557. initmargin:
  16558. description: 保证金 - [仓单回购]
  16559. type: number
  16560. interestamount:
  16561. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  16562. type: number
  16563. interestdebt:
  16564. description: 利息欠款(记录负数) -> 费用欠款
  16565. type: number
  16566. interestminlen:
  16567. description: 最小起息天数
  16568. type: integer
  16569. interestrate:
  16570. description: 利率
  16571. type: number
  16572. interestratemode:
  16573. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  16574. type: integer
  16575. interestsettlemode:
  16576. description: 结息方式 - 1:按日结息 3:按月结息
  16577. type: integer
  16578. interestsettlevalue:
  16579. description: 结息方式值
  16580. type: integer
  16581. isautoloan:
  16582. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  16583. type: integer
  16584. lastcloseinterestday:
  16585. description: 最近结息日(yyyyMMdd)
  16586. type: string
  16587. lenderamount:
  16588. description: 贷款金额 -> 借款金额
  16589. type: number
  16590. lenderuserid:
  16591. description: 贷款方用户ID -> 融出方用户ID
  16592. type: integer
  16593. lenderusername:
  16594. description: 融出方
  16595. type: string
  16596. marginratio:
  16597. description: 保证金比率质押率 - [仓单质押]
  16598. type: number
  16599. marketid:
  16600. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  16601. type: integer
  16602. minivalue:
  16603. description: 现货商品最小变动值
  16604. type: integer
  16605. optioncompare:
  16606. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16607. type: string
  16608. pricemove:
  16609. description: 估值升贴水值
  16610. type: number
  16611. productdetailid:
  16612. description: 产品组合ID
  16613. type: integer
  16614. productid:
  16615. description: 金融产品ID
  16616. type: integer
  16617. productname:
  16618. description: 产品名称
  16619. type: string
  16620. remainamount:
  16621. description: 合同剩余金额 -> 剩余金额
  16622. type: number
  16623. remainwrpositionqty:
  16624. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  16625. type: number
  16626. remark:
  16627. description: 备注
  16628. type: string
  16629. scfcontractid:
  16630. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  16631. type: string
  16632. scfcontractstatus:
  16633. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  16634. type: integer
  16635. scfcontracttype:
  16636. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  16637. type: integer
  16638. startinterestday:
  16639. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  16640. type: string
  16641. totalinterest:
  16642. description: 已计利息 -> 已计费用
  16643. type: number
  16644. unpaidinterest:
  16645. description: 未结费用
  16646. type: number
  16647. updatetime:
  16648. description: 更新时间
  16649. type: string
  16650. warehouseid:
  16651. description: 仓库ID
  16652. type: integer
  16653. warehousename:
  16654. description: 仓库名称
  16655. type: string
  16656. wrfactortypeid:
  16657. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16658. type: string
  16659. wrfactortypename:
  16660. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16661. type: string
  16662. wrqty:
  16663. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  16664. type: number
  16665. wrstandardcode:
  16666. description: 现货商品代码
  16667. type: string
  16668. wrstandardid:
  16669. description: 现货商品ID
  16670. type: integer
  16671. wrstandardname:
  16672. description: 商品名称
  16673. type: string
  16674. wrtypename:
  16675. description: 商品
  16676. type: string
  16677. type: object
  16678. models.WrScfContractInterest:
  16679. properties:
  16680. closeinterest:
  16681. description: 已结利息
  16682. type: number
  16683. closeintereststatus:
  16684. description: 结息状态 - 1:未结 2:已结
  16685. type: integer
  16686. closetime:
  16687. description: 结息时间
  16688. type: string
  16689. closetradedate:
  16690. description: 结息交易日
  16691. type: string
  16692. creatorid:
  16693. description: 操作人ID
  16694. type: integer
  16695. dayrate:
  16696. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  16697. type: number
  16698. interest:
  16699. description: 利息
  16700. type: number
  16701. interestamount:
  16702. description: 计息金额
  16703. type: number
  16704. interestday:
  16705. description: 计息日(yyyyMMdd)
  16706. type: string
  16707. scfcontractid:
  16708. description: SCF合同ID
  16709. type: string
  16710. scfcontractinterestid:
  16711. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  16712. type: integer
  16713. updatetime:
  16714. description: 更新时间
  16715. type: string
  16716. type: object
  16717. models.WrSiteColumnDetail:
  16718. properties:
  16719. brief:
  16720. description: 简介
  16721. type: string
  16722. context:
  16723. description: 内容
  16724. type: string
  16725. coverimage:
  16726. description: 封面图片
  16727. type: string
  16728. creaedate:
  16729. description: 创建时间
  16730. type: string
  16731. id:
  16732. description: ID(SEQ_SITE_COLUMNDETAIL)
  16733. type: integer
  16734. istop:
  16735. description: 是否置顶 - 0:不置 1:置顶
  16736. type: integer
  16737. publishdate:
  16738. description: 发布日期
  16739. type: string
  16740. title:
  16741. description: 标题
  16742. type: string
  16743. updatedate:
  16744. description: 修改时间
  16745. type: string
  16746. type: object
  16747. models.WrSpecialMatchOrder:
  16748. properties:
  16749. amount:
  16750. description: 金额 = 数量 * 价格
  16751. type: number
  16752. buyorsell:
  16753. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16754. type: integer
  16755. cancelqty:
  16756. description: 撤销数量
  16757. type: number
  16758. deliverygoodscode:
  16759. description: 品种代码
  16760. type: string
  16761. deliverygoodsid:
  16762. description: 品种ID
  16763. type: integer
  16764. deliverygoodsname:
  16765. description: 品种名称
  16766. type: string
  16767. enumdicname:
  16768. description: 单位名称
  16769. type: string
  16770. fixedprice:
  16771. description: 固定价格(价格)
  16772. type: number
  16773. haswr:
  16774. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16775. type: integer
  16776. isspecified:
  16777. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  16778. type: integer
  16779. marketid:
  16780. description: 市场ID
  16781. type: integer
  16782. matchuserid:
  16783. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  16784. type: integer
  16785. matchusername:
  16786. description: 指定方
  16787. type: string
  16788. minivalue:
  16789. description: 现货商品最小变动值
  16790. type: integer
  16791. optioncompare:
  16792. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16793. type: string
  16794. orderqty:
  16795. description: 委托数量
  16796. type: number
  16797. ordertime:
  16798. description: 委托时间
  16799. type: string
  16800. pricemove:
  16801. description: 升贴水(浮动价时填写) - [挂牌]
  16802. type: number
  16803. tradedate:
  16804. description: 交易日(yyyyMMdd)
  16805. type: string
  16806. tradeprice:
  16807. description: 成交价格
  16808. type: number
  16809. tradeqty:
  16810. description: 成交数量
  16811. type: number
  16812. userid:
  16813. description: 用户ID
  16814. type: integer
  16815. username:
  16816. description: 发起方
  16817. type: string
  16818. warehouseid:
  16819. description: 仓库ID
  16820. type: integer
  16821. warehousename:
  16822. description: 仓库名称
  16823. type: string
  16824. wrfactortypeid:
  16825. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16826. type: string
  16827. wrfactortypename:
  16828. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16829. type: string
  16830. wrpricetype:
  16831. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  16832. type: integer
  16833. wrstandardcode:
  16834. description: 现货商品代码
  16835. type: string
  16836. wrstandardid:
  16837. description: 现货商品ID
  16838. type: integer
  16839. wrstandardname:
  16840. description: 商品名称
  16841. type: string
  16842. wrtradeorderid:
  16843. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16844. type: string
  16845. wrtradeorderstatus:
  16846. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  16847. type: integer
  16848. wrtradetype:
  16849. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16850. type: integer
  16851. wrtypename:
  16852. description: 商品
  16853. type: string
  16854. type: object
  16855. models.WrSpotGroupTradeSum:
  16856. properties:
  16857. deliverygoodscode:
  16858. description: 现货品种代码
  16859. type: string
  16860. deliverygoodsid:
  16861. description: 现货品种ID(SEQ_DELIVERYGOODS)
  16862. type: integer
  16863. deliverygoodsname:
  16864. description: 现货品种名称
  16865. type: string
  16866. lastavgprice:
  16867. description: 上上个交易日价格(前2天价格)
  16868. type: string
  16869. lastreckondate:
  16870. description: 上上个交易日(前2天交易日)
  16871. type: string
  16872. reckondate:
  16873. description: 上个交易日(前1天交易日)
  16874. type: string
  16875. todayavgprice:
  16876. description: 上个交易日价格(前1天价格)
  16877. type: string
  16878. updown:
  16879. description: 涨跌
  16880. type: string
  16881. updownratio:
  16882. description: 涨幅(已格式化, 直接显示即可)
  16883. type: string
  16884. type: object
  16885. models.WrSpotGroupTradeSumDetail:
  16886. properties:
  16887. deliverygoodsid:
  16888. description: 现货商品id
  16889. type: integer
  16890. price:
  16891. description: 价格
  16892. type: number
  16893. reckondate:
  16894. description: 日期(yyymmdd, 如:20211031)
  16895. type: string
  16896. type: object
  16897. models.WrSpotGroupTradeSumEx:
  16898. properties:
  16899. lst:
  16900. description: 指数列表
  16901. items:
  16902. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  16903. type: array
  16904. prereckondate:
  16905. description: 上上个交易日(yyymmdd)
  16906. type: string
  16907. reckondate:
  16908. description: 上个交易日(yyyymmdd)
  16909. type: string
  16910. type: object
  16911. models.WrStandardFactoryItem:
  16912. properties:
  16913. dgfactoryitemid:
  16914. description: 选择项id
  16915. type: integer
  16916. dgfactoryitemvalue:
  16917. description: 要素项值
  16918. type: string
  16919. warehouseid:
  16920. description: 仓库id
  16921. type: integer
  16922. type: object
  16923. models.WrStandardFactoryItemEx:
  16924. properties:
  16925. dgfactoryitemtypeid:
  16926. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  16927. type: integer
  16928. itemlst:
  16929. description: 要素项列表
  16930. items:
  16931. $ref: '#/definitions/models.WrStandardFactoryItem'
  16932. type: array
  16933. itemtypename:
  16934. description: 要素项类型名称
  16935. type: string
  16936. wrstandardid:
  16937. description: 品类
  16938. type: integer
  16939. type: object
  16940. models.WrTradeDetail:
  16941. properties:
  16942. accountid:
  16943. description: 资金账号
  16944. type: integer
  16945. begindate:
  16946. description: 开始交易日(yyyymmdd)
  16947. type: string
  16948. buyorsell:
  16949. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16950. type: integer
  16951. chargevalue:
  16952. description: 手续费
  16953. type: number
  16954. deliverygoodscode:
  16955. description: 品种代码
  16956. type: string
  16957. deliverygoodsid:
  16958. description: 品种ID
  16959. type: integer
  16960. deliverygoodsname:
  16961. description: 品种名称
  16962. type: string
  16963. deliverymonth:
  16964. description: 交收月
  16965. type: string
  16966. enddate:
  16967. description: 结束交易日(yyyymmdd)
  16968. type: string
  16969. enumdicname:
  16970. description: 单位名称
  16971. type: string
  16972. haswr:
  16973. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16974. type: integer
  16975. marketid:
  16976. description: 市场ID
  16977. type: integer
  16978. matchaccountid:
  16979. description: 对手账号
  16980. type: integer
  16981. matchusername:
  16982. description: 对手方
  16983. type: string
  16984. minivalue:
  16985. description: 现货商品最小变动值
  16986. type: integer
  16987. optioncompare:
  16988. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16989. type: string
  16990. tradedate:
  16991. description: 交易日(yyyyMMdd)
  16992. type: string
  16993. tradeprice:
  16994. description: 成交价格
  16995. type: number
  16996. tradeqty:
  16997. description: 成交数量
  16998. type: number
  16999. tradetime:
  17000. description: 成交时间
  17001. type: string
  17002. userid:
  17003. description: 用户ID
  17004. type: integer
  17005. warehouseid:
  17006. description: 仓库ID
  17007. type: integer
  17008. warehousename:
  17009. description: 仓库名称
  17010. type: string
  17011. wrfactortypeid:
  17012. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17013. type: string
  17014. wrfactortypename:
  17015. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17016. type: string
  17017. wrstandardcode:
  17018. description: 现货商品代码
  17019. type: string
  17020. wrstandardid:
  17021. description: 现货商品ID
  17022. type: integer
  17023. wrstandardname:
  17024. description: 商品名称
  17025. type: string
  17026. wrtradedetailid:
  17027. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  17028. type: string
  17029. wrtradetype:
  17030. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  17031. type: integer
  17032. wrtypename:
  17033. description: 商品
  17034. type: string
  17035. type: object
  17036. models.WrTradeOrderDetail:
  17037. properties:
  17038. buyorsell:
  17039. description: 买卖方向 0-买 1-卖
  17040. type: integer
  17041. goodsid:
  17042. description: 商品id
  17043. type: integer
  17044. orderid:
  17045. description: 委托单号
  17046. type: string
  17047. orderprice:
  17048. description: 委托价格
  17049. type: number
  17050. orderqty:
  17051. description: 委托数量
  17052. type: integer
  17053. userid:
  17054. description: 用户id
  17055. type: integer
  17056. username:
  17057. description: 用户名称(已脱敏)
  17058. type: string
  17059. type: object
  17060. models.WrTypeItem:
  17061. properties:
  17062. name:
  17063. description: 名称
  17064. type: string
  17065. value:
  17066. description: 值
  17067. type: string
  17068. type: object
  17069. models.WrUserFriend:
  17070. properties:
  17071. friendname:
  17072. description: 朋友名称(已脱敏)
  17073. type: string
  17074. frienduserid:
  17075. description: 朋友id
  17076. type: integer
  17077. isfriend:
  17078. description: 是否好友 0-不是 1-是
  17079. type: integer
  17080. userid:
  17081. description: 用户id
  17082. type: integer
  17083. type: object
  17084. models.WrUserReceiptInfo:
  17085. properties:
  17086. address:
  17087. description: 地址[发票类型:企业]
  17088. type: string
  17089. autoid:
  17090. description: AutoID
  17091. type: integer
  17092. contactinfo:
  17093. description: 联系方式
  17094. type: string
  17095. idnum:
  17096. description: 身份证号码[发票类型:个人]
  17097. type: string
  17098. isdefault:
  17099. description: 是否默认地址 - 0:否 1:是
  17100. type: integer
  17101. receiptaccount:
  17102. description: 发票帐号[发票类型:企业]
  17103. type: string
  17104. receiptbank:
  17105. description: 发票开户行[发票类型:企业]
  17106. type: string
  17107. receipttype:
  17108. description: 发票类型 - 1:个人 2:企业
  17109. type: integer
  17110. taxpayerid:
  17111. description: 纳税人识别号
  17112. type: string
  17113. userid:
  17114. description: 用户ID
  17115. type: integer
  17116. username:
  17117. description: 户名(个人姓名或企业名称)
  17118. type: string
  17119. type: object
  17120. models.XHBRAND:
  17121. properties:
  17122. brandid:
  17123. description: 品牌id
  17124. type: integer
  17125. brandname:
  17126. description: 品牌名称
  17127. type: string
  17128. isvalid:
  17129. description: 是否有效 0-无效 1-有效
  17130. type: integer
  17131. type: object
  17132. models.XHDeliveryGoods:
  17133. properties:
  17134. areauserid:
  17135. description: 所属机构
  17136. type: integer
  17137. bdlst:
  17138. description: 品牌列表
  17139. items:
  17140. $ref: '#/definitions/models.XHBRAND'
  17141. type: array
  17142. deliverygoodscode:
  17143. description: 现货品种代码
  17144. type: string
  17145. deliverygoodsid:
  17146. description: 现货品种ID(SEQ_DELIVERYGOODS)
  17147. type: integer
  17148. deliverygoodsname:
  17149. description: 现货品种名称
  17150. type: string
  17151. dgstatus:
  17152. description: 品种状态 - 作废 - 0:未激活 1:正常
  17153. type: integer
  17154. isvalid:
  17155. description: 是否有效 - 0:无效 1:有效
  17156. type: integer
  17157. remark:
  17158. description: 备注
  17159. type: string
  17160. unitid:
  17161. description: 单位id(目前看,数据库中是空值)
  17162. type: integer
  17163. wdlst:
  17164. description: 品类(现货商品)列表
  17165. items:
  17166. $ref: '#/definitions/models.XHWrstandard'
  17167. type: array
  17168. type: object
  17169. models.XHMiddleGoods:
  17170. properties:
  17171. GPLST:
  17172. description: 期货品种列表
  17173. items:
  17174. $ref: '#/definitions/models.TBGoodsGroup'
  17175. type: array
  17176. convertratio:
  17177. description: 拆算系数
  17178. type: number
  17179. costratio:
  17180. description: 成本权重
  17181. type: number
  17182. deliverygoodsid:
  17183. description: 现货商品id
  17184. type: integer
  17185. enumdicname:
  17186. description: 单位名称
  17187. type: string
  17188. middlegoodscode:
  17189. description: 套保品种代码
  17190. type: string
  17191. middlegoodsid:
  17192. description: 套保品种id
  17193. type: integer
  17194. middlegoodsname:
  17195. description: 套保品种名称
  17196. type: string
  17197. unitid:
  17198. description: 单位id
  17199. type: integer
  17200. type: object
  17201. models.XHWrstandard:
  17202. properties:
  17203. deliverygoodsid:
  17204. description: 品种ID
  17205. type: integer
  17206. enumdicname:
  17207. description: 单位名称
  17208. type: string
  17209. mglst:
  17210. description: 套保品列表
  17211. items:
  17212. $ref: '#/definitions/models.XHMiddleGoods'
  17213. type: array
  17214. unitid:
  17215. description: 单位id
  17216. type: integer
  17217. vatrate:
  17218. description: 增值税率
  17219. type: number
  17220. wrstandardcode:
  17221. description: 现货商品代码
  17222. type: string
  17223. wrstandardid:
  17224. description: 现货商品ID(SEQ_WRSTANDARD)
  17225. type: integer
  17226. wrstandardname:
  17227. description: 现货商品名称
  17228. type: string
  17229. type: object
  17230. order.QueryHisTradeDetailRsp:
  17231. properties:
  17232. accountid:
  17233. description: 账户ID[报价币种]
  17234. type: integer
  17235. advanceratio:
  17236. description: 首付比率
  17237. type: number
  17238. buildtype:
  17239. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17240. type: integer
  17241. buyorsell:
  17242. description: 方向 - 0:买 1:卖
  17243. type: integer
  17244. charge:
  17245. description: 手续费
  17246. type: number
  17247. closecharge:
  17248. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17249. type: number
  17250. closeexchagechargevalue:
  17251. description: 平仓交易所手续费设置值
  17252. type: number
  17253. closefeealgorithm:
  17254. description: 平仓手续费收取方式 1:比率 2:固定
  17255. type: integer
  17256. closememberchargevalue:
  17257. description: 平仓会员手续费设置值
  17258. type: number
  17259. closepl:
  17260. description: 平仓盈亏
  17261. type: number
  17262. closepl2:
  17263. description: 平仓盈亏[逐笔]
  17264. type: number
  17265. closeqty:
  17266. description: 平仓数量(先建后平操作 需要记录)
  17267. type: number
  17268. creditamount:
  17269. description: 授信金额
  17270. type: number
  17271. decimalplace:
  17272. description: 商品报价小数位
  17273. type: integer
  17274. enumdicname:
  17275. description: 单位名称
  17276. type: string
  17277. gcaccountid:
  17278. description: 账户ID[合约币种]
  17279. type: integer
  17280. goodscode:
  17281. description: 商品代码
  17282. type: string
  17283. goodsid:
  17284. description: 商品ID
  17285. type: integer
  17286. goodsname:
  17287. description: 商品名称
  17288. type: string
  17289. goodunitid:
  17290. description: 商品单位id
  17291. type: integer
  17292. histradedate:
  17293. description: 历史交易日
  17294. type: string
  17295. intclosepl:
  17296. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17297. type: integer
  17298. isconfirmexercise:
  17299. description: 是否确认行权- 0:否 1:是
  17300. type: integer
  17301. ismain:
  17302. description: 是否主单 - 0:不是 1:是
  17303. type: integer
  17304. ispreexercise:
  17305. description: 是否预申报- 0:否 1:是
  17306. type: integer
  17307. isreckoned:
  17308. description: 是否结算 - 0:未结算 1:已结算
  17309. type: integer
  17310. isvaliddata:
  17311. description: 是否有效 - 0:无效 1:有效
  17312. type: integer
  17313. listingselecttype:
  17314. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17315. type: integer
  17316. marketid:
  17317. description: 市场ID
  17318. type: integer
  17319. marketname:
  17320. description: 市场名称
  17321. type: string
  17322. matchaccountid:
  17323. description: 对手账号id
  17324. type: integer
  17325. memberuserid:
  17326. description: 会员id 个人投资者 需要填写
  17327. type: integer
  17328. opencharge:
  17329. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17330. type: number
  17331. openexchagechargevalue:
  17332. description: 建仓交易所手续费设置值
  17333. type: number
  17334. openfeealgorithm:
  17335. description: 建仓手续费收取方式 1:比率 2:固定
  17336. type: integer
  17337. openmemberchargevalue:
  17338. description: 建仓会员手续费设置值
  17339. type: number
  17340. openqty:
  17341. description: 开仓数量(先建后平操作 需要记录)
  17342. type: number
  17343. optiontype:
  17344. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17345. type: integer
  17346. orderid:
  17347. description: 委托单号
  17348. type: string
  17349. payamount:
  17350. description: 支付金额(付款金额)
  17351. type: number
  17352. performanceplanid:
  17353. description: 履约计划ID[期权]
  17354. type: integer
  17355. performancestatus:
  17356. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17357. type: integer
  17358. preexerciseprice:
  17359. description: 预申报价格
  17360. type: number
  17361. premium:
  17362. description: 权利金 - [持仓单的权利金]
  17363. type: number
  17364. qtydecimalplace:
  17365. description: 商品报价小数位
  17366. type: integer
  17367. recvamount:
  17368. description: 到账金额 = 成交金额 - 手续费
  17369. type: number
  17370. relatedouttradeid:
  17371. description: 关联外部成交单ID
  17372. type: integer
  17373. status:
  17374. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17375. type: integer
  17376. totalamount:
  17377. description: 订单总额 = 成交金额 + 手续费
  17378. type: number
  17379. tradeamount:
  17380. description: 成交金额[账户币种,用于所有权]
  17381. type: number
  17382. tradedate:
  17383. description: 交易日(yyyyMMdd)
  17384. type: string
  17385. tradeid:
  17386. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17387. type: string
  17388. trademode:
  17389. description: 交易模式
  17390. type: integer
  17391. tradeprice:
  17392. description: 成交价格
  17393. type: number
  17394. tradeproperty:
  17395. description: 交易属性
  17396. type: integer
  17397. tradeqty:
  17398. description: 成交数量
  17399. type: number
  17400. tradetime:
  17401. description: 成交时间
  17402. type: string
  17403. tradetype:
  17404. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17405. type: integer
  17406. required:
  17407. - accountid
  17408. - buyorsell
  17409. - goodsid
  17410. - histradedate
  17411. - marketid
  17412. - memberuserid
  17413. - orderid
  17414. - tradeamount
  17415. - tradedate
  17416. - tradeid
  17417. - tradeprice
  17418. - tradeqty
  17419. - tradetime
  17420. type: object
  17421. order.QueryHisTradeOrderDetailRsp:
  17422. properties:
  17423. accountid:
  17424. description: 账户ID[报价币种]
  17425. type: integer
  17426. buildtype:
  17427. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17428. type: integer
  17429. buyorsell:
  17430. description: 买卖 - 0:买 1:卖
  17431. type: integer
  17432. cancelorderid:
  17433. description: 撤单单号(撤单时填写)
  17434. type: string
  17435. cancelqty:
  17436. description: 撤单数量
  17437. type: number
  17438. clientordertime:
  17439. description: 客户端委托时间
  17440. type: string
  17441. clientticket:
  17442. description: 客户端流水号
  17443. type: string
  17444. clienttype:
  17445. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17446. type: integer
  17447. closeexchagechargevalue:
  17448. description: 平仓交易所手续费设置值
  17449. type: number
  17450. closefeealgorithm:
  17451. description: 平仓手续费收取方式 1:比率 2:固定
  17452. type: integer
  17453. closefreezecharge:
  17454. description: 平仓冻结手续费(先建后平操作,需要记录)
  17455. type: number
  17456. closememberchargevalue:
  17457. description: 平仓会员手续费设置值
  17458. type: number
  17459. closeqty:
  17460. description: 平仓数量(先建后平操作 需要记录)
  17461. type: number
  17462. closetradeqty:
  17463. description: 平仓成交数量(先建后平操作,需要记录)
  17464. type: number
  17465. closeunfreezecharge:
  17466. description: 平仓解冻手续费(先建后平操作,需要记录)
  17467. type: number
  17468. decimalplace:
  17469. description: 商品报价小数位
  17470. type: integer
  17471. delistingtype:
  17472. description: 摘牌类型 - 1:价格最优 2:点选成交
  17473. type: integer
  17474. enumdicname:
  17475. description: 单位名称
  17476. type: string
  17477. freezecharge:
  17478. description: 冻结手续费
  17479. type: number
  17480. freezemargin:
  17481. description: 冻结保证金(冻结交易金额)
  17482. type: number
  17483. gcaccountid:
  17484. description: 账户ID[合约币种]
  17485. type: integer
  17486. goodscode:
  17487. description: 商品代码
  17488. type: string
  17489. goodsid:
  17490. description: 商品ID
  17491. type: integer
  17492. goodsname:
  17493. description: 商品名称
  17494. type: string
  17495. goodunitid:
  17496. description: 商品单位id
  17497. type: integer
  17498. histradedate:
  17499. description: 历史交易日
  17500. type: string
  17501. isconfirmexercise:
  17502. description: 是否确认行权- 0:否 1:是
  17503. type: integer
  17504. ispreexercise:
  17505. description: 是否预申报- 0:否 1:是
  17506. type: integer
  17507. isvaliddata:
  17508. description: 是否有效 - 0:无效 1:有效
  17509. type: integer
  17510. listingselecttype:
  17511. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17512. type: integer
  17513. marginalgorithm:
  17514. description: 保证金收取方式 1:比率 2:固定
  17515. type: integer
  17516. marginvalue:
  17517. description: 即市保证金设置值
  17518. type: number
  17519. marketid:
  17520. description: 市场ID
  17521. type: integer
  17522. marketmaxsub:
  17523. description: 市价最大偏移范围
  17524. type: number
  17525. marketname:
  17526. description: 市场名称
  17527. type: string
  17528. memberuserid:
  17529. description: 所属会员UserID
  17530. type: integer
  17531. openexchagechargevalue:
  17532. description: 建仓交易所手续费设置值
  17533. type: number
  17534. openfeealgorithm:
  17535. description: 建仓手续费收取方式 1:比率 2:固定
  17536. type: integer
  17537. openfreezecharge:
  17538. description: 开仓冻结手续费(先建后平操作,需要记录)
  17539. type: number
  17540. openmemberchargevalue:
  17541. description: 建仓会员手续费设置值
  17542. type: number
  17543. openqty:
  17544. description: 开仓数量(先建后平操作,需要记录)
  17545. type: number
  17546. opentradeqty:
  17547. description: 开仓成交数量(先建后平操作,需要记录)
  17548. type: number
  17549. openunfreezecharge:
  17550. description: 开仓解冻手续费(先建后平操作,需要记录)
  17551. type: number
  17552. operatetype:
  17553. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  17554. type: integer
  17555. operatorid:
  17556. description: 登录账号(LoginID)
  17557. type: integer
  17558. optiontype:
  17559. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17560. type: integer
  17561. orderid:
  17562. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17563. type: string
  17564. orderprice:
  17565. description: 委托价格
  17566. type: number
  17567. orderqty:
  17568. description: 委托数量
  17569. type: number
  17570. ordersrc:
  17571. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17572. type: integer
  17573. orderstatus:
  17574. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  17575. type: integer
  17576. ordertime:
  17577. description: 委托时间
  17578. type: string
  17579. preexerciseprice:
  17580. description: 预申报价格
  17581. type: number
  17582. premium:
  17583. description: 权利金
  17584. type: number
  17585. preorderid:
  17586. description: 关联预埋单号(止盈止损单时填写)
  17587. type: string
  17588. pricemode:
  17589. description: '取价方式 - 1:市价 2: 限价'
  17590. type: integer
  17591. qtydecimalplace:
  17592. description: 成交量小数位
  17593. type: integer
  17594. quoteid:
  17595. description: 报价单ID
  17596. type: integer
  17597. relatedid:
  17598. description: 关联单号(交割单)
  17599. type: string
  17600. retcode:
  17601. description: 错误代码
  17602. type: integer
  17603. sessionid:
  17604. description: 会话ID
  17605. type: integer
  17606. tradedate:
  17607. description: 交易日(yyyyMMdd)
  17608. type: string
  17609. trademode:
  17610. description: 交易模式
  17611. type: integer
  17612. tradeproperty:
  17613. description: 交易属性
  17614. type: integer
  17615. tradeqty:
  17616. description: 成交数量
  17617. type: number
  17618. unfreezecharge:
  17619. description: 解冻手续费
  17620. type: number
  17621. unfreezemargin:
  17622. description: 解冻保证金
  17623. type: number
  17624. updatetime:
  17625. description: 更新时间
  17626. type: string
  17627. uuid:
  17628. description: 发起端唯一id
  17629. type: string
  17630. validtime:
  17631. description: 有效期限
  17632. type: string
  17633. validtype:
  17634. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17635. type: integer
  17636. volumetype:
  17637. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17638. type: integer
  17639. required:
  17640. - accountid
  17641. - buildtype
  17642. - buyorsell
  17643. - goodsid
  17644. - histradedate
  17645. - marketid
  17646. - memberuserid
  17647. - operatetype
  17648. - orderid
  17649. - orderqty
  17650. - ordertime
  17651. - pricemode
  17652. - tradedate
  17653. - validtype
  17654. type: object
  17655. order.QueryTradeDetailRsp:
  17656. properties:
  17657. accountid:
  17658. description: 账户ID[报价币种]
  17659. type: integer
  17660. advanceratio:
  17661. description: 首付比率
  17662. type: number
  17663. buildtype:
  17664. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17665. type: integer
  17666. buyorsell:
  17667. description: 方向 - 0:买 1:卖
  17668. type: integer
  17669. charge:
  17670. description: 手续费
  17671. type: number
  17672. closecharge:
  17673. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17674. type: number
  17675. closeexchagechargevalue:
  17676. description: 平仓交易所手续费设置值
  17677. type: number
  17678. closefeealgorithm:
  17679. description: 平仓手续费收取方式 1:比率 2:固定
  17680. type: integer
  17681. closememberchargevalue:
  17682. description: 平仓会员手续费设置值
  17683. type: number
  17684. closepl:
  17685. description: 平仓盈亏
  17686. type: number
  17687. closepl2:
  17688. description: 平仓盈亏[逐笔]
  17689. type: number
  17690. closeqty:
  17691. description: 平仓数量(先建后平操作 需要记录)
  17692. type: number
  17693. creditamount:
  17694. description: 授信金额
  17695. type: number
  17696. decimalplace:
  17697. description: 商品报价小数位
  17698. type: integer
  17699. enumdicname:
  17700. description: 单位名称
  17701. type: string
  17702. gcaccountid:
  17703. description: 账户ID[合约币种]
  17704. type: integer
  17705. goodscode:
  17706. description: 商品代码
  17707. type: string
  17708. goodsid:
  17709. description: 商品ID
  17710. type: integer
  17711. goodsname:
  17712. description: 商品名称
  17713. type: string
  17714. goodunitid:
  17715. description: 商品单位id
  17716. type: integer
  17717. intclosepl:
  17718. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17719. type: integer
  17720. isconfirmexercise:
  17721. description: 是否确认行权- 0:否 1:是
  17722. type: integer
  17723. ismain:
  17724. description: 是否主单 - 0:不是 1:是
  17725. type: integer
  17726. ispreexercise:
  17727. description: 是否预申报- 0:否 1:是
  17728. type: integer
  17729. isreckoned:
  17730. description: 是否结算 - 0:未结算 1:已结算
  17731. type: integer
  17732. listingselecttype:
  17733. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17734. type: integer
  17735. marketid:
  17736. description: 市场ID
  17737. type: integer
  17738. marketname:
  17739. description: 市场名称
  17740. type: string
  17741. matchaccountid:
  17742. description: 对手账号id
  17743. type: integer
  17744. memberuserid:
  17745. description: 会员id 个人投资者 需要填写
  17746. type: integer
  17747. opencharge:
  17748. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17749. type: number
  17750. openexchagechargevalue:
  17751. description: 建仓交易所手续费设置值
  17752. type: number
  17753. openfeealgorithm:
  17754. description: 建仓手续费收取方式 1:比率 2:固定
  17755. type: integer
  17756. openmemberchargevalue:
  17757. description: 建仓会员手续费设置值
  17758. type: number
  17759. openqty:
  17760. description: 开仓数量(先建后平操作 需要记录)
  17761. type: number
  17762. optiontype:
  17763. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17764. type: integer
  17765. orderid:
  17766. description: 委托单号
  17767. type: string
  17768. payamount:
  17769. description: 支付金额(付款金额)
  17770. type: number
  17771. performanceplanid:
  17772. description: 履约计划ID[期权]
  17773. type: integer
  17774. performancestatus:
  17775. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17776. type: integer
  17777. preexerciseprice:
  17778. description: 预申报价格
  17779. type: number
  17780. premium:
  17781. description: 权利金 - [持仓单的权利金]
  17782. type: number
  17783. qtydecimalplace:
  17784. description: 商品报价小数位
  17785. type: integer
  17786. recvamount:
  17787. description: 到账金额 = 成交金额 - 手续费
  17788. type: number
  17789. relatedouttradeid:
  17790. description: 关联外部成交单ID
  17791. type: integer
  17792. status:
  17793. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17794. type: integer
  17795. totalamount:
  17796. description: 订单总额 = 成交金额 + 手续费
  17797. type: number
  17798. tradeamount:
  17799. description: 成交金额[账户币种,用于所有权]
  17800. type: number
  17801. tradedate:
  17802. description: 交易日(yyyyMMdd)
  17803. type: string
  17804. tradeid:
  17805. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17806. type: string
  17807. trademode:
  17808. description: 交易模式
  17809. type: integer
  17810. tradeprice:
  17811. description: 成交价格
  17812. type: number
  17813. tradeproperty:
  17814. description: 交易属性
  17815. type: integer
  17816. tradeqty:
  17817. description: 成交数量
  17818. type: number
  17819. tradetime:
  17820. description: 成交时间
  17821. type: string
  17822. tradetype:
  17823. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17824. type: integer
  17825. required:
  17826. - accountid
  17827. - buyorsell
  17828. - goodsid
  17829. - marketid
  17830. - memberuserid
  17831. - orderid
  17832. - tradeamount
  17833. - tradedate
  17834. - tradeid
  17835. - tradeprice
  17836. - tradeqty
  17837. - tradetime
  17838. type: object
  17839. order.QueryTradeOrderDetailRsp:
  17840. properties:
  17841. accountid:
  17842. description: 账户ID[报价币种]
  17843. type: integer
  17844. buildtype:
  17845. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17846. type: integer
  17847. buyorsell:
  17848. description: 买卖 - 0:买 1:卖
  17849. type: integer
  17850. cancelorderid:
  17851. description: 撤单单号(撤单时填写)
  17852. type: string
  17853. cancelqty:
  17854. description: 撤单数量
  17855. type: number
  17856. clienttype:
  17857. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17858. type: integer
  17859. closefreezecharge:
  17860. description: 平仓冻结手续费(先建后平操作,需要记录)
  17861. type: number
  17862. closeqty:
  17863. description: 平仓数量(先建后平操作 需要记录)
  17864. type: number
  17865. closetradeqty:
  17866. description: 平仓成交数量(先建后平操作,需要记录)
  17867. type: number
  17868. closeunfreezecharge:
  17869. description: 平仓解冻手续费(先建后平操作,需要记录)
  17870. type: number
  17871. decimalplace:
  17872. description: 商品报价小数位
  17873. type: integer
  17874. delistingtype:
  17875. description: 摘牌类型 - 1:价格最优 2:点选成交
  17876. type: integer
  17877. enableqty:
  17878. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  17879. type: number
  17880. enumdicname:
  17881. description: 单位名称
  17882. type: string
  17883. freezecharge:
  17884. description: 冻结手续费
  17885. type: number
  17886. freezemargin:
  17887. description: 冻结保证金(冻结交易金额)
  17888. type: number
  17889. goodscode:
  17890. description: 商品代码
  17891. type: string
  17892. goodsid:
  17893. description: 商品ID
  17894. type: integer
  17895. goodsname:
  17896. description: 商品名称
  17897. type: string
  17898. goodunitid:
  17899. description: 商品单位id
  17900. type: integer
  17901. listingselecttype:
  17902. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17903. type: integer
  17904. marketid:
  17905. description: 市场ID
  17906. type: integer
  17907. marketname:
  17908. description: 市场名称
  17909. type: string
  17910. openfreezecharge:
  17911. description: 开仓冻结手续费(先建后平操作,需要记录)
  17912. type: number
  17913. openqty:
  17914. description: 开仓数量(先建后平操作,需要记录)
  17915. type: number
  17916. opentradeqty:
  17917. description: 开仓成交数量(先建后平操作,需要记录)
  17918. type: number
  17919. openunfreezecharge:
  17920. description: 开仓解冻手续费(先建后平操作,需要记录)
  17921. type: number
  17922. operatetype:
  17923. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  17924. type: integer
  17925. operatorid:
  17926. description: 登录账号(LoginID)
  17927. type: integer
  17928. orderid:
  17929. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17930. type: string
  17931. orderprice:
  17932. description: 委托价格
  17933. type: number
  17934. orderqty:
  17935. description: 委托数量
  17936. type: number
  17937. ordersrc:
  17938. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17939. type: integer
  17940. orderstatus:
  17941. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  17942. type: integer
  17943. ordertime:
  17944. description: 委托时间
  17945. type: string
  17946. preorderid:
  17947. description: 关联预埋单号(止盈止损单时填写)
  17948. type: string
  17949. pricemode:
  17950. description: '取价方式 - 1:市价 2: 限价'
  17951. type: integer
  17952. qtydecimalplace:
  17953. description: 商品报价小数位
  17954. type: integer
  17955. relatedid:
  17956. description: 关联单号(交割单)
  17957. type: string
  17958. tradedate:
  17959. description: 交易日(yyyyMMdd)
  17960. type: string
  17961. trademode:
  17962. description: 交易模式
  17963. type: integer
  17964. tradeqty:
  17965. description: 成交数量
  17966. type: number
  17967. unfreezecharge:
  17968. description: 解冻手续费
  17969. type: number
  17970. unfreezemargin:
  17971. description: 解冻保证金
  17972. type: number
  17973. validtime:
  17974. description: 有效期限
  17975. type: string
  17976. validtype:
  17977. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17978. type: integer
  17979. volumetype:
  17980. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17981. type: integer
  17982. required:
  17983. - accountid
  17984. - buildtype
  17985. - buyorsell
  17986. - goodsid
  17987. - marketid
  17988. - operatetype
  17989. - orderqty
  17990. - ordertime
  17991. - pricemode
  17992. - tradedate
  17993. - validtype
  17994. type: object
  17995. order.QueryTradePositionRsp:
  17996. properties:
  17997. accountid:
  17998. description: 资金账户
  17999. type: integer
  18000. agreeunit:
  18001. description: 合约单位
  18002. type: number
  18003. averageprice:
  18004. description: 持仓均价
  18005. type: number
  18006. buyorsell:
  18007. description: 方向 - 0:买 1:卖
  18008. type: integer
  18009. closetotalqty:
  18010. description: 平仓总数量
  18011. type: number
  18012. curholderamount:
  18013. description: 当前持仓总金额[商品币种]
  18014. type: number
  18015. curpositionqty:
  18016. description: 当前持仓总数量
  18017. type: number
  18018. currencyid:
  18019. description: 报价货币ID
  18020. type: integer
  18021. curtdposition:
  18022. description: 期末今日头寸
  18023. type: number
  18024. decimalplace:
  18025. description: 报价小数位
  18026. type: integer
  18027. enableqty:
  18028. description: 可用量
  18029. type: number
  18030. fretdposition:
  18031. description: 冻结今日头寸
  18032. type: number
  18033. frozenqty:
  18034. description: 持仓冻结数量
  18035. type: number
  18036. goodscode:
  18037. description: 商品代码
  18038. type: string
  18039. goodsid:
  18040. description: 商品Id
  18041. type: integer
  18042. goodsname:
  18043. description: 商品名称
  18044. type: string
  18045. goodunit:
  18046. description: 报价单位
  18047. type: string
  18048. goodunitid:
  18049. description: 报价单位ID
  18050. type: integer
  18051. holderamount:
  18052. description: 期初持仓总金额[商品币种]
  18053. type: number
  18054. lastprice:
  18055. description: 最新价
  18056. type: number
  18057. marketamount:
  18058. description: 市值
  18059. type: number
  18060. marketid:
  18061. description: 所属市场ID
  18062. type: integer
  18063. openreqqty:
  18064. description: 开仓申请数量(用于比较最大持仓数量)
  18065. type: number
  18066. opentotalqty:
  18067. description: 开仓总数量
  18068. type: number
  18069. otherfrozenqty:
  18070. description: 持仓其他冻结数量(交割冻结)
  18071. type: number
  18072. positionpl:
  18073. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  18074. type: number
  18075. positionplrate:
  18076. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  18077. type: number
  18078. positionqty:
  18079. description: 期初持仓数量
  18080. type: number
  18081. qtydecimalplace:
  18082. description: 成交量小数位
  18083. type: integer
  18084. refgoodscode:
  18085. description: 参考商品代码
  18086. type: string
  18087. refgoodsid:
  18088. description: 参考商品ID
  18089. type: integer
  18090. tnqty:
  18091. description: T+N冻结总量
  18092. type: number
  18093. tnusedqty:
  18094. description: T+N使用量(可以使用T+N的冻结数量)
  18095. type: number
  18096. trademode:
  18097. description: 交易模式
  18098. type: integer
  18099. tradeproperty:
  18100. description: 交易属性
  18101. type: integer
  18102. usedmargin:
  18103. description: 占用保证金[商品币种]
  18104. type: number
  18105. required:
  18106. - goodsid
  18107. type: object
  18108. pb.GoodsMarginCfgStruct:
  18109. properties:
  18110. CustomerTypeID:
  18111. description: 投资者客户类型
  18112. type: integer
  18113. GoodsID:
  18114. description: 商品ID
  18115. type: integer
  18116. IsDefault:
  18117. description: 是否默认标志位
  18118. type: integer
  18119. LockMarginValue:
  18120. description: 锁仓保证金
  18121. type: number
  18122. MarginAlgorithm:
  18123. description: 保证金计算方式
  18124. type: integer
  18125. MarketMarginValue:
  18126. description: 即市保证金值
  18127. type: number
  18128. RealMarginAlgorithm:
  18129. description: 实付保证金计算方式
  18130. type: integer
  18131. RealMarginValue:
  18132. description: 实付比例
  18133. type: number
  18134. ReckonMarginValue:
  18135. description: 结算保证金值
  18136. type: number
  18137. type: object
  18138. quote.HistoryData:
  18139. properties:
  18140. c:
  18141. description: 收盘价
  18142. type: number
  18143. f:
  18144. description: 是否补充数据
  18145. type: boolean
  18146. h:
  18147. description: 最高价
  18148. type: number
  18149. hv:
  18150. description: 持仓量
  18151. type: integer
  18152. l:
  18153. description: 最低价
  18154. type: number
  18155. o:
  18156. description: 开盘价
  18157. type: number
  18158. s:
  18159. description: 结算价,日线周期(包括)以上才有
  18160. type: number
  18161. ts:
  18162. description: 时间
  18163. type: string
  18164. tt:
  18165. description: 总金额
  18166. type: number
  18167. tv:
  18168. description: 总量(成交量)
  18169. type: integer
  18170. type: object
  18171. quote.HistoryTikData:
  18172. properties:
  18173. AV:
  18174. description: 卖量
  18175. type: integer
  18176. Ask:
  18177. description: 卖价
  18178. type: number
  18179. BV:
  18180. description: 买量
  18181. type: integer
  18182. Bid:
  18183. description: 买价
  18184. type: number
  18185. HI:
  18186. description: 单笔持仓
  18187. type: integer
  18188. HV:
  18189. description: 持仓量
  18190. type: integer
  18191. PE:
  18192. description: 现价
  18193. type: number
  18194. TDR:
  18195. description: 交易方向,0:买 1:卖
  18196. type: integer
  18197. TK:
  18198. description: 交易类型
  18199. type: integer
  18200. TS:
  18201. description: 行情时间文本
  18202. type: string
  18203. TT:
  18204. description: 现金额
  18205. type: number
  18206. Vol:
  18207. description: 现量
  18208. type: integer
  18209. type: object
  18210. quote.QueryQuoteDayRsp:
  18211. properties:
  18212. ask:
  18213. description: 卖1
  18214. type: number
  18215. ask2:
  18216. description: 卖2
  18217. type: number
  18218. ask3:
  18219. description: 卖3
  18220. type: number
  18221. ask4:
  18222. description: 卖4
  18223. type: number
  18224. ask5:
  18225. description: 卖5
  18226. type: number
  18227. ask6:
  18228. description: 卖6
  18229. type: number
  18230. ask7:
  18231. description: 卖7
  18232. type: number
  18233. ask8:
  18234. description: 卖8
  18235. type: number
  18236. ask9:
  18237. description: 卖9
  18238. type: number
  18239. ask10:
  18240. description: 卖10
  18241. type: number
  18242. askorderid:
  18243. description: 卖单号1
  18244. type: integer
  18245. askorderid2:
  18246. description: 卖单号2
  18247. type: integer
  18248. askorderid3:
  18249. description: 卖单号3
  18250. type: integer
  18251. askorderid4:
  18252. description: 卖单号4
  18253. type: integer
  18254. askorderid5:
  18255. description: 卖单号5
  18256. type: integer
  18257. askordervolume:
  18258. description: 卖单量1
  18259. type: integer
  18260. askordervolume2:
  18261. description: 卖单量2
  18262. type: integer
  18263. askordervolume3:
  18264. description: 卖单量3
  18265. type: integer
  18266. askordervolume4:
  18267. description: 卖单量4
  18268. type: integer
  18269. askordervolume5:
  18270. description: 卖单量5
  18271. type: integer
  18272. askordervolume6:
  18273. description: 卖单量6
  18274. type: integer
  18275. askordervolume7:
  18276. description: 卖单量7
  18277. type: integer
  18278. askordervolume8:
  18279. description: 卖单量8
  18280. type: integer
  18281. askordervolume9:
  18282. description: 卖单量9
  18283. type: integer
  18284. askordervolume10:
  18285. description: 卖单量10
  18286. type: integer
  18287. askqueueinfo:
  18288. description: 大利市卖港股用
  18289. type: string
  18290. askvolume:
  18291. description: 卖量1
  18292. type: integer
  18293. askvolume2:
  18294. description: 卖量2
  18295. type: integer
  18296. askvolume3:
  18297. description: 卖量3
  18298. type: integer
  18299. askvolume4:
  18300. description: 卖量4
  18301. type: integer
  18302. askvolume5:
  18303. description: 卖量5
  18304. type: integer
  18305. askvolume6:
  18306. description: 卖量6
  18307. type: integer
  18308. askvolume7:
  18309. description: 卖量7
  18310. type: integer
  18311. askvolume8:
  18312. description: 卖量8
  18313. type: integer
  18314. askvolume9:
  18315. description: 卖量9
  18316. type: integer
  18317. askvolume10:
  18318. description: 卖量10
  18319. type: integer
  18320. averageprice:
  18321. description: 均价
  18322. type: number
  18323. bid:
  18324. description: 买1
  18325. type: number
  18326. bid2:
  18327. description: 买2
  18328. type: number
  18329. bid3:
  18330. description: 买3
  18331. type: number
  18332. bid4:
  18333. description: 买4
  18334. type: number
  18335. bid5:
  18336. description: 买5
  18337. type: number
  18338. bid6:
  18339. description: 买6
  18340. type: number
  18341. bid7:
  18342. description: 买7
  18343. type: number
  18344. bid8:
  18345. description: 买8
  18346. type: number
  18347. bid9:
  18348. description: 买9
  18349. type: number
  18350. bid10:
  18351. description: 买10
  18352. type: number
  18353. bidorderid:
  18354. description: 买单号1
  18355. type: integer
  18356. bidorderid2:
  18357. description: 买单号2
  18358. type: integer
  18359. bidorderid3:
  18360. description: 买单号3
  18361. type: integer
  18362. bidorderid4:
  18363. description: 买单号4
  18364. type: integer
  18365. bidorderid5:
  18366. description: 买单号5
  18367. type: integer
  18368. bidordervolume:
  18369. description: 买单量1
  18370. type: integer
  18371. bidordervolume2:
  18372. description: 买单量2
  18373. type: integer
  18374. bidordervolume3:
  18375. description: 买单量3
  18376. type: integer
  18377. bidordervolume4:
  18378. description: 买单量4
  18379. type: integer
  18380. bidordervolume5:
  18381. description: 买单量5
  18382. type: integer
  18383. bidordervolume6:
  18384. description: 买单量6
  18385. type: integer
  18386. bidordervolume7:
  18387. description: 买单量7
  18388. type: integer
  18389. bidordervolume8:
  18390. description: 买单量8
  18391. type: integer
  18392. bidordervolume9:
  18393. description: 买单量9
  18394. type: integer
  18395. bidordervolume10:
  18396. description: 买单量10
  18397. type: integer
  18398. bidqueueinfo:
  18399. description: 大利市买港股用
  18400. type: string
  18401. bidvolume:
  18402. description: 买量1
  18403. type: integer
  18404. bidvolume2:
  18405. description: 买量2
  18406. type: integer
  18407. bidvolume3:
  18408. description: 买量3
  18409. type: integer
  18410. bidvolume4:
  18411. description: 买量4
  18412. type: integer
  18413. bidvolume5:
  18414. description: 买量5
  18415. type: integer
  18416. bidvolume6:
  18417. description: 买量6
  18418. type: integer
  18419. bidvolume7:
  18420. description: 买量7
  18421. type: integer
  18422. bidvolume8:
  18423. description: 买量8
  18424. type: integer
  18425. bidvolume9:
  18426. description: 买量9
  18427. type: integer
  18428. bidvolume10:
  18429. description: 买量10
  18430. type: integer
  18431. calloptionpremiums:
  18432. description: 认购期权1
  18433. type: integer
  18434. calloptionpremiums2:
  18435. description: 认购期权2
  18436. type: integer
  18437. calloptionpremiums3:
  18438. description: 认购期权3
  18439. type: integer
  18440. calloptionpremiums4:
  18441. description: 认购期权4
  18442. type: integer
  18443. calloptionpremiums5:
  18444. description: 认购期权5
  18445. type: integer
  18446. cleartime:
  18447. description: 清盘时间
  18448. type: integer
  18449. exchangecode:
  18450. description: 交易所代码
  18451. type: integer
  18452. exchangedate:
  18453. description: 交易日
  18454. type: integer
  18455. goodscode:
  18456. description: 商品代码
  18457. type: string
  18458. grepmarketprice:
  18459. description: 暗盘价 港股专用
  18460. type: number
  18461. highest:
  18462. description: 最高价
  18463. type: number
  18464. holdincrement:
  18465. description: 单笔持仓
  18466. type: integer
  18467. holdvolume:
  18468. description: 持仓
  18469. type: integer
  18470. iep:
  18471. description: 平衡价 港股专用
  18472. type: number
  18473. iev:
  18474. description: 平衡量 港股专用
  18475. type: number
  18476. inventory:
  18477. description: 库存
  18478. type: integer
  18479. iscleared:
  18480. description: 是否清盘标志
  18481. type: integer
  18482. issettled:
  18483. description: 是否结算标志
  18484. type: integer
  18485. last:
  18486. description: 最新价
  18487. type: number
  18488. lastlot:
  18489. description: 最新成交手数
  18490. type: integer
  18491. lasttime:
  18492. description: 行情时间(只有现价变化行情时间才变化)
  18493. type: string
  18494. lastturnover:
  18495. description: 最新成交金额
  18496. type: number
  18497. lastvolume:
  18498. description: 最新成交量
  18499. type: integer
  18500. limitdown:
  18501. description: 跌停价
  18502. type: number
  18503. limitup:
  18504. description: 涨停价
  18505. type: number
  18506. lowest:
  18507. description: 最低价
  18508. type: number
  18509. nontotalholdervolume:
  18510. description: 非交易持仓量
  18511. type: integer
  18512. nontotallot:
  18513. description: 非交易总手数
  18514. type: integer
  18515. nontotalturnover:
  18516. description: 非交易总金额
  18517. type: integer
  18518. nontotalvolume:
  18519. description: 非交易总量
  18520. type: integer
  18521. opened:
  18522. description: 开盘价
  18523. type: number
  18524. opentime:
  18525. description: 开盘时间
  18526. type: string
  18527. orderid:
  18528. description: 序号
  18529. type: integer
  18530. preclose:
  18531. description: 昨收
  18532. type: number
  18533. preholdvolume:
  18534. description: 昨持仓
  18535. type: integer
  18536. presettle:
  18537. description: 昨结价
  18538. type: number
  18539. publictradetype:
  18540. description: 公共交易标志类型 港股专用
  18541. type: string
  18542. putoptionpremiums:
  18543. description: 认沽期权1
  18544. type: integer
  18545. putoptionpremiums2:
  18546. description: 认沽期权2
  18547. type: integer
  18548. putoptionpremiums3:
  18549. description: 认沽期权3
  18550. type: integer
  18551. putoptionpremiums4:
  18552. description: 认沽期权4
  18553. type: integer
  18554. putoptionpremiums5:
  18555. description: 认沽期权5
  18556. type: integer
  18557. settle:
  18558. description: 结算价
  18559. type: number
  18560. strikeprice:
  18561. description: 发行价
  18562. type: number
  18563. totalaskvolume:
  18564. description: 内盘
  18565. type: integer
  18566. totalbidvolume:
  18567. description: 外盘
  18568. type: integer
  18569. totallot:
  18570. description: 总手数
  18571. type: integer
  18572. totalturnover:
  18573. description: 总金额
  18574. type: number
  18575. totalvolume:
  18576. description: 总量
  18577. type: integer
  18578. utclasttime:
  18579. description: utc的行情时间
  18580. type: string
  18581. type: object
  18582. quote.QueryTSDataRsp:
  18583. properties:
  18584. Count:
  18585. description: 交易日应有数据个数
  18586. type: integer
  18587. decimalPlace:
  18588. description: 小数位
  18589. type: integer
  18590. endTime:
  18591. description: 结束时间
  18592. type: string
  18593. goodsCode:
  18594. description: 商品代码
  18595. type: string
  18596. historyDatas:
  18597. description: 历史数据
  18598. items:
  18599. $ref: '#/definitions/quote.HistoryData'
  18600. type: array
  18601. outGoodsCode:
  18602. description: 外部商品代码
  18603. type: string
  18604. preSettle:
  18605. description: 昨结价
  18606. type: number
  18607. runSteps:
  18608. description: 交易日开休市计划
  18609. items:
  18610. $ref: '#/definitions/quote.TSDataRunStep'
  18611. type: array
  18612. startTime:
  18613. description: 开始时间
  18614. type: string
  18615. tradeDate:
  18616. description: 交易日
  18617. type: string
  18618. type: object
  18619. quote.TSDataRunStep:
  18620. properties:
  18621. end:
  18622. description: 真实结束时间
  18623. type: string
  18624. endflag:
  18625. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  18626. type: integer
  18627. endtime:
  18628. description: 结束时间(HH:mm)
  18629. type: string
  18630. endweekday:
  18631. description: 结束周几
  18632. type: integer
  18633. groupid:
  18634. description: 分组ID
  18635. type: integer
  18636. runstep:
  18637. description: 运行阶段 - 2:连续交易
  18638. type: integer
  18639. sectionid:
  18640. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几
  18641. type: integer
  18642. start:
  18643. description: 真实开始时间
  18644. type: string
  18645. startflag:
  18646. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  18647. type: integer
  18648. starttime:
  18649. description: 起始时间(HH:mm)
  18650. type: string
  18651. startweekday:
  18652. description: 起始周几
  18653. type: integer
  18654. tradeweekday:
  18655. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  18656. type: integer
  18657. type: object
  18658. szdz.QueryConvertLogRsp:
  18659. properties:
  18660. accountid:
  18661. description: 资金账户ID
  18662. type: integer
  18663. clientticket:
  18664. description: 客户端流水号
  18665. type: string
  18666. converttype:
  18667. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  18668. type: integer
  18669. createtime:
  18670. description: 记账时间
  18671. type: string
  18672. daymaxvalue:
  18673. description: 配置当日最大转入限制
  18674. type: number
  18675. daymaxvalue2:
  18676. description: 配置当日最大转入限制(转入)
  18677. type: number
  18678. goodscode:
  18679. description: 商品代码
  18680. type: string
  18681. goodsname:
  18682. description: 商品名称
  18683. type: string
  18684. handlestatus:
  18685. description: 处理状态
  18686. type: integer
  18687. innergoodsid:
  18688. description: 内部商品ID
  18689. type: integer
  18690. inratio:
  18691. description: 配置转入比值
  18692. type: integer
  18693. invalue:
  18694. description: 目标值
  18695. type: number
  18696. logid:
  18697. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18698. type: integer
  18699. mobile:
  18700. description: 手机号码(加密存储)
  18701. type: string
  18702. outergoodscode:
  18703. description: 外部商品代码[JD\PD]
  18704. type: string
  18705. outratio:
  18706. description: 配置转出比值
  18707. type: integer
  18708. outvalue:
  18709. description: 源值
  18710. type: number
  18711. pddecimalplace:
  18712. description: PD小数位
  18713. type: integer
  18714. qty:
  18715. description: 数量
  18716. type: string
  18717. remark:
  18718. description: 备注
  18719. type: string
  18720. sessionid:
  18721. description: 会话ID
  18722. type: integer
  18723. timemaxvalue:
  18724. description: 配置单次最大转入限制
  18725. type: number
  18726. timemaxvalue2:
  18727. description: 配置单次最大转入限制(转入)
  18728. type: number
  18729. timeminvalue:
  18730. description: 配置单次最小数量限制
  18731. type: number
  18732. timeminvalue2:
  18733. description: 配置单次最小数量限制(转入)
  18734. type: number
  18735. tradedate:
  18736. description: 交易日(yyyyMMdd)
  18737. type: string
  18738. userid:
  18739. description: 用户ID
  18740. type: integer
  18741. required:
  18742. - logid
  18743. type: object
  18744. szdz.QueryGoodsPickupRsp:
  18745. properties:
  18746. accountid:
  18747. description: 账户ID
  18748. type: integer
  18749. address:
  18750. description: 提货人详细地址
  18751. type: string
  18752. auditer:
  18753. description: 审核人
  18754. type: integer
  18755. audittime:
  18756. description: 审核时间
  18757. type: string
  18758. cardnum:
  18759. description: 提货人证件号码
  18760. type: string
  18761. cardtypeid:
  18762. description: 提货人证件类型
  18763. type: integer
  18764. checkremark:
  18765. description: 审核备注
  18766. type: string
  18767. goodscode:
  18768. description: 商品代码
  18769. type: string
  18770. goodsid:
  18771. description: 商品ID
  18772. type: integer
  18773. goodsname:
  18774. description: 商品名称
  18775. type: string
  18776. handlestatus:
  18777. description: 处理状态
  18778. type: integer
  18779. marketid:
  18780. description: 市场ID
  18781. type: integer
  18782. phonenum:
  18783. description: 提货人联系方式
  18784. type: string
  18785. qty:
  18786. description: 提货数量
  18787. type: number
  18788. recivername:
  18789. description: 提货人姓名
  18790. type: string
  18791. reqtime:
  18792. description: 更新时间
  18793. type: string
  18794. takemode:
  18795. description: 提货方式 - 2:自提 3:配送
  18796. type: integer
  18797. takeorderid:
  18798. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  18799. type: string
  18800. takeorderstatus:
  18801. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  18802. type: integer
  18803. takeremark:
  18804. description: 提货备注
  18805. type: string
  18806. tradedate:
  18807. description: 交易日(yyyyMMdd)
  18808. type: string
  18809. userid:
  18810. description: 用户ID
  18811. type: integer
  18812. required:
  18813. - takeorderid
  18814. type: object
  18815. szdz.QueryRecieptOrderRsp:
  18816. properties:
  18817. accountName:
  18818. description: 所属账号名称(已脱敏)
  18819. type: string
  18820. accountid:
  18821. description: 资金账号
  18822. type: integer
  18823. buyorsell:
  18824. description: 方向 - 0:买 1:卖
  18825. type: integer
  18826. enableqty:
  18827. description: 可摘数量
  18828. type: integer
  18829. goodscode:
  18830. description: 商品代码
  18831. type: string
  18832. goodsid:
  18833. description: 商品ID
  18834. type: integer
  18835. goodsname:
  18836. description: 商品名称
  18837. type: string
  18838. orderid:
  18839. description: 委托单号
  18840. type: string
  18841. orderprice:
  18842. description: 委托价格
  18843. type: number
  18844. ordertime:
  18845. description: 委托时间
  18846. type: string
  18847. tradedate:
  18848. description: 交易日(yyyyMMdd)
  18849. type: string
  18850. required:
  18851. - ordertime
  18852. type: object
  18853. szdz.QuerySZDZTradePositionRsp:
  18854. properties:
  18855. accountid:
  18856. description: 账号Id
  18857. type: integer
  18858. agreeunit:
  18859. description: 合约单位
  18860. type: number
  18861. averageprice:
  18862. description: 持仓均价
  18863. type: number
  18864. buyorsell:
  18865. description: 方向 - 0:买 1:卖
  18866. type: integer
  18867. closetotalqty:
  18868. description: 平仓总数量
  18869. type: integer
  18870. curholderamount:
  18871. description: 当前持仓总金额
  18872. type: number
  18873. curpositionqty:
  18874. description: 当前持仓总数量
  18875. type: integer
  18876. currencyid:
  18877. description: 报价货币ID
  18878. type: integer
  18879. curtdposition:
  18880. description: 期末今日头寸
  18881. type: integer
  18882. decimalplace:
  18883. description: 报价小数位
  18884. type: integer
  18885. enableqty:
  18886. description: 可用量
  18887. type: integer
  18888. fretdposition:
  18889. description: 冻结今日头寸
  18890. type: integer
  18891. frozenqty:
  18892. description: 持仓冻结数量
  18893. type: integer
  18894. goodscode:
  18895. description: 商品代码(内部)
  18896. type: string
  18897. goodsid:
  18898. description: 商品Id
  18899. type: integer
  18900. goodsname:
  18901. description: 商品名称
  18902. type: string
  18903. goodunit:
  18904. description: 报价单位
  18905. type: string
  18906. goodunitid:
  18907. description: 报价单位ID
  18908. type: integer
  18909. holderamount:
  18910. description: 期初持仓总金额
  18911. type: number
  18912. marketid:
  18913. description: 市场ID
  18914. type: integer
  18915. openreqqty:
  18916. description: 开仓申请数量
  18917. type: integer
  18918. opentotalqty:
  18919. description: 开仓总数量
  18920. type: integer
  18921. otherfrozenqty:
  18922. description: 持仓其他冻结数量(交割冻结)
  18923. type: integer
  18924. positionqty:
  18925. description: 期初持仓数量
  18926. type: integer
  18927. szdz3freezqty:
  18928. description: 尚志大宗转换冻结总数量
  18929. type: integer
  18930. tnqty:
  18931. description: T+N冻结总量
  18932. type: integer
  18933. tnusedqty:
  18934. description: T+N使用量
  18935. type: integer
  18936. trademode:
  18937. description: 交易模式
  18938. type: integer
  18939. usedmargin:
  18940. description: 占用保证金
  18941. type: number
  18942. type: object
  18943. taaccount.QueryAmountLogRsp:
  18944. properties:
  18945. OPERATETYPENAME:
  18946. description: 资金操作类型名称
  18947. type: string
  18948. accountid:
  18949. description: 资金账户ID
  18950. type: integer
  18951. agoodscode:
  18952. description: 竞拍商品代码
  18953. type: string
  18954. agoodsname:
  18955. description: 竞拍商品名称
  18956. type: string
  18957. amount:
  18958. description: 资金金额
  18959. type: number
  18960. amountadjusttype:
  18961. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  18962. type: integer
  18963. autoid:
  18964. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  18965. type: integer
  18966. balance:
  18967. description: 期初余额
  18968. type: number
  18969. businesscode:
  18970. description: 业务编号
  18971. type: integer
  18972. createtime:
  18973. description: 发生时间
  18974. type: string
  18975. currencyid:
  18976. description: 币种ID
  18977. type: integer
  18978. currentbalance:
  18979. description: 期末余额(变动后金额)
  18980. type: number
  18981. dgoodscode:
  18982. description: 交割商品代码
  18983. type: string
  18984. dgoodsname:
  18985. description: 交割商品名称
  18986. type: string
  18987. goodscode:
  18988. description: 商品代码
  18989. type: string
  18990. goodsid:
  18991. description: 商品ID
  18992. type: integer
  18993. goodsname:
  18994. description: 商品名称
  18995. type: string
  18996. marketid:
  18997. description: 市场ID
  18998. type: integer
  18999. marketname:
  19000. description: 市场名称
  19001. type: string
  19002. moneyticket:
  19003. description: 资金流水号:银行端流水号
  19004. type: integer
  19005. operatetype:
  19006. 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:营销收款
  19007. type: integer
  19008. relationorderid:
  19009. description: 关联单号
  19010. type: string
  19011. remark:
  19012. description: 备注
  19013. type: string
  19014. trademode:
  19015. description: 交易模式
  19016. type: integer
  19017. required:
  19018. - accountid
  19019. - amount
  19020. - amountadjusttype
  19021. - autoid
  19022. - balance
  19023. - createtime
  19024. - currentbalance
  19025. - operatetype
  19026. type: object
  19027. taaccount.QueryHisAmountLogRsp:
  19028. properties:
  19029. OPERATETYPENAME:
  19030. description: 资金操作类型名称
  19031. type: string
  19032. accountid:
  19033. description: 资金账户ID
  19034. type: integer
  19035. agoodscode:
  19036. description: 竞拍商品代码
  19037. type: string
  19038. agoodsname:
  19039. description: 竞拍商品名称
  19040. type: string
  19041. amount:
  19042. description: 资金金额
  19043. type: number
  19044. amountadjusttype:
  19045. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  19046. type: integer
  19047. autoid:
  19048. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  19049. type: integer
  19050. balance:
  19051. description: 期初余额
  19052. type: number
  19053. businesscode:
  19054. description: 业务编号
  19055. type: integer
  19056. createtime:
  19057. description: 发生时间
  19058. type: string
  19059. currencyid:
  19060. description: 币种ID
  19061. type: integer
  19062. currentbalance:
  19063. description: 期末余额(变动后金额)
  19064. type: number
  19065. dgoodscode:
  19066. description: 交割商品代码
  19067. type: string
  19068. dgoodsname:
  19069. description: 交割商品名称
  19070. type: string
  19071. goodscode:
  19072. description: 商品代码
  19073. type: string
  19074. goodsid:
  19075. description: 商品ID
  19076. type: integer
  19077. goodsname:
  19078. description: 商品名称
  19079. type: string
  19080. histradedate:
  19081. description: 历史交易日
  19082. type: string
  19083. isvaliddata:
  19084. description: 是否有效 - 0:无效 1:有效
  19085. type: integer
  19086. marketid:
  19087. description: 市场ID
  19088. type: integer
  19089. marketname:
  19090. description: 市场名称
  19091. type: string
  19092. moneyticket:
  19093. description: 资金流水号:银行端流水号
  19094. type: integer
  19095. operatetype:
  19096. 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:营销收款
  19097. type: integer
  19098. relationorderid:
  19099. description: 关联单号
  19100. type: string
  19101. remark:
  19102. description: 备注
  19103. type: string
  19104. trademode:
  19105. description: 交易模式
  19106. type: integer
  19107. required:
  19108. - accountid
  19109. - amount
  19110. - amountadjusttype
  19111. - autoid
  19112. - balance
  19113. - createtime
  19114. - currentbalance
  19115. - histradedate
  19116. - operatetype
  19117. type: object
  19118. trade.QueryRecieptOrderRsp:
  19119. properties:
  19120. accountName:
  19121. description: 所属账号名称(已脱敏)
  19122. type: string
  19123. accountid:
  19124. description: 资金账号
  19125. type: integer
  19126. buyorsell:
  19127. description: 方向 - 0:买 1:卖
  19128. type: integer
  19129. enableqty:
  19130. description: 可摘数量
  19131. type: integer
  19132. goodscode:
  19133. description: 商品代码
  19134. type: string
  19135. goodsid:
  19136. description: 商品ID
  19137. type: integer
  19138. goodsname:
  19139. description: 商品名称
  19140. type: string
  19141. orderid:
  19142. description: 委托单号
  19143. type: string
  19144. orderprice:
  19145. description: 委托价格
  19146. type: number
  19147. ordertime:
  19148. description: 委托时间
  19149. type: string
  19150. tradedate:
  19151. description: 交易日(yyyyMMdd)
  19152. type: string
  19153. required:
  19154. - ordertime
  19155. type: object
  19156. user.LoginQueryRsp:
  19157. properties:
  19158. areaRoles:
  19159. description: 所属角色信息
  19160. items:
  19161. $ref: '#/definitions/models.Arearole'
  19162. type: array
  19163. externalExchanges:
  19164. description: 外部交易所
  19165. items:
  19166. $ref: '#/definitions/models.Externalexchange'
  19167. type: array
  19168. goodsgroups:
  19169. description: 商品组
  19170. items:
  19171. $ref: '#/definitions/models.Goodsgroup'
  19172. type: array
  19173. loginAccount:
  19174. $ref: '#/definitions/models.Loginaccount'
  19175. description: 登录账号
  19176. markets:
  19177. description: 市场
  19178. items:
  19179. $ref: '#/definitions/models.Market'
  19180. type: array
  19181. systemParams:
  19182. description: 系统参数
  19183. items:
  19184. $ref: '#/definitions/models.Systemparam'
  19185. type: array
  19186. userAccount:
  19187. $ref: '#/definitions/models.Useraccount'
  19188. description: 用户账号
  19189. userInfo:
  19190. $ref: '#/definitions/models.Userinfo'
  19191. description: 用户信息
  19192. username:
  19193. description: 用户姓名
  19194. type: string
  19195. type: object
  19196. info:
  19197. contact: {}
  19198. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  19199. termsOfService: http://www.muchinfo.cn
  19200. title: MTP2.0 查询服务 API
  19201. version: "1.0"
  19202. paths:
  19203. /CPTrade/QueryCPTradeMyBidInfos:
  19204. get:
  19205. parameters:
  19206. - description: 资金账户
  19207. in: query
  19208. name: accountid
  19209. required: true
  19210. type: integer
  19211. - description: 预售市场ID
  19212. in: query
  19213. name: marketid
  19214. type: integer
  19215. - description: 预售商品ID
  19216. in: query
  19217. name: goodsid
  19218. type: integer
  19219. produces:
  19220. - application/json
  19221. responses:
  19222. "200":
  19223. description: OK
  19224. schema:
  19225. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  19226. "500":
  19227. description: Internal Server Error
  19228. schema:
  19229. $ref: '#/definitions/app.Response'
  19230. security:
  19231. - ApiKeyAuth: []
  19232. summary: 查询产能预售我的出价信息
  19233. tags:
  19234. - 产能预售
  19235. /CPTrade/QueryCPTradeOrderDetail:
  19236. get:
  19237. parameters:
  19238. - description: 预售商品ID
  19239. in: query
  19240. name: goodsid
  19241. type: integer
  19242. - description: 预售市场ID
  19243. in: query
  19244. name: marketid
  19245. type: integer
  19246. - description: 预售商品ID列表 - 格式:1,2,3
  19247. in: query
  19248. name: goodsids
  19249. type: string
  19250. produces:
  19251. - application/json
  19252. responses:
  19253. "200":
  19254. description: OK
  19255. schema:
  19256. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  19257. "500":
  19258. description: Internal Server Error
  19259. schema:
  19260. $ref: '#/definitions/app.Response'
  19261. security:
  19262. - ApiKeyAuth: []
  19263. summary: 查询产能预售委托单信息
  19264. tags:
  19265. - 产能预售
  19266. /CPTrade/QueryMyCPTradeGoods:
  19267. get:
  19268. parameters:
  19269. - description: 资金账户
  19270. in: query
  19271. name: accountid
  19272. required: true
  19273. type: integer
  19274. produces:
  19275. - application/json
  19276. responses:
  19277. "200":
  19278. description: OK
  19279. schema:
  19280. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  19281. "500":
  19282. description: Internal Server Error
  19283. schema:
  19284. $ref: '#/definitions/app.Response'
  19285. security:
  19286. - ApiKeyAuth: []
  19287. summary: 查询我的预售信息
  19288. tags:
  19289. - 产能预售
  19290. /CPTrade/QueryPositionCancel:
  19291. get:
  19292. parameters:
  19293. - description: 账户ID
  19294. in: query
  19295. name: userid
  19296. required: true
  19297. type: integer
  19298. - description: 注销ID
  19299. in: query
  19300. name: cancelid
  19301. type: integer
  19302. - description: 资金账户ID
  19303. in: query
  19304. name: accountid
  19305. type: integer
  19306. produces:
  19307. - application/json
  19308. responses:
  19309. "200":
  19310. description: OK
  19311. schema:
  19312. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  19313. "500":
  19314. description: Internal Server Error
  19315. schema:
  19316. $ref: '#/definitions/app.Response'
  19317. security:
  19318. - ApiKeyAuth: []
  19319. summary: 查询远期订单注销申请信息
  19320. tags:
  19321. - 产能预售
  19322. /CPTrade/QueryPreasleApply:
  19323. get:
  19324. parameters:
  19325. - description: 账户ID
  19326. in: query
  19327. name: userid
  19328. required: true
  19329. type: integer
  19330. - description: 申请ID
  19331. in: query
  19332. name: applyid
  19333. type: integer
  19334. - description: 资金账户ID
  19335. in: query
  19336. name: accountid
  19337. type: integer
  19338. produces:
  19339. - application/json
  19340. responses:
  19341. "200":
  19342. description: OK
  19343. schema:
  19344. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  19345. "500":
  19346. description: Internal Server Error
  19347. schema:
  19348. $ref: '#/definitions/app.Response'
  19349. security:
  19350. - ApiKeyAuth: []
  19351. summary: 查询产能预售申请信息
  19352. tags:
  19353. - 产能预售
  19354. /CPTrade/QueryPresaleGoodsEx:
  19355. get:
  19356. parameters:
  19357. - description: 预售商品ID
  19358. in: query
  19359. name: goodsid
  19360. type: integer
  19361. - description: 预售市场ID
  19362. in: query
  19363. name: marketid
  19364. type: integer
  19365. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  19366. in: query
  19367. name: presalemode
  19368. type: integer
  19369. - description: 预售商品ID列表 - 格式:1,2,3
  19370. in: query
  19371. name: goodsids
  19372. type: string
  19373. - description: 预售商品代码
  19374. in: query
  19375. name: goodscode
  19376. type: string
  19377. produces:
  19378. - application/json
  19379. responses:
  19380. "200":
  19381. description: OK
  19382. schema:
  19383. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  19384. "500":
  19385. description: Internal Server Error
  19386. schema:
  19387. $ref: '#/definitions/app.Response'
  19388. security:
  19389. - ApiKeyAuth: []
  19390. summary: 查询产能预售商品扩展信息
  19391. tags:
  19392. - 产能预售
  19393. /CPTrade/QueryUserGoodsData:
  19394. get:
  19395. parameters:
  19396. - description: 资金账户ID
  19397. in: query
  19398. name: accountid
  19399. required: true
  19400. type: integer
  19401. produces:
  19402. - application/json
  19403. responses:
  19404. "200":
  19405. description: OK
  19406. schema:
  19407. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  19408. "500":
  19409. description: Internal Server Error
  19410. schema:
  19411. $ref: '#/definitions/app.Response'
  19412. security:
  19413. - ApiKeyAuth: []
  19414. summary: 查询远期订单信息
  19415. tags:
  19416. - 产能预售
  19417. /Common/GetAllEnums:
  19418. get:
  19419. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  19420. parameters:
  19421. - description: 起始自增ID
  19422. in: query
  19423. name: autoid
  19424. type: integer
  19425. produces:
  19426. - application/json
  19427. responses:
  19428. "200":
  19429. description: OK
  19430. schema:
  19431. $ref: '#/definitions/models.Enumdicitem'
  19432. "500":
  19433. description: Internal Server Error
  19434. schema:
  19435. $ref: '#/definitions/app.Response'
  19436. summary: 获取所有枚举信息
  19437. tags:
  19438. - 通用服务
  19439. /Common/GetClientMenus:
  19440. get:
  19441. parameters:
  19442. - description: 登录账号
  19443. in: query
  19444. name: loginID
  19445. required: true
  19446. type: integer
  19447. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  19448. in: query
  19449. name: clientType
  19450. type: integer
  19451. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  19452. in: query
  19453. name: name
  19454. type: string
  19455. produces:
  19456. - application/json
  19457. responses:
  19458. "200":
  19459. description: OK
  19460. schema:
  19461. items:
  19462. $ref: '#/definitions/common.ClientMenu'
  19463. type: array
  19464. "500":
  19465. description: Internal Server Error
  19466. schema:
  19467. $ref: '#/definitions/app.Response'
  19468. security:
  19469. - ApiKeyAuth: []
  19470. summary: 获取交易端菜单
  19471. tags:
  19472. - 通用服务
  19473. /Common/GetDivisions:
  19474. get:
  19475. produces:
  19476. - application/json
  19477. responses:
  19478. "200":
  19479. description: OK
  19480. schema:
  19481. $ref: '#/definitions/models.Division'
  19482. "500":
  19483. description: Internal Server Error
  19484. schema:
  19485. $ref: '#/definitions/app.Response'
  19486. summary: 查询区域信息
  19487. tags:
  19488. - 通用服务
  19489. /Common/GetPCWebMenus:
  19490. get:
  19491. parameters:
  19492. - description: 登录账号
  19493. in: query
  19494. name: loginID
  19495. required: true
  19496. type: integer
  19497. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  19498. in: query
  19499. name: name
  19500. type: string
  19501. produces:
  19502. - application/json
  19503. responses:
  19504. "200":
  19505. description: OK
  19506. schema:
  19507. items:
  19508. $ref: '#/definitions/common.PCWebMenu'
  19509. type: array
  19510. "500":
  19511. description: Internal Server Error
  19512. schema:
  19513. $ref: '#/definitions/app.Response'
  19514. security:
  19515. - ApiKeyAuth: []
  19516. summary: 获取PCWeb交易端菜单
  19517. tags:
  19518. - 通用服务
  19519. /Common/GetServerTime:
  19520. get:
  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. summary: 获取服务器时间
  19533. tags:
  19534. - 通用服务
  19535. /Common/NoticeReaded:
  19536. post:
  19537. parameters:
  19538. - description: 登录账号
  19539. in: query
  19540. name: loginID
  19541. required: true
  19542. type: integer
  19543. - description: 通知公告ID
  19544. in: query
  19545. name: noticeID
  19546. required: true
  19547. type: integer
  19548. produces:
  19549. - application/json
  19550. responses:
  19551. "200":
  19552. description: OK
  19553. schema:
  19554. $ref: '#/definitions/app.Response'
  19555. "500":
  19556. description: Internal Server Error
  19557. schema:
  19558. $ref: '#/definitions/app.Response'
  19559. security:
  19560. - ApiKeyAuth: []
  19561. summary: 通知公告设置已读请求
  19562. tags:
  19563. - 通用服务
  19564. /Common/QueryErrorInfos:
  19565. get:
  19566. description: 如果传入rowNumber,则返回此rowNumber后的数据
  19567. parameters:
  19568. - description: 起始行号前索引
  19569. in: query
  19570. name: rowNumber
  19571. type: string
  19572. produces:
  19573. - application/json
  19574. responses:
  19575. "200":
  19576. description: OK
  19577. schema:
  19578. $ref: '#/definitions/models.QueryErrorInfosRsp'
  19579. "500":
  19580. description: Internal Server Error
  19581. schema:
  19582. $ref: '#/definitions/app.Response'
  19583. summary: 获取数据库错误信息
  19584. tags:
  19585. - 通用服务
  19586. /Common/QueryImageConfigs:
  19587. get:
  19588. parameters:
  19589. - description: 用户id
  19590. in: query
  19591. name: userId
  19592. type: integer
  19593. - description: 类型 - 1:App首页轮播 2:我的
  19594. in: query
  19595. name: imageType
  19596. type: integer
  19597. produces:
  19598. - application/json
  19599. responses:
  19600. "200":
  19601. description: OK
  19602. schema:
  19603. $ref: '#/definitions/common.QueryImageConfigsRsp'
  19604. "500":
  19605. description: Internal Server Error
  19606. schema:
  19607. $ref: '#/definitions/app.Response'
  19608. summary: 查询轮播图配置信息
  19609. tags:
  19610. - 通用服务
  19611. /Common/QueryNotice:
  19612. get:
  19613. parameters:
  19614. - description: 页码
  19615. in: query
  19616. name: page
  19617. type: integer
  19618. - description: 每页条数
  19619. in: query
  19620. name: pagesize
  19621. type: integer
  19622. - description: 登录账号
  19623. in: query
  19624. name: loginID
  19625. required: true
  19626. type: integer
  19627. - description: 消息类型 - 1:公告通知 2:系统消息
  19628. in: query
  19629. name: msgType
  19630. type: integer
  19631. - description: 是否只获取未读信息
  19632. in: query
  19633. name: onlyUnRead
  19634. type: boolean
  19635. - description: 自增ID,传入后会返回这个ID后面的记录
  19636. in: query
  19637. name: lastID
  19638. type: integer
  19639. produces:
  19640. - application/json
  19641. responses:
  19642. "200":
  19643. description: OK
  19644. schema:
  19645. $ref: '#/definitions/common.QueryNoticeRsp'
  19646. "500":
  19647. description: Internal Server Error
  19648. schema:
  19649. $ref: '#/definitions/app.Response'
  19650. security:
  19651. - ApiKeyAuth: []
  19652. summary: 通知公告系统消息查询
  19653. tags:
  19654. - 通用服务
  19655. /Common/QueryProvincesAndCities:
  19656. get:
  19657. parameters:
  19658. - description: 省ID
  19659. in: query
  19660. name: provinceID
  19661. type: integer
  19662. produces:
  19663. - application/json
  19664. responses:
  19665. "200":
  19666. description: OK
  19667. schema:
  19668. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  19669. "500":
  19670. description: Internal Server Error
  19671. schema:
  19672. $ref: '#/definitions/app.Response'
  19673. summary: 查询省市信息(不包括区)
  19674. tags:
  19675. - 通用服务
  19676. /Common/QueryTableDefine:
  19677. get:
  19678. parameters:
  19679. - description: 表key
  19680. in: query
  19681. name: tableKey
  19682. type: string
  19683. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  19684. in: query
  19685. name: tableType
  19686. type: integer
  19687. produces:
  19688. - application/json
  19689. responses:
  19690. "200":
  19691. description: OK
  19692. schema:
  19693. $ref: '#/definitions/common.QueryTableDefineRsp'
  19694. "500":
  19695. description: Internal Server Error
  19696. schema:
  19697. $ref: '#/definitions/app.Response'
  19698. summary: 查询交易端列表头信息
  19699. tags:
  19700. - 通用服务
  19701. /Common/QueryTraderMenu:
  19702. get:
  19703. parameters:
  19704. - description: 登录账号
  19705. in: query
  19706. name: loginid
  19707. required: true
  19708. type: integer
  19709. produces:
  19710. - application/json
  19711. responses:
  19712. "200":
  19713. description: OK
  19714. schema:
  19715. $ref: '#/definitions/common.QueryTraderMenuRsp'
  19716. "500":
  19717. description: Internal Server Error
  19718. schema:
  19719. $ref: '#/definitions/app.Response'
  19720. summary: 查询交易端菜单
  19721. tags:
  19722. - 通用服务
  19723. /Delivery/QueryDeliveryRelation:
  19724. get:
  19725. parameters:
  19726. - description: 商品ID
  19727. in: query
  19728. name: goodsid
  19729. type: integer
  19730. - description: 品种ID
  19731. in: query
  19732. name: deliverygoodsid
  19733. type: integer
  19734. - description: 市场ID
  19735. in: query
  19736. name: marketid
  19737. type: integer
  19738. produces:
  19739. - application/json
  19740. responses:
  19741. "200":
  19742. description: OK
  19743. schema:
  19744. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  19745. "500":
  19746. description: Internal Server Error
  19747. schema:
  19748. $ref: '#/definitions/app.Response'
  19749. security:
  19750. - ApiKeyAuth: []
  19751. summary: 查询商品交割关系表
  19752. tags:
  19753. - 交割服务
  19754. /Ermcp/GetErmcpGoods:
  19755. get:
  19756. parameters:
  19757. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  19758. in: query
  19759. name: userid
  19760. type: integer
  19761. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  19762. in: query
  19763. name: lastUpdateTime
  19764. type: string
  19765. produces:
  19766. - application/json
  19767. responses:
  19768. "200":
  19769. description: OK
  19770. schema:
  19771. $ref: '#/definitions/models.ErmcpGoods'
  19772. "500":
  19773. description: Internal Server Error
  19774. schema:
  19775. $ref: '#/definitions/app.Response'
  19776. security:
  19777. - ApiKeyAuth: []
  19778. summary: 查询企业风管期货商品信息
  19779. tags:
  19780. - 企业风险管理(app)
  19781. /Ermcp/GetErmcpGoodsSortByPosition:
  19782. get:
  19783. parameters:
  19784. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  19785. in: query
  19786. name: sortIndex
  19787. type: string
  19788. produces:
  19789. - application/json
  19790. responses:
  19791. "200":
  19792. description: OK
  19793. schema:
  19794. $ref: '#/definitions/models.Goodssortbypreposition'
  19795. "500":
  19796. description: Internal Server Error
  19797. schema:
  19798. $ref: '#/definitions/app.Response'
  19799. security:
  19800. - ApiKeyAuth: []
  19801. summary: 查询企业风管期货主力、次主力商品信息
  19802. tags:
  19803. - 企业风险管理(app)
  19804. /Ermcp/GetErmcpOutAccountStatus:
  19805. get:
  19806. parameters:
  19807. - description: 登录账号
  19808. in: query
  19809. name: loginID
  19810. required: true
  19811. type: integer
  19812. produces:
  19813. - application/json
  19814. responses:
  19815. "200":
  19816. description: OK
  19817. schema:
  19818. $ref: '#/definitions/models.Hedgemarketopenlog'
  19819. "500":
  19820. description: Internal Server Error
  19821. schema:
  19822. $ref: '#/definitions/app.Response'
  19823. security:
  19824. - ApiKeyAuth: []
  19825. summary: 获取目标登录账号当前对冲账号在线状态
  19826. tags:
  19827. - 企业风险管理(app)
  19828. /Ermcp/GetErmcpRoleFuncMenuLists:
  19829. get:
  19830. parameters:
  19831. - description: 登录账号
  19832. in: query
  19833. name: loginID
  19834. required: true
  19835. type: integer
  19836. produces:
  19837. - application/json
  19838. responses:
  19839. "200":
  19840. description: OK
  19841. schema:
  19842. $ref: '#/definitions/models.Funcmenulist'
  19843. "500":
  19844. description: Internal Server Error
  19845. schema:
  19846. $ref: '#/definitions/app.Response'
  19847. security:
  19848. - ApiKeyAuth: []
  19849. summary: 获取企业风管终端权限
  19850. tags:
  19851. - 企业风险管理(app)
  19852. /Ermcp/QueryAccMgrBizGroupSet:
  19853. get:
  19854. parameters:
  19855. - description: 用户ID
  19856. in: query
  19857. name: userid
  19858. required: true
  19859. type: integer
  19860. - description: 现货商品id
  19861. in: query
  19862. name: deliverygoodsid
  19863. type: integer
  19864. produces:
  19865. - application/json
  19866. responses:
  19867. "200":
  19868. description: OK
  19869. schema:
  19870. items:
  19871. $ref: '#/definitions/models.ErmcpBizGroupEx'
  19872. type: array
  19873. "500":
  19874. description: Internal Server Error
  19875. schema:
  19876. $ref: '#/definitions/app.Response'
  19877. security:
  19878. - ApiKeyAuth: []
  19879. summary: 查询业务类型分组(账户管理/账户设置)
  19880. tags:
  19881. - 企业风险管理(app)
  19882. /Ermcp/QueryAccMgrLoginUser:
  19883. get:
  19884. parameters:
  19885. - description: 用户ID
  19886. in: query
  19887. name: userid
  19888. required: true
  19889. type: integer
  19890. - description: 用户类型 2-机构 7-企业成员
  19891. in: query
  19892. name: usertype
  19893. type: integer
  19894. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  19895. in: query
  19896. name: querytype
  19897. required: true
  19898. type: integer
  19899. produces:
  19900. - application/json
  19901. responses:
  19902. "200":
  19903. description: OK
  19904. schema:
  19905. items:
  19906. $ref: '#/definitions/models.ErmcpLoginUserEx'
  19907. type: array
  19908. "500":
  19909. description: Internal Server Error
  19910. schema:
  19911. $ref: '#/definitions/app.Response'
  19912. security:
  19913. - ApiKeyAuth: []
  19914. summary: 查询账户管理登录账号(账户管理/登录账号)
  19915. tags:
  19916. - 企业风险管理(app)
  19917. /Ermcp/QueryAccMgrMainAccountInfo:
  19918. get:
  19919. parameters:
  19920. - description: 用户ID
  19921. in: query
  19922. name: userid
  19923. type: integer
  19924. - description: 主账号id
  19925. in: query
  19926. name: accountid
  19927. type: integer
  19928. produces:
  19929. - application/json
  19930. responses:
  19931. "200":
  19932. description: OK
  19933. schema:
  19934. items:
  19935. $ref: '#/definitions/models.MainAccountInfo'
  19936. type: array
  19937. "500":
  19938. description: Internal Server Error
  19939. schema:
  19940. $ref: '#/definitions/app.Response'
  19941. security:
  19942. - ApiKeyAuth: []
  19943. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  19944. tags:
  19945. - 企业风险管理(app)
  19946. /Ermcp/QueryAccMgrRole:
  19947. get:
  19948. parameters:
  19949. - description: 用户ID
  19950. in: query
  19951. name: userid
  19952. required: true
  19953. type: integer
  19954. produces:
  19955. - application/json
  19956. responses:
  19957. "200":
  19958. description: OK
  19959. schema:
  19960. items:
  19961. $ref: '#/definitions/models.ErmcpRole'
  19962. type: array
  19963. "500":
  19964. description: Internal Server Error
  19965. schema:
  19966. $ref: '#/definitions/app.Response'
  19967. security:
  19968. - ApiKeyAuth: []
  19969. summary: 查询账户管理角色设置(账户管理/角色设置)
  19970. tags:
  19971. - 企业风险管理(app)
  19972. /Ermcp/QueryAccMgrRoleMenu:
  19973. get:
  19974. parameters:
  19975. - description: 用户ID
  19976. in: query
  19977. name: userid
  19978. required: true
  19979. type: integer
  19980. - description: 角色id(可多个,逗号隔开)
  19981. in: query
  19982. name: roleid
  19983. type: string
  19984. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  19985. in: query
  19986. name: menutype
  19987. type: integer
  19988. produces:
  19989. - application/json
  19990. responses:
  19991. "200":
  19992. description: OK
  19993. schema:
  19994. items:
  19995. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  19996. type: array
  19997. "500":
  19998. description: Internal Server Error
  19999. schema:
  20000. $ref: '#/definitions/app.Response'
  20001. security:
  20002. - ApiKeyAuth: []
  20003. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  20004. tags:
  20005. - 企业风险管理(app)
  20006. /Ermcp/QueryAccMgrTaAccountInfo:
  20007. get:
  20008. parameters:
  20009. - description: 用户ID
  20010. in: query
  20011. name: userid
  20012. required: true
  20013. type: integer
  20014. - description: 账号id
  20015. in: query
  20016. name: accountid
  20017. type: integer
  20018. produces:
  20019. - application/json
  20020. responses:
  20021. "200":
  20022. description: OK
  20023. schema:
  20024. items:
  20025. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  20026. type: array
  20027. "500":
  20028. description: Internal Server Error
  20029. schema:
  20030. $ref: '#/definitions/app.Response'
  20031. security:
  20032. - ApiKeyAuth: []
  20033. summary: 查询账户管理授信(账户管理/账户设置/授信)
  20034. tags:
  20035. - 企业风险管理(app)
  20036. /Ermcp/QueryAccMgrTaaccount:
  20037. get:
  20038. parameters:
  20039. - description: 用户ID
  20040. in: query
  20041. name: userid
  20042. required: true
  20043. type: integer
  20044. produces:
  20045. - application/json
  20046. responses:
  20047. "200":
  20048. description: OK
  20049. schema:
  20050. items:
  20051. $ref: '#/definitions/models.ErmcpTaAccountEx'
  20052. type: array
  20053. "500":
  20054. description: Internal Server Error
  20055. schema:
  20056. $ref: '#/definitions/app.Response'
  20057. security:
  20058. - ApiKeyAuth: []
  20059. summary: 查询账户管理期货账号(账户管理/期货账号)
  20060. tags:
  20061. - 企业风险管理(app)
  20062. /Ermcp/QueryAvaildGoodsGroup:
  20063. get:
  20064. parameters:
  20065. - description: 所属机构ID
  20066. in: query
  20067. name: userid
  20068. required: true
  20069. type: integer
  20070. produces:
  20071. - application/json
  20072. responses:
  20073. "200":
  20074. description: OK
  20075. schema:
  20076. items:
  20077. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  20078. type: array
  20079. "500":
  20080. description: Internal Server Error
  20081. schema:
  20082. $ref: '#/definitions/app.Response'
  20083. security:
  20084. - ApiKeyAuth: []
  20085. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  20086. tags:
  20087. - 企业风险管理(app)
  20088. /Ermcp/QueryBusinessDj:
  20089. get:
  20090. parameters:
  20091. - description: 用户ID
  20092. in: query
  20093. name: UserId
  20094. required: true
  20095. type: integer
  20096. - description: 用户类型 2-机构 7-企业成员
  20097. in: query
  20098. name: usertype
  20099. type: integer
  20100. - description: 现货合同ID, 不填则查所有
  20101. in: query
  20102. name: relatedid
  20103. type: string
  20104. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20105. in: query
  20106. name: applystatus
  20107. type: string
  20108. produces:
  20109. - application/json
  20110. responses:
  20111. "200":
  20112. description: OK
  20113. schema:
  20114. items:
  20115. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  20116. type: array
  20117. "500":
  20118. description: Internal Server Error
  20119. schema:
  20120. $ref: '#/definitions/app.Response'
  20121. security:
  20122. - ApiKeyAuth: []
  20123. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  20124. tags:
  20125. - 企业风险管理(app)
  20126. /Ermcp/QueryBusinessFp:
  20127. get:
  20128. parameters:
  20129. - description: 用户ID
  20130. in: query
  20131. name: UserId
  20132. required: true
  20133. type: integer
  20134. - description: 用户类型 2-机构 7-企业成员
  20135. in: query
  20136. name: usertype
  20137. type: integer
  20138. - description: 现货合同ID, 不填则查所有
  20139. in: query
  20140. name: relatedid
  20141. type: string
  20142. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20143. in: query
  20144. name: applystatus
  20145. type: string
  20146. produces:
  20147. - application/json
  20148. responses:
  20149. "200":
  20150. description: OK
  20151. schema:
  20152. items:
  20153. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  20154. type: array
  20155. "500":
  20156. description: Internal Server Error
  20157. schema:
  20158. $ref: '#/definitions/app.Response'
  20159. security:
  20160. - ApiKeyAuth: []
  20161. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  20162. tags:
  20163. - 企业风险管理(app)
  20164. /Ermcp/QueryBusinessJs:
  20165. get:
  20166. parameters:
  20167. - description: 用户ID
  20168. in: query
  20169. name: UserId
  20170. required: true
  20171. type: integer
  20172. - description: 用户类型 2-机构 7-企业成员
  20173. in: query
  20174. name: usertype
  20175. type: integer
  20176. - description: 现货合同ID, 不填则查所有
  20177. in: query
  20178. name: relatedid
  20179. type: string
  20180. - description: 操作申请id
  20181. in: query
  20182. name: operateapplyid
  20183. type: string
  20184. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20185. in: query
  20186. name: applystatus
  20187. type: string
  20188. produces:
  20189. - application/json
  20190. responses:
  20191. "200":
  20192. description: OK
  20193. schema:
  20194. items:
  20195. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  20196. type: array
  20197. "500":
  20198. description: Internal Server Error
  20199. schema:
  20200. $ref: '#/definitions/app.Response'
  20201. security:
  20202. - ApiKeyAuth: []
  20203. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  20204. tags:
  20205. - 企业风险管理(app)
  20206. /Ermcp/QueryBusinessJsEx:
  20207. get:
  20208. parameters:
  20209. - description: 用户ID
  20210. in: query
  20211. name: UserId
  20212. required: true
  20213. type: integer
  20214. - description: 用户类型 2-机构 7-企业成员
  20215. in: query
  20216. name: usertype
  20217. type: integer
  20218. - description: 现货合同ID, 不填则查所有
  20219. in: query
  20220. name: relatedid
  20221. type: string
  20222. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20223. in: query
  20224. name: applystatus
  20225. type: string
  20226. produces:
  20227. - application/json
  20228. responses:
  20229. "200":
  20230. description: OK
  20231. schema:
  20232. items:
  20233. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  20234. type: array
  20235. "500":
  20236. description: Internal Server Error
  20237. schema:
  20238. $ref: '#/definitions/app.Response'
  20239. security:
  20240. - ApiKeyAuth: []
  20241. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  20242. tags:
  20243. - 企业风险管理(app)
  20244. /Ermcp/QueryBusinessKx:
  20245. get:
  20246. parameters:
  20247. - description: 用户ID
  20248. in: query
  20249. name: UserId
  20250. required: true
  20251. type: integer
  20252. - description: 用户类型 2-机构 7-企业成员
  20253. in: query
  20254. name: usertype
  20255. type: integer
  20256. - description: 现货合同ID, 不填则查所有
  20257. in: query
  20258. name: relatedid
  20259. type: string
  20260. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20261. in: query
  20262. name: applystatus
  20263. type: string
  20264. produces:
  20265. - application/json
  20266. responses:
  20267. "200":
  20268. description: OK
  20269. schema:
  20270. items:
  20271. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  20272. type: array
  20273. "500":
  20274. description: Internal Server Error
  20275. schema:
  20276. $ref: '#/definitions/app.Response'
  20277. security:
  20278. - ApiKeyAuth: []
  20279. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  20280. tags:
  20281. - 企业风险管理(app)
  20282. /Ermcp/QueryChangeLog:
  20283. get:
  20284. parameters:
  20285. - description: 合同ID
  20286. in: query
  20287. name: RelatedId
  20288. required: true
  20289. type: string
  20290. produces:
  20291. - application/json
  20292. responses:
  20293. "200":
  20294. description: OK
  20295. schema:
  20296. items:
  20297. $ref: '#/definitions/ermcp.QryOPLogRsp'
  20298. type: array
  20299. "500":
  20300. description: Internal Server Error
  20301. schema:
  20302. $ref: '#/definitions/app.Response'
  20303. security:
  20304. - ApiKeyAuth: []
  20305. summary: 查询变更记录
  20306. tags:
  20307. - 企业风险管理(app)
  20308. /Ermcp/QueryErmcpHisOrderDetails:
  20309. get:
  20310. parameters:
  20311. - description: 资金账户ID
  20312. in: query
  20313. name: accountID
  20314. required: true
  20315. type: integer
  20316. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20317. in: query
  20318. name: startDate
  20319. type: string
  20320. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20321. in: query
  20322. name: endDate
  20323. type: string
  20324. produces:
  20325. - application/json
  20326. responses:
  20327. "200":
  20328. description: OK
  20329. schema:
  20330. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20331. "500":
  20332. description: Internal Server Error
  20333. schema:
  20334. $ref: '#/definitions/app.Response'
  20335. security:
  20336. - ApiKeyAuth: []
  20337. summary: 获取企业风管期货历史委托单信息
  20338. tags:
  20339. - 企业风险管理(app)
  20340. /Ermcp/QueryErmcpHisTradeDetails:
  20341. get:
  20342. parameters:
  20343. - description: 资金账户ID
  20344. in: query
  20345. name: accountID
  20346. required: true
  20347. type: integer
  20348. - description: 商品ID
  20349. in: query
  20350. name: goodsID
  20351. type: integer
  20352. - description: 买卖方向,0:买 1:卖
  20353. in: query
  20354. name: buyOrSell
  20355. type: integer
  20356. - description: 关联委托单号
  20357. in: query
  20358. name: orderID
  20359. type: integer
  20360. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20361. in: query
  20362. name: startDate
  20363. type: string
  20364. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20365. in: query
  20366. name: endDate
  20367. type: string
  20368. produces:
  20369. - application/json
  20370. responses:
  20371. "200":
  20372. description: OK
  20373. schema:
  20374. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20375. "500":
  20376. description: Internal Server Error
  20377. schema:
  20378. $ref: '#/definitions/app.Response'
  20379. security:
  20380. - ApiKeyAuth: []
  20381. summary: 获取企业风管期货历史成交单信息
  20382. tags:
  20383. - 企业风险管理(app)
  20384. /Ermcp/QueryErmcpInnerHolderDetails:
  20385. get:
  20386. parameters:
  20387. - description: 资金账户ID
  20388. in: query
  20389. name: accountID
  20390. required: true
  20391. type: integer
  20392. - description: 商品ID
  20393. in: query
  20394. name: goodsID
  20395. type: integer
  20396. - description: 买卖方向,0:买 1:卖
  20397. in: query
  20398. name: buyOrSell
  20399. type: integer
  20400. produces:
  20401. - application/json
  20402. responses:
  20403. "200":
  20404. description: OK
  20405. schema:
  20406. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  20407. "500":
  20408. description: Internal Server Error
  20409. schema:
  20410. $ref: '#/definitions/app.Response'
  20411. security:
  20412. - ApiKeyAuth: []
  20413. summary: 获取企业风管期货内部持仓单信息
  20414. tags:
  20415. - 企业风险管理(app)
  20416. /Ermcp/QueryErmcpOrderDetails:
  20417. get:
  20418. parameters:
  20419. - description: 资金账户ID
  20420. in: query
  20421. name: accountID
  20422. required: true
  20423. type: integer
  20424. produces:
  20425. - application/json
  20426. responses:
  20427. "200":
  20428. description: OK
  20429. schema:
  20430. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20431. "500":
  20432. description: Internal Server Error
  20433. schema:
  20434. $ref: '#/definitions/app.Response'
  20435. security:
  20436. - ApiKeyAuth: []
  20437. summary: 获取企业风管期货委托单信息
  20438. tags:
  20439. - 企业风险管理(app)
  20440. /Ermcp/QueryErmcpTradeDetails:
  20441. get:
  20442. parameters:
  20443. - description: 资金账户ID
  20444. in: query
  20445. name: accountID
  20446. required: true
  20447. type: integer
  20448. - description: 商品ID
  20449. in: query
  20450. name: goodsID
  20451. type: integer
  20452. - description: 买卖方向,0:买 1:卖
  20453. in: query
  20454. name: buyOrSell
  20455. type: integer
  20456. - description: 关联委托单号
  20457. in: query
  20458. name: orderID
  20459. type: integer
  20460. produces:
  20461. - application/json
  20462. responses:
  20463. "200":
  20464. description: OK
  20465. schema:
  20466. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20467. "500":
  20468. description: Internal Server Error
  20469. schema:
  20470. $ref: '#/definitions/app.Response'
  20471. security:
  20472. - ApiKeyAuth: []
  20473. summary: 获取企业风管期货成交单信息
  20474. tags:
  20475. - 企业风险管理(app)
  20476. /Ermcp/QueryErmcpTradePosition:
  20477. get:
  20478. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  20479. parameters:
  20480. - description: 资金账户ID
  20481. in: query
  20482. name: accountID
  20483. required: true
  20484. type: integer
  20485. - description: 所属市场ID
  20486. in: query
  20487. name: marketID
  20488. type: integer
  20489. produces:
  20490. - application/json
  20491. responses:
  20492. "200":
  20493. description: OK
  20494. schema:
  20495. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  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/QueryExposureDetail:
  20506. get:
  20507. parameters:
  20508. - description: 所属机构ID
  20509. in: query
  20510. name: areaUserId
  20511. required: true
  20512. type: integer
  20513. - description: 套保商品
  20514. in: query
  20515. name: middleGoodsId
  20516. required: true
  20517. type: integer
  20518. produces:
  20519. - application/json
  20520. responses:
  20521. "200":
  20522. description: OK
  20523. schema:
  20524. items:
  20525. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  20526. type: array
  20527. "500":
  20528. description: Internal Server Error
  20529. schema:
  20530. $ref: '#/definitions/app.Response'
  20531. security:
  20532. - ApiKeyAuth: []
  20533. summary: 查询敞口现货明细
  20534. tags:
  20535. - 企业风险管理(app)
  20536. /Ermcp/QueryExposureGoods:
  20537. get:
  20538. parameters:
  20539. - description: 套保商品id
  20540. in: query
  20541. name: middlegoodsid
  20542. required: true
  20543. type: integer
  20544. produces:
  20545. - application/json
  20546. responses:
  20547. "200":
  20548. description: OK
  20549. schema:
  20550. items:
  20551. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  20552. type: array
  20553. "500":
  20554. description: Internal Server Error
  20555. schema:
  20556. $ref: '#/definitions/app.Response'
  20557. security:
  20558. - ApiKeyAuth: []
  20559. summary: 查询敞口主力合约
  20560. tags:
  20561. - 企业风险管理(app)
  20562. /Ermcp/QueryExposureHedgePosition:
  20563. get:
  20564. parameters:
  20565. - description: 用户id
  20566. in: query
  20567. name: userid
  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.ExposureHedgePositionRsp'
  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/QueryExposureHedgePositionDetail:
  20589. get:
  20590. parameters:
  20591. - description: 所属机构ID
  20592. in: query
  20593. name: userid
  20594. required: true
  20595. type: integer
  20596. - description: 商品id
  20597. in: query
  20598. name: goodsId
  20599. required: true
  20600. type: integer
  20601. produces:
  20602. - application/json
  20603. responses:
  20604. "200":
  20605. description: OK
  20606. schema:
  20607. items:
  20608. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  20609. type: array
  20610. "500":
  20611. description: Internal Server Error
  20612. schema:
  20613. $ref: '#/definitions/app.Response'
  20614. security:
  20615. - ApiKeyAuth: []
  20616. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  20617. tags:
  20618. - 企业风险管理(app)
  20619. /Ermcp/QueryExposureSpot:
  20620. get:
  20621. parameters:
  20622. - description: 所属机构ID
  20623. in: query
  20624. name: areaUserId
  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.ExposureSpotRsp'
  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/QueryExposureSpotDetail:
  20646. get:
  20647. parameters:
  20648. - description: 所属机构ID
  20649. in: query
  20650. name: areaUserId
  20651. required: true
  20652. type: integer
  20653. - description: 现货品种ID
  20654. in: query
  20655. name: wrstandardId
  20656. required: true
  20657. type: integer
  20658. produces:
  20659. - application/json
  20660. responses:
  20661. "200":
  20662. description: OK
  20663. schema:
  20664. items:
  20665. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  20666. type: array
  20667. "500":
  20668. description: Internal Server Error
  20669. schema:
  20670. $ref: '#/definitions/app.Response'
  20671. security:
  20672. - ApiKeyAuth: []
  20673. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  20674. tags:
  20675. - 企业风险管理(app)
  20676. /Ermcp/QueryFuturesCompany:
  20677. get:
  20678. produces:
  20679. - application/json
  20680. responses:
  20681. "200":
  20682. description: OK
  20683. schema:
  20684. items:
  20685. $ref: '#/definitions/models.ErmcpFuturesCompany'
  20686. type: array
  20687. "500":
  20688. description: Internal Server Error
  20689. schema:
  20690. $ref: '#/definitions/app.Response'
  20691. security:
  20692. - ApiKeyAuth: []
  20693. summary: 查询期货公司
  20694. tags:
  20695. - 企业风险管理(app)
  20696. /Ermcp/QueryGGConvertConfig:
  20697. get:
  20698. parameters:
  20699. - description: 品种id(不填则查所有)
  20700. in: query
  20701. name: goodsgroupid
  20702. type: integer
  20703. produces:
  20704. - application/json
  20705. responses:
  20706. "200":
  20707. description: OK
  20708. schema:
  20709. items:
  20710. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  20711. type: array
  20712. "500":
  20713. description: Internal Server Error
  20714. schema:
  20715. $ref: '#/definitions/app.Response'
  20716. security:
  20717. - ApiKeyAuth: []
  20718. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  20719. tags:
  20720. - 企业风险管理(app)
  20721. /Ermcp/QueryGoodsBrand:
  20722. get:
  20723. parameters:
  20724. - description: 用户ID
  20725. in: query
  20726. name: userid
  20727. required: true
  20728. type: integer
  20729. - description: 现货商品ID
  20730. in: query
  20731. name: wrstandardid
  20732. type: integer
  20733. produces:
  20734. - application/json
  20735. responses:
  20736. "200":
  20737. description: OK
  20738. schema:
  20739. items:
  20740. $ref: '#/definitions/models.ErmcpGoodsBrand'
  20741. type: array
  20742. "500":
  20743. description: Internal Server Error
  20744. schema:
  20745. $ref: '#/definitions/app.Response'
  20746. security:
  20747. - ApiKeyAuth: []
  20748. summary: 查询商品品牌
  20749. tags:
  20750. - 企业风险管理(app)
  20751. /Ermcp/QueryGoodsModel:
  20752. get:
  20753. parameters:
  20754. - description: 用户ID
  20755. in: query
  20756. name: userid
  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/models.ErmcpGoodsModel'
  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/QueryHisExposure:
  20778. get:
  20779. parameters:
  20780. - description: 用户id
  20781. in: query
  20782. name: userid
  20783. required: true
  20784. type: integer
  20785. - description: 每个品种记录数
  20786. in: query
  20787. name: lastNum
  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.HisExposureRsp'
  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/QueryMiddleGoods:
  20809. get:
  20810. parameters:
  20811. - description: 所属机构ID
  20812. in: query
  20813. name: userid
  20814. required: true
  20815. type: integer
  20816. - description: 状态 0-停用 1-正常
  20817. in: query
  20818. name: status
  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.QryMiddleGoodsRsp'
  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/QueryMiddleGoodsChangeLog:
  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. required: true
  20851. type: integer
  20852. produces:
  20853. - application/json
  20854. responses:
  20855. "200":
  20856. description: OK
  20857. schema:
  20858. items:
  20859. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  20860. type: array
  20861. "500":
  20862. description: Internal Server Error
  20863. schema:
  20864. $ref: '#/definitions/app.Response'
  20865. security:
  20866. - ApiKeyAuth: []
  20867. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  20868. tags:
  20869. - 企业风险管理(app)
  20870. /Ermcp/QueryMiddleGoodsDetail:
  20871. get:
  20872. parameters:
  20873. - description: 所属机构ID
  20874. in: query
  20875. name: userid
  20876. required: true
  20877. type: integer
  20878. - description: 套保品种id
  20879. in: query
  20880. name: middlegoodsid
  20881. type: integer
  20882. produces:
  20883. - application/json
  20884. responses:
  20885. "200":
  20886. description: OK
  20887. schema:
  20888. items:
  20889. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  20890. type: array
  20891. "500":
  20892. description: Internal Server Error
  20893. schema:
  20894. $ref: '#/definitions/app.Response'
  20895. security:
  20896. - ApiKeyAuth: []
  20897. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  20898. tags:
  20899. - 企业风险管理(app)
  20900. /Ermcp/QueryPendingAuditInfo:
  20901. get:
  20902. parameters:
  20903. - description: 用户ID
  20904. in: query
  20905. name: UserId
  20906. required: true
  20907. type: integer
  20908. produces:
  20909. - application/json
  20910. responses:
  20911. "200":
  20912. description: OK
  20913. schema:
  20914. items:
  20915. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  20916. type: array
  20917. "500":
  20918. description: Internal Server Error
  20919. schema:
  20920. $ref: '#/definitions/app.Response'
  20921. security:
  20922. - ApiKeyAuth: []
  20923. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  20924. tags:
  20925. - 企业风险管理(app)
  20926. /Ermcp/QueryRealtimeExposure:
  20927. get:
  20928. parameters:
  20929. - description: 所属机构ID
  20930. in: query
  20931. name: userid
  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.RealtimeExposureRsp'
  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/QueryRealtimeExposurePosition:
  20953. get:
  20954. parameters:
  20955. - description: 用户id
  20956. in: query
  20957. name: userid
  20958. required: true
  20959. type: integer
  20960. - description: 套保商品ID
  20961. in: query
  20962. name: middleGoodsId
  20963. required: true
  20964. type: integer
  20965. produces:
  20966. - application/json
  20967. responses:
  20968. "200":
  20969. description: OK
  20970. schema:
  20971. items:
  20972. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  20973. type: array
  20974. "500":
  20975. description: Internal Server Error
  20976. schema:
  20977. $ref: '#/definitions/app.Response'
  20978. security:
  20979. - ApiKeyAuth: []
  20980. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  20981. tags:
  20982. - 企业风险管理(app)
  20983. /Ermcp/QueryRoleMenu:
  20984. get:
  20985. parameters:
  20986. - description: 登录ID
  20987. in: query
  20988. name: loginid
  20989. required: true
  20990. type: integer
  20991. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  20992. in: query
  20993. name: menutype
  20994. type: integer
  20995. produces:
  20996. - application/json
  20997. responses:
  20998. "200":
  20999. description: OK
  21000. schema:
  21001. items:
  21002. $ref: '#/definitions/models.RoleMenu'
  21003. type: array
  21004. "500":
  21005. description: Internal Server Error
  21006. schema:
  21007. $ref: '#/definitions/app.Response'
  21008. security:
  21009. - ApiKeyAuth: []
  21010. summary: 查询角色菜单和权限
  21011. tags:
  21012. - 企业风险管理(app)
  21013. /Ermcp/QueryTradeConfigTMP:
  21014. get:
  21015. parameters:
  21016. - description: 所属机构id
  21017. in: query
  21018. name: areauserid
  21019. type: integer
  21020. produces:
  21021. - application/json
  21022. responses:
  21023. "200":
  21024. description: OK
  21025. schema:
  21026. items:
  21027. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  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/QueryUserInfo:
  21039. get:
  21040. parameters:
  21041. - description: 所属机构用户ID
  21042. in: query
  21043. name: MemberUserID
  21044. required: true
  21045. type: integer
  21046. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  21047. in: query
  21048. name: queryType
  21049. required: true
  21050. type: integer
  21051. produces:
  21052. - application/json
  21053. responses:
  21054. "200":
  21055. description: OK
  21056. schema:
  21057. items:
  21058. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  21059. type: array
  21060. "500":
  21061. description: Internal Server Error
  21062. schema:
  21063. $ref: '#/definitions/app.Response'
  21064. security:
  21065. - ApiKeyAuth: []
  21066. summary: 查询客户资料
  21067. tags:
  21068. - 企业风险管理(app)
  21069. /Ermcp/QueryWarehouseInfo:
  21070. get:
  21071. parameters:
  21072. - description: 用户ID
  21073. in: query
  21074. name: userid
  21075. required: true
  21076. type: integer
  21077. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  21078. in: query
  21079. name: status
  21080. type: string
  21081. produces:
  21082. - application/json
  21083. responses:
  21084. "200":
  21085. description: OK
  21086. schema:
  21087. items:
  21088. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  21089. type: array
  21090. "500":
  21091. description: Internal Server Error
  21092. schema:
  21093. $ref: '#/definitions/app.Response'
  21094. security:
  21095. - ApiKeyAuth: []
  21096. summary: 查询仓库信息
  21097. tags:
  21098. - 企业风险管理(app)
  21099. /Ermcp3/QryAreaExpourseContractDetail:
  21100. get:
  21101. parameters:
  21102. - description: 用户ID
  21103. in: query
  21104. name: userid
  21105. required: true
  21106. type: integer
  21107. - description: 套保商品id
  21108. in: query
  21109. name: middlegoodsid
  21110. required: true
  21111. type: integer
  21112. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21113. in: query
  21114. name: cycletype
  21115. required: true
  21116. type: integer
  21117. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21118. in: query
  21119. name: cycletime
  21120. required: true
  21121. type: string
  21122. produces:
  21123. - application/json
  21124. responses:
  21125. "200":
  21126. description: OK
  21127. schema:
  21128. items:
  21129. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  21130. type: array
  21131. "500":
  21132. description: Internal Server Error
  21133. schema:
  21134. $ref: '#/definitions/app.Response'
  21135. security:
  21136. - ApiKeyAuth: []
  21137. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  21138. tags:
  21139. - 企业风险管理v3(app)
  21140. /Ermcp3/QryAreaExpourseFutuDetail:
  21141. get:
  21142. parameters:
  21143. - description: 用户ID
  21144. in: query
  21145. name: userid
  21146. required: true
  21147. type: integer
  21148. - description: 套保商品id
  21149. in: query
  21150. name: middlegoodsid
  21151. required: true
  21152. type: integer
  21153. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21154. in: query
  21155. name: cycletype
  21156. required: true
  21157. type: integer
  21158. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21159. in: query
  21160. name: cycletime
  21161. required: true
  21162. type: string
  21163. produces:
  21164. - application/json
  21165. responses:
  21166. "200":
  21167. description: OK
  21168. schema:
  21169. items:
  21170. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  21171. type: array
  21172. "500":
  21173. description: Internal Server Error
  21174. schema:
  21175. $ref: '#/definitions/app.Response'
  21176. security:
  21177. - ApiKeyAuth: []
  21178. summary: 查询敞口期货明细(敞口报表/期货明细)
  21179. tags:
  21180. - 企业风险管理v3(app)
  21181. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  21182. get:
  21183. parameters:
  21184. - description: 用户ID
  21185. in: query
  21186. name: userid
  21187. required: true
  21188. type: integer
  21189. - description: 套保商品id
  21190. in: query
  21191. name: middlegoodsid
  21192. required: true
  21193. type: integer
  21194. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21195. in: query
  21196. name: cycletype
  21197. required: true
  21198. type: integer
  21199. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21200. in: query
  21201. name: cycletime
  21202. required: true
  21203. type: string
  21204. produces:
  21205. - application/json
  21206. responses:
  21207. "200":
  21208. description: OK
  21209. schema:
  21210. items:
  21211. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  21212. type: array
  21213. "500":
  21214. description: Internal Server Error
  21215. schema:
  21216. $ref: '#/definitions/app.Response'
  21217. security:
  21218. - ApiKeyAuth: []
  21219. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  21220. tags:
  21221. - 企业风险管理v3(app)
  21222. /Ermcp3/QryAreaExpourseParamChLogDetail:
  21223. get:
  21224. parameters:
  21225. - description: 用户ID
  21226. in: query
  21227. name: userid
  21228. required: true
  21229. type: integer
  21230. - description: 套保商品id
  21231. in: query
  21232. name: middlegoodsid
  21233. required: true
  21234. type: integer
  21235. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21236. in: query
  21237. name: cycletype
  21238. required: true
  21239. type: integer
  21240. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21241. in: query
  21242. name: cycletime
  21243. required: true
  21244. type: string
  21245. produces:
  21246. - application/json
  21247. responses:
  21248. "200":
  21249. description: OK
  21250. schema:
  21251. items:
  21252. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  21253. type: array
  21254. "500":
  21255. description: Internal Server Error
  21256. schema:
  21257. $ref: '#/definitions/app.Response'
  21258. security:
  21259. - ApiKeyAuth: []
  21260. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  21261. tags:
  21262. - 企业风险管理v3(app)
  21263. /Ermcp3/QryAreaExpourseReport:
  21264. get:
  21265. parameters:
  21266. - description: 用户ID
  21267. in: query
  21268. name: userid
  21269. required: true
  21270. type: integer
  21271. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  21272. in: query
  21273. name: querytype
  21274. required: true
  21275. type: integer
  21276. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21277. in: query
  21278. name: cycletype
  21279. required: true
  21280. type: integer
  21281. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21282. in: query
  21283. name: cycletime
  21284. required: true
  21285. type: string
  21286. produces:
  21287. - application/json
  21288. responses:
  21289. "200":
  21290. description: OK
  21291. schema:
  21292. items:
  21293. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  21294. type: array
  21295. "500":
  21296. description: Internal Server Error
  21297. schema:
  21298. $ref: '#/definitions/app.Response'
  21299. security:
  21300. - ApiKeyAuth: []
  21301. summary: 查询敞口报表
  21302. tags:
  21303. - 企业风险管理v3(app)
  21304. /Ermcp3/QryAreaSpotplReport:
  21305. get:
  21306. parameters:
  21307. - description: 用户ID
  21308. in: query
  21309. name: userid
  21310. required: true
  21311. type: integer
  21312. - description: 查询类型 1-报表 2-报表明细
  21313. in: query
  21314. name: querytype
  21315. required: true
  21316. type: integer
  21317. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21318. in: query
  21319. name: cycletype
  21320. required: true
  21321. type: integer
  21322. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21323. in: query
  21324. name: cycletime
  21325. required: true
  21326. type: string
  21327. - description: 现货品种id(明细必填)
  21328. in: query
  21329. name: deliverygoodsid
  21330. type: integer
  21331. - description: 币种id(明细必填)
  21332. in: query
  21333. name: currencyid
  21334. type: integer
  21335. produces:
  21336. - application/json
  21337. responses:
  21338. "200":
  21339. description: OK
  21340. schema:
  21341. items:
  21342. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  21343. type: array
  21344. "500":
  21345. description: Internal Server Error
  21346. schema:
  21347. $ref: '#/definitions/app.Response'
  21348. security:
  21349. - ApiKeyAuth: []
  21350. summary: 查询现货报表
  21351. tags:
  21352. - 企业风险管理v3(app)
  21353. /Ermcp3/QryAreaStockReport:
  21354. get:
  21355. parameters:
  21356. - description: 用户ID
  21357. in: query
  21358. name: userid
  21359. required: true
  21360. type: integer
  21361. - description: 查询类型 1-报表 2-报表明细
  21362. in: query
  21363. name: querytype
  21364. required: true
  21365. type: integer
  21366. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21367. in: query
  21368. name: cycletype
  21369. required: true
  21370. type: integer
  21371. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21372. in: query
  21373. name: cycletime
  21374. required: true
  21375. type: string
  21376. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  21377. in: query
  21378. name: sumfields
  21379. type: string
  21380. - description: 品种ID
  21381. in: query
  21382. name: deliverygoodsid
  21383. type: integer
  21384. - description: 品类ID
  21385. in: query
  21386. name: wrstandardid
  21387. type: integer
  21388. - description: 品牌ID
  21389. in: query
  21390. name: spotgoodsbrandid
  21391. type: integer
  21392. - description: 仓库ID
  21393. in: query
  21394. name: warehouseinfoid
  21395. type: integer
  21396. produces:
  21397. - application/json
  21398. responses:
  21399. "200":
  21400. description: OK
  21401. schema:
  21402. items:
  21403. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  21404. type: array
  21405. "500":
  21406. description: Internal Server Error
  21407. schema:
  21408. $ref: '#/definitions/app.Response'
  21409. security:
  21410. - ApiKeyAuth: []
  21411. summary: 查询库存报表
  21412. tags:
  21413. - 企业风险管理v3(app)
  21414. /Ermcp3/QryAreaSumPL:
  21415. get:
  21416. parameters:
  21417. - description: 用户ID
  21418. in: query
  21419. name: userid
  21420. required: true
  21421. type: integer
  21422. - description: 查询类型 1-报表 2-报表明细
  21423. in: query
  21424. name: querytype
  21425. required: true
  21426. type: integer
  21427. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21428. in: query
  21429. name: cycletype
  21430. required: true
  21431. type: integer
  21432. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21433. in: query
  21434. name: cycletime
  21435. required: true
  21436. type: string
  21437. - description: 币种id(明细必填)
  21438. in: query
  21439. name: currencyid
  21440. type: integer
  21441. produces:
  21442. - application/json
  21443. responses:
  21444. "200":
  21445. description: OK
  21446. schema:
  21447. items:
  21448. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  21449. type: array
  21450. "500":
  21451. description: Internal Server Error
  21452. schema:
  21453. $ref: '#/definitions/app.Response'
  21454. security:
  21455. - ApiKeyAuth: []
  21456. summary: 查询汇总损益表
  21457. tags:
  21458. - 企业风险管理v3(app)
  21459. /Ermcp3/QryFinanceReport:
  21460. get:
  21461. parameters:
  21462. - description: 用户ID
  21463. in: query
  21464. name: userid
  21465. required: true
  21466. type: integer
  21467. - description: 查询类型 1-报表 2-报表明细
  21468. in: query
  21469. name: querytype
  21470. required: true
  21471. type: integer
  21472. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21473. in: query
  21474. name: cycletype
  21475. required: true
  21476. type: integer
  21477. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21478. in: query
  21479. name: cycletime
  21480. required: true
  21481. type: string
  21482. - description: 币种id(报表明细必填)
  21483. in: query
  21484. name: currencyid
  21485. type: integer
  21486. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  21487. in: query
  21488. name: sumfields
  21489. type: string
  21490. produces:
  21491. - application/json
  21492. responses:
  21493. "200":
  21494. description: OK
  21495. schema:
  21496. items:
  21497. $ref: '#/definitions/models.Ermcp3FinanceReport'
  21498. type: array
  21499. "500":
  21500. description: Internal Server Error
  21501. schema:
  21502. $ref: '#/definitions/app.Response'
  21503. security:
  21504. - ApiKeyAuth: []
  21505. summary: 查询财务报表
  21506. tags:
  21507. - 企业风险管理v3(app)
  21508. /Ermcp3/QrySCMiddleGoodsReport:
  21509. get:
  21510. parameters:
  21511. - description: 用户ID
  21512. in: query
  21513. name: userid
  21514. required: true
  21515. type: integer
  21516. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21517. in: query
  21518. name: cycletype
  21519. required: true
  21520. type: integer
  21521. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21522. in: query
  21523. name: cycletime
  21524. required: true
  21525. type: string
  21526. - description: 合同id
  21527. in: query
  21528. name: spotcontractid
  21529. type: integer
  21530. - description: 套保品种id
  21531. in: query
  21532. name: middlegoodsid
  21533. type: integer
  21534. - description: 现货品种id
  21535. in: query
  21536. name: deliverygoodsid
  21537. type: integer
  21538. - description: 现货商品id
  21539. in: query
  21540. name: wrstandardid
  21541. type: integer
  21542. - description: 合同编号(模糊匹配)
  21543. in: query
  21544. name: contractno
  21545. type: string
  21546. produces:
  21547. - application/json
  21548. responses:
  21549. "200":
  21550. description: OK
  21551. schema:
  21552. items:
  21553. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  21554. type: array
  21555. "500":
  21556. description: Internal Server Error
  21557. schema:
  21558. $ref: '#/definitions/app.Response'
  21559. security:
  21560. - ApiKeyAuth: []
  21561. summary: 查询定价报表
  21562. tags:
  21563. - 企业风险管理v3(app)
  21564. /Ermcp3/QryTaFutureDataReport:
  21565. get:
  21566. parameters:
  21567. - description: 用户ID
  21568. in: query
  21569. name: userid
  21570. required: true
  21571. type: integer
  21572. - description: 查询类型 1-报表 2-报表明细
  21573. in: query
  21574. name: querytype
  21575. required: true
  21576. type: integer
  21577. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21578. in: query
  21579. name: cycletype
  21580. required: true
  21581. type: integer
  21582. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21583. in: query
  21584. name: cycletime
  21585. required: true
  21586. type: string
  21587. - description: 币种id(查明细必填)
  21588. in: query
  21589. name: currencyid
  21590. type: integer
  21591. - description: 品种id(查明细必填)
  21592. in: query
  21593. name: goodsgroupid
  21594. type: integer
  21595. - description: 商品id(查明细必填)
  21596. in: query
  21597. name: goodsid
  21598. type: integer
  21599. - description: 买卖方向(查明细必填)
  21600. in: query
  21601. name: buyorsell
  21602. type: integer
  21603. produces:
  21604. - application/json
  21605. responses:
  21606. "200":
  21607. description: OK
  21608. schema:
  21609. items:
  21610. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  21611. type: array
  21612. "500":
  21613. description: Internal Server Error
  21614. schema:
  21615. $ref: '#/definitions/app.Response'
  21616. security:
  21617. - ApiKeyAuth: []
  21618. summary: 查询期货报表
  21619. tags:
  21620. - 企业风险管理v3(app)
  21621. /Ermcp3/QueryAreaStock:
  21622. get:
  21623. parameters:
  21624. - description: 用户ID
  21625. in: query
  21626. name: userid
  21627. required: true
  21628. type: integer
  21629. produces:
  21630. - application/json
  21631. responses:
  21632. "200":
  21633. description: OK
  21634. schema:
  21635. items:
  21636. $ref: '#/definitions/models.Ermcp3AreaStock'
  21637. type: array
  21638. "500":
  21639. description: Internal Server Error
  21640. schema:
  21641. $ref: '#/definitions/app.Response'
  21642. security:
  21643. - ApiKeyAuth: []
  21644. summary: 查询机构库存(库存管理/当前库存)
  21645. tags:
  21646. - 企业风险管理v3(app)
  21647. /Ermcp3/QueryAreaStockApply:
  21648. get:
  21649. parameters:
  21650. - description: 用户ID
  21651. in: query
  21652. name: userid
  21653. required: true
  21654. type: integer
  21655. - description: 用户类型 2-机构 7-企业成员
  21656. in: query
  21657. name: usertype
  21658. type: integer
  21659. - description: 现货商品ID
  21660. in: query
  21661. name: deliverygoodsid
  21662. type: integer
  21663. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  21664. in: query
  21665. name: inouttype
  21666. type: string
  21667. - description: 合同ID
  21668. in: query
  21669. name: spotcontractid
  21670. type: integer
  21671. - description: 品类ID
  21672. in: query
  21673. name: wrstandardid
  21674. type: integer
  21675. - description: 品牌ID
  21676. in: query
  21677. name: spotgoodsbrandid
  21678. type: integer
  21679. - description: 仓库ID
  21680. in: query
  21681. name: warehouseinfoid
  21682. type: integer
  21683. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21684. in: query
  21685. name: applystatus
  21686. type: string
  21687. produces:
  21688. - application/json
  21689. responses:
  21690. "200":
  21691. description: OK
  21692. schema:
  21693. items:
  21694. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  21695. type: array
  21696. "500":
  21697. description: Internal Server Error
  21698. schema:
  21699. $ref: '#/definitions/app.Response'
  21700. security:
  21701. - ApiKeyAuth: []
  21702. summary: 查询库存申请(出入库记录|库存审核)
  21703. tags:
  21704. - 企业风险管理v3(app)
  21705. /Ermcp3/QueryAreaStockApplySum:
  21706. get:
  21707. parameters:
  21708. - description: 合同ID
  21709. in: query
  21710. name: spotcontractid
  21711. required: true
  21712. type: integer
  21713. produces:
  21714. - application/json
  21715. responses:
  21716. "200":
  21717. description: OK
  21718. schema:
  21719. items:
  21720. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  21721. type: array
  21722. "500":
  21723. description: Internal Server Error
  21724. schema:
  21725. $ref: '#/definitions/app.Response'
  21726. security:
  21727. - ApiKeyAuth: []
  21728. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  21729. tags:
  21730. - 企业风险管理v3(app)
  21731. /Ermcp3/QueryDGFactoryItem:
  21732. get:
  21733. parameters:
  21734. - description: 用户id
  21735. in: query
  21736. name: userid
  21737. type: integer
  21738. - description: 用户类型 2-机构 7-企业成员
  21739. in: query
  21740. name: usertype
  21741. type: integer
  21742. - description: 选择项ID(SEQ_DGFACTORYITEM)
  21743. in: query
  21744. name: dgfactoryitemid
  21745. type: integer
  21746. - description: 现货品种ID
  21747. in: query
  21748. name: deliverygoodsid
  21749. type: integer
  21750. - description: 要素项类型
  21751. in: query
  21752. name: dgfactoryitemtypeid
  21753. type: integer
  21754. - description: 顺序
  21755. in: query
  21756. name: orderindex
  21757. type: integer
  21758. produces:
  21759. - application/json
  21760. responses:
  21761. "200":
  21762. description: OK
  21763. schema:
  21764. items:
  21765. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  21766. type: array
  21767. "500":
  21768. description: Internal Server Error
  21769. schema:
  21770. $ref: '#/definitions/app.Response'
  21771. security:
  21772. - ApiKeyAuth: []
  21773. summary: 查询品种要素定义项
  21774. tags:
  21775. - 企业风险管理v3(app)
  21776. /Ermcp3/QueryDeliveryGoods:
  21777. get:
  21778. parameters:
  21779. - description: 用户id
  21780. in: query
  21781. name: userid
  21782. required: true
  21783. type: integer
  21784. - description: 用户类型 2-机构 7-企业成员
  21785. in: query
  21786. name: usertype
  21787. type: integer
  21788. - description: 排除已配置的业务类型商品 1-套保 2-套利
  21789. in: query
  21790. name: excludecfg
  21791. type: integer
  21792. produces:
  21793. - application/json
  21794. responses:
  21795. "200":
  21796. description: OK
  21797. schema:
  21798. items:
  21799. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  21800. type: array
  21801. "500":
  21802. description: Internal Server Error
  21803. schema:
  21804. $ref: '#/definitions/app.Response'
  21805. security:
  21806. - ApiKeyAuth: []
  21807. summary: 查询现货商品
  21808. tags:
  21809. - 企业风险管理v3(app)
  21810. /Ermcp3/QueryDeliveryGoodsDetail:
  21811. get:
  21812. parameters:
  21813. - description: 用户id
  21814. in: query
  21815. name: userid
  21816. required: true
  21817. type: integer
  21818. - description: 用户类型 2-机构 7-企业成员
  21819. in: query
  21820. name: usertype
  21821. type: integer
  21822. - description: 现货商品id
  21823. in: query
  21824. name: deliverygoodsid
  21825. type: integer
  21826. produces:
  21827. - application/json
  21828. responses:
  21829. "200":
  21830. description: OK
  21831. schema:
  21832. items:
  21833. $ref: '#/definitions/models.XHDeliveryGoods'
  21834. type: array
  21835. "500":
  21836. description: Internal Server Error
  21837. schema:
  21838. $ref: '#/definitions/app.Response'
  21839. security:
  21840. - ApiKeyAuth: []
  21841. summary: 查询现货商品详情
  21842. tags:
  21843. - 企业风险管理v3(app)
  21844. /Ermcp3/QueryExposureDetail:
  21845. get:
  21846. parameters:
  21847. - description: 用户id
  21848. in: query
  21849. name: userid
  21850. required: true
  21851. type: integer
  21852. - description: 用户类型 2-机构 7-企业成员
  21853. in: query
  21854. name: usertype
  21855. type: integer
  21856. - description: 套保商品
  21857. in: query
  21858. name: middlegoodsid
  21859. required: true
  21860. type: integer
  21861. produces:
  21862. - application/json
  21863. responses:
  21864. "200":
  21865. description: OK
  21866. schema:
  21867. items:
  21868. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  21869. type: array
  21870. "500":
  21871. description: Internal Server Error
  21872. schema:
  21873. $ref: '#/definitions/app.Response'
  21874. security:
  21875. - ApiKeyAuth: []
  21876. summary: 查询敞口现货明细
  21877. tags:
  21878. - 企业风险管理v3(app)
  21879. /Ermcp3/QueryExposureSpot:
  21880. get:
  21881. parameters:
  21882. - description: 用户id
  21883. in: query
  21884. name: userid
  21885. required: true
  21886. type: integer
  21887. - description: 用户类型 2-机构 7-企业成员
  21888. in: query
  21889. name: usertype
  21890. type: integer
  21891. produces:
  21892. - application/json
  21893. responses:
  21894. "200":
  21895. description: OK
  21896. schema:
  21897. items:
  21898. $ref: '#/definitions/models.Ermcp3AreaSpot'
  21899. type: array
  21900. "500":
  21901. description: Internal Server Error
  21902. schema:
  21903. $ref: '#/definitions/app.Response'
  21904. security:
  21905. - ApiKeyAuth: []
  21906. summary: 查询敞口现货头寸(敞口/现货头寸)
  21907. tags:
  21908. - 企业风险管理v3(app)
  21909. /Ermcp3/QueryExposureSpotDetail:
  21910. get:
  21911. parameters:
  21912. - description: 用户id
  21913. in: query
  21914. name: userid
  21915. required: true
  21916. type: integer
  21917. - description: 用户类型 2-机构 7-企业成员
  21918. in: query
  21919. name: usertype
  21920. type: integer
  21921. - description: 现货商品ID
  21922. in: query
  21923. name: wrstandardid
  21924. required: true
  21925. type: integer
  21926. produces:
  21927. - application/json
  21928. responses:
  21929. "200":
  21930. description: OK
  21931. schema:
  21932. items:
  21933. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  21934. type: array
  21935. "500":
  21936. description: Internal Server Error
  21937. schema:
  21938. $ref: '#/definitions/app.Response'
  21939. security:
  21940. - ApiKeyAuth: []
  21941. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  21942. tags:
  21943. - 企业风险管理v3(app)
  21944. /Ermcp3/QueryGoodsGroup:
  21945. get:
  21946. parameters:
  21947. - description: 用户id
  21948. in: query
  21949. name: userid
  21950. required: true
  21951. type: integer
  21952. - description: 用户类型 2-机构 7-企业成员
  21953. in: query
  21954. name: usertype
  21955. type: integer
  21956. - description: 排除套保品中已关联的商品组 1-排除
  21957. in: query
  21958. name: excludecfg
  21959. type: integer
  21960. produces:
  21961. - application/json
  21962. responses:
  21963. "200":
  21964. description: OK
  21965. schema:
  21966. items:
  21967. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  21968. type: array
  21969. "500":
  21970. description: Internal Server Error
  21971. schema:
  21972. $ref: '#/definitions/app.Response'
  21973. security:
  21974. - ApiKeyAuth: []
  21975. summary: 查询期货商品组
  21976. tags:
  21977. - 企业风险管理v3(app)
  21978. /Ermcp3/QueryGoodsWrstandard:
  21979. get:
  21980. parameters:
  21981. - description: 用户id
  21982. in: query
  21983. name: userid
  21984. required: true
  21985. type: integer
  21986. - description: 用户类型 2-机构 7-企业成员
  21987. in: query
  21988. name: usertype
  21989. type: integer
  21990. - description: 现货商品id
  21991. in: query
  21992. name: deliverygoodsid
  21993. type: integer
  21994. produces:
  21995. - application/json
  21996. responses:
  21997. "200":
  21998. description: OK
  21999. schema:
  22000. items:
  22001. $ref: '#/definitions/models.Ermcp3Wrstandard'
  22002. type: array
  22003. "500":
  22004. description: Internal Server Error
  22005. schema:
  22006. $ref: '#/definitions/app.Response'
  22007. security:
  22008. - ApiKeyAuth: []
  22009. summary: 查询商品品类
  22010. tags:
  22011. - 企业风险管理v3(app)
  22012. /Ermcp3/QueryGoodsbrand:
  22013. get:
  22014. parameters:
  22015. - description: 用户id
  22016. in: query
  22017. name: userid
  22018. required: true
  22019. type: integer
  22020. - description: 用户类型 2-机构 7-企业成员
  22021. in: query
  22022. name: usertype
  22023. type: integer
  22024. produces:
  22025. - application/json
  22026. responses:
  22027. "200":
  22028. description: OK
  22029. schema:
  22030. items:
  22031. $ref: '#/definitions/models.Ermcp3Brand'
  22032. type: array
  22033. "500":
  22034. description: Internal Server Error
  22035. schema:
  22036. $ref: '#/definitions/app.Response'
  22037. security:
  22038. - ApiKeyAuth: []
  22039. summary: 查询商品品牌
  22040. tags:
  22041. - 企业风险管理v3(app)
  22042. /Ermcp3/QueryHedgePlan:
  22043. get:
  22044. parameters:
  22045. - description: 用户ID
  22046. in: query
  22047. name: userid
  22048. required: true
  22049. type: integer
  22050. - description: 用户类型 2-机构 7-企业成员
  22051. in: query
  22052. name: usertype
  22053. type: integer
  22054. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22055. in: query
  22056. name: hedgeplanstatus
  22057. required: true
  22058. type: string
  22059. produces:
  22060. - application/json
  22061. responses:
  22062. "200":
  22063. description: OK
  22064. schema:
  22065. items:
  22066. $ref: '#/definitions/models.Ermcp3HedgePlan'
  22067. type: array
  22068. "500":
  22069. description: Internal Server Error
  22070. schema:
  22071. $ref: '#/definitions/app.Response'
  22072. security:
  22073. - ApiKeyAuth: []
  22074. summary: 查询套保计划
  22075. tags:
  22076. - 企业风险管理v3(app)
  22077. /Ermcp3/QueryInnerTradeLink:
  22078. get:
  22079. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  22080. parameters:
  22081. - description: 外部成交单号
  22082. in: query
  22083. name: outtradeid
  22084. required: true
  22085. type: integer
  22086. produces:
  22087. - application/json
  22088. responses:
  22089. "200":
  22090. description: OK
  22091. schema:
  22092. items:
  22093. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  22094. type: array
  22095. "500":
  22096. description: Internal Server Error
  22097. schema:
  22098. $ref: '#/definitions/app.Response'
  22099. security:
  22100. - ApiKeyAuth: []
  22101. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  22102. tags:
  22103. - 企业风险管理v3(app)
  22104. /Ermcp3/QueryMiddleGoodsDetail:
  22105. get:
  22106. parameters:
  22107. - description: 用户id
  22108. in: query
  22109. name: userid
  22110. required: true
  22111. type: integer
  22112. - description: 用户类型 2-机构 7-企业成员
  22113. in: query
  22114. name: usertype
  22115. type: integer
  22116. - description: 套保品种id
  22117. in: query
  22118. name: middlegoodsid
  22119. type: integer
  22120. produces:
  22121. - application/json
  22122. responses:
  22123. "200":
  22124. description: OK
  22125. schema:
  22126. items:
  22127. $ref: '#/definitions/models.TBMiddleGoods'
  22128. type: array
  22129. "500":
  22130. description: Internal Server Error
  22131. schema:
  22132. $ref: '#/definitions/app.Response'
  22133. security:
  22134. - ApiKeyAuth: []
  22135. summary: 查询套保品种详情(套保品种/商品详情)
  22136. tags:
  22137. - 企业风险管理v3(app)
  22138. /Ermcp3/QueryOutTradeLink:
  22139. get:
  22140. description: 页面 app 现货->期现关联->外部成交单关联
  22141. parameters:
  22142. - description: 用户ID(填登录用户的userid)
  22143. in: query
  22144. name: userid
  22145. required: true
  22146. type: integer
  22147. - description: 外部订单号(模糊匹配)
  22148. in: query
  22149. name: outtradeid
  22150. type: string
  22151. - description: 合约名称/代码(模糊匹配)
  22152. in: query
  22153. name: goodsname
  22154. type: string
  22155. - description: 关联状态 0-未关联 1-已关联
  22156. in: query
  22157. name: hasinnerorder
  22158. type: integer
  22159. produces:
  22160. - application/json
  22161. responses:
  22162. "200":
  22163. description: OK
  22164. schema:
  22165. items:
  22166. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  22167. type: array
  22168. "500":
  22169. description: Internal Server Error
  22170. schema:
  22171. $ref: '#/definitions/app.Response'
  22172. security:
  22173. - ApiKeyAuth: []
  22174. summary: 查询外部成交单关联
  22175. tags:
  22176. - 企业风险管理v3(app)
  22177. /Ermcp3/QueryPaAreaAuditCfg:
  22178. get:
  22179. parameters:
  22180. - description: 用户id
  22181. in: query
  22182. name: userid
  22183. required: true
  22184. type: integer
  22185. produces:
  22186. - application/json
  22187. responses:
  22188. "200":
  22189. description: OK
  22190. schema:
  22191. items:
  22192. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  22193. type: array
  22194. "500":
  22195. description: Internal Server Error
  22196. schema:
  22197. $ref: '#/definitions/app.Response'
  22198. security:
  22199. - ApiKeyAuth: []
  22200. summary: 查询审核设置
  22201. tags:
  22202. - 企业风险管理v3(app)
  22203. /Ermcp3/QueryPaAreaSubject:
  22204. get:
  22205. parameters:
  22206. - description: 用户id
  22207. in: query
  22208. name: userid
  22209. required: true
  22210. type: integer
  22211. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  22212. in: query
  22213. name: subjectid
  22214. type: integer
  22215. - description: 主体类型 - 1:交易主体 2:业务部门
  22216. in: query
  22217. name: subjecttype
  22218. type: integer
  22219. - description: '主体状态 - 1:正常 2: 停用'
  22220. in: query
  22221. name: subjectstatus
  22222. type: integer
  22223. produces:
  22224. - application/json
  22225. responses:
  22226. "200":
  22227. description: OK
  22228. schema:
  22229. items:
  22230. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  22231. type: array
  22232. "500":
  22233. description: Internal Server Error
  22234. schema:
  22235. $ref: '#/definitions/app.Response'
  22236. security:
  22237. - ApiKeyAuth: []
  22238. summary: 查询交易主体
  22239. tags:
  22240. - 企业风险管理v3(app)
  22241. /Ermcp3/QueryPaTradeLink:
  22242. get:
  22243. description: 页面 app 现货->期现关联->期现单据关联
  22244. parameters:
  22245. - description: 用户ID
  22246. in: query
  22247. name: userid
  22248. required: true
  22249. type: integer
  22250. produces:
  22251. - application/json
  22252. responses:
  22253. "200":
  22254. description: OK
  22255. schema:
  22256. items:
  22257. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  22258. type: array
  22259. "500":
  22260. description: Internal Server Error
  22261. schema:
  22262. $ref: '#/definitions/app.Response'
  22263. security:
  22264. - ApiKeyAuth: []
  22265. summary: 查询期现单据关联
  22266. tags:
  22267. - 企业风险管理v3(app)
  22268. /Ermcp3/QueryPaTradeLinkDetail:
  22269. get:
  22270. description: 页面 app 现货->期现关联->关联记录
  22271. parameters:
  22272. - description: 用户ID(填登录用户的userid)
  22273. in: query
  22274. name: userid
  22275. required: true
  22276. type: integer
  22277. - description: 关联状态 1:成功 2:失败 3:解绑
  22278. in: query
  22279. name: linkstatus
  22280. type: integer
  22281. - description: 期货订单号(模糊匹配)
  22282. in: query
  22283. name: tradeid
  22284. type: string
  22285. - description: 现货编号(模糊匹配)
  22286. in: query
  22287. name: contractno
  22288. type: string
  22289. - description: 期货账户(模糊匹配)
  22290. in: query
  22291. name: taname
  22292. type: string
  22293. produces:
  22294. - application/json
  22295. responses:
  22296. "200":
  22297. description: OK
  22298. schema:
  22299. items:
  22300. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  22301. type: array
  22302. "500":
  22303. description: Internal Server Error
  22304. schema:
  22305. $ref: '#/definitions/app.Response'
  22306. security:
  22307. - ApiKeyAuth: []
  22308. summary: 查询期现关联记录
  22309. tags:
  22310. - 企业风险管理v3(app)
  22311. /Ermcp3/QueryParamChangeApp:
  22312. get:
  22313. description: |-
  22314. 原型页面:
  22315. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  22316. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  22317. parameters:
  22318. - description: 用户ID
  22319. in: query
  22320. name: userid
  22321. required: true
  22322. type: integer
  22323. - description: 现货品种id
  22324. in: query
  22325. name: deliverygoodsid
  22326. type: integer
  22327. - description: 现货商品id
  22328. in: query
  22329. name: wrstandardid
  22330. type: integer
  22331. - description: 套保商品id
  22332. in: query
  22333. name: middlegoodsid
  22334. type: integer
  22335. - description: 操作类型 1:新增 2:修改
  22336. in: query
  22337. name: operatetype
  22338. type: integer
  22339. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  22340. in: query
  22341. name: paramchangetype
  22342. type: integer
  22343. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22344. in: query
  22345. name: ftstatus
  22346. type: string
  22347. produces:
  22348. - application/json
  22349. responses:
  22350. "200":
  22351. description: OK
  22352. schema:
  22353. items:
  22354. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  22355. type: array
  22356. "500":
  22357. description: Internal Server Error
  22358. schema:
  22359. $ref: '#/definitions/app.Response'
  22360. security:
  22361. - ApiKeyAuth: []
  22362. summary: 查询现货商品参数变更申请(流水)
  22363. tags:
  22364. - 企业风险管理v3(app)
  22365. /Ermcp3/QueryRootUserAccount:
  22366. get:
  22367. parameters:
  22368. - description: 用户ID
  22369. in: query
  22370. name: userid
  22371. required: true
  22372. type: integer
  22373. produces:
  22374. - application/json
  22375. responses:
  22376. "200":
  22377. description: OK
  22378. schema:
  22379. items:
  22380. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  22381. type: array
  22382. "500":
  22383. description: Internal Server Error
  22384. schema:
  22385. $ref: '#/definitions/app.Response'
  22386. security:
  22387. - ApiKeyAuth: []
  22388. summary: 查询顶级用户信息
  22389. tags:
  22390. - 企业风险管理v3(app)
  22391. /Ermcp3/QuerySCMiddleGoods:
  22392. get:
  22393. description: |-
  22394. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  22395. 现货编号 即 合同编号
  22396. parameters:
  22397. - description: 用户ID(填登录用户的userid)
  22398. in: query
  22399. name: userid
  22400. required: true
  22401. type: integer
  22402. - description: 买卖方向 0-买 1-卖
  22403. in: query
  22404. name: buyorsell
  22405. required: true
  22406. type: integer
  22407. - description: 商品组id
  22408. in: query
  22409. name: goodsgroupid
  22410. required: true
  22411. type: integer
  22412. - description: 业务类型 1:套保 2:套利
  22413. in: query
  22414. name: biztype
  22415. type: integer
  22416. - description: 现货编号(模糊匹配)
  22417. in: query
  22418. name: contractno
  22419. type: string
  22420. - description: 对手方(模糊匹配)
  22421. in: query
  22422. name: customername
  22423. type: string
  22424. - description: 现货商品名称(模糊匹配)
  22425. in: query
  22426. name: wrstandardname
  22427. type: string
  22428. produces:
  22429. - application/json
  22430. responses:
  22431. "200":
  22432. description: OK
  22433. schema:
  22434. items:
  22435. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  22436. type: array
  22437. "500":
  22438. description: Internal Server Error
  22439. schema:
  22440. $ref: '#/definitions/app.Response'
  22441. security:
  22442. - ApiKeyAuth: []
  22443. summary: 查询现货订单
  22444. tags:
  22445. - 企业风险管理v3(app)
  22446. /Ermcp3/QuerySpotContract:
  22447. get:
  22448. parameters:
  22449. - description: 用户id(当指定contractid, userid可不填)
  22450. in: query
  22451. name: userid
  22452. required: true
  22453. type: integer
  22454. - description: 用户类型 2-机构 7-企业成员
  22455. in: query
  22456. name: usertype
  22457. type: integer
  22458. - description: 合同类型 1-采购, -1-销售
  22459. in: query
  22460. name: contracttype
  22461. type: integer
  22462. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  22463. in: query
  22464. name: querytype
  22465. type: string
  22466. - description: 合同ID(SpotContractId)
  22467. in: query
  22468. name: contractid
  22469. type: string
  22470. - description: 合同编号(模糊匹配)
  22471. in: query
  22472. name: contractno
  22473. type: string
  22474. - description: 商品名称(模糊匹配)
  22475. in: query
  22476. name: wrstandardname
  22477. type: string
  22478. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22479. in: query
  22480. name: status
  22481. type: string
  22482. - description: 是否只查今日的合同 1-查今日合同
  22483. in: query
  22484. name: istoday
  22485. type: integer
  22486. produces:
  22487. - application/json
  22488. responses:
  22489. "200":
  22490. description: OK
  22491. schema:
  22492. items:
  22493. $ref: '#/definitions/models.Ermcp3Contract'
  22494. type: array
  22495. "500":
  22496. description: Internal Server Error
  22497. schema:
  22498. $ref: '#/definitions/app.Response'
  22499. security:
  22500. - ApiKeyAuth: []
  22501. summary: 查询现货合同
  22502. tags:
  22503. - 企业风险管理v3(app)
  22504. /Ermcp3/QuerySpotContractBS:
  22505. get:
  22506. parameters:
  22507. - description: 用户id
  22508. in: query
  22509. name: userid
  22510. required: true
  22511. type: integer
  22512. - description: 用户类型 2-机构 7-企业成员
  22513. in: query
  22514. name: usertype
  22515. type: integer
  22516. - description: 合同类型 1-采购, -1-销售
  22517. in: query
  22518. name: contracttype
  22519. required: true
  22520. type: integer
  22521. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  22522. in: query
  22523. name: querytype
  22524. type: integer
  22525. - description: 合同ID(SpotContractId)
  22526. in: query
  22527. name: contractid
  22528. type: string
  22529. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22530. in: query
  22531. name: status
  22532. type: string
  22533. - description: 是否只查今日的合同 1-查今日合同
  22534. in: query
  22535. name: istoday
  22536. type: integer
  22537. produces:
  22538. - application/json
  22539. responses:
  22540. "200":
  22541. description: OK
  22542. schema:
  22543. items:
  22544. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  22545. type: array
  22546. "500":
  22547. description: Internal Server Error
  22548. schema:
  22549. $ref: '#/definitions/app.Response'
  22550. security:
  22551. - ApiKeyAuth: []
  22552. summary: 查询合同(采购/销售)
  22553. tags:
  22554. - 企业风险管理v3(app)
  22555. /Ermcp3/QuerySpotGoodsPrice:
  22556. get:
  22557. parameters:
  22558. - description: 用户ID
  22559. in: query
  22560. name: userid
  22561. required: true
  22562. type: integer
  22563. produces:
  22564. - application/json
  22565. responses:
  22566. "200":
  22567. description: OK
  22568. schema:
  22569. items:
  22570. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  22571. type: array
  22572. "500":
  22573. description: Internal Server Error
  22574. schema:
  22575. $ref: '#/definitions/app.Response'
  22576. security:
  22577. - ApiKeyAuth: []
  22578. summary: 查询现货市价(现货市价)
  22579. tags:
  22580. - 企业风险管理v3(app)
  22581. /Ermcp3/QuerySpotGoodsPriceLog:
  22582. get:
  22583. parameters:
  22584. - description: 用户ID
  22585. in: query
  22586. name: userid
  22587. required: true
  22588. type: integer
  22589. - description: 现货商品ID
  22590. in: query
  22591. name: deliverygoodsid
  22592. required: true
  22593. type: integer
  22594. - description: 品牌ID
  22595. in: query
  22596. name: brandid
  22597. type: integer
  22598. - description: 品类ID
  22599. in: query
  22600. name: wrstandardid
  22601. type: integer
  22602. produces:
  22603. - application/json
  22604. responses:
  22605. "200":
  22606. description: OK
  22607. schema:
  22608. items:
  22609. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  22610. type: array
  22611. "500":
  22612. description: Internal Server Error
  22613. schema:
  22614. $ref: '#/definitions/app.Response'
  22615. security:
  22616. - ApiKeyAuth: []
  22617. summary: 查询现货市价详情(现货市价/详情)
  22618. tags:
  22619. - 企业风险管理v3(app)
  22620. /Ermcp3/QuerySubTaaccount:
  22621. get:
  22622. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  22623. parameters:
  22624. - description: 母账号id
  22625. in: query
  22626. name: parentaccountid
  22627. type: integer
  22628. - description: 母账号代码
  22629. in: query
  22630. name: parentaccountcode
  22631. type: string
  22632. produces:
  22633. - application/json
  22634. responses:
  22635. "200":
  22636. description: OK
  22637. schema:
  22638. items:
  22639. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  22640. type: array
  22641. "500":
  22642. description: Internal Server Error
  22643. schema:
  22644. $ref: '#/definitions/app.Response'
  22645. security:
  22646. - ApiKeyAuth: []
  22647. summary: 查询期货子账户
  22648. tags:
  22649. - 企业风险管理v3(app)
  22650. /Erms2/QueryArbitrageStrategy:
  22651. get:
  22652. parameters:
  22653. - description: 账户ID
  22654. in: query
  22655. name: userid
  22656. required: true
  22657. type: integer
  22658. - description: 商品组ID(品种ID)
  22659. in: query
  22660. name: goodsgroupid
  22661. type: string
  22662. produces:
  22663. - application/json
  22664. responses:
  22665. "200":
  22666. description: OK
  22667. schema:
  22668. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  22669. "500":
  22670. description: Internal Server Error
  22671. schema:
  22672. $ref: '#/definitions/app.Response'
  22673. security:
  22674. - ApiKeyAuth: []
  22675. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  22676. tags:
  22677. - 风险管理
  22678. /Erms2/QueryInnerTradeDetail:
  22679. get:
  22680. parameters:
  22681. - description: 资金账户
  22682. in: query
  22683. name: accountid
  22684. required: true
  22685. type: integer
  22686. produces:
  22687. - application/json
  22688. responses:
  22689. "200":
  22690. description: OK
  22691. schema:
  22692. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  22693. "500":
  22694. description: Internal Server Error
  22695. schema:
  22696. $ref: '#/definitions/app.Response'
  22697. security:
  22698. - ApiKeyAuth: []
  22699. summary: 查询内部成交单信息
  22700. tags:
  22701. - 风险管理
  22702. /Erms2/QuerySpotContract:
  22703. get:
  22704. parameters:
  22705. - description: 策略申请ID
  22706. in: query
  22707. name: asapplyid
  22708. required: true
  22709. type: integer
  22710. - description: 现货合同ID
  22711. in: query
  22712. name: spotcontractid
  22713. type: integer
  22714. produces:
  22715. - application/json
  22716. responses:
  22717. "200":
  22718. description: OK
  22719. schema:
  22720. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  22721. "500":
  22722. description: Internal Server Error
  22723. schema:
  22724. $ref: '#/definitions/app.Response'
  22725. security:
  22726. - ApiKeyAuth: []
  22727. summary: 查询现货合同表信息(指定策略ID、未结束的)
  22728. tags:
  22729. - 风险管理
  22730. /Erms3/AddErms2ASApply:
  22731. post:
  22732. parameters:
  22733. - description: 申请参数
  22734. in: body
  22735. name: jsonBody
  22736. required: true
  22737. schema:
  22738. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  22739. produces:
  22740. - application/json
  22741. responses:
  22742. "200":
  22743. description: OK
  22744. schema:
  22745. $ref: '#/definitions/app.Response'
  22746. "500":
  22747. description: Internal Server Error
  22748. schema:
  22749. $ref: '#/definitions/app.Response'
  22750. security:
  22751. - ApiKeyAuth: []
  22752. summary: 新增期现套利业务申请
  22753. tags:
  22754. - 风险管理v3
  22755. /Erms3/AddErms2SpotTradeApply:
  22756. post:
  22757. parameters:
  22758. - description: 申请参数
  22759. in: body
  22760. name: jsonBody
  22761. required: true
  22762. schema:
  22763. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  22764. produces:
  22765. - application/json
  22766. responses:
  22767. "200":
  22768. description: OK
  22769. schema:
  22770. $ref: '#/definitions/app.Response'
  22771. "500":
  22772. description: Internal Server Error
  22773. schema:
  22774. $ref: '#/definitions/app.Response'
  22775. security:
  22776. - ApiKeyAuth: []
  22777. summary: 新增现货贸易业务申请
  22778. tags:
  22779. - 风险管理v3
  22780. /Erms3/AddSpotContractApply:
  22781. post:
  22782. parameters:
  22783. - description: 申请参数
  22784. in: body
  22785. name: jsonBody
  22786. required: true
  22787. schema:
  22788. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  22789. produces:
  22790. - application/json
  22791. responses:
  22792. "200":
  22793. description: OK
  22794. schema:
  22795. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  22796. "500":
  22797. description: Internal Server Error
  22798. schema:
  22799. $ref: '#/definitions/app.Response'
  22800. security:
  22801. - ApiKeyAuth: []
  22802. summary: 新增现货合同申请
  22803. tags:
  22804. - 风险管理v3
  22805. /Erms3/AddUserInfoApply:
  22806. post:
  22807. parameters:
  22808. - description: 用户信息
  22809. in: body
  22810. name: jsonBody
  22811. required: true
  22812. schema:
  22813. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  22814. produces:
  22815. - application/json
  22816. responses:
  22817. "200":
  22818. description: OK
  22819. schema:
  22820. $ref: '#/definitions/app.Response'
  22821. "500":
  22822. description: Internal Server Error
  22823. schema:
  22824. $ref: '#/definitions/app.Response'
  22825. security:
  22826. - ApiKeyAuth: []
  22827. summary: 新增客户申请
  22828. tags:
  22829. - 风险管理v3
  22830. /Erms3/DeleteUserInfoApply:
  22831. get:
  22832. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  22833. parameters:
  22834. - description: 用户ID
  22835. in: query
  22836. name: userID
  22837. required: true
  22838. type: integer
  22839. produces:
  22840. - application/json
  22841. responses:
  22842. "200":
  22843. description: OK
  22844. schema:
  22845. $ref: '#/definitions/app.Response'
  22846. "500":
  22847. description: Internal Server Error
  22848. schema:
  22849. $ref: '#/definitions/app.Response'
  22850. security:
  22851. - ApiKeyAuth: []
  22852. summary: 删除客户申请
  22853. tags:
  22854. - 风险管理v3
  22855. /Erms3/ModifyUserInfoApply:
  22856. post:
  22857. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid": int, "userstate": 2 }'
  22858. parameters:
  22859. - description: 用户信息
  22860. in: body
  22861. name: jsonBody
  22862. required: true
  22863. schema:
  22864. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  22865. produces:
  22866. - application/json
  22867. responses:
  22868. "200":
  22869. description: OK
  22870. schema:
  22871. $ref: '#/definitions/app.Response'
  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/QueryBusinessInfo:
  22882. get:
  22883. parameters:
  22884. - description: 资金账号ID列表,用逗号分隔
  22885. in: query
  22886. name: accountids
  22887. required: true
  22888. type: string
  22889. - description: 状态,0为未结束 1为已结束
  22890. in: query
  22891. name: status
  22892. required: true
  22893. type: integer
  22894. produces:
  22895. - application/json
  22896. responses:
  22897. "200":
  22898. description: OK
  22899. schema:
  22900. items:
  22901. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  22902. type: array
  22903. "500":
  22904. description: Internal Server Error
  22905. schema:
  22906. $ref: '#/definitions/app.Response'
  22907. security:
  22908. - ApiKeyAuth: []
  22909. summary: 查询业务表单数据
  22910. tags:
  22911. - 风险管理v3
  22912. /Erms3/QueryPendingAuditContract:
  22913. get:
  22914. parameters:
  22915. - description: 资金账号ID列表,逗号隔开
  22916. in: query
  22917. name: accountids
  22918. required: true
  22919. type: string
  22920. - description: 合同类型 1-采购 -1-销售
  22921. in: query
  22922. name: contracttype
  22923. required: true
  22924. type: integer
  22925. - description: 合同模式 1-普通 2-回购
  22926. in: query
  22927. name: contractmode
  22928. required: true
  22929. type: integer
  22930. produces:
  22931. - application/json
  22932. responses:
  22933. "200":
  22934. description: OK
  22935. schema:
  22936. items:
  22937. $ref: '#/definitions/erms3.QryAuditContractRsp'
  22938. type: array
  22939. "500":
  22940. description: Internal Server Error
  22941. schema:
  22942. $ref: '#/definitions/app.Response'
  22943. security:
  22944. - ApiKeyAuth: []
  22945. summary: 查询待审核合同
  22946. tags:
  22947. - 风险管理v3
  22948. /Erms3/QueryPendingBusiness:
  22949. get:
  22950. parameters:
  22951. - description: 资金账号ID列表,逗号隔开
  22952. in: query
  22953. name: accountids
  22954. required: true
  22955. type: string
  22956. produces:
  22957. - application/json
  22958. responses:
  22959. "200":
  22960. description: OK
  22961. schema:
  22962. items:
  22963. $ref: '#/definitions/erms3.QryPendingBizRsp'
  22964. type: array
  22965. "500":
  22966. description: Internal Server Error
  22967. schema:
  22968. $ref: '#/definitions/app.Response'
  22969. security:
  22970. - ApiKeyAuth: []
  22971. summary: 查询待审核基差贸易业务
  22972. tags:
  22973. - 风险管理v3
  22974. /Erms3/QuerySpotContractAppleForm:
  22975. get:
  22976. parameters:
  22977. - description: 登录账号
  22978. in: query
  22979. name: loginID
  22980. required: true
  22981. type: integer
  22982. produces:
  22983. - application/json
  22984. responses:
  22985. "200":
  22986. description: OK
  22987. schema:
  22988. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  22989. "500":
  22990. description: Internal Server Error
  22991. schema:
  22992. $ref: '#/definitions/app.Response'
  22993. security:
  22994. - ApiKeyAuth: []
  22995. summary: 查询合同申请表单数据
  22996. tags:
  22997. - 风险管理v3
  22998. /Erms3/QuerySpotContractDetail:
  22999. get:
  23000. parameters:
  23001. - description: 资金账号ID列表,用逗号分隔
  23002. in: query
  23003. name: accountids
  23004. required: true
  23005. type: string
  23006. - description: 合同类型,1为采购合同 -1为销售合同
  23007. in: query
  23008. name: contracttype
  23009. required: true
  23010. type: integer
  23011. - description: 合同模式,1为普通合同 2为回购销售合同
  23012. in: query
  23013. name: contractmode
  23014. required: true
  23015. type: integer
  23016. - description: 状态,0为履约中 1为已完成
  23017. in: query
  23018. name: status
  23019. required: true
  23020. type: integer
  23021. produces:
  23022. - application/json
  23023. responses:
  23024. "200":
  23025. description: OK
  23026. schema:
  23027. items:
  23028. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  23029. type: array
  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/QueryUserInfoApplies:
  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.QueryUserInfoAppliesRsp'
  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. /Erms3/QueryUserInfos:
  23071. get:
  23072. parameters:
  23073. - description: 页码
  23074. in: query
  23075. name: page
  23076. type: integer
  23077. - description: 每页条数
  23078. in: query
  23079. name: pagesize
  23080. type: integer
  23081. - description: 客户名称,支持模糊查询
  23082. in: query
  23083. name: userName
  23084. type: string
  23085. produces:
  23086. - application/json
  23087. responses:
  23088. "200":
  23089. description: OK
  23090. schema:
  23091. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  23092. "500":
  23093. description: Internal Server Error
  23094. schema:
  23095. $ref: '#/definitions/app.Response'
  23096. security:
  23097. - ApiKeyAuth: []
  23098. summary: 客户信息查询
  23099. tags:
  23100. - 风险管理v3
  23101. /HSBY/GetHsbyMyCount:
  23102. get:
  23103. description: 说明: 不包括已完成的数量。
  23104. parameters:
  23105. - description: 资金账户列表,格式:1,2,3
  23106. in: query
  23107. name: accountIDs
  23108. required: true
  23109. type: string
  23110. produces:
  23111. - application/json
  23112. responses:
  23113. "200":
  23114. description: OK
  23115. schema:
  23116. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  23117. "500":
  23118. description: Internal Server Error
  23119. schema:
  23120. $ref: '#/definitions/app.Response'
  23121. security:
  23122. - ApiKeyAuth: []
  23123. summary: 获取我的订单与包裹数量
  23124. tags:
  23125. - 定制【海商报业】
  23126. /HSBY/QueryClientFixedADConfigs:
  23127. get:
  23128. produces:
  23129. - application/json
  23130. responses:
  23131. "200":
  23132. description: OK
  23133. schema:
  23134. $ref: '#/definitions/models.Clientfixedadconfig'
  23135. "500":
  23136. description: Internal Server Error
  23137. schema:
  23138. $ref: '#/definitions/app.Response'
  23139. security:
  23140. - ApiKeyAuth: []
  23141. summary: 获取终端固定广告配置
  23142. tags:
  23143. - 定制【海商报业】
  23144. /HSBY/QueryHsbyBuyMyTradeDetail:
  23145. get:
  23146. parameters:
  23147. - description: 页码
  23148. in: query
  23149. name: page
  23150. type: integer
  23151. - description: 每页条数
  23152. in: query
  23153. name: pagesize
  23154. type: integer
  23155. - description: 资金账户列表,格式:1,2,3
  23156. in: query
  23157. name: accountIDs
  23158. required: true
  23159. type: string
  23160. produces:
  23161. - application/json
  23162. responses:
  23163. "200":
  23164. description: OK
  23165. schema:
  23166. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  23167. "500":
  23168. description: Internal Server Error
  23169. schema:
  23170. $ref: '#/definitions/app.Response'
  23171. security:
  23172. - ApiKeyAuth: []
  23173. summary: 查询"我的订单 - 已完成"单据信息
  23174. tags:
  23175. - 定制【海商报业】
  23176. /HSBY/QueryHsbyGoodsOrderDetails:
  23177. get:
  23178. description: 说明:查询结果已按委托价格和委托时间排序
  23179. parameters:
  23180. - description: 商品ID
  23181. in: query
  23182. name: goodsID
  23183. required: true
  23184. type: integer
  23185. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  23186. in: query
  23187. name: accountIDs
  23188. type: string
  23189. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  23190. in: query
  23191. name: buyOrSell
  23192. type: integer
  23193. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  23194. in: query
  23195. name: price
  23196. type: number
  23197. - description: 档位,不传则默认为3档
  23198. in: query
  23199. name: speed
  23200. type: integer
  23201. produces:
  23202. - application/json
  23203. responses:
  23204. "200":
  23205. description: OK
  23206. schema:
  23207. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  23208. "500":
  23209. description: Internal Server Error
  23210. schema:
  23211. $ref: '#/definitions/app.Response'
  23212. security:
  23213. - ApiKeyAuth: []
  23214. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  23215. tags:
  23216. - 定制【海商报业】
  23217. /HSBY/QueryHsbyListingGoodsDetail:
  23218. get:
  23219. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  23220. parameters:
  23221. - description: 商品ID
  23222. in: query
  23223. name: goodsID
  23224. required: true
  23225. type: integer
  23226. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  23227. in: query
  23228. name: accountID
  23229. type: integer
  23230. produces:
  23231. - application/json
  23232. responses:
  23233. "200":
  23234. description: OK
  23235. schema:
  23236. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  23237. "500":
  23238. description: Internal Server Error
  23239. schema:
  23240. $ref: '#/definitions/app.Response'
  23241. security:
  23242. - ApiKeyAuth: []
  23243. summary: 查询二级市场(挂牌点选)商品信息详情
  23244. tags:
  23245. - 定制【海商报业】
  23246. /HSBY/QueryHsbyMarketGoodsDetail:
  23247. get:
  23248. parameters:
  23249. - description: 委托单号
  23250. in: query
  23251. name: orderID
  23252. required: true
  23253. type: integer
  23254. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  23255. in: query
  23256. name: accountID
  23257. type: integer
  23258. produces:
  23259. - application/json
  23260. responses:
  23261. "200":
  23262. description: OK
  23263. schema:
  23264. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  23265. "500":
  23266. description: Internal Server Error
  23267. schema:
  23268. $ref: '#/definitions/app.Response'
  23269. security:
  23270. - ApiKeyAuth: []
  23271. summary: 查询三级市场(商城)商品信息详情
  23272. tags:
  23273. - 定制【海商报业】
  23274. /HSBY/QueryHsbyMarketGoodses:
  23275. get:
  23276. parameters:
  23277. - description: 页码
  23278. in: query
  23279. name: page
  23280. type: integer
  23281. - description: 每页条数
  23282. in: query
  23283. name: pagesize
  23284. type: integer
  23285. - description: 市场ID列表,格式:1,2,3
  23286. in: query
  23287. name: marketIDs
  23288. required: true
  23289. type: string
  23290. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  23291. in: query
  23292. name: accountID
  23293. required: true
  23294. type: integer
  23295. - description: 类别ID
  23296. in: query
  23297. name: categoryID
  23298. type: integer
  23299. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  23300. in: query
  23301. name: goodsIDs
  23302. type: string
  23303. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  23304. in: query
  23305. name: couponTypeID
  23306. type: integer
  23307. produces:
  23308. - application/json
  23309. responses:
  23310. "200":
  23311. description: OK
  23312. schema:
  23313. $ref: '#/definitions/models.HsbyMarketGoods'
  23314. "500":
  23315. description: Internal Server Error
  23316. schema:
  23317. $ref: '#/definitions/app.Response'
  23318. security:
  23319. - ApiKeyAuth: []
  23320. summary: 查询特卖商品列表(三级商城)
  23321. tags:
  23322. - 定制【海商报业】
  23323. /HSBY/QueryHsbyMarkets:
  23324. get:
  23325. produces:
  23326. - application/json
  23327. responses:
  23328. "200":
  23329. description: OK
  23330. schema:
  23331. $ref: '#/definitions/models.HsbyMarketInfo'
  23332. "500":
  23333. description: Internal Server Error
  23334. schema:
  23335. $ref: '#/definitions/app.Response'
  23336. security:
  23337. - ApiKeyAuth: []
  23338. summary: 查询海商报业相关市场信息
  23339. tags:
  23340. - 定制【海商报业】
  23341. /HSBY/QueryHsbyMyBuyOrderDetails:
  23342. get:
  23343. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  23344. parameters:
  23345. - description: 资金账户列表,格式:1,2,3
  23346. in: query
  23347. name: accountIDs
  23348. required: true
  23349. type: string
  23350. produces:
  23351. - application/json
  23352. responses:
  23353. "200":
  23354. description: OK
  23355. schema:
  23356. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  23357. "500":
  23358. description: Internal Server Error
  23359. schema:
  23360. $ref: '#/definitions/app.Response'
  23361. security:
  23362. - ApiKeyAuth: []
  23363. summary: 查询“我的订单”信息
  23364. tags:
  23365. - 定制【海商报业】
  23366. /HSBY/QueryHsbyMyGoods:
  23367. get:
  23368. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  23369. parameters:
  23370. - description: 资金账户列表,格式:1,2,3
  23371. in: query
  23372. name: accountIDs
  23373. required: true
  23374. type: string
  23375. produces:
  23376. - application/json
  23377. responses:
  23378. "200":
  23379. description: OK
  23380. schema:
  23381. $ref: '#/definitions/models.HsbyMyGoods'
  23382. "500":
  23383. description: Internal Server Error
  23384. schema:
  23385. $ref: '#/definitions/app.Response'
  23386. security:
  23387. - ApiKeyAuth: []
  23388. summary: 查询“我的商品”信息
  23389. tags:
  23390. - 定制【海商报业】
  23391. /HSBY/QueryHsbyMyPackages:
  23392. get:
  23393. parameters:
  23394. - description: 资金账户列表,格式:1,2,3
  23395. in: query
  23396. name: accountIDs
  23397. required: true
  23398. type: string
  23399. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  23400. in: query
  23401. name: takeOrderStatus
  23402. type: integer
  23403. produces:
  23404. - application/json
  23405. responses:
  23406. "200":
  23407. description: OK
  23408. schema:
  23409. $ref: '#/definitions/models.HsbyMyPackage'
  23410. "500":
  23411. description: Internal Server Error
  23412. schema:
  23413. $ref: '#/definitions/app.Response'
  23414. security:
  23415. - ApiKeyAuth: []
  23416. summary: 查询我的包裹信息
  23417. tags:
  23418. - 定制【海商报业】
  23419. /HSBY/QueryHsbyPreGoodsDetail:
  23420. get:
  23421. parameters:
  23422. - description: 商品ID
  23423. in: query
  23424. name: goodsID
  23425. required: true
  23426. type: integer
  23427. - description: 资金账户,主要用于获取预售商品购买上限
  23428. in: query
  23429. name: accountID
  23430. type: integer
  23431. produces:
  23432. - application/json
  23433. responses:
  23434. "200":
  23435. description: OK
  23436. schema:
  23437. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  23438. "500":
  23439. description: Internal Server Error
  23440. schema:
  23441. $ref: '#/definitions/app.Response'
  23442. security:
  23443. - ApiKeyAuth: []
  23444. summary: 查询一级市场(预售)商品信息详情
  23445. tags:
  23446. - 定制【海商报业】
  23447. /HSBY/QueryHsbyPreGoodses:
  23448. get:
  23449. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  23450. parameters:
  23451. - description: 页码
  23452. in: query
  23453. name: page
  23454. type: integer
  23455. - description: 每页条数
  23456. in: query
  23457. name: pagesize
  23458. type: integer
  23459. - description: 市场ID列表,格式:1,2,3
  23460. in: query
  23461. name: marketIDs
  23462. required: true
  23463. type: string
  23464. - description: 目的地(省)ID
  23465. in: query
  23466. name: descProvinceID
  23467. type: integer
  23468. - description: 目的地(市)ID
  23469. in: query
  23470. name: descCityID
  23471. type: integer
  23472. produces:
  23473. - application/json
  23474. responses:
  23475. "200":
  23476. description: OK
  23477. schema:
  23478. $ref: '#/definitions/models.HsbyPreGoods'
  23479. "500":
  23480. description: Internal Server Error
  23481. schema:
  23482. $ref: '#/definitions/app.Response'
  23483. security:
  23484. - ApiKeyAuth: []
  23485. summary: 查询新品上市商品列表(一级市场预售)
  23486. tags:
  23487. - 定制【海商报业】
  23488. /HSBY/QueryHsbySellMyDetails:
  23489. get:
  23490. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  23491. parameters:
  23492. - description: 页码
  23493. in: query
  23494. name: page
  23495. type: integer
  23496. - description: 每页条数
  23497. in: query
  23498. name: pagesize
  23499. type: integer
  23500. - description: 资金账户列表,格式:1,2,3
  23501. in: query
  23502. name: accountIDs
  23503. required: true
  23504. type: string
  23505. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  23506. in: query
  23507. name: orderType
  23508. type: integer
  23509. produces:
  23510. - application/json
  23511. responses:
  23512. "200":
  23513. description: OK
  23514. schema:
  23515. $ref: '#/definitions/models.HsbySellMyDetail'
  23516. "500":
  23517. description: Internal Server Error
  23518. schema:
  23519. $ref: '#/definitions/app.Response'
  23520. security:
  23521. - ApiKeyAuth: []
  23522. summary: 查询"我的闲置"单据信息
  23523. tags:
  23524. - 定制【海商报业】
  23525. /HSBY/QueryHsbyTopGoodses:
  23526. get:
  23527. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  23528. parameters:
  23529. - description: 页码
  23530. in: query
  23531. name: page
  23532. type: integer
  23533. - description: 每页条数
  23534. in: query
  23535. name: pagesize
  23536. type: integer
  23537. - description: 市场ID列表,格式:1,2,3
  23538. in: query
  23539. name: marketIDs
  23540. required: true
  23541. type: string
  23542. - description: 目的地(省)ID
  23543. in: query
  23544. name: descProvinceID
  23545. type: integer
  23546. - description: 目的地(市)ID
  23547. in: query
  23548. name: descCityID
  23549. type: integer
  23550. produces:
  23551. - application/json
  23552. responses:
  23553. "200":
  23554. description: OK
  23555. schema:
  23556. $ref: '#/definitions/models.HsbyTopGoods'
  23557. "500":
  23558. description: Internal Server Error
  23559. schema:
  23560. $ref: '#/definitions/app.Response'
  23561. security:
  23562. - ApiKeyAuth: []
  23563. summary: 查询热卖商品列表(二级市场挂牌点选)
  23564. tags:
  23565. - 定制【海商报业】
  23566. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  23567. get:
  23568. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  23569. parameters:
  23570. - description: 商品ID
  23571. in: query
  23572. name: goodsID
  23573. required: true
  23574. type: integer
  23575. produces:
  23576. - application/json
  23577. responses:
  23578. "200":
  23579. description: OK
  23580. schema:
  23581. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  23582. "500":
  23583. description: Internal Server Error
  23584. schema:
  23585. $ref: '#/definitions/app.Response'
  23586. security:
  23587. - ApiKeyAuth: []
  23588. summary: 查询游客三级市场(商城)商品信息详情
  23589. tags:
  23590. - 定制【海商报业】
  23591. /HSBY/QueryHsbyVisitorMarketGoodses:
  23592. get:
  23593. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  23594. parameters:
  23595. - description: 页码
  23596. in: query
  23597. name: page
  23598. type: integer
  23599. - description: 每页条数
  23600. in: query
  23601. name: pagesize
  23602. type: integer
  23603. - description: 市场ID列表,格式:1,2,3
  23604. in: query
  23605. name: marketIDs
  23606. required: true
  23607. type: string
  23608. - description: 类别ID
  23609. in: query
  23610. name: categoryID
  23611. type: integer
  23612. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  23613. in: query
  23614. name: goodsIDs
  23615. type: string
  23616. produces:
  23617. - application/json
  23618. responses:
  23619. "200":
  23620. description: OK
  23621. schema:
  23622. $ref: '#/definitions/models.HsbyMarketGoods'
  23623. "500":
  23624. description: Internal Server Error
  23625. schema:
  23626. $ref: '#/definitions/app.Response'
  23627. security:
  23628. - ApiKeyAuth: []
  23629. summary: 查询游客特卖商品列表(三级商城)
  23630. tags:
  23631. - 定制【海商报业】
  23632. /HSBY/QueryMyCollectionOrders:
  23633. get:
  23634. parameters:
  23635. - description: 页码
  23636. in: query
  23637. name: page
  23638. type: integer
  23639. - description: 每页条数
  23640. in: query
  23641. name: pagesize
  23642. type: integer
  23643. - description: 资金账户,格式:1,2,3
  23644. in: query
  23645. name: accountIDs
  23646. required: true
  23647. type: string
  23648. produces:
  23649. - application/json
  23650. responses:
  23651. "200":
  23652. description: OK
  23653. schema:
  23654. $ref: '#/definitions/models.HsbySellCollectionOrder'
  23655. "500":
  23656. description: Internal Server Error
  23657. schema:
  23658. $ref: '#/definitions/app.Response'
  23659. security:
  23660. - ApiKeyAuth: []
  23661. summary: 我的闲置中收款信息查询
  23662. tags:
  23663. - 定制【海商报业】
  23664. /HSBY/QueryMyCouponHolds:
  23665. get:
  23666. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  23667. parameters:
  23668. - description: 资金账户列表,格式:1,2,3
  23669. in: query
  23670. name: accountIDs
  23671. required: true
  23672. type: string
  23673. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  23674. in: query
  23675. name: holdStatus
  23676. type: string
  23677. produces:
  23678. - application/json
  23679. responses:
  23680. "200":
  23681. description: OK
  23682. schema:
  23683. $ref: '#/definitions/models.MyCouponHold'
  23684. "500":
  23685. description: Internal Server Error
  23686. schema:
  23687. $ref: '#/definitions/app.Response'
  23688. security:
  23689. - ApiKeyAuth: []
  23690. summary: 我的优惠卷持仓查询
  23691. tags:
  23692. - 定制【海商报业】
  23693. /HSBY/QueryMyCoupons:
  23694. get:
  23695. parameters:
  23696. - description: 资金账户列表,格式:1,2,3
  23697. in: query
  23698. name: accountIDs
  23699. required: true
  23700. type: string
  23701. - description: 商品ID, 一般与sellUserID配套传入
  23702. in: query
  23703. name: goodsID
  23704. type: integer
  23705. - description: 卖方UserID
  23706. in: query
  23707. name: sellUserID
  23708. type: integer
  23709. produces:
  23710. - application/json
  23711. responses:
  23712. "200":
  23713. description: OK
  23714. schema:
  23715. $ref: '#/definitions/models.MyCoupon'
  23716. "500":
  23717. description: Internal Server Error
  23718. schema:
  23719. $ref: '#/definitions/app.Response'
  23720. security:
  23721. - ApiKeyAuth: []
  23722. summary: 我的优惠卷查询
  23723. tags:
  23724. - 定制【海商报业】
  23725. /HSBY/QueryMyPayOrders:
  23726. get:
  23727. parameters:
  23728. - description: 页码
  23729. in: query
  23730. name: page
  23731. type: integer
  23732. - description: 每页条数
  23733. in: query
  23734. name: pagesize
  23735. type: integer
  23736. - description: 资金账户列表,格式:1,2,3
  23737. in: query
  23738. name: accountIDs
  23739. required: true
  23740. type: string
  23741. - description: 买方委托单号
  23742. in: query
  23743. name: buyOrderID
  23744. type: integer
  23745. - description: 卖方委托单号
  23746. in: query
  23747. name: sellOrderID
  23748. type: integer
  23749. produces:
  23750. - application/json
  23751. responses:
  23752. "200":
  23753. description: OK
  23754. schema:
  23755. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  23756. "500":
  23757. description: Internal Server Error
  23758. schema:
  23759. $ref: '#/definitions/app.Response'
  23760. security:
  23761. - ApiKeyAuth: []
  23762. summary: 获取我的订单中待付款信息
  23763. tags:
  23764. - 定制【海商报业】
  23765. /HSBY/QueryMyUsedCoupon:
  23766. get:
  23767. parameters:
  23768. - description: 资金账户列表,格式:1,2,3
  23769. in: query
  23770. name: accountIDs
  23771. required: true
  23772. type: string
  23773. produces:
  23774. - application/json
  23775. responses:
  23776. "200":
  23777. description: OK
  23778. schema:
  23779. $ref: '#/definitions/models.MyUsedCoupon'
  23780. "500":
  23781. description: Internal Server Error
  23782. schema:
  23783. $ref: '#/definitions/app.Response'
  23784. security:
  23785. - ApiKeyAuth: []
  23786. summary: 已使用优惠卷查询
  23787. tags:
  23788. - 定制【海商报业】
  23789. /HSBY/QueryProvincesAndCities:
  23790. get:
  23791. description: 查询结果只包括二级市场商品已关连的省市信息。
  23792. parameters:
  23793. - description: 省ID
  23794. in: query
  23795. name: provinceID
  23796. type: integer
  23797. produces:
  23798. - application/json
  23799. responses:
  23800. "200":
  23801. description: OK
  23802. schema:
  23803. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  23804. "500":
  23805. description: Internal Server Error
  23806. schema:
  23807. $ref: '#/definitions/app.Response'
  23808. security:
  23809. - ApiKeyAuth: []
  23810. summary: 查询省市信息(不包括区)
  23811. tags:
  23812. - 定制【海商报业】
  23813. /HSBY/SetHsbyMyPackagesStatus:
  23814. post:
  23815. parameters:
  23816. - description: 提货单号
  23817. in: query
  23818. name: takeOrderID
  23819. required: true
  23820. type: string
  23821. - description: 资金账号
  23822. in: query
  23823. name: accountID
  23824. required: true
  23825. type: integer
  23826. produces:
  23827. - application/json
  23828. responses:
  23829. "200":
  23830. description: OK
  23831. schema:
  23832. $ref: '#/definitions/app.Response'
  23833. "500":
  23834. description: Internal Server Error
  23835. schema:
  23836. $ref: '#/definitions/app.Response'
  23837. security:
  23838. - ApiKeyAuth: []
  23839. summary: 设置我的包裹已收货状态
  23840. tags:
  23841. - 定制【海商报业】
  23842. /Market/GetAllExExchanges:
  23843. get:
  23844. produces:
  23845. - application/json
  23846. responses:
  23847. "200":
  23848. description: OK
  23849. schema:
  23850. $ref: '#/definitions/models.Goods'
  23851. "500":
  23852. description: Internal Server Error
  23853. schema:
  23854. $ref: '#/definitions/app.Response'
  23855. security:
  23856. - ApiKeyAuth: []
  23857. summary: 获取所有外部交易所信息
  23858. tags:
  23859. - 通用市场
  23860. /Market/QueryGoodsesByLoginID:
  23861. get:
  23862. parameters:
  23863. - description: 登录账号
  23864. in: query
  23865. name: loginID
  23866. required: true
  23867. type: integer
  23868. - description: 市场ID列表,格式:1,2,3
  23869. in: query
  23870. name: marketIDs
  23871. type: string
  23872. produces:
  23873. - application/json
  23874. responses:
  23875. "200":
  23876. description: OK
  23877. schema:
  23878. $ref: '#/definitions/models.Goods'
  23879. "500":
  23880. description: Internal Server Error
  23881. schema:
  23882. $ref: '#/definitions/app.Response'
  23883. security:
  23884. - ApiKeyAuth: []
  23885. summary: 获取登录账号有权限的商品信息
  23886. tags:
  23887. - 通用市场
  23888. /Market/QueryMarketRun:
  23889. get:
  23890. parameters:
  23891. - description: 市场ID,不传返回所有
  23892. in: query
  23893. name: marketID
  23894. type: integer
  23895. produces:
  23896. - application/json
  23897. responses:
  23898. "200":
  23899. description: OK
  23900. schema:
  23901. $ref: '#/definitions/models.Marketrun'
  23902. "500":
  23903. description: Internal Server Error
  23904. schema:
  23905. $ref: '#/definitions/app.Response'
  23906. security:
  23907. - ApiKeyAuth: []
  23908. summary: 查询市场运行信息
  23909. tags:
  23910. - 通用市场
  23911. /Market/QueryMarketsByLoginID:
  23912. get:
  23913. parameters:
  23914. - description: 登录账号
  23915. in: query
  23916. name: loginID
  23917. required: true
  23918. type: integer
  23919. produces:
  23920. - application/json
  23921. responses:
  23922. "200":
  23923. description: OK
  23924. schema:
  23925. $ref: '#/definitions/models.Market'
  23926. "500":
  23927. description: Internal Server Error
  23928. schema:
  23929. $ref: '#/definitions/app.Response'
  23930. security:
  23931. - ApiKeyAuth: []
  23932. summary: 获取登录账号有权限的市场信息
  23933. tags:
  23934. - 通用市场
  23935. /Order/QueryHisTradeDetail:
  23936. get:
  23937. parameters:
  23938. - description: 资金账户 - 格式:1,2,3
  23939. in: query
  23940. name: accountID
  23941. required: true
  23942. type: string
  23943. - description: 成交单号
  23944. in: query
  23945. name: tradeID
  23946. type: integer
  23947. - description: 委托单号
  23948. in: query
  23949. name: orderID
  23950. type: integer
  23951. - description: 商品ID
  23952. in: query
  23953. name: goodsID
  23954. type: integer
  23955. - description: 交易模式 - 格式:1,2,3
  23956. in: query
  23957. name: tradeMode
  23958. type: string
  23959. - description: 委托单据类型
  23960. in: query
  23961. name: buildType
  23962. type: integer
  23963. - description: 成交类别 - 格式:1,2,3
  23964. in: query
  23965. name: tradeType
  23966. type: string
  23967. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23968. in: query
  23969. name: startDate
  23970. type: string
  23971. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23972. in: query
  23973. name: endDate
  23974. type: string
  23975. produces:
  23976. - application/json
  23977. responses:
  23978. "200":
  23979. description: OK
  23980. schema:
  23981. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  23982. "500":
  23983. description: Internal Server Error
  23984. schema:
  23985. $ref: '#/definitions/app.Response'
  23986. security:
  23987. - ApiKeyAuth: []
  23988. summary: 历史成交单查询(合约市场)
  23989. tags:
  23990. - 通用单据
  23991. /Order/QueryHisTradeOrderDetail:
  23992. get:
  23993. parameters:
  23994. - description: 资金账户 - 格式:1,2,3
  23995. in: query
  23996. name: accountID
  23997. required: true
  23998. type: string
  23999. - description: 交易模式 - 格式:1,2,3
  24000. in: query
  24001. name: tradeMode
  24002. type: string
  24003. - description: 委托状态 - 格式:1,2,3
  24004. in: query
  24005. name: orderStatus
  24006. type: string
  24007. - description: 委托单号
  24008. in: query
  24009. name: orderID
  24010. type: integer
  24011. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24012. in: query
  24013. name: startDate
  24014. type: string
  24015. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24016. in: query
  24017. name: endDate
  24018. type: string
  24019. produces:
  24020. - application/json
  24021. responses:
  24022. "200":
  24023. description: OK
  24024. schema:
  24025. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  24026. "500":
  24027. description: Internal Server Error
  24028. schema:
  24029. $ref: '#/definitions/app.Response'
  24030. security:
  24031. - ApiKeyAuth: []
  24032. summary: 历史委托单查询请求(合约市场)
  24033. tags:
  24034. - 通用单据
  24035. /Order/QueryTradeDetail:
  24036. get:
  24037. parameters:
  24038. - description: 资金账户 - 格式:1,2,3
  24039. in: query
  24040. name: accountID
  24041. required: true
  24042. type: string
  24043. - description: 成交单号
  24044. in: query
  24045. name: tradeID
  24046. type: integer
  24047. - description: 委托单号
  24048. in: query
  24049. name: orderID
  24050. type: integer
  24051. - description: 交易模式 - 格式:1,2,3
  24052. in: query
  24053. name: tradeMode
  24054. type: string
  24055. - description: 委托单据类型
  24056. in: query
  24057. name: buildType
  24058. type: integer
  24059. - description: 成交类别 - 格式:1,2,3
  24060. in: query
  24061. name: tradeType
  24062. type: string
  24063. - description: 商品ID
  24064. in: query
  24065. name: goodsID
  24066. type: integer
  24067. produces:
  24068. - application/json
  24069. responses:
  24070. "200":
  24071. description: OK
  24072. schema:
  24073. $ref: '#/definitions/order.QueryTradeDetailRsp'
  24074. "500":
  24075. description: Internal Server Error
  24076. schema:
  24077. $ref: '#/definitions/app.Response'
  24078. security:
  24079. - ApiKeyAuth: []
  24080. summary: 成交单查询(合约市场)
  24081. tags:
  24082. - 通用单据
  24083. /Order/QueryTradeHolderDetail:
  24084. get:
  24085. parameters:
  24086. - description: 用户id
  24087. in: query
  24088. name: userid
  24089. type: integer
  24090. - description: 资金账号, 格式 1,2,3
  24091. in: query
  24092. name: accids
  24093. type: string
  24094. - description: 交易模式, 格式 1,2,3
  24095. in: query
  24096. name: trademodes
  24097. type: string
  24098. - description: 市场id, 格式 1,2,3
  24099. in: query
  24100. name: marketids
  24101. type: string
  24102. - description: 商品id
  24103. in: query
  24104. name: goodsid
  24105. type: integer
  24106. - description: 买卖方向 0-买 1-卖
  24107. in: query
  24108. name: buyorsell
  24109. type: integer
  24110. produces:
  24111. - application/json
  24112. responses:
  24113. "200":
  24114. description: OK
  24115. schema:
  24116. items:
  24117. $ref: '#/definitions/models.TradeHolderDetail'
  24118. type: array
  24119. "500":
  24120. description: Internal Server Error
  24121. schema:
  24122. $ref: '#/definitions/app.Response'
  24123. security:
  24124. - ApiKeyAuth: []
  24125. summary: 查询持仓明细
  24126. tags:
  24127. - 通用单据
  24128. /Order/QueryTradeOrderDetail:
  24129. get:
  24130. parameters:
  24131. - description: 资金账户 - 格式:1,2,3
  24132. in: query
  24133. name: accountID
  24134. required: true
  24135. type: string
  24136. - description: 交易模式 - 格式:1,2,3
  24137. in: query
  24138. name: tradeMode
  24139. type: string
  24140. - description: 委托状态 - 格式:1,2,3
  24141. in: query
  24142. name: orderStatus
  24143. type: string
  24144. - description: 委托单号
  24145. in: query
  24146. name: orderID
  24147. type: integer
  24148. produces:
  24149. - application/json
  24150. responses:
  24151. "200":
  24152. description: OK
  24153. schema:
  24154. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  24155. "500":
  24156. description: Internal Server Error
  24157. schema:
  24158. $ref: '#/definitions/app.Response'
  24159. security:
  24160. - ApiKeyAuth: []
  24161. summary: 委托单查询请求(合约市场)
  24162. tags:
  24163. - 通用单据
  24164. /Order/QueryTradePosition:
  24165. get:
  24166. parameters:
  24167. - description: 资金账户 - 格式:1,2,3
  24168. in: query
  24169. name: accountID
  24170. required: true
  24171. type: string
  24172. - description: 交易模式 - 格式:1,2,3
  24173. in: query
  24174. name: tradeMode
  24175. type: string
  24176. produces:
  24177. - application/json
  24178. responses:
  24179. "200":
  24180. description: OK
  24181. schema:
  24182. $ref: '#/definitions/order.QueryTradePositionRsp'
  24183. "500":
  24184. description: Internal Server Error
  24185. schema:
  24186. $ref: '#/definitions/app.Response'
  24187. security:
  24188. - ApiKeyAuth: []
  24189. summary: 持仓汇总查询(合约市场)
  24190. tags:
  24191. - 通用单据
  24192. /Qhj/QueryAccountInOutApply:
  24193. get:
  24194. parameters:
  24195. - description: 用户ID
  24196. in: query
  24197. name: userid
  24198. required: true
  24199. type: integer
  24200. - description: 申请起始日期(格式yyyymmdd)
  24201. in: query
  24202. name: begindate
  24203. type: string
  24204. - description: 申请截止日期(格式yyyymmdd)
  24205. in: query
  24206. name: enddate
  24207. type: string
  24208. - description: 模糊搜索名称
  24209. in: query
  24210. name: likename
  24211. type: string
  24212. produces:
  24213. - application/json
  24214. responses:
  24215. "200":
  24216. description: OK
  24217. schema:
  24218. items:
  24219. $ref: '#/definitions/models.QhjAccountOutInApply'
  24220. type: array
  24221. "500":
  24222. description: Internal Server Error
  24223. schema:
  24224. $ref: '#/definitions/app.Response'
  24225. security:
  24226. - ApiKeyAuth: []
  24227. summary: 查询充值提现
  24228. tags:
  24229. - 大连千海金
  24230. /Qhj/QueryAreaFinanceConfig:
  24231. get:
  24232. parameters:
  24233. - description: 机构用户ID 其他做市关系,都设置为 1
  24234. in: query
  24235. name: userid
  24236. type: integer
  24237. produces:
  24238. - application/json
  24239. responses:
  24240. "200":
  24241. description: OK
  24242. schema:
  24243. items:
  24244. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  24245. type: array
  24246. "500":
  24247. description: Internal Server Error
  24248. schema:
  24249. $ref: '#/definitions/app.Response'
  24250. security:
  24251. - ApiKeyAuth: []
  24252. summary: 查询企业配置表
  24253. tags:
  24254. - 大连千海金
  24255. /Qhj/QueryBankAccountSign:
  24256. get:
  24257. parameters:
  24258. - description: 用户ID
  24259. in: query
  24260. name: userid
  24261. required: true
  24262. type: integer
  24263. produces:
  24264. - application/json
  24265. responses:
  24266. "200":
  24267. description: OK
  24268. schema:
  24269. items:
  24270. $ref: '#/definitions/models.QhjBankAccountSign'
  24271. type: array
  24272. "500":
  24273. description: Internal Server Error
  24274. schema:
  24275. $ref: '#/definitions/app.Response'
  24276. security:
  24277. - ApiKeyAuth: []
  24278. summary: 查询签约银行信息(提现账户管理)
  24279. tags:
  24280. - 大连千海金
  24281. /Qhj/QueryBankInfo:
  24282. get:
  24283. produces:
  24284. - application/json
  24285. responses:
  24286. "200":
  24287. description: OK
  24288. schema:
  24289. items:
  24290. $ref: '#/definitions/models.QhjBankInfo'
  24291. type: array
  24292. "500":
  24293. description: Internal Server Error
  24294. schema:
  24295. $ref: '#/definitions/app.Response'
  24296. security:
  24297. - ApiKeyAuth: []
  24298. summary: 查询开户行
  24299. tags:
  24300. - 大连千海金
  24301. /Qhj/QueryBrokerApply:
  24302. get:
  24303. parameters:
  24304. - description: 所属机构ID
  24305. in: query
  24306. name: userid
  24307. type: integer
  24308. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24309. in: query
  24310. name: filterstatus
  24311. type: string
  24312. produces:
  24313. - application/json
  24314. responses:
  24315. "200":
  24316. description: OK
  24317. schema:
  24318. items:
  24319. $ref: '#/definitions/models.QhjBrokerApply'
  24320. type: array
  24321. "500":
  24322. description: Internal Server Error
  24323. schema:
  24324. $ref: '#/definitions/app.Response'
  24325. security:
  24326. - ApiKeyAuth: []
  24327. summary: 查询经纪人申请
  24328. tags:
  24329. - 大连千海金
  24330. /Qhj/QueryBrokerApplyEx:
  24331. get:
  24332. parameters:
  24333. - description: 所属机构ID
  24334. in: query
  24335. name: userid
  24336. type: integer
  24337. produces:
  24338. - application/json
  24339. responses:
  24340. "200":
  24341. description: OK
  24342. schema:
  24343. items:
  24344. $ref: '#/definitions/models.QhjBrokerApplyEx'
  24345. type: array
  24346. "500":
  24347. description: Internal Server Error
  24348. schema:
  24349. $ref: '#/definitions/app.Response'
  24350. security:
  24351. - ApiKeyAuth: []
  24352. summary: 查询经纪人信息和申请记录
  24353. tags:
  24354. - 大连千海金
  24355. /Qhj/QueryBrokerRewardLog:
  24356. get:
  24357. parameters:
  24358. - description: 用户ID
  24359. in: query
  24360. name: userid
  24361. required: true
  24362. type: integer
  24363. - description: 开始交易日(yyyymmdd)
  24364. in: query
  24365. name: begindate
  24366. type: string
  24367. - description: 结束交易日(yyyymmdd)
  24368. in: query
  24369. name: enddate
  24370. type: string
  24371. produces:
  24372. - application/json
  24373. responses:
  24374. "200":
  24375. description: OK
  24376. schema:
  24377. items:
  24378. $ref: '#/definitions/models.QhjBrokerRewardLog'
  24379. type: array
  24380. "500":
  24381. description: Internal Server Error
  24382. schema:
  24383. $ref: '#/definitions/app.Response'
  24384. security:
  24385. - ApiKeyAuth: []
  24386. summary: 查询奖励流水(我的奖励)
  24387. tags:
  24388. - 大连千海金
  24389. /Qhj/QueryContract:
  24390. get:
  24391. parameters:
  24392. - description: 用户ID
  24393. in: query
  24394. name: userid
  24395. type: integer
  24396. - description: scf合同id
  24397. in: query
  24398. name: scfcontractid
  24399. type: integer
  24400. produces:
  24401. - application/json
  24402. responses:
  24403. "200":
  24404. description: OK
  24405. schema:
  24406. items:
  24407. $ref: '#/definitions/models.QhjContract'
  24408. type: array
  24409. "500":
  24410. description: Internal Server Error
  24411. schema:
  24412. $ref: '#/definitions/app.Response'
  24413. security:
  24414. - ApiKeyAuth: []
  24415. summary: 查询融资明细(合同)
  24416. tags:
  24417. - 大连千海金
  24418. /Qhj/QueryContractLog:
  24419. get:
  24420. parameters:
  24421. - description: scf合同id
  24422. in: query
  24423. name: scfcontractid
  24424. required: true
  24425. type: integer
  24426. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  24427. in: query
  24428. name: amounttype
  24429. type: string
  24430. produces:
  24431. - application/json
  24432. responses:
  24433. "200":
  24434. description: OK
  24435. schema:
  24436. items:
  24437. $ref: '#/definitions/models.QhjContractLog'
  24438. type: array
  24439. "500":
  24440. description: Internal Server Error
  24441. schema:
  24442. $ref: '#/definitions/app.Response'
  24443. security:
  24444. - ApiKeyAuth: []
  24445. summary: 查询融资明细流水(融资明细详情页中的流水)
  24446. tags:
  24447. - 大连千海金
  24448. /Qhj/QueryCusBankSignBank:
  24449. get:
  24450. produces:
  24451. - application/json
  24452. responses:
  24453. "200":
  24454. description: OK
  24455. schema:
  24456. items:
  24457. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  24458. type: array
  24459. "500":
  24460. description: Internal Server Error
  24461. schema:
  24462. $ref: '#/definitions/app.Response'
  24463. security:
  24464. - ApiKeyAuth: []
  24465. summary: 查询托管银行
  24466. tags:
  24467. - 大连千海金
  24468. /Qhj/QueryCustomerInfo:
  24469. get:
  24470. parameters:
  24471. - description: 用户ID
  24472. in: query
  24473. name: userid
  24474. required: true
  24475. type: integer
  24476. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  24477. in: query
  24478. name: querytype
  24479. required: true
  24480. type: integer
  24481. - description: 客户类型 1-个人 2-企业
  24482. in: query
  24483. name: userinfotype
  24484. type: integer
  24485. - description: 客户名称(模糊匹配)
  24486. in: query
  24487. name: customername
  24488. type: string
  24489. - description: 昵称(模糊匹配)
  24490. in: query
  24491. name: nickname
  24492. type: string
  24493. - description: 是否包含子级 1-包含
  24494. in: query
  24495. name: includesub
  24496. type: integer
  24497. produces:
  24498. - application/json
  24499. responses:
  24500. "200":
  24501. description: OK
  24502. schema:
  24503. items:
  24504. $ref: '#/definitions/models.QhjCustomer'
  24505. type: array
  24506. "500":
  24507. description: Internal Server Error
  24508. schema:
  24509. $ref: '#/definitions/app.Response'
  24510. security:
  24511. - ApiKeyAuth: []
  24512. summary: 查询客户资料
  24513. tags:
  24514. - 大连千海金
  24515. /Qhj/QueryGoodsEx:
  24516. get:
  24517. parameters:
  24518. - description: 商品id
  24519. in: query
  24520. name: goodsid
  24521. type: integer
  24522. produces:
  24523. - application/json
  24524. responses:
  24525. "200":
  24526. description: OK
  24527. schema:
  24528. items:
  24529. $ref: '#/definitions/models.Qhjgoodsex'
  24530. type: array
  24531. "500":
  24532. description: Internal Server Error
  24533. schema:
  24534. $ref: '#/definitions/app.Response'
  24535. security:
  24536. - ApiKeyAuth: []
  24537. summary: 交易商品扩展表
  24538. tags:
  24539. - 大连千海金
  24540. /Qhj/QueryMyTeam:
  24541. get:
  24542. parameters:
  24543. - description: 用户ID
  24544. in: query
  24545. name: userid
  24546. required: true
  24547. type: integer
  24548. produces:
  24549. - application/json
  24550. responses:
  24551. "200":
  24552. description: OK
  24553. schema:
  24554. items:
  24555. $ref: '#/definitions/models.QhjMyTeamEx'
  24556. type: array
  24557. "500":
  24558. description: Internal Server Error
  24559. schema:
  24560. $ref: '#/definitions/app.Response'
  24561. security:
  24562. - ApiKeyAuth: []
  24563. summary: 查询我的团队
  24564. tags:
  24565. - 大连千海金
  24566. /Qhj/QueryMyTeamOrder:
  24567. get:
  24568. parameters:
  24569. - description: 页码
  24570. in: query
  24571. name: page
  24572. type: integer
  24573. - description: 每页条数
  24574. in: query
  24575. name: pagesize
  24576. type: integer
  24577. - description: 用户ID
  24578. in: query
  24579. name: userid
  24580. required: true
  24581. type: integer
  24582. - description: 交易模式
  24583. in: query
  24584. name: trademode
  24585. type: integer
  24586. - description: 名称(模糊搜索账户)
  24587. in: query
  24588. name: filtername
  24589. type: string
  24590. produces:
  24591. - application/json
  24592. responses:
  24593. "200":
  24594. description: OK
  24595. schema:
  24596. items:
  24597. $ref: '#/definitions/models.QhjTeamOrder'
  24598. type: array
  24599. "500":
  24600. description: Internal Server Error
  24601. schema:
  24602. $ref: '#/definitions/app.Response'
  24603. security:
  24604. - ApiKeyAuth: []
  24605. summary: 查询团队订单(我的团队/团队订单)
  24606. tags:
  24607. - 大连千海金
  24608. /Qhj/QueryParentAreaList:
  24609. get:
  24610. parameters:
  24611. - description: 用户ID
  24612. in: query
  24613. name: userid
  24614. required: true
  24615. type: integer
  24616. produces:
  24617. - application/json
  24618. responses:
  24619. "200":
  24620. description: OK
  24621. schema:
  24622. items:
  24623. $ref: '#/definitions/models.QhjParentAreaList'
  24624. type: array
  24625. "500":
  24626. description: Internal Server Error
  24627. schema:
  24628. $ref: '#/definitions/app.Response'
  24629. security:
  24630. - ApiKeyAuth: []
  24631. summary: 查询所属机构列表
  24632. tags:
  24633. - 大连千海金
  24634. /Qhj/QueryPayOrder:
  24635. get:
  24636. parameters:
  24637. - description: 资金账号id
  24638. in: query
  24639. name: accountid
  24640. required: true
  24641. type: integer
  24642. - description: 成交单号
  24643. in: query
  24644. name: tradeid
  24645. type: integer
  24646. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  24647. in: query
  24648. name: payflag
  24649. type: string
  24650. produces:
  24651. - application/json
  24652. responses:
  24653. "200":
  24654. description: OK
  24655. schema:
  24656. items:
  24657. $ref: '#/definitions/models.QhjPayOrder'
  24658. type: array
  24659. "500":
  24660. description: Internal Server Error
  24661. schema:
  24662. $ref: '#/definitions/app.Response'
  24663. security:
  24664. - ApiKeyAuth: []
  24665. summary: 查询待付款单据
  24666. tags:
  24667. - 大连千海金
  24668. /Qhj/QueryPickArea:
  24669. get:
  24670. parameters:
  24671. - description: 用户ID
  24672. in: query
  24673. name: userid
  24674. type: integer
  24675. produces:
  24676. - application/json
  24677. responses:
  24678. "200":
  24679. description: OK
  24680. schema:
  24681. items:
  24682. $ref: '#/definitions/models.QhjPickArea'
  24683. type: array
  24684. "500":
  24685. description: Internal Server Error
  24686. schema:
  24687. $ref: '#/definitions/app.Response'
  24688. security:
  24689. - ApiKeyAuth: []
  24690. summary: 查询提货门店
  24691. tags:
  24692. - 大连千海金
  24693. /Qhj/QueryPickGoods:
  24694. get:
  24695. parameters:
  24696. - description: 交易商品id
  24697. in: query
  24698. name: goodsid
  24699. required: true
  24700. type: integer
  24701. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  24702. in: query
  24703. name: status
  24704. type: string
  24705. produces:
  24706. - application/json
  24707. responses:
  24708. "200":
  24709. description: OK
  24710. schema:
  24711. items:
  24712. $ref: '#/definitions/models.QhjPickGoods'
  24713. type: array
  24714. "500":
  24715. description: Internal Server Error
  24716. schema:
  24717. $ref: '#/definitions/app.Response'
  24718. security:
  24719. - ApiKeyAuth: []
  24720. summary: 查询提货商品
  24721. tags:
  24722. - 大连千海金
  24723. /Qhj/QueryRSTriggerLog:
  24724. get:
  24725. parameters:
  24726. - description: 用户ID
  24727. in: query
  24728. name: userid
  24729. type: integer
  24730. - description: 定投策略id
  24731. in: query
  24732. name: regularlystrategyid
  24733. type: integer
  24734. - description: 商品id
  24735. in: query
  24736. name: goodsid
  24737. type: integer
  24738. - description: 开始交易日(yyyymmdd)
  24739. in: query
  24740. name: begindate
  24741. type: string
  24742. - description: 结束交易日(yyyymmdd)
  24743. in: query
  24744. name: enddate
  24745. type: string
  24746. - description: 名称(模糊搜索账户)
  24747. in: query
  24748. name: filtername
  24749. type: string
  24750. produces:
  24751. - application/json
  24752. responses:
  24753. "200":
  24754. description: OK
  24755. schema:
  24756. items:
  24757. $ref: '#/definitions/models.QhjRSTriggerLog'
  24758. type: array
  24759. "500":
  24760. description: Internal Server Error
  24761. schema:
  24762. $ref: '#/definitions/app.Response'
  24763. security:
  24764. - ApiKeyAuth: []
  24765. summary: 查询定投记录(定投管理/详情/定投记录)
  24766. tags:
  24767. - 大连千海金
  24768. /Qhj/QueryRStrategy:
  24769. get:
  24770. parameters:
  24771. - description: 用户ID
  24772. in: query
  24773. name: userid
  24774. type: integer
  24775. - description: 商品id
  24776. in: query
  24777. name: goodsid
  24778. type: integer
  24779. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  24780. in: query
  24781. name: status
  24782. type: string
  24783. - description: 名称(模糊搜索账户)
  24784. in: query
  24785. name: filtername
  24786. type: string
  24787. produces:
  24788. - application/json
  24789. responses:
  24790. "200":
  24791. description: OK
  24792. schema:
  24793. items:
  24794. $ref: '#/definitions/models.QhjRStrategy'
  24795. type: array
  24796. "500":
  24797. description: Internal Server Error
  24798. schema:
  24799. $ref: '#/definitions/app.Response'
  24800. security:
  24801. - ApiKeyAuth: []
  24802. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  24803. tags:
  24804. - 大连千海金
  24805. /Qhj/QueryReckonPriceLog:
  24806. get:
  24807. parameters:
  24808. - description: 商品ID
  24809. in: query
  24810. name: goodsid
  24811. type: integer
  24812. - description: 交易日 格式(yyyymmdd)
  24813. in: query
  24814. name: tradedate
  24815. type: string
  24816. produces:
  24817. - application/json
  24818. responses:
  24819. "200":
  24820. description: OK
  24821. schema:
  24822. items:
  24823. $ref: '#/definitions/models.QhjReckonPriceLog'
  24824. type: array
  24825. "500":
  24826. description: Internal Server Error
  24827. schema:
  24828. $ref: '#/definitions/app.Response'
  24829. security:
  24830. - ApiKeyAuth: []
  24831. summary: 查询定投价(结算价)
  24832. tags:
  24833. - 大连千海金
  24834. /Qhj/QueryScoreLog:
  24835. get:
  24836. parameters:
  24837. - description: 用户ID
  24838. in: query
  24839. name: userid
  24840. required: true
  24841. type: integer
  24842. - description: 开始交易日(yyyymmdd)
  24843. in: query
  24844. name: begindate
  24845. type: string
  24846. - description: 结束交易日(yyyymmdd)
  24847. in: query
  24848. name: enddate
  24849. type: string
  24850. - description: 最近多少条
  24851. in: query
  24852. name: lastnum
  24853. type: integer
  24854. produces:
  24855. - application/json
  24856. responses:
  24857. "200":
  24858. description: OK
  24859. schema:
  24860. items:
  24861. $ref: '#/definitions/models.QhjScoreLog'
  24862. type: array
  24863. "500":
  24864. description: Internal Server Error
  24865. schema:
  24866. $ref: '#/definitions/app.Response'
  24867. security:
  24868. - ApiKeyAuth: []
  24869. summary: 查询积分流水(我的积分)
  24870. tags:
  24871. - 大连千海金
  24872. /Qhj/QuerySiteColumnDetail:
  24873. get:
  24874. parameters:
  24875. - description: 用户ID
  24876. in: query
  24877. name: userid
  24878. required: true
  24879. type: integer
  24880. produces:
  24881. - application/json
  24882. responses:
  24883. "200":
  24884. description: OK
  24885. schema:
  24886. items:
  24887. $ref: '#/definitions/models.QhjSiteColumnDetail'
  24888. type: array
  24889. "500":
  24890. description: Internal Server Error
  24891. schema:
  24892. $ref: '#/definitions/app.Response'
  24893. security:
  24894. - ApiKeyAuth: []
  24895. summary: 查询资讯
  24896. tags:
  24897. - 大连千海金
  24898. /Qhj/QueryTradeGoodsPickup:
  24899. get:
  24900. parameters:
  24901. - description: 用户ID
  24902. in: query
  24903. name: userid
  24904. required: true
  24905. type: integer
  24906. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销
  24907. in: query
  24908. name: takeorderstatus
  24909. type: integer
  24910. produces:
  24911. - application/json
  24912. responses:
  24913. "200":
  24914. description: OK
  24915. schema:
  24916. items:
  24917. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  24918. type: array
  24919. "500":
  24920. description: Internal Server Error
  24921. schema:
  24922. $ref: '#/definitions/app.Response'
  24923. security:
  24924. - ApiKeyAuth: []
  24925. summary: 查询提货
  24926. tags:
  24927. - 大连千海金
  24928. /Qhj/QueryUserCollectConfig:
  24929. get:
  24930. parameters:
  24931. - description: 用户ID
  24932. in: query
  24933. name: userid
  24934. required: true
  24935. type: integer
  24936. produces:
  24937. - application/json
  24938. responses:
  24939. "200":
  24940. description: OK
  24941. schema:
  24942. items:
  24943. $ref: '#/definitions/models.UserCollectConfig'
  24944. type: array
  24945. "500":
  24946. description: Internal Server Error
  24947. schema:
  24948. $ref: '#/definitions/app.Response'
  24949. security:
  24950. - ApiKeyAuth: []
  24951. summary: 查询提现账户设置
  24952. tags:
  24953. - 大连千海金
  24954. /Qhj/QueryUserReceiveInfo:
  24955. get:
  24956. parameters:
  24957. - description: 用户ID
  24958. in: query
  24959. name: userid
  24960. required: true
  24961. type: integer
  24962. produces:
  24963. - application/json
  24964. responses:
  24965. "200":
  24966. description: OK
  24967. schema:
  24968. items:
  24969. $ref: '#/definitions/models.UserReceiveInfo'
  24970. type: array
  24971. "500":
  24972. description: Internal Server Error
  24973. schema:
  24974. $ref: '#/definitions/app.Response'
  24975. security:
  24976. - ApiKeyAuth: []
  24977. summary: 查询收货地址信息
  24978. tags:
  24979. - 大连千海金
  24980. /QhjMgr/QueryAccountInOutApply:
  24981. get:
  24982. parameters:
  24983. - description: 查询类型 1-提现(出金) 2-充值(出金)
  24984. in: query
  24985. name: querytype
  24986. required: true
  24987. type: integer
  24988. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  24989. in: query
  24990. name: applystatus
  24991. type: integer
  24992. - description: 申请起始日期(格式yyyymmdd)
  24993. in: query
  24994. name: begindate
  24995. type: string
  24996. - description: 申请截止日期(格式yyyymmdd)
  24997. in: query
  24998. name: enddate
  24999. type: string
  25000. - description: 模糊搜索名称
  25001. in: query
  25002. name: likename
  25003. type: string
  25004. produces:
  25005. - application/json
  25006. responses:
  25007. "200":
  25008. description: OK
  25009. schema:
  25010. items:
  25011. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  25012. type: array
  25013. "500":
  25014. description: Internal Server Error
  25015. schema:
  25016. $ref: '#/definitions/app.Response'
  25017. security:
  25018. - ApiKeyAuth: []
  25019. summary: 查询充值提现
  25020. tags:
  25021. - 大连千海金(PCWeb)
  25022. /QhjMgr/QueryBrokerApply:
  25023. get:
  25024. parameters:
  25025. - description: 所属机构ID
  25026. in: query
  25027. name: userid
  25028. type: integer
  25029. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25030. in: query
  25031. name: filterstatus
  25032. type: string
  25033. - description: 名称(模糊匹配)
  25034. in: query
  25035. name: filtername
  25036. type: string
  25037. - description: 是否包含子级 1-包含
  25038. in: query
  25039. name: includesub
  25040. type: integer
  25041. produces:
  25042. - application/json
  25043. responses:
  25044. "200":
  25045. description: OK
  25046. schema:
  25047. items:
  25048. $ref: '#/definitions/models.QhjMgrBrokerApply'
  25049. type: array
  25050. "500":
  25051. description: Internal Server Error
  25052. schema:
  25053. $ref: '#/definitions/app.Response'
  25054. security:
  25055. - ApiKeyAuth: []
  25056. summary: 查询经纪人申请
  25057. tags:
  25058. - 大连千海金(PCWeb)
  25059. /QhjMgr/QueryBrokerRewardReport:
  25060. get:
  25061. parameters:
  25062. - description: 所属机构ID
  25063. in: query
  25064. name: userid
  25065. required: true
  25066. type: integer
  25067. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25068. in: query
  25069. name: cycletype
  25070. required: true
  25071. type: integer
  25072. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  25073. in: query
  25074. name: cycletime
  25075. required: true
  25076. type: string
  25077. - description: 名称(模糊匹配)
  25078. in: query
  25079. name: filtername
  25080. type: string
  25081. - description: 是否包含子级 1-包含
  25082. in: query
  25083. name: includesub
  25084. type: integer
  25085. produces:
  25086. - application/json
  25087. responses:
  25088. "200":
  25089. description: OK
  25090. schema:
  25091. items:
  25092. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  25093. type: array
  25094. "500":
  25095. description: Internal Server Error
  25096. schema:
  25097. $ref: '#/definitions/app.Response'
  25098. security:
  25099. - ApiKeyAuth: []
  25100. summary: 查询经纪人奖励报表(废弃)
  25101. tags:
  25102. - 大连千海金(PCWeb)
  25103. /QhjMgr/QueryContract:
  25104. get:
  25105. parameters:
  25106. - description: 用户ID
  25107. in: query
  25108. name: userid
  25109. type: integer
  25110. - description: 商品id
  25111. in: query
  25112. name: goodsid
  25113. type: integer
  25114. - description: 名称(模糊搜索账户)
  25115. in: query
  25116. name: filtername
  25117. type: string
  25118. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  25119. in: query
  25120. name: risklevel
  25121. type: string
  25122. - description: 开始交易日(yyyymmdd)
  25123. in: query
  25124. name: begindate
  25125. type: string
  25126. - description: 结束交易日(yyyymmdd)
  25127. in: query
  25128. name: enddate
  25129. type: string
  25130. produces:
  25131. - application/json
  25132. responses:
  25133. "200":
  25134. description: OK
  25135. schema:
  25136. items:
  25137. $ref: '#/definitions/models.QhjMgrContract'
  25138. type: array
  25139. "500":
  25140. description: Internal Server Error
  25141. schema:
  25142. $ref: '#/definitions/app.Response'
  25143. security:
  25144. - ApiKeyAuth: []
  25145. summary: 查询融资信息(合同)
  25146. tags:
  25147. - 大连千海金(PCWeb)
  25148. /QhjMgr/QueryCustomerInfo:
  25149. get:
  25150. parameters:
  25151. - description: 用户ID
  25152. in: query
  25153. name: userid
  25154. required: true
  25155. type: integer
  25156. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  25157. in: query
  25158. name: querytype
  25159. required: true
  25160. type: integer
  25161. - description: 客户类型 1-个人 2-企业
  25162. in: query
  25163. name: userinfotype
  25164. type: integer
  25165. - description: 客户名称(模糊匹配)
  25166. in: query
  25167. name: customername
  25168. type: string
  25169. - description: 昵称(模糊匹配)
  25170. in: query
  25171. name: nickname
  25172. type: string
  25173. - description: 所属客户经理(模糊匹配)
  25174. in: query
  25175. name: brokername
  25176. type: string
  25177. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)
  25178. in: query
  25179. name: birthday
  25180. type: string
  25181. - description: 是否包含子级 1-包含
  25182. in: query
  25183. name: includesub
  25184. type: integer
  25185. produces:
  25186. - application/json
  25187. responses:
  25188. "200":
  25189. description: OK
  25190. schema:
  25191. items:
  25192. $ref: '#/definitions/models.QhjMgrCustomer'
  25193. type: array
  25194. "500":
  25195. description: Internal Server Error
  25196. schema:
  25197. $ref: '#/definitions/app.Response'
  25198. security:
  25199. - ApiKeyAuth: []
  25200. summary: 查询客户资料
  25201. tags:
  25202. - 大连千海金(PCWeb)
  25203. /QhjMgr/QueryPickGoods:
  25204. get:
  25205. parameters:
  25206. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  25207. in: query
  25208. name: status
  25209. type: string
  25210. produces:
  25211. - application/json
  25212. responses:
  25213. "200":
  25214. description: OK
  25215. schema:
  25216. items:
  25217. $ref: '#/definitions/models.QhjMgrPickGoods'
  25218. type: array
  25219. "500":
  25220. description: Internal Server Error
  25221. schema:
  25222. $ref: '#/definitions/app.Response'
  25223. security:
  25224. - ApiKeyAuth: []
  25225. summary: 查询提货商品
  25226. tags:
  25227. - 大连千海金(PCWeb)
  25228. /QhjMgr/QuerySubArea:
  25229. get:
  25230. parameters:
  25231. - description: 用户ID
  25232. in: query
  25233. name: userid
  25234. required: true
  25235. type: integer
  25236. produces:
  25237. - application/json
  25238. responses:
  25239. "200":
  25240. description: OK
  25241. schema:
  25242. items:
  25243. $ref: '#/definitions/models.QhjMgrSubArea'
  25244. type: array
  25245. "500":
  25246. description: Internal Server Error
  25247. schema:
  25248. $ref: '#/definitions/app.Response'
  25249. security:
  25250. - ApiKeyAuth: []
  25251. summary: 查询子机构列表
  25252. tags:
  25253. - 大连千海金(PCWeb)
  25254. /QhjMgr/QueryTradeDetail:
  25255. get:
  25256. parameters:
  25257. - description: 用户ID
  25258. in: query
  25259. name: userid
  25260. required: true
  25261. type: integer
  25262. - description: 用户类型 1-个人 2-企业
  25263. in: query
  25264. name: userinfotype
  25265. type: integer
  25266. - description: 交易模式
  25267. in: query
  25268. name: trademode
  25269. type: integer
  25270. - description: 商品id
  25271. in: query
  25272. name: goodsid
  25273. type: integer
  25274. - description: 名称(模糊搜索账户)
  25275. in: query
  25276. name: filtername
  25277. type: string
  25278. - description: 开始交易日(yyyymmdd)
  25279. in: query
  25280. name: begindate
  25281. type: string
  25282. - description: 结束交易日(yyyymmdd)
  25283. in: query
  25284. name: enddate
  25285. type: string
  25286. - description: 是否包含子级 1-包含
  25287. in: query
  25288. name: includesub
  25289. type: integer
  25290. produces:
  25291. - application/json
  25292. responses:
  25293. "200":
  25294. description: OK
  25295. schema:
  25296. items:
  25297. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  25298. type: array
  25299. "500":
  25300. description: Internal Server Error
  25301. schema:
  25302. $ref: '#/definitions/app.Response'
  25303. security:
  25304. - ApiKeyAuth: []
  25305. summary: 查询成交明细
  25306. tags:
  25307. - 大连千海金(PCWeb)
  25308. /QhjMgr/QueryTradeOrderDetail:
  25309. get:
  25310. parameters:
  25311. - description: 用户ID
  25312. in: query
  25313. name: userid
  25314. required: true
  25315. type: integer
  25316. - description: 用户类型 1-个人 2-企业
  25317. in: query
  25318. name: userinfotype
  25319. type: integer
  25320. - description: 交易模式
  25321. in: query
  25322. name: trademode
  25323. type: integer
  25324. - description: 商品id
  25325. in: query
  25326. name: goodsid
  25327. type: integer
  25328. - description: 名称(模糊搜索账户)
  25329. in: query
  25330. name: filtername
  25331. type: string
  25332. - description: 开始交易日(yyyymmdd)
  25333. in: query
  25334. name: begindate
  25335. type: string
  25336. - description: 结束交易日(yyyymmdd)
  25337. in: query
  25338. name: enddate
  25339. type: string
  25340. - description: 是否包含子级 1-包含
  25341. in: query
  25342. name: includesub
  25343. type: integer
  25344. produces:
  25345. - application/json
  25346. responses:
  25347. "200":
  25348. description: OK
  25349. schema:
  25350. items:
  25351. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  25352. type: array
  25353. "500":
  25354. description: Internal Server Error
  25355. schema:
  25356. $ref: '#/definitions/app.Response'
  25357. security:
  25358. - ApiKeyAuth: []
  25359. summary: 查询委托明细
  25360. tags:
  25361. - 大连千海金(PCWeb)
  25362. /QhjMgr/QueryTradePayOrder:
  25363. get:
  25364. parameters:
  25365. - description: 用户ID
  25366. in: query
  25367. name: userid
  25368. required: true
  25369. type: integer
  25370. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  25371. in: query
  25372. name: payflag
  25373. type: string
  25374. - description: 用户类型 1-个人 2-企业
  25375. in: query
  25376. name: userinfotype
  25377. type: integer
  25378. - description: 交易模式
  25379. in: query
  25380. name: trademode
  25381. type: integer
  25382. - description: 商品id
  25383. in: query
  25384. name: goodsid
  25385. type: integer
  25386. - description: 名称(模糊搜索账户)
  25387. in: query
  25388. name: filtername
  25389. type: string
  25390. - description: 开始交易日(yyyymmdd)
  25391. in: query
  25392. name: begindate
  25393. type: string
  25394. - description: 结束交易日(yyyymmdd)
  25395. in: query
  25396. name: enddate
  25397. type: string
  25398. - description: 是否包含子级 1-包含
  25399. in: query
  25400. name: includesub
  25401. type: integer
  25402. produces:
  25403. - application/json
  25404. responses:
  25405. "200":
  25406. description: OK
  25407. schema:
  25408. items:
  25409. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  25410. type: array
  25411. "500":
  25412. description: Internal Server Error
  25413. schema:
  25414. $ref: '#/definitions/app.Response'
  25415. security:
  25416. - ApiKeyAuth: []
  25417. summary: 查询待付款单
  25418. tags:
  25419. - 大连千海金(PCWeb)
  25420. /QhjMgr/QueryTradePosition:
  25421. get:
  25422. parameters:
  25423. - description: 用户ID
  25424. in: query
  25425. name: userid
  25426. required: true
  25427. type: integer
  25428. - description: 用户类型 1-个人 2-企业
  25429. in: query
  25430. name: userinfotype
  25431. type: integer
  25432. - description: 交易模式
  25433. in: query
  25434. name: trademode
  25435. type: integer
  25436. - description: 商品id
  25437. in: query
  25438. name: goodsid
  25439. type: integer
  25440. - description: 名称(模糊搜索账户)
  25441. in: query
  25442. name: filtername
  25443. type: string
  25444. - description: 是否包含子级 1-包含
  25445. in: query
  25446. name: includesub
  25447. type: integer
  25448. produces:
  25449. - application/json
  25450. responses:
  25451. "200":
  25452. description: OK
  25453. schema:
  25454. items:
  25455. $ref: '#/definitions/models.QhjMgrPositionRsp'
  25456. type: array
  25457. "500":
  25458. description: Internal Server Error
  25459. schema:
  25460. $ref: '#/definitions/app.Response'
  25461. security:
  25462. - ApiKeyAuth: []
  25463. summary: 查询持仓汇总
  25464. tags:
  25465. - 大连千海金(PCWeb)
  25466. /QhjSys/QueryAgreementChangeLog:
  25467. get:
  25468. parameters:
  25469. - description: 协议ID
  25470. in: query
  25471. name: agreementid
  25472. type: integer
  25473. - description: 协议版本号
  25474. in: query
  25475. name: agreementversion
  25476. type: integer
  25477. - description: 协议类型 - 1:注册 2:登录 3:交易
  25478. in: query
  25479. name: agreementtype
  25480. type: integer
  25481. - description: 协议编号(模糊匹配)
  25482. in: query
  25483. name: agreementno
  25484. type: string
  25485. - description: 协议名称(模糊匹配)
  25486. in: query
  25487. name: agreementname
  25488. type: string
  25489. produces:
  25490. - application/json
  25491. responses:
  25492. "200":
  25493. description: OK
  25494. schema:
  25495. items:
  25496. $ref: '#/definitions/models.QhjAgreementChangeLog'
  25497. type: array
  25498. "500":
  25499. description: Internal Server Error
  25500. schema:
  25501. $ref: '#/definitions/app.Response'
  25502. security:
  25503. - ApiKeyAuth: []
  25504. summary: 查询协议配置变更流水
  25505. tags:
  25506. - 大连千海金(协议和签约信息)
  25507. /QhjSys/QueryAgreementConfig:
  25508. get:
  25509. parameters:
  25510. - description: 协议ID
  25511. in: query
  25512. name: agreementid
  25513. type: integer
  25514. - description: 协议版本号
  25515. in: query
  25516. name: agreementversion
  25517. type: integer
  25518. - description: 协议类型 - 1:注册 2:登录 3:交易
  25519. in: query
  25520. name: agreementtype
  25521. type: integer
  25522. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  25523. in: query
  25524. name: isvalid
  25525. type: integer
  25526. - description: 协议编号(模糊匹配)
  25527. in: query
  25528. name: agreementno
  25529. type: string
  25530. - description: 协议名称(模糊匹配)
  25531. in: query
  25532. name: agreementname
  25533. type: string
  25534. produces:
  25535. - application/json
  25536. responses:
  25537. "200":
  25538. description: OK
  25539. schema:
  25540. items:
  25541. $ref: '#/definitions/models.QhjAgreementConfig'
  25542. type: array
  25543. "500":
  25544. description: Internal Server Error
  25545. schema:
  25546. $ref: '#/definitions/app.Response'
  25547. security:
  25548. - ApiKeyAuth: []
  25549. summary: 查询协议配置
  25550. tags:
  25551. - 大连千海金(协议和签约信息)
  25552. /QhjSys/QueryCustomerSignStatus:
  25553. get:
  25554. parameters:
  25555. - description: 客户ID
  25556. in: query
  25557. name: userid
  25558. type: integer
  25559. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  25560. in: query
  25561. name: nodetype
  25562. type: integer
  25563. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25564. in: query
  25565. name: goodsid
  25566. type: integer
  25567. - description: 创建交易日(yyyyMMdd)
  25568. in: query
  25569. name: tradedate
  25570. type: string
  25571. - description: 用户名称(模糊匹配)
  25572. in: query
  25573. name: username
  25574. type: string
  25575. produces:
  25576. - application/json
  25577. responses:
  25578. "200":
  25579. description: OK
  25580. schema:
  25581. items:
  25582. $ref: '#/definitions/models.QhjCustomerSignStatus'
  25583. type: array
  25584. "500":
  25585. description: Internal Server Error
  25586. schema:
  25587. $ref: '#/definitions/app.Response'
  25588. security:
  25589. - ApiKeyAuth: []
  25590. summary: 查询客户协议签约状态
  25591. tags:
  25592. - 大连千海金(协议和签约信息)
  25593. /QhjSys/QueryNodeAgreementConfig:
  25594. get:
  25595. parameters:
  25596. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  25597. in: query
  25598. name: configid
  25599. type: integer
  25600. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25601. in: query
  25602. name: nodetype
  25603. type: integer
  25604. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25605. in: query
  25606. name: goodsid
  25607. type: integer
  25608. - description: 协议ID
  25609. in: query
  25610. name: agreementid
  25611. type: integer
  25612. - description: 协议类型 - 1:注册 2:登录 3:交易
  25613. in: query
  25614. name: agreementtype
  25615. type: integer
  25616. - description: 协议版本号
  25617. in: query
  25618. name: agreementversion
  25619. type: integer
  25620. - description: 协议编号(模糊匹配)
  25621. in: query
  25622. name: agreementno
  25623. type: string
  25624. - description: 协议名称(模糊匹配)
  25625. in: query
  25626. name: agreementname
  25627. type: string
  25628. produces:
  25629. - application/json
  25630. responses:
  25631. "200":
  25632. description: OK
  25633. schema:
  25634. items:
  25635. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  25636. type: array
  25637. "500":
  25638. description: Internal Server Error
  25639. schema:
  25640. $ref: '#/definitions/app.Response'
  25641. security:
  25642. - ApiKeyAuth: []
  25643. summary: 查询协议节点配置
  25644. tags:
  25645. - 大连千海金(协议和签约信息)
  25646. /QhjSys/QueryQhjCustomerSignLog:
  25647. get:
  25648. parameters:
  25649. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  25650. in: query
  25651. name: logid
  25652. type: integer
  25653. - description: 客户ID
  25654. in: query
  25655. name: userid
  25656. type: integer
  25657. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25658. in: query
  25659. name: nodetype
  25660. type: integer
  25661. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25662. in: query
  25663. name: goodsid
  25664. type: integer
  25665. - description: 协议ID
  25666. in: query
  25667. name: agreementid
  25668. type: integer
  25669. - description: 用户名称(模糊匹配)
  25670. in: query
  25671. name: username
  25672. type: string
  25673. - description: 协议编号(模糊匹配)
  25674. in: query
  25675. name: agreementno
  25676. type: string
  25677. - description: 协议名称(模糊匹配)
  25678. in: query
  25679. name: agreementname
  25680. type: string
  25681. produces:
  25682. - application/json
  25683. responses:
  25684. "200":
  25685. description: OK
  25686. schema:
  25687. items:
  25688. $ref: '#/definitions/models.QhjCustomerSignLog'
  25689. type: array
  25690. "500":
  25691. description: Internal Server Error
  25692. schema:
  25693. $ref: '#/definitions/app.Response'
  25694. security:
  25695. - ApiKeyAuth: []
  25696. summary: 查询客户协议签约流水
  25697. tags:
  25698. - 大连千海金(协议和签约信息)
  25699. /QhjSys/QueryUserNodeCfgAndStatus:
  25700. get:
  25701. parameters:
  25702. - description: 客户ID
  25703. in: query
  25704. name: userid
  25705. type: integer
  25706. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  25707. in: query
  25708. name: configid
  25709. type: integer
  25710. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25711. in: query
  25712. name: nodetype
  25713. type: string
  25714. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25715. in: query
  25716. name: goodsid
  25717. type: integer
  25718. - description: 协议ID
  25719. in: query
  25720. name: agreementid
  25721. type: integer
  25722. - description: 协议类型 - 1:注册 2:登录 3:交易
  25723. in: query
  25724. name: agreementtype
  25725. type: integer
  25726. - description: 协议版本号
  25727. in: query
  25728. name: agreementversion
  25729. type: integer
  25730. - description: 协议编号(模糊匹配)
  25731. in: query
  25732. name: agreementno
  25733. type: string
  25734. - description: 协议名称(模糊匹配)
  25735. in: query
  25736. name: agreementname
  25737. type: string
  25738. produces:
  25739. - application/json
  25740. responses:
  25741. "200":
  25742. description: OK
  25743. schema:
  25744. items:
  25745. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  25746. type: array
  25747. "500":
  25748. description: Internal Server Error
  25749. schema:
  25750. $ref: '#/definitions/app.Response'
  25751. security:
  25752. - ApiKeyAuth: []
  25753. summary: 查询用户协议节点配置和状态
  25754. tags:
  25755. - 大连千海金(协议和签约信息)
  25756. /Quote/QueryHistoryDatas:
  25757. get:
  25758. parameters:
  25759. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线'
  25760. in: query
  25761. name: cycleType
  25762. required: true
  25763. type: integer
  25764. - description: 商品代码
  25765. in: query
  25766. name: goodsCode
  25767. required: true
  25768. type: string
  25769. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  25770. in: query
  25771. name: startTime
  25772. type: string
  25773. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  25774. in: query
  25775. name: endTime
  25776. type: string
  25777. - description: 条数
  25778. in: query
  25779. name: count
  25780. type: integer
  25781. - description: 是否按时间顺序排序(默认为时间倒序排序)
  25782. in: query
  25783. name: isAsc
  25784. type: boolean
  25785. produces:
  25786. - application/json
  25787. responses:
  25788. "200":
  25789. description: OK
  25790. schema:
  25791. $ref: '#/definitions/quote.HistoryData'
  25792. "500":
  25793. description: Internal Server Error
  25794. schema:
  25795. $ref: '#/definitions/app.Response'
  25796. security:
  25797. - ApiKeyAuth: []
  25798. summary: 查询行情历史数据
  25799. tags:
  25800. - 行情服务
  25801. /Quote/QueryHistoryTikDatas:
  25802. get:
  25803. parameters:
  25804. - description: 商品代码
  25805. in: query
  25806. name: goodsCode
  25807. required: true
  25808. type: string
  25809. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  25810. in: query
  25811. name: startTime
  25812. type: string
  25813. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  25814. in: query
  25815. name: endTime
  25816. type: string
  25817. - description: 条数
  25818. in: query
  25819. name: count
  25820. type: integer
  25821. - description: 是否按时间顺序排序(默认为时间倒序排序)
  25822. in: query
  25823. name: isAsc
  25824. type: boolean
  25825. produces:
  25826. - application/json
  25827. responses:
  25828. "200":
  25829. description: OK
  25830. schema:
  25831. $ref: '#/definitions/quote.HistoryTikData'
  25832. "500":
  25833. description: Internal Server Error
  25834. schema:
  25835. $ref: '#/definitions/app.Response'
  25836. security:
  25837. - ApiKeyAuth: []
  25838. summary: 查询行情Tik数据
  25839. tags:
  25840. - 行情服务
  25841. /Quote/QueryQuoteDay:
  25842. get:
  25843. parameters:
  25844. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  25845. in: query
  25846. name: goodsCodes
  25847. type: string
  25848. produces:
  25849. - application/json
  25850. responses:
  25851. "200":
  25852. description: OK
  25853. schema:
  25854. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  25855. "500":
  25856. description: Internal Server Error
  25857. schema:
  25858. $ref: '#/definitions/app.Response'
  25859. security:
  25860. - ApiKeyAuth: []
  25861. summary: 获取商品盘面信息
  25862. tags:
  25863. - 行情服务
  25864. /Quote/QueryTSData:
  25865. get:
  25866. parameters:
  25867. - description: 商品代码
  25868. in: query
  25869. name: goodsCode
  25870. required: true
  25871. type: string
  25872. produces:
  25873. - application/json
  25874. responses:
  25875. "200":
  25876. description: OK
  25877. schema:
  25878. $ref: '#/definitions/quote.QueryTSDataRsp'
  25879. "500":
  25880. description: Internal Server Error
  25881. schema:
  25882. $ref: '#/definitions/app.Response'
  25883. security:
  25884. - ApiKeyAuth: []
  25885. summary: 分时图数据查询
  25886. tags:
  25887. - 行情服务
  25888. /SZDZ/QueryConvertConfig:
  25889. get:
  25890. parameters:
  25891. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)
  25892. in: query
  25893. name: convertType
  25894. type: integer
  25895. - description: 外部商品代码[JD\PD]
  25896. in: query
  25897. name: outerGoodsCode
  25898. type: string
  25899. - description: 内部商品ID列表[交易],格式:1,2,3
  25900. in: query
  25901. name: innerGoodsIDs
  25902. type: string
  25903. produces:
  25904. - application/json
  25905. responses:
  25906. "200":
  25907. description: OK
  25908. schema:
  25909. $ref: '#/definitions/models.Szdz3convertconfig'
  25910. "500":
  25911. description: Internal Server Error
  25912. schema:
  25913. $ref: '#/definitions/app.Response'
  25914. security:
  25915. - ApiKeyAuth: []
  25916. summary: 查询交易系统转换设置
  25917. tags:
  25918. - 定制【尚志大宗】
  25919. /SZDZ/QueryConvertLog:
  25920. get:
  25921. parameters:
  25922. - description: 资金账户 - 格式:1,2,3
  25923. in: query
  25924. name: accountID
  25925. required: true
  25926. type: string
  25927. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  25928. in: query
  25929. name: startDate
  25930. type: string
  25931. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  25932. in: query
  25933. name: endDate
  25934. type: string
  25935. produces:
  25936. - application/json
  25937. responses:
  25938. "200":
  25939. description: OK
  25940. schema:
  25941. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  25942. "500":
  25943. description: Internal Server Error
  25944. schema:
  25945. $ref: '#/definitions/app.Response'
  25946. security:
  25947. - ApiKeyAuth: []
  25948. summary: 交易系统转换流水查询
  25949. tags:
  25950. - 定制【尚志大宗】
  25951. /SZDZ/QueryGoodsPickup:
  25952. get:
  25953. parameters:
  25954. - description: 资金账户 - 格式:1,2,3
  25955. in: query
  25956. name: accountID
  25957. required: true
  25958. type: string
  25959. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  25960. in: query
  25961. name: takeOrderStatus
  25962. type: integer
  25963. produces:
  25964. - application/json
  25965. responses:
  25966. "200":
  25967. description: OK
  25968. schema:
  25969. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  25970. "500":
  25971. description: Internal Server Error
  25972. schema:
  25973. $ref: '#/definitions/app.Response'
  25974. security:
  25975. - ApiKeyAuth: []
  25976. summary: 商品提货单查询
  25977. tags:
  25978. - 定制【尚志大宗】
  25979. /SZDZ/QueryRecieptOrder:
  25980. get:
  25981. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  25982. parameters:
  25983. - description: 页码
  25984. in: query
  25985. name: page
  25986. type: integer
  25987. - description: 每页条数
  25988. in: query
  25989. name: pagesize
  25990. type: integer
  25991. - description: 商品ID
  25992. in: query
  25993. name: goodsID
  25994. required: true
  25995. type: integer
  25996. - description: 所属账户名称
  25997. in: query
  25998. name: accountName
  25999. type: string
  26000. - description: 市场ID
  26001. in: query
  26002. name: marketID
  26003. type: integer
  26004. - description: 方向 - 0:买 1:卖
  26005. in: query
  26006. name: buyorsell
  26007. required: true
  26008. type: integer
  26009. produces:
  26010. - application/json
  26011. responses:
  26012. "200":
  26013. description: OK
  26014. schema:
  26015. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  26016. "500":
  26017. description: Internal Server Error
  26018. schema:
  26019. $ref: '#/definitions/app.Response'
  26020. security:
  26021. - ApiKeyAuth: []
  26022. summary: 点选挂牌委托单据查询(摘牌大厅)
  26023. tags:
  26024. - 定制【尚志大宗】
  26025. /SZDZ/QuerySZDZTradePosition:
  26026. get:
  26027. parameters:
  26028. - description: 资金账户
  26029. in: query
  26030. name: accountID
  26031. required: true
  26032. type: integer
  26033. produces:
  26034. - application/json
  26035. responses:
  26036. "200":
  26037. description: OK
  26038. schema:
  26039. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  26040. "500":
  26041. description: Internal Server Error
  26042. schema:
  26043. $ref: '#/definitions/app.Response'
  26044. security:
  26045. - ApiKeyAuth: []
  26046. summary: 持仓汇总查询(尚志大宗)
  26047. tags:
  26048. - 定制【尚志大宗】
  26049. /SZDZ/SearchWhite:
  26050. get:
  26051. parameters:
  26052. - description: 用户ID
  26053. in: query
  26054. name: userID
  26055. required: true
  26056. type: integer
  26057. produces:
  26058. - application/json
  26059. responses:
  26060. "200":
  26061. description: OK
  26062. schema:
  26063. $ref: '#/definitions/models.Szdz3searchwhitelist'
  26064. "500":
  26065. description: Internal Server Error
  26066. schema:
  26067. $ref: '#/definitions/app.Response'
  26068. security:
  26069. - ApiKeyAuth: []
  26070. summary: 搜索白名单
  26071. tags:
  26072. - 定制【尚志大宗】
  26073. /Search/SearchGoodses:
  26074. get:
  26075. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  26076. parameters:
  26077. - description: 检索内容
  26078. in: query
  26079. name: content
  26080. required: true
  26081. type: string
  26082. - description: 交易模式,格式:1,2,3
  26083. in: query
  26084. name: tradeModes
  26085. type: string
  26086. produces:
  26087. - application/json
  26088. responses:
  26089. "200":
  26090. description: OK
  26091. schema:
  26092. $ref: '#/definitions/models.SearchGoods'
  26093. "500":
  26094. description: Internal Server Error
  26095. schema:
  26096. $ref: '#/definitions/app.Response'
  26097. summary: 检索商品信息
  26098. tags:
  26099. - 检索服务
  26100. /TaAccount/GetTaAccounts:
  26101. get:
  26102. parameters:
  26103. - description: 登录账户
  26104. in: query
  26105. name: loginID
  26106. required: true
  26107. type: integer
  26108. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  26109. in: query
  26110. name: taAccountType
  26111. type: integer
  26112. produces:
  26113. - application/json
  26114. responses:
  26115. "200":
  26116. description: OK
  26117. schema:
  26118. $ref: '#/definitions/models.Taaccount'
  26119. "500":
  26120. description: Internal Server Error
  26121. schema:
  26122. $ref: '#/definitions/app.Response'
  26123. security:
  26124. - ApiKeyAuth: []
  26125. summary: 获取资金账户信息
  26126. tags:
  26127. - 资金账户
  26128. /TaAccount/QueryAmountLog:
  26129. get:
  26130. parameters:
  26131. - description: 页码
  26132. in: query
  26133. name: page
  26134. type: integer
  26135. - description: 每页条数
  26136. in: query
  26137. name: pagesize
  26138. type: integer
  26139. - description: 资金账户 - 格式:1,2,3
  26140. in: query
  26141. name: accountID
  26142. required: true
  26143. type: string
  26144. - description: 资金操作类型 - 格式:1,2,3
  26145. in: query
  26146. name: OperateType
  26147. type: string
  26148. produces:
  26149. - application/json
  26150. responses:
  26151. "200":
  26152. description: OK
  26153. schema:
  26154. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  26155. "500":
  26156. description: Internal Server Error
  26157. schema:
  26158. $ref: '#/definitions/app.Response'
  26159. security:
  26160. - ApiKeyAuth: []
  26161. summary: 资金流水查询(当前)
  26162. tags:
  26163. - 资金账户
  26164. /TaAccount/QueryHisAmountLog:
  26165. get:
  26166. parameters:
  26167. - description: 页码
  26168. in: query
  26169. name: page
  26170. type: integer
  26171. - description: 每页条数
  26172. in: query
  26173. name: pagesize
  26174. type: integer
  26175. - description: 资金账户 - 格式:1,2,3
  26176. in: query
  26177. name: accountID
  26178. required: true
  26179. type: string
  26180. - description: 资金操作类型 - 格式:1,2,3
  26181. in: query
  26182. name: OperateType
  26183. type: string
  26184. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  26185. in: query
  26186. name: startDate
  26187. type: string
  26188. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  26189. in: query
  26190. name: endDate
  26191. type: string
  26192. produces:
  26193. - application/json
  26194. responses:
  26195. "200":
  26196. description: OK
  26197. schema:
  26198. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  26199. "500":
  26200. description: Internal Server Error
  26201. schema:
  26202. $ref: '#/definitions/app.Response'
  26203. security:
  26204. - ApiKeyAuth: []
  26205. summary: 资金流水查询(历史)
  26206. tags:
  26207. - 资金账户
  26208. /Tjmd/QueryQuoteGoodsList:
  26209. get:
  26210. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  26211. parameters:
  26212. - description: 用户类型
  26213. in: query
  26214. name: usertype
  26215. required: true
  26216. type: integer
  26217. - description: 市场id, 格式 1,2,3
  26218. in: query
  26219. name: marketids
  26220. type: string
  26221. - description: 商品组id
  26222. in: query
  26223. name: goodsgroupid
  26224. type: integer
  26225. - description: 商品id
  26226. in: query
  26227. name: goodsid
  26228. type: integer
  26229. produces:
  26230. - application/json
  26231. responses:
  26232. "200":
  26233. description: OK
  26234. schema:
  26235. items:
  26236. $ref: '#/definitions/models.TjmdQuoteGoods'
  26237. type: array
  26238. "500":
  26239. description: Internal Server Error
  26240. schema:
  26241. $ref: '#/definitions/app.Response'
  26242. security:
  26243. - ApiKeyAuth: []
  26244. summary: 查询掉期报价列表
  26245. tags:
  26246. - 天津麦顿
  26247. /Tjmd/QueryTjmdMarketSection:
  26248. get:
  26249. produces:
  26250. - application/json
  26251. responses:
  26252. "200":
  26253. description: OK
  26254. schema:
  26255. items:
  26256. $ref: '#/definitions/models.TjmdMarketSection'
  26257. type: array
  26258. "500":
  26259. description: Internal Server Error
  26260. schema:
  26261. $ref: '#/definitions/app.Response'
  26262. security:
  26263. - ApiKeyAuth: []
  26264. summary: 查询市场板块
  26265. tags:
  26266. - 天津麦顿
  26267. /Tjmd/QueryTjmdTodayAccountMargin:
  26268. get:
  26269. parameters:
  26270. - description: 市场id
  26271. in: query
  26272. name: marketid
  26273. type: string
  26274. - description: 商品id
  26275. in: query
  26276. name: goodsid
  26277. type: string
  26278. - description: 资金账号
  26279. in: query
  26280. name: accountid
  26281. type: string
  26282. produces:
  26283. - application/json
  26284. responses:
  26285. "200":
  26286. description: OK
  26287. schema:
  26288. items:
  26289. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  26290. type: array
  26291. "500":
  26292. description: Internal Server Error
  26293. schema:
  26294. $ref: '#/definitions/app.Response'
  26295. security:
  26296. - ApiKeyAuth: []
  26297. summary: 查询今日账户保证金配置
  26298. tags:
  26299. - 天津麦顿
  26300. /Tjmd/QueryTjmdTradeOrderDetail:
  26301. get:
  26302. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  26303. parameters:
  26304. - description: 页码
  26305. in: query
  26306. name: page
  26307. type: integer
  26308. - description: 每页条数
  26309. in: query
  26310. name: pagesize
  26311. type: integer
  26312. - description: 用户id
  26313. in: query
  26314. name: userid
  26315. required: true
  26316. type: integer
  26317. - description: 用户类型
  26318. in: query
  26319. name: usertype
  26320. required: true
  26321. type: integer
  26322. - description: 市场id, 格式 1,2,3
  26323. in: query
  26324. name: marketids
  26325. type: string
  26326. - description: 商品id
  26327. in: query
  26328. name: goodsid
  26329. required: true
  26330. type: integer
  26331. - description: 买卖方向 0-买 1-卖
  26332. in: query
  26333. name: buyorsell
  26334. required: true
  26335. type: integer
  26336. produces:
  26337. - application/json
  26338. responses:
  26339. "200":
  26340. description: OK
  26341. schema:
  26342. items:
  26343. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  26344. type: array
  26345. "500":
  26346. description: Internal Server Error
  26347. schema:
  26348. $ref: '#/definitions/app.Response'
  26349. security:
  26350. - ApiKeyAuth: []
  26351. summary: 查询掉期买卖大厅
  26352. tags:
  26353. - 天津麦顿
  26354. /Tjmd/QueryTjmdTransferApply:
  26355. get:
  26356. parameters:
  26357. - description: 类型 1-我的申请 2-对方申请
  26358. in: query
  26359. name: applytype
  26360. required: true
  26361. type: integer
  26362. - description: 市场id, 格式 1,2,3
  26363. in: query
  26364. name: marketids
  26365. type: string
  26366. - description: 资金账号, 格式 25000000001,25000000003
  26367. in: query
  26368. name: accountids
  26369. type: string
  26370. - description: 开始交易日(yyyymmdd)
  26371. in: query
  26372. name: begindate
  26373. type: string
  26374. - description: 结束交易日(yyyymmdd)
  26375. in: query
  26376. name: enddate
  26377. type: string
  26378. produces:
  26379. - application/json
  26380. responses:
  26381. "200":
  26382. description: OK
  26383. schema:
  26384. items:
  26385. $ref: '#/definitions/models.TjmdTransferApply'
  26386. type: array
  26387. "500":
  26388. description: Internal Server Error
  26389. schema:
  26390. $ref: '#/definitions/app.Response'
  26391. security:
  26392. - ApiKeyAuth: []
  26393. summary: 查询掉期协议单
  26394. tags:
  26395. - 天津麦顿
  26396. /Trade/QueryRecieptOrder:
  26397. get:
  26398. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  26399. parameters:
  26400. - description: 页码
  26401. in: query
  26402. name: page
  26403. type: integer
  26404. - description: 每页条数
  26405. in: query
  26406. name: pagesize
  26407. type: integer
  26408. - description: 商品ID
  26409. in: query
  26410. name: goodsID
  26411. required: true
  26412. type: integer
  26413. - description: 所属账户名称
  26414. in: query
  26415. name: accountName
  26416. type: string
  26417. - description: 市场ID
  26418. in: query
  26419. name: marketID
  26420. type: integer
  26421. - description: 方向 - 0:买 1:卖
  26422. in: query
  26423. name: buyorsell
  26424. required: true
  26425. type: integer
  26426. produces:
  26427. - application/json
  26428. responses:
  26429. "200":
  26430. description: OK
  26431. schema:
  26432. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  26433. "500":
  26434. description: Internal Server Error
  26435. schema:
  26436. $ref: '#/definitions/app.Response'
  26437. security:
  26438. - ApiKeyAuth: []
  26439. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  26440. tags:
  26441. - 通用交易
  26442. /User/AddMessageBoard:
  26443. post:
  26444. parameters:
  26445. - description: 用户ID
  26446. in: query
  26447. name: userID
  26448. required: true
  26449. type: integer
  26450. - description: 留言信息
  26451. in: query
  26452. name: message
  26453. required: true
  26454. type: string
  26455. - description: 联系电话
  26456. in: query
  26457. name: contactNum
  26458. required: true
  26459. type: string
  26460. produces:
  26461. - application/json
  26462. responses:
  26463. "200":
  26464. description: OK
  26465. schema:
  26466. $ref: '#/definitions/app.Response'
  26467. "500":
  26468. description: Internal Server Error
  26469. schema:
  26470. $ref: '#/definitions/app.Response'
  26471. security:
  26472. - ApiKeyAuth: []
  26473. summary: 添加用户留言板信息
  26474. tags:
  26475. - 用户信息
  26476. /User/AddUserFavoriteGoods:
  26477. post:
  26478. parameters:
  26479. - description: 用户ID
  26480. in: query
  26481. name: userID
  26482. required: true
  26483. type: integer
  26484. - description: 商品ID
  26485. in: query
  26486. name: goodsID
  26487. required: true
  26488. type: integer
  26489. produces:
  26490. - application/json
  26491. responses:
  26492. "200":
  26493. description: OK
  26494. schema:
  26495. $ref: '#/definitions/app.Response'
  26496. "500":
  26497. description: Internal Server Error
  26498. schema:
  26499. $ref: '#/definitions/app.Response'
  26500. security:
  26501. - ApiKeyAuth: []
  26502. summary: 添加用户商品收藏信息
  26503. tags:
  26504. - 用户信息
  26505. /User/GetLoginID:
  26506. get:
  26507. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  26508. parameters:
  26509. - description: 登录代码
  26510. in: query
  26511. name: username
  26512. required: true
  26513. type: string
  26514. produces:
  26515. - application/json
  26516. responses:
  26517. "200":
  26518. description: OK
  26519. schema:
  26520. $ref: '#/definitions/app.Response'
  26521. "500":
  26522. description: Internal Server Error
  26523. schema:
  26524. $ref: '#/definitions/app.Response'
  26525. summary: 获取登录ID
  26526. tags:
  26527. - 用户信息
  26528. /User/GetUserAccount:
  26529. get:
  26530. parameters:
  26531. - description: 用户ID
  26532. in: query
  26533. name: userID
  26534. required: true
  26535. type: integer
  26536. produces:
  26537. - application/json
  26538. responses:
  26539. "200":
  26540. description: OK
  26541. schema:
  26542. $ref: '#/definitions/models.Useraccount'
  26543. "500":
  26544. description: Internal Server Error
  26545. schema:
  26546. $ref: '#/definitions/app.Response'
  26547. security:
  26548. - ApiKeyAuth: []
  26549. summary: 获取用户账号信息
  26550. tags:
  26551. - 用户信息
  26552. /User/GetUserAuthStatus:
  26553. get:
  26554. parameters:
  26555. - description: 用户ID
  26556. in: query
  26557. name: userID
  26558. required: true
  26559. type: integer
  26560. produces:
  26561. - application/json
  26562. responses:
  26563. "200":
  26564. description: OK
  26565. schema:
  26566. $ref: '#/definitions/app.Response'
  26567. "500":
  26568. description: Internal Server Error
  26569. schema:
  26570. $ref: '#/definitions/app.Response'
  26571. security:
  26572. - ApiKeyAuth: []
  26573. summary: 获取用户实名认证状态
  26574. tags:
  26575. - 用户信息
  26576. /User/LoginQuery:
  26577. get:
  26578. parameters:
  26579. - description: 登录账号
  26580. in: query
  26581. name: loginID
  26582. required: true
  26583. type: integer
  26584. produces:
  26585. - application/json
  26586. responses:
  26587. "200":
  26588. description: OK
  26589. schema:
  26590. $ref: '#/definitions/user.LoginQueryRsp'
  26591. "500":
  26592. description: Internal Server Error
  26593. schema:
  26594. $ref: '#/definitions/app.Response'
  26595. security:
  26596. - ApiKeyAuth: []
  26597. summary: 账户登录后信息查询
  26598. tags:
  26599. - 用户信息
  26600. /User/QueryMessageBoard:
  26601. get:
  26602. parameters:
  26603. - description: 用户ID
  26604. in: query
  26605. name: userID
  26606. required: true
  26607. type: integer
  26608. produces:
  26609. - application/json
  26610. responses:
  26611. "200":
  26612. description: OK
  26613. schema:
  26614. $ref: '#/definitions/models.Messageboard'
  26615. "500":
  26616. description: Internal Server Error
  26617. schema:
  26618. $ref: '#/definitions/app.Response'
  26619. security:
  26620. - ApiKeyAuth: []
  26621. summary: 获取用户留言板信息
  26622. tags:
  26623. - 用户信息
  26624. /User/QueryUserFavoriteGoodses:
  26625. get:
  26626. parameters:
  26627. - description: 用户ID
  26628. in: query
  26629. name: userID
  26630. required: true
  26631. type: integer
  26632. produces:
  26633. - application/json
  26634. responses:
  26635. "200":
  26636. description: OK
  26637. schema:
  26638. $ref: '#/definitions/models.Userfavoritegoods'
  26639. "500":
  26640. description: Internal Server Error
  26641. schema:
  26642. $ref: '#/definitions/app.Response'
  26643. security:
  26644. - ApiKeyAuth: []
  26645. summary: 获取用户商品收藏信息
  26646. tags:
  26647. - 用户信息
  26648. /User/QueryUserInfo:
  26649. get:
  26650. parameters:
  26651. - description: 用户ID
  26652. in: query
  26653. name: userID
  26654. required: true
  26655. type: integer
  26656. - description: 是否解密
  26657. in: query
  26658. name: isDecrypt
  26659. type: boolean
  26660. produces:
  26661. - application/json
  26662. responses:
  26663. "200":
  26664. description: OK
  26665. schema:
  26666. $ref: '#/definitions/models.Userinfo'
  26667. "500":
  26668. description: Internal Server Error
  26669. schema:
  26670. $ref: '#/definitions/app.Response'
  26671. security:
  26672. - ApiKeyAuth: []
  26673. summary: 获取用户信息
  26674. tags:
  26675. - 用户信息
  26676. /User/QueryUserReferNum:
  26677. get:
  26678. parameters:
  26679. - description: 用户ID
  26680. in: query
  26681. name: userID
  26682. required: true
  26683. type: integer
  26684. produces:
  26685. - application/json
  26686. responses:
  26687. "200":
  26688. description: OK
  26689. schema:
  26690. $ref: '#/definitions/app.Response'
  26691. "500":
  26692. description: Internal Server Error
  26693. schema:
  26694. $ref: '#/definitions/app.Response'
  26695. summary: 获取用户邀请码
  26696. tags:
  26697. - 用户信息
  26698. /User/RemoveUserFavoriteGoods:
  26699. post:
  26700. parameters:
  26701. - description: 用户ID
  26702. in: query
  26703. name: userID
  26704. required: true
  26705. type: integer
  26706. - description: 商品ID
  26707. in: query
  26708. name: goodsID
  26709. required: true
  26710. type: integer
  26711. produces:
  26712. - application/json
  26713. responses:
  26714. "200":
  26715. description: OK
  26716. schema:
  26717. $ref: '#/definitions/app.Response'
  26718. "500":
  26719. description: Internal Server Error
  26720. schema:
  26721. $ref: '#/definitions/app.Response'
  26722. security:
  26723. - ApiKeyAuth: []
  26724. summary: 移除用户商品收藏信息
  26725. tags:
  26726. - 用户信息
  26727. /User/UpdateUserAccountStatus:
  26728. post:
  26729. parameters:
  26730. - description: 用户ID
  26731. in: query
  26732. name: userID
  26733. required: true
  26734. type: integer
  26735. - description: 账户状态 - 4:正常 6:注销(停用)
  26736. in: query
  26737. name: accountStatus
  26738. required: true
  26739. type: integer
  26740. produces:
  26741. - application/json
  26742. responses:
  26743. "200":
  26744. description: OK
  26745. schema:
  26746. $ref: '#/definitions/app.Response'
  26747. "500":
  26748. description: Internal Server Error
  26749. schema:
  26750. $ref: '#/definitions/app.Response'
  26751. security:
  26752. - ApiKeyAuth: []
  26753. summary: 更新用户状态
  26754. tags:
  26755. - 用户信息
  26756. /WRTrade/GetAllDeliveryGoods:
  26757. get:
  26758. produces:
  26759. - application/json
  26760. - application/json
  26761. responses:
  26762. "200":
  26763. description: OK
  26764. schema:
  26765. $ref: '#/definitions/app.Response'
  26766. "500":
  26767. description: Internal Server Error
  26768. schema:
  26769. $ref: '#/definitions/app.Response'
  26770. security:
  26771. - ApiKeyAuth: []
  26772. - ApiKeyAuth: []
  26773. summary: 获取带仓单分类的种类信息
  26774. tags:
  26775. - 仓单贸易
  26776. - 仓单贸易
  26777. /WrTrade2/QueryDeliveryGoodsSection:
  26778. get:
  26779. produces:
  26780. - application/json
  26781. responses:
  26782. "200":
  26783. description: OK
  26784. schema:
  26785. items:
  26786. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  26787. type: array
  26788. "500":
  26789. description: Internal Server Error
  26790. schema:
  26791. $ref: '#/definitions/app.Response'
  26792. security:
  26793. - ApiKeyAuth: []
  26794. summary: 查询板块(分类)
  26795. tags:
  26796. - 仓单贸易v2
  26797. /WrTrade2/QueryFaProductDetail:
  26798. get:
  26799. description: 页面 买卖大厅 -> 选择融资方案
  26800. parameters:
  26801. - description: 仓单要素id
  26802. in: query
  26803. name: wrfactortypeid
  26804. required: true
  26805. type: integer
  26806. produces:
  26807. - application/json
  26808. responses:
  26809. "200":
  26810. description: OK
  26811. schema:
  26812. items:
  26813. $ref: '#/definitions/models.WrFAProductDetail'
  26814. type: array
  26815. "500":
  26816. description: Internal Server Error
  26817. schema:
  26818. $ref: '#/definitions/app.Response'
  26819. security:
  26820. - ApiKeyAuth: []
  26821. summary: 查询融资产品列表
  26822. tags:
  26823. - 仓单贸易v2
  26824. /WrTrade2/QueryFilterItem:
  26825. get:
  26826. parameters:
  26827. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  26828. in: query
  26829. name: itype
  26830. required: true
  26831. type: string
  26832. produces:
  26833. - application/json
  26834. responses:
  26835. "200":
  26836. description: OK
  26837. schema:
  26838. items:
  26839. $ref: '#/definitions/models.WrFilterItem'
  26840. type: array
  26841. "500":
  26842. description: Internal Server Error
  26843. schema:
  26844. $ref: '#/definitions/app.Response'
  26845. security:
  26846. - ApiKeyAuth: []
  26847. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  26848. tags:
  26849. - 仓单贸易v2
  26850. /WrTrade2/QueryFtDeliveryGoods:
  26851. get:
  26852. produces:
  26853. - application/json
  26854. responses:
  26855. "200":
  26856. description: OK
  26857. schema:
  26858. items:
  26859. $ref: '#/definitions/models.WrFtDeliveryGoods'
  26860. type: array
  26861. "500":
  26862. description: Internal Server Error
  26863. schema:
  26864. $ref: '#/definitions/app.Response'
  26865. security:
  26866. - ApiKeyAuth: []
  26867. summary: 查询品种品类筛选框列表
  26868. tags:
  26869. - 仓单贸易v2
  26870. /WrTrade2/QueryHoldLB:
  26871. get:
  26872. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  26873. parameters:
  26874. - description: 资金账号
  26875. in: query
  26876. name: accountid
  26877. required: true
  26878. type: integer
  26879. - description: 仓库id
  26880. in: query
  26881. name: warehouseid
  26882. type: integer
  26883. - description: 品种id
  26884. in: query
  26885. name: deliverygoodsid
  26886. type: integer
  26887. - description: 品类id
  26888. in: query
  26889. name: wrstandardid
  26890. type: integer
  26891. - description: 仓单要素id
  26892. in: query
  26893. name: wrfactortypeid
  26894. type: integer
  26895. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26896. in: query
  26897. name: dgitemname
  26898. type: string
  26899. produces:
  26900. - application/json
  26901. responses:
  26902. "200":
  26903. description: OK
  26904. schema:
  26905. items:
  26906. $ref: '#/definitions/models.WrHoldLB'
  26907. type: array
  26908. "500":
  26909. description: Internal Server Error
  26910. schema:
  26911. $ref: '#/definitions/app.Response'
  26912. security:
  26913. - ApiKeyAuth: []
  26914. summary: 查询仓单持有记录
  26915. tags:
  26916. - 仓单贸易v2
  26917. /WrTrade2/QueryOrderQuote:
  26918. get:
  26919. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录
  26920. parameters:
  26921. - description: 页码
  26922. in: query
  26923. name: page
  26924. type: integer
  26925. - description: 每页条数
  26926. in: query
  26927. name: pagesize
  26928. type: integer
  26929. - description: 仓单贸易市场id
  26930. in: query
  26931. name: marketid
  26932. type: integer
  26933. - description: 价格方式 - 1:固定价 2-浮动价
  26934. in: query
  26935. name: wrpricetype
  26936. required: true
  26937. type: integer
  26938. - description: 0:仓单预售 1:仓单贸易
  26939. in: query
  26940. name: haswr
  26941. type: integer
  26942. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26943. in: query
  26944. name: dgitemname
  26945. type: string
  26946. - description: 仓库id(筛选条件)
  26947. in: query
  26948. name: warehouseid
  26949. type: integer
  26950. - description: 品种id
  26951. in: query
  26952. name: deliverygoodsid
  26953. type: integer
  26954. - description: 品类id
  26955. in: query
  26956. name: wrstandardid
  26957. type: integer
  26958. - description: 仓单要素id
  26959. in: query
  26960. name: wrfactortypeid
  26961. type: integer
  26962. - description: 交收月(yyyy-mm) 仓单预售填写
  26963. in: query
  26964. name: deliverymonth
  26965. type: string
  26966. produces:
  26967. - application/json
  26968. responses:
  26969. "200":
  26970. description: OK
  26971. schema:
  26972. items:
  26973. $ref: '#/definitions/models.WrOrderQuote'
  26974. type: array
  26975. "500":
  26976. description: Internal Server Error
  26977. schema:
  26978. $ref: '#/definitions/app.Response'
  26979. security:
  26980. - ApiKeyAuth: []
  26981. summary: 查询大厅行情列表
  26982. tags:
  26983. - 仓单贸易v2
  26984. /WrTrade2/QueryOrderQuoteDetail:
  26985. get:
  26986. parameters:
  26987. - description: 页码
  26988. in: query
  26989. name: page
  26990. type: integer
  26991. - description: 每页条数
  26992. in: query
  26993. name: pagesize
  26994. type: integer
  26995. - description: 仓单贸易市场id
  26996. in: query
  26997. name: marketid
  26998. type: integer
  26999. - description: 价格方式 - 1:固定价 2-浮动价
  27000. in: query
  27001. name: wrpricetype
  27002. required: true
  27003. type: integer
  27004. - description: 0:仓单预售 1:仓单贸易
  27005. in: query
  27006. name: haswr
  27007. type: integer
  27008. - description: 仓单要素id
  27009. in: query
  27010. name: wrfactortypeid
  27011. required: true
  27012. type: integer
  27013. - description: 期货商品id(浮动价方式时填)
  27014. in: query
  27015. name: goodsid
  27016. type: integer
  27017. - description: 买卖方向 0-买 1-卖
  27018. in: query
  27019. name: buyorsell
  27020. required: true
  27021. type: integer
  27022. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  27023. in: query
  27024. name: deliverymonth
  27025. type: string
  27026. produces:
  27027. - application/json
  27028. responses:
  27029. "200":
  27030. description: OK
  27031. schema:
  27032. items:
  27033. $ref: '#/definitions/models.WrOrderQuoteDetail'
  27034. type: array
  27035. "500":
  27036. description: Internal Server Error
  27037. schema:
  27038. $ref: '#/definitions/app.Response'
  27039. security:
  27040. - ApiKeyAuth: []
  27041. summary: 查询买卖大厅
  27042. tags:
  27043. - 仓单贸易v2
  27044. /WrTrade2/QueryOrderQuoteMyq:
  27045. get:
  27046. parameters:
  27047. - description: 页码
  27048. in: query
  27049. name: page
  27050. type: integer
  27051. - description: 每页条数
  27052. in: query
  27053. name: pagesize
  27054. type: integer
  27055. - description: 用户id
  27056. in: query
  27057. name: userid
  27058. required: true
  27059. type: integer
  27060. - description: 仓单贸易市场id
  27061. in: query
  27062. name: marketid
  27063. type: integer
  27064. - description: 0:仓单预售 1:仓单贸易
  27065. in: query
  27066. name: haswr
  27067. type: integer
  27068. - description: 买卖方向 0-买 1-卖
  27069. in: query
  27070. name: buyorsell
  27071. required: true
  27072. type: integer
  27073. - description: 品种id
  27074. in: query
  27075. name: deliverygoodsid
  27076. type: integer
  27077. - description: 品类id
  27078. in: query
  27079. name: wrstandardid
  27080. type: integer
  27081. - description: 交收月(yyyy-mm) 仓单预售填写
  27082. in: query
  27083. name: deliverymonth
  27084. type: string
  27085. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27086. in: query
  27087. name: dgitemname
  27088. type: string
  27089. produces:
  27090. - application/json
  27091. responses:
  27092. "200":
  27093. description: OK
  27094. schema:
  27095. items:
  27096. $ref: '#/definitions/models.WrQuoteOrderMyq'
  27097. type: array
  27098. "500":
  27099. description: Internal Server Error
  27100. schema:
  27101. $ref: '#/definitions/app.Response'
  27102. security:
  27103. - ApiKeyAuth: []
  27104. summary: 查询贸易圈挂牌大厅
  27105. tags:
  27106. - 仓单贸易v2
  27107. /WrTrade2/QueryPerformancePlan:
  27108. get:
  27109. parameters:
  27110. - description: 用户id
  27111. in: query
  27112. name: userid
  27113. required: true
  27114. type: integer
  27115. - description: 买卖方向 0-买 1-卖
  27116. in: query
  27117. name: buyorsell
  27118. required: true
  27119. type: integer
  27120. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭
  27121. in: query
  27122. name: status
  27123. type: string
  27124. - description: 开始交易日(yyyymmdd)
  27125. in: query
  27126. name: begindate
  27127. type: string
  27128. - description: 结束交易日(yyyymmdd)
  27129. in: query
  27130. name: enddate
  27131. type: string
  27132. produces:
  27133. - application/json
  27134. responses:
  27135. "200":
  27136. description: OK
  27137. schema:
  27138. items:
  27139. $ref: '#/definitions/models.WrPerformancePlan'
  27140. type: array
  27141. "500":
  27142. description: Internal Server Error
  27143. schema:
  27144. $ref: '#/definitions/app.Response'
  27145. security:
  27146. - ApiKeyAuth: []
  27147. summary: 查询履约信息
  27148. tags:
  27149. - 仓单贸易v2
  27150. /WrTrade2/QueryPermancePlanTmp:
  27151. get:
  27152. description: |-
  27153. 返回指定用户的模板和公共模板(用户id为空)
  27154. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  27155. parameters:
  27156. - description: 用户id
  27157. in: query
  27158. name: userid
  27159. type: integer
  27160. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  27161. in: query
  27162. name: tmptype
  27163. type: string
  27164. - description: 是否包含公共模板(用户id为空的) 1-包含
  27165. in: query
  27166. name: includepub
  27167. type: integer
  27168. - description: 市场id(天津麦顿指定此参数,其它不用)
  27169. in: query
  27170. name: marketid
  27171. type: integer
  27172. produces:
  27173. - application/json
  27174. responses:
  27175. "200":
  27176. description: OK
  27177. schema:
  27178. items:
  27179. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  27180. type: array
  27181. "500":
  27182. description: Internal Server Error
  27183. schema:
  27184. $ref: '#/definitions/app.Response'
  27185. security:
  27186. - ApiKeyAuth: []
  27187. summary: 查询履约模板
  27188. tags:
  27189. - 仓单贸易v2
  27190. /WrTrade2/QuerySiteColumnDetail:
  27191. get:
  27192. parameters:
  27193. - description: 页码
  27194. in: query
  27195. name: page
  27196. type: integer
  27197. - description: 每页条数
  27198. in: query
  27199. name: pagesize
  27200. type: integer
  27201. produces:
  27202. - application/json
  27203. responses:
  27204. "200":
  27205. description: OK
  27206. schema:
  27207. items:
  27208. $ref: '#/definitions/models.WrSiteColumnDetail'
  27209. type: array
  27210. "500":
  27211. description: Internal Server Error
  27212. schema:
  27213. $ref: '#/definitions/app.Response'
  27214. security:
  27215. - ApiKeyAuth: []
  27216. summary: 查询资讯
  27217. tags:
  27218. - 仓单贸易v2
  27219. /WrTrade2/QuerySpotGroupTradeSum:
  27220. get:
  27221. produces:
  27222. - application/json
  27223. responses:
  27224. "200":
  27225. description: OK
  27226. schema:
  27227. items:
  27228. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  27229. type: array
  27230. "500":
  27231. description: Internal Server Error
  27232. schema:
  27233. $ref: '#/definitions/app.Response'
  27234. security:
  27235. - ApiKeyAuth: []
  27236. summary: 查询指数
  27237. tags:
  27238. - 仓单贸易v2
  27239. /WrTrade2/QuerySpotGroupTradeSumDetail:
  27240. get:
  27241. description: 查询的结果将会按日期 从小到大 排序
  27242. parameters:
  27243. - description: 现货商品id
  27244. in: query
  27245. name: deliverygoodsid
  27246. required: true
  27247. type: integer
  27248. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  27249. in: query
  27250. name: lastnum
  27251. type: integer
  27252. produces:
  27253. - application/json
  27254. responses:
  27255. "200":
  27256. description: OK
  27257. schema:
  27258. items:
  27259. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  27260. type: array
  27261. "500":
  27262. description: Internal Server Error
  27263. schema:
  27264. $ref: '#/definitions/app.Response'
  27265. security:
  27266. - ApiKeyAuth: []
  27267. summary: 查询指数详细(价格走势图)
  27268. tags:
  27269. - 仓单贸易v2
  27270. /WrTrade2/QueryWrAverageTradePrice:
  27271. get:
  27272. parameters:
  27273. - description: 页码
  27274. in: query
  27275. name: page
  27276. type: integer
  27277. - description: 每页条数
  27278. in: query
  27279. name: pagesize
  27280. type: integer
  27281. - description: 0:仓单预售 1:仓单贸易
  27282. in: query
  27283. name: haswr
  27284. required: true
  27285. type: integer
  27286. - description: 仓单要素id
  27287. in: query
  27288. name: wrfactortypeid
  27289. required: true
  27290. type: integer
  27291. produces:
  27292. - application/json
  27293. responses:
  27294. "200":
  27295. description: OK
  27296. schema:
  27297. items:
  27298. $ref: '#/definitions/models.WrAverageTradePrice'
  27299. type: array
  27300. "500":
  27301. description: Internal Server Error
  27302. schema:
  27303. $ref: '#/definitions/app.Response'
  27304. security:
  27305. - ApiKeyAuth: []
  27306. summary: 查询成交价(历史走势)
  27307. tags:
  27308. - 仓单贸易v2
  27309. /WrTrade2/QueryWrBsGoodsInfo:
  27310. get:
  27311. description: 合约交易/买卖大厅/详情
  27312. parameters:
  27313. - description: 商品id
  27314. in: query
  27315. name: goodsid
  27316. required: true
  27317. type: integer
  27318. produces:
  27319. - application/json
  27320. responses:
  27321. "200":
  27322. description: OK
  27323. schema:
  27324. items:
  27325. $ref: '#/definitions/models.WrBsGoodsInfo'
  27326. type: array
  27327. "500":
  27328. description: Internal Server Error
  27329. schema:
  27330. $ref: '#/definitions/app.Response'
  27331. security:
  27332. - ApiKeyAuth: []
  27333. summary: 查询合约交易买卖大厅详情
  27334. tags:
  27335. - 仓单贸易v2
  27336. /WrTrade2/QueryWrBuybackDetail:
  27337. get:
  27338. parameters:
  27339. - description: 融资合同id
  27340. in: query
  27341. name: scfcontractid
  27342. type: integer
  27343. produces:
  27344. - application/json
  27345. responses:
  27346. "200":
  27347. description: OK
  27348. schema:
  27349. items:
  27350. $ref: '#/definitions/models.WrBuybackDetail'
  27351. type: array
  27352. "500":
  27353. description: Internal Server Error
  27354. schema:
  27355. $ref: '#/definitions/app.Response'
  27356. security:
  27357. - ApiKeyAuth: []
  27358. summary: 查询仓单回购明细
  27359. tags:
  27360. - 仓单贸易v2
  27361. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  27362. get:
  27363. parameters:
  27364. - description: 资金账号
  27365. in: query
  27366. name: accountid
  27367. required: true
  27368. type: integer
  27369. - description: 商品id
  27370. in: query
  27371. name: goodsid
  27372. required: true
  27373. type: integer
  27374. produces:
  27375. - application/json
  27376. responses:
  27377. "200":
  27378. description: OK
  27379. schema:
  27380. items:
  27381. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  27382. type: array
  27383. "500":
  27384. description: Internal Server Error
  27385. schema:
  27386. $ref: '#/definitions/app.Response'
  27387. security:
  27388. - ApiKeyAuth: []
  27389. summary: 查询合约交收可点选仓单
  27390. tags:
  27391. - 仓单贸易v2
  27392. /WrTrade2/QueryWrDeliveryDetail:
  27393. get:
  27394. parameters:
  27395. - description: 用户id
  27396. in: query
  27397. name: userid
  27398. required: true
  27399. type: integer
  27400. - description: 资金账号id
  27401. in: query
  27402. name: accountid
  27403. type: integer
  27404. - description: 开始交易日(yyyymmdd)
  27405. in: query
  27406. name: begindate
  27407. type: string
  27408. - description: 结束交易日(yyyymmdd)
  27409. in: query
  27410. name: enddate
  27411. type: string
  27412. produces:
  27413. - application/json
  27414. responses:
  27415. "200":
  27416. description: OK
  27417. schema:
  27418. items:
  27419. $ref: '#/definitions/models.WrDeliveryDetail'
  27420. type: array
  27421. "500":
  27422. description: Internal Server Error
  27423. schema:
  27424. $ref: '#/definitions/app.Response'
  27425. security:
  27426. - ApiKeyAuth: []
  27427. summary: 查询交收
  27428. tags:
  27429. - 仓单贸易v2
  27430. /WrTrade2/QueryWrFactorTypeInfo:
  27431. get:
  27432. parameters:
  27433. - description: 仓单要素id
  27434. in: query
  27435. name: wrfactortypeid
  27436. required: true
  27437. type: integer
  27438. produces:
  27439. - application/json
  27440. responses:
  27441. "200":
  27442. description: OK
  27443. schema:
  27444. items:
  27445. $ref: '#/definitions/models.WrFactorTypeInfo'
  27446. type: array
  27447. "500":
  27448. description: Internal Server Error
  27449. schema:
  27450. $ref: '#/definitions/app.Response'
  27451. security:
  27452. - ApiKeyAuth: []
  27453. summary: 查询仓单要素详细信息
  27454. tags:
  27455. - 仓单贸易v2
  27456. /WrTrade2/QueryWrFactorTypeInfoEx:
  27457. get:
  27458. parameters:
  27459. - description: 仓单要素id
  27460. in: query
  27461. name: wrfactortypeid
  27462. required: true
  27463. type: integer
  27464. produces:
  27465. - application/json
  27466. responses:
  27467. "200":
  27468. description: OK
  27469. schema:
  27470. items:
  27471. $ref: '#/definitions/models.WrTypeItem'
  27472. type: array
  27473. "500":
  27474. description: Internal Server Error
  27475. schema:
  27476. $ref: '#/definitions/app.Response'
  27477. security:
  27478. - ApiKeyAuth: []
  27479. summary: 查询仓单要素详细信息列表项
  27480. tags:
  27481. - 仓单贸易v2
  27482. /WrTrade2/QueryWrFinanceBuyApply:
  27483. get:
  27484. description: 页面 融资信息+ / 申请单
  27485. parameters:
  27486. - description: 用户id
  27487. in: query
  27488. name: userid
  27489. required: true
  27490. type: integer
  27491. produces:
  27492. - application/json
  27493. responses:
  27494. "200":
  27495. description: OK
  27496. schema:
  27497. items:
  27498. $ref: '#/definitions/models.WrFinanceBuyApply'
  27499. type: array
  27500. "500":
  27501. description: Internal Server Error
  27502. schema:
  27503. $ref: '#/definitions/app.Response'
  27504. security:
  27505. - ApiKeyAuth: []
  27506. summary: 查询融资购买申请
  27507. tags:
  27508. - 仓单贸易v2
  27509. /WrTrade2/QueryWrFriendApply:
  27510. get:
  27511. parameters:
  27512. - description: 用户id
  27513. in: query
  27514. name: userid
  27515. required: true
  27516. type: integer
  27517. produces:
  27518. - application/json
  27519. responses:
  27520. "200":
  27521. description: OK
  27522. schema:
  27523. items:
  27524. $ref: '#/definitions/models.WrFriendApply'
  27525. type: array
  27526. "500":
  27527. description: Internal Server Error
  27528. schema:
  27529. $ref: '#/definitions/app.Response'
  27530. security:
  27531. - ApiKeyAuth: []
  27532. summary: 查询好友申请记录
  27533. tags:
  27534. - 仓单贸易v2
  27535. /WrTrade2/QueryWrGoodsInfo:
  27536. get:
  27537. parameters:
  27538. - description: 仓单贸易市场id
  27539. in: query
  27540. name: marketid
  27541. type: integer
  27542. - description: 0:仓单预售 1:仓单贸易
  27543. in: query
  27544. name: haswr
  27545. required: true
  27546. type: integer
  27547. - description: 仓单要素id
  27548. in: query
  27549. name: wrfactortypeid
  27550. required: true
  27551. type: integer
  27552. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  27553. in: query
  27554. name: tmplateid
  27555. type: integer
  27556. produces:
  27557. - application/json
  27558. responses:
  27559. "200":
  27560. description: OK
  27561. schema:
  27562. items:
  27563. $ref: '#/definitions/models.WrGoodsInfo'
  27564. type: array
  27565. "500":
  27566. description: Internal Server Error
  27567. schema:
  27568. $ref: '#/definitions/app.Response'
  27569. security:
  27570. - ApiKeyAuth: []
  27571. summary: 查询仓单商品信息
  27572. tags:
  27573. - 仓单贸易v2
  27574. /WrTrade2/QueryWrMarketTradeConfig:
  27575. get:
  27576. parameters:
  27577. - description: 市场id
  27578. in: query
  27579. name: marketid
  27580. type: integer
  27581. produces:
  27582. - application/json
  27583. responses:
  27584. "200":
  27585. description: OK
  27586. schema:
  27587. items:
  27588. $ref: '#/definitions/models.WrMarketTradeConfig'
  27589. type: array
  27590. "500":
  27591. description: Internal Server Error
  27592. schema:
  27593. $ref: '#/definitions/app.Response'
  27594. security:
  27595. - ApiKeyAuth: []
  27596. summary: 查询市场交易参数配置
  27597. tags:
  27598. - 仓单贸易v2
  27599. /WrTrade2/QueryWrOrderDetail:
  27600. get:
  27601. description: 页面 现货仓单 | 预售仓单 -> 挂单
  27602. parameters:
  27603. - description: 页码
  27604. in: query
  27605. name: page
  27606. type: integer
  27607. - description: 每页条数
  27608. in: query
  27609. name: pagesize
  27610. type: integer
  27611. - description: 用户id
  27612. in: query
  27613. name: userid
  27614. required: true
  27615. type: integer
  27616. - description: 仓单贸易市场id
  27617. in: query
  27618. name: marketid
  27619. type: integer
  27620. - description: 0:仓单预售 1:仓单贸易
  27621. in: query
  27622. name: haswr
  27623. required: true
  27624. type: integer
  27625. - description: 开始交易日(yyyymmdd)
  27626. in: query
  27627. name: begindate
  27628. type: string
  27629. - description: 结束交易日(yyyymmdd)
  27630. in: query
  27631. name: enddate
  27632. type: string
  27633. produces:
  27634. - application/json
  27635. responses:
  27636. "200":
  27637. description: OK
  27638. schema:
  27639. items:
  27640. $ref: '#/definitions/models.WrOrderDetail'
  27641. type: array
  27642. "500":
  27643. description: Internal Server Error
  27644. schema:
  27645. $ref: '#/definitions/app.Response'
  27646. security:
  27647. - ApiKeyAuth: []
  27648. summary: 查询仓单委托单(挂单)
  27649. tags:
  27650. - 仓单贸易v2
  27651. /WrTrade2/QueryWrOutInApply:
  27652. get:
  27653. parameters:
  27654. - description: 用户id
  27655. in: query
  27656. name: userid
  27657. required: true
  27658. type: integer
  27659. - description: 开始交易日(yyyymmdd)
  27660. in: query
  27661. name: begindate
  27662. type: string
  27663. - description: 结束交易日(yyyymmdd)
  27664. in: query
  27665. name: enddate
  27666. type: string
  27667. produces:
  27668. - application/json
  27669. responses:
  27670. "200":
  27671. description: OK
  27672. schema:
  27673. items:
  27674. $ref: '#/definitions/models.WrOutInApply'
  27675. type: array
  27676. "500":
  27677. description: Internal Server Error
  27678. schema:
  27679. $ref: '#/definitions/app.Response'
  27680. security:
  27681. - ApiKeyAuth: []
  27682. summary: 查询提货申请
  27683. tags:
  27684. - 仓单贸易v2
  27685. /WrTrade2/QueryWrPerformancePlanStep:
  27686. get:
  27687. parameters:
  27688. - description: 履约计划id(performanceplanid)
  27689. in: query
  27690. name: planid
  27691. required: true
  27692. type: integer
  27693. - description: 当前步骤id
  27694. in: query
  27695. name: curstepid
  27696. type: integer
  27697. produces:
  27698. - application/json
  27699. responses:
  27700. "200":
  27701. description: OK
  27702. schema:
  27703. items:
  27704. $ref: '#/definitions/models.WrPerformancePlanStep'
  27705. type: array
  27706. "500":
  27707. description: Internal Server Error
  27708. schema:
  27709. $ref: '#/definitions/app.Response'
  27710. security:
  27711. - ApiKeyAuth: []
  27712. summary: 查询履约信息详情
  27713. tags:
  27714. - 仓单贸易v2
  27715. /WrTrade2/QueryWrPerformanceStepType:
  27716. get:
  27717. produces:
  27718. - application/json
  27719. responses:
  27720. "200":
  27721. description: OK
  27722. schema:
  27723. items:
  27724. $ref: '#/definitions/models.WrPerformanceStepType'
  27725. type: array
  27726. "500":
  27727. description: Internal Server Error
  27728. schema:
  27729. $ref: '#/definitions/app.Response'
  27730. security:
  27731. - ApiKeyAuth: []
  27732. summary: 查询履约步骤枚举
  27733. tags:
  27734. - 仓单贸易v2
  27735. /WrTrade2/QueryWrPosition:
  27736. get:
  27737. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  27738. parameters:
  27739. - description: 用户id
  27740. in: query
  27741. name: userid
  27742. required: true
  27743. type: integer
  27744. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  27745. in: query
  27746. name: querytype
  27747. required: true
  27748. type: integer
  27749. - description: 0:仓单预售 1:仓单贸易
  27750. in: query
  27751. name: haswr
  27752. required: true
  27753. type: integer
  27754. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27755. in: query
  27756. name: dgitemname
  27757. type: string
  27758. - description: 仓库id(筛选条件)
  27759. in: query
  27760. name: warehouseid
  27761. type: integer
  27762. - description: 品种id
  27763. in: query
  27764. name: deliverygoodsid
  27765. type: integer
  27766. - description: 品类id
  27767. in: query
  27768. name: wrstandardid
  27769. type: integer
  27770. produces:
  27771. - application/json
  27772. responses:
  27773. "200":
  27774. description: OK
  27775. schema:
  27776. items:
  27777. $ref: '#/definitions/models.WrPosition'
  27778. type: array
  27779. "500":
  27780. description: Internal Server Error
  27781. schema:
  27782. $ref: '#/definitions/app.Response'
  27783. security:
  27784. - ApiKeyAuth: []
  27785. summary: 查询现货(预售)仓单持仓
  27786. tags:
  27787. - 仓单贸易v2
  27788. /WrTrade2/QueryWrScfContract:
  27789. get:
  27790. parameters:
  27791. - description: 用户id
  27792. in: query
  27793. name: userid
  27794. required: true
  27795. type: integer
  27796. - description: 融资合同id
  27797. in: query
  27798. name: scfcontractid
  27799. type: integer
  27800. produces:
  27801. - application/json
  27802. responses:
  27803. "200":
  27804. description: OK
  27805. schema:
  27806. items:
  27807. $ref: '#/definitions/models.WrScfContract'
  27808. type: array
  27809. "500":
  27810. description: Internal Server Error
  27811. schema:
  27812. $ref: '#/definitions/app.Response'
  27813. security:
  27814. - ApiKeyAuth: []
  27815. summary: 查询仓单贸易融资合同
  27816. tags:
  27817. - 仓单贸易v2
  27818. /WrTrade2/QueryWrScfContractInterest:
  27819. get:
  27820. parameters:
  27821. - description: 融资合同id
  27822. in: query
  27823. name: scfcontractid
  27824. type: integer
  27825. produces:
  27826. - application/json
  27827. responses:
  27828. "200":
  27829. description: OK
  27830. schema:
  27831. items:
  27832. $ref: '#/definitions/models.WrScfContractInterest'
  27833. type: array
  27834. "500":
  27835. description: Internal Server Error
  27836. schema:
  27837. $ref: '#/definitions/app.Response'
  27838. security:
  27839. - ApiKeyAuth: []
  27840. summary: 查询融资合同费用明细
  27841. tags:
  27842. - 仓单贸易v2
  27843. /WrTrade2/QueryWrSpecialMatchOrder:
  27844. get:
  27845. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  27846. parameters:
  27847. - description: 页码
  27848. in: query
  27849. name: page
  27850. type: integer
  27851. - description: 每页条数
  27852. in: query
  27853. name: pagesize
  27854. type: integer
  27855. - description: 用户id
  27856. in: query
  27857. name: userid
  27858. required: true
  27859. type: integer
  27860. - description: 仓单贸易市场id
  27861. in: query
  27862. name: marketid
  27863. type: integer
  27864. - description: 0:仓单预售 1:仓单贸易
  27865. in: query
  27866. name: haswr
  27867. required: true
  27868. type: integer
  27869. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  27870. in: query
  27871. name: isspecified
  27872. type: integer
  27873. produces:
  27874. - application/json
  27875. responses:
  27876. "200":
  27877. description: OK
  27878. schema:
  27879. items:
  27880. $ref: '#/definitions/models.WrSpecialMatchOrder'
  27881. type: array
  27882. "500":
  27883. description: Internal Server Error
  27884. schema:
  27885. $ref: '#/definitions/app.Response'
  27886. security:
  27887. - ApiKeyAuth: []
  27888. summary: 查询指定成交
  27889. tags:
  27890. - 仓单贸易v2
  27891. /WrTrade2/QueryWrStandardFactoryItem:
  27892. get:
  27893. parameters:
  27894. - description: 品类id
  27895. in: query
  27896. name: wrstandardid
  27897. required: true
  27898. type: integer
  27899. produces:
  27900. - application/json
  27901. responses:
  27902. "200":
  27903. description: OK
  27904. schema:
  27905. items:
  27906. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  27907. type: array
  27908. "500":
  27909. description: Internal Server Error
  27910. schema:
  27911. $ref: '#/definitions/app.Response'
  27912. security:
  27913. - ApiKeyAuth: []
  27914. summary: 查询品类要素定义项
  27915. tags:
  27916. - 仓单贸易v2
  27917. /WrTrade2/QueryWrTradeBargainApply:
  27918. get:
  27919. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面 议价->对方议价 填写matchuserid=登录用户id
  27920. parameters:
  27921. - description: 议价人id(摘牌方)
  27922. in: query
  27923. name: userid
  27924. type: integer
  27925. - description: 挂牌方id(查对方议价时,填写此项)
  27926. in: query
  27927. name: matchuserid
  27928. type: integer
  27929. - description: 关联委托单id
  27930. in: query
  27931. name: wrtradeorderid
  27932. type: integer
  27933. - description: 0:仓单预售 1:仓单贸易
  27934. in: query
  27935. name: haswr
  27936. required: true
  27937. type: integer
  27938. - description: 开始交易日(yyyymmdd)
  27939. in: query
  27940. name: begindate
  27941. type: string
  27942. - description: 结束交易日(yyyymmdd)
  27943. in: query
  27944. name: enddate
  27945. type: string
  27946. produces:
  27947. - application/json
  27948. responses:
  27949. "200":
  27950. description: OK
  27951. schema:
  27952. items:
  27953. $ref: '#/definitions/models.WRTradeBargainApply'
  27954. type: array
  27955. "500":
  27956. description: Internal Server Error
  27957. schema:
  27958. $ref: '#/definitions/app.Response'
  27959. security:
  27960. - ApiKeyAuth: []
  27961. summary: 查询议价单
  27962. tags:
  27963. - 仓单贸易v2
  27964. /WrTrade2/QueryWrTradeDetail:
  27965. get:
  27966. parameters:
  27967. - description: 页码
  27968. in: query
  27969. name: page
  27970. type: integer
  27971. - description: 每页条数
  27972. in: query
  27973. name: pagesize
  27974. type: integer
  27975. - description: 用户id
  27976. in: query
  27977. name: userid
  27978. required: true
  27979. type: integer
  27980. - description: 仓单贸易市场id
  27981. in: query
  27982. name: marketid
  27983. type: integer
  27984. - description: 0:仓单预售 1:仓单贸易
  27985. in: query
  27986. name: haswr
  27987. required: true
  27988. type: integer
  27989. - description: 开始交易日(yyyymmdd)
  27990. in: query
  27991. name: begindate
  27992. type: string
  27993. - description: 结束交易日(yyyymmdd)
  27994. in: query
  27995. name: enddate
  27996. type: string
  27997. produces:
  27998. - application/json
  27999. responses:
  28000. "200":
  28001. description: OK
  28002. schema:
  28003. items:
  28004. $ref: '#/definitions/models.WrTradeDetail'
  28005. type: array
  28006. "500":
  28007. description: Internal Server Error
  28008. schema:
  28009. $ref: '#/definitions/app.Response'
  28010. security:
  28011. - ApiKeyAuth: []
  28012. summary: 查询仓单成交明细
  28013. tags:
  28014. - 仓单贸易v2
  28015. /WrTrade2/QueryWrTradeOrderDetail:
  28016. get:
  28017. parameters:
  28018. - description: 页码
  28019. in: query
  28020. name: page
  28021. type: integer
  28022. - description: 每页条数
  28023. in: query
  28024. name: pagesize
  28025. type: integer
  28026. - description: 商品id
  28027. in: query
  28028. name: goodsid
  28029. required: true
  28030. type: integer
  28031. - description: 买卖方向 0-买 1-卖
  28032. in: query
  28033. name: buyorsell
  28034. required: true
  28035. type: integer
  28036. produces:
  28037. - application/json
  28038. responses:
  28039. "200":
  28040. description: OK
  28041. schema:
  28042. items:
  28043. $ref: '#/definitions/models.WrTradeOrderDetail'
  28044. type: array
  28045. "500":
  28046. description: Internal Server Error
  28047. schema:
  28048. $ref: '#/definitions/app.Response'
  28049. security:
  28050. - ApiKeyAuth: []
  28051. summary: 查询合约交易买卖大厅
  28052. tags:
  28053. - 仓单贸易v2
  28054. /WrTrade2/QueryWrUserFriend:
  28055. get:
  28056. parameters:
  28057. - description: 用户id
  28058. in: query
  28059. name: userid
  28060. required: true
  28061. type: integer
  28062. - description: 新朋友userid, 如果填写了此项则查找新朋友
  28063. in: query
  28064. name: newuserid
  28065. type: integer
  28066. produces:
  28067. - application/json
  28068. responses:
  28069. "200":
  28070. description: OK
  28071. schema:
  28072. items:
  28073. $ref: '#/definitions/models.WrUserFriend'
  28074. type: array
  28075. "500":
  28076. description: Internal Server Error
  28077. schema:
  28078. $ref: '#/definitions/app.Response'
  28079. security:
  28080. - ApiKeyAuth: []
  28081. summary: 查询我的朋友
  28082. tags:
  28083. - 仓单贸易v2
  28084. /WrTrade2/QueryWrUserReceiptInfo:
  28085. get:
  28086. parameters:
  28087. - description: 用户id
  28088. in: query
  28089. name: userid
  28090. type: integer
  28091. - description: 发票类型 - 1:个人 2:企业
  28092. in: query
  28093. name: receipttype
  28094. type: integer
  28095. produces:
  28096. - application/json
  28097. responses:
  28098. "200":
  28099. description: OK
  28100. schema:
  28101. items:
  28102. $ref: '#/definitions/models.WrUserReceiptInfo'
  28103. type: array
  28104. "500":
  28105. description: Internal Server Error
  28106. schema:
  28107. $ref: '#/definitions/app.Response'
  28108. security:
  28109. - ApiKeyAuth: []
  28110. summary: 查询发票信息
  28111. tags:
  28112. - 仓单贸易v2
  28113. /ZJ/GetBankTip:
  28114. get:
  28115. produces:
  28116. - application/json
  28117. responses:
  28118. "200":
  28119. description: OK
  28120. schema:
  28121. type: string
  28122. "500":
  28123. description: Internal Server Error
  28124. schema:
  28125. $ref: '#/definitions/app.Response'
  28126. summary: 获取中江网银端出入金提示信息
  28127. tags:
  28128. - 中江
  28129. /ZJ/GetCusBankChannels:
  28130. get:
  28131. produces:
  28132. - application/json
  28133. responses:
  28134. "200":
  28135. description: OK
  28136. schema:
  28137. items:
  28138. type: string
  28139. type: array
  28140. "500":
  28141. description: Internal Server Error
  28142. schema:
  28143. $ref: '#/definitions/app.Response'
  28144. summary: 获取中江出入金渠道显示列表
  28145. tags:
  28146. - 中江
  28147. securityDefinitions:
  28148. ApiKeyAuth:
  28149. in: header
  28150. name: Authorization
  28151. type: apiKey
  28152. swagger: "2.0"