swagger.yaml 826 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764
  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. imagedetailpath:
  126. description: 详情图片 [UrlType = 3时 有且必填,其它类型不需要]
  127. type: string
  128. imagepath:
  129. description: 图片
  130. type: string
  131. imagetype:
  132. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  133. type: integer
  134. isshow:
  135. description: 是否展示 - 0:不展示 1:展示
  136. type: integer
  137. marketid:
  138. description: 市场ID
  139. type: integer
  140. modifierid:
  141. description: 操作人
  142. type: integer
  143. sort:
  144. description: 排序
  145. type: integer
  146. title:
  147. description: 标题
  148. type: string
  149. trademode:
  150. description: 交易模式
  151. type: integer
  152. updatedate:
  153. description: 修改时间
  154. type: string
  155. url:
  156. description: 链接(地址或商品ID)
  157. type: string
  158. urltype:
  159. description: 链接类型 - 1:直接地址 2:商品ID
  160. type: integer
  161. required:
  162. - configid
  163. type: object
  164. common.QueryNoticeRsp:
  165. properties:
  166. auditoruserid:
  167. description: 审核人
  168. type: integer
  169. auditremark:
  170. description: 审核备注
  171. type: string
  172. audittime:
  173. description: 审核日期
  174. type: string
  175. autoid:
  176. description: 自增ID
  177. type: integer
  178. content:
  179. description: 内容
  180. type: string
  181. createtime:
  182. description: 创建时间
  183. type: string
  184. creatorid:
  185. description: 建仓人
  186. type: integer
  187. endtime:
  188. description: 结束时间
  189. type: string
  190. istop:
  191. description: 是否置顶 - 0:不置顶 1:置顶
  192. type: integer
  193. msgiconurl:
  194. description: 消息图标Url
  195. type: string
  196. msgtype:
  197. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  198. type: integer
  199. publisher:
  200. description: 消息发布者
  201. type: string
  202. readed:
  203. description: 是否已读
  204. type: boolean
  205. scheduletime:
  206. description: 计划发送时间
  207. type: string
  208. sendtype:
  209. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  210. type: integer
  211. sentstatus:
  212. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  213. type: integer
  214. title:
  215. description: 标题
  216. type: string
  217. userid:
  218. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  219. type: integer
  220. required:
  221. - autoid
  222. type: object
  223. common.QueryProvincesAndCitiesRsp:
  224. properties:
  225. cities:
  226. description: 市
  227. items:
  228. $ref: '#/definitions/models.Division'
  229. type: array
  230. province:
  231. $ref: '#/definitions/models.Division'
  232. description: 省
  233. type: object
  234. common.QueryTableDefineRsp:
  235. properties:
  236. columns:
  237. description: 列头信息数组
  238. items:
  239. $ref: '#/definitions/models.Tablecolumnconfig'
  240. type: array
  241. remark:
  242. description: Remark
  243. type: string
  244. tabelmenu:
  245. description: 列表菜单
  246. type: string
  247. tablekey:
  248. description: 列表Key
  249. type: string
  250. tablename:
  251. description: 列表名称
  252. type: string
  253. tabletype:
  254. description: 列表类型 - 1:管理端 2:终端
  255. type: integer
  256. required:
  257. - tablekey
  258. type: object
  259. common.QueryTraderMenuRsp:
  260. properties:
  261. OperationMenu:
  262. description: 功能菜单
  263. items:
  264. $ref: '#/definitions/models.OperationPrimaryMenu'
  265. type: array
  266. QuoteMenu:
  267. description: 报价牌分类菜单
  268. items:
  269. $ref: '#/definitions/models.QuotePrimaryMenu'
  270. type: array
  271. type: object
  272. cptrade.Cptradepositioncancel:
  273. properties:
  274. accountid:
  275. description: 申请人账户ID
  276. type: integer
  277. applystatus:
  278. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  279. type: integer
  280. applytime:
  281. description: 申请时间
  282. type: string
  283. cancelid:
  284. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  285. type: integer
  286. cancelqty:
  287. description: 注销数量
  288. type: integer
  289. createtime:
  290. description: 创建时间
  291. type: string
  292. creatorid:
  293. description: 创建人ID
  294. type: integer
  295. creatorname:
  296. description: 创建人
  297. type: string
  298. goodscode:
  299. description: 订单商品代码
  300. type: string
  301. goodsid:
  302. description: 商品ID
  303. type: integer
  304. goodsname:
  305. description: 订单商品名称
  306. type: string
  307. goodunit:
  308. description: 报价单位
  309. type: string
  310. handlestatus:
  311. description: 处理状态
  312. type: integer
  313. marketid:
  314. description: 市场ID
  315. type: integer
  316. marketname:
  317. description: 市场名称
  318. type: string
  319. tradedate:
  320. description: 交易日(yyyyMMdd)
  321. type: string
  322. userid:
  323. description: 申请人ID
  324. type: integer
  325. required:
  326. - cancelid
  327. type: object
  328. cptrade.Cptradepresaleapply:
  329. properties:
  330. accountid:
  331. description: 申请人账户ID
  332. type: integer
  333. applyid:
  334. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  335. type: integer
  336. applyremark:
  337. description: 申请备注
  338. type: string
  339. applystatus:
  340. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  341. type: integer
  342. applytime:
  343. description: 申请时间
  344. type: string
  345. attachmenturl:
  346. description: 附件地址
  347. type: string
  348. endtime:
  349. description: 预售结束时间
  350. type: string
  351. goodscode:
  352. description: 商品代码
  353. type: string
  354. goodsid:
  355. description: 商品ID
  356. type: integer
  357. goodsname:
  358. description: 商品名称
  359. type: string
  360. goodunit:
  361. description: 报价单位
  362. type: string
  363. handlestatus:
  364. description: 处理状态
  365. type: integer
  366. marketid:
  367. description: 预售市场ID
  368. type: integer
  369. marketname:
  370. description: 预售市场名称
  371. type: string
  372. presaleqty:
  373. description: 预售数量
  374. type: integer
  375. relatedgoodscode:
  376. description: 关联交易合约代码
  377. type: string
  378. relatedgoodsid:
  379. description: 关联交易合约ID
  380. type: integer
  381. relatedgoodsname:
  382. description: 关联交易合约名称
  383. type: string
  384. starttime:
  385. description: 预售开始时间
  386. type: string
  387. tradedate:
  388. description: 交易日(yyyyMMdd)
  389. type: string
  390. trademode:
  391. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  392. type: integer
  393. userid:
  394. description: 申请人ID
  395. type: integer
  396. required:
  397. - applyid
  398. type: object
  399. cptrade.Cptradeusergoodsdata:
  400. properties:
  401. EnabledQty:
  402. description: 可用量
  403. type: integer
  404. GoodsCode:
  405. description: 订单商品代码
  406. type: string
  407. GoodsName:
  408. description: 订单商品名称
  409. type: string
  410. WRStandardCode:
  411. description: 仓单标准代码
  412. type: string
  413. WRStandardName:
  414. description: 仓单标准名称
  415. type: string
  416. accountid:
  417. description: 账户ID
  418. type: integer
  419. cancelqty:
  420. description: 注销量
  421. type: integer
  422. curpresaleqty:
  423. description: 当前预售量
  424. type: integer
  425. deliveryqty:
  426. description: 交割量
  427. type: integer
  428. freezeamount:
  429. description: 冻结金额
  430. type: number
  431. goodsid:
  432. description: 商品ID
  433. type: integer
  434. goodunit:
  435. description: 报价单位
  436. type: string
  437. hasspotfreeze:
  438. description: 是否有现货冻结 - 0:否 1:有
  439. type: integer
  440. inqty:
  441. description: 转入量(总数量)
  442. type: integer
  443. marketid:
  444. description: 市场ID
  445. type: integer
  446. presaledamount:
  447. description: 已预售总金额
  448. type: integer
  449. presaledqty:
  450. description: 已预售量
  451. type: integer
  452. userid:
  453. description: 用户ID
  454. type: integer
  455. wrstandardid:
  456. description: 仓单标准ID
  457. type: integer
  458. required:
  459. - accountid
  460. - goodsid
  461. type: object
  462. cptrade.QueryCPTradeMyBidRsp:
  463. properties:
  464. accountid:
  465. description: 账户ID[报价币种]
  466. type: integer
  467. goodsid:
  468. description: 商品ID
  469. type: integer
  470. goodunit:
  471. description: 报价单位
  472. type: string
  473. marketid:
  474. description: 市场ID
  475. type: integer
  476. orderid:
  477. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  478. type: integer
  479. orderprice:
  480. description: 委托价格
  481. type: number
  482. orderqty:
  483. description: 委托数量
  484. type: integer
  485. ordertime:
  486. description: 委托时间
  487. type: string
  488. ordertotalprice:
  489. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  490. type: number
  491. ordertotalweight:
  492. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  493. type: integer
  494. totaltotalprice:
  495. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  496. type: number
  497. tradeprice:
  498. description: 成交价格
  499. type: number
  500. tradeqty:
  501. description: 成交数量
  502. type: integer
  503. required:
  504. - accountid
  505. - goodsid
  506. - marketid
  507. - orderid
  508. - orderqty
  509. - ordertime
  510. - tradeprice
  511. - tradeqty
  512. type: object
  513. cptrade.QueryCPTradeOrderDetailRsq:
  514. properties:
  515. accountid:
  516. description: 账户ID[报价币种]
  517. type: integer
  518. buildtype:
  519. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  520. type: integer
  521. buyorsell:
  522. description: 买卖 - 0:买 1:卖
  523. type: integer
  524. cancelorderid:
  525. description: 撤单单号(撤单时填写)
  526. type: integer
  527. cancelqty:
  528. description: 撤单数量
  529. type: integer
  530. clientordertime:
  531. description: 客户端委托时间
  532. type: string
  533. clientticket:
  534. description: 客户端流水号
  535. type: string
  536. clienttype:
  537. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  538. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  539. type: integer
  540. closeexchagechargevalue:
  541. description: 平仓交易所手续费设置值
  542. type: number
  543. closefeealgorithm:
  544. description: 平仓手续费收取方式 1:比率 2:固定
  545. type: integer
  546. closefreezecharge:
  547. description: 平仓冻结手续费(先建后平操作,需要记录)
  548. type: number
  549. closememberchargevalue:
  550. description: 平仓会员手续费设置值
  551. type: number
  552. closeqty:
  553. description: 平仓数量(先建后平操作 需要记录)
  554. type: integer
  555. closetradeqty:
  556. description: 平仓成交数量(先建后平操作,需要记录)
  557. type: integer
  558. closeunfreezecharge:
  559. description: 平仓解冻手续费(先建后平操作,需要记录)
  560. type: number
  561. delistingtype:
  562. description: 摘牌类型 - 1:价格最优 2:点选成交
  563. type: integer
  564. freezecharge:
  565. description: 冻结手续费
  566. type: number
  567. freezemargin:
  568. description: 冻结保证金(冻结交易金额)
  569. type: number
  570. gcaccountid:
  571. description: 账户ID[合约币种]
  572. type: integer
  573. goodsid:
  574. description: 商品ID
  575. type: integer
  576. isconfirmexercise:
  577. description: 是否确认行权- 0:否 1:是
  578. type: integer
  579. ispreexercise:
  580. description: 是否预申报- 0:否 1:是
  581. type: integer
  582. listingselecttype:
  583. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  584. type: integer
  585. marginalgorithm:
  586. description: 保证金收取方式 1:比率 2:固定
  587. type: integer
  588. marginvalue:
  589. description: 即市保证金设置值
  590. type: number
  591. marketid:
  592. description: 市场ID
  593. type: integer
  594. marketmaxsub:
  595. description: 市价最大偏移范围
  596. type: number
  597. memberuserid:
  598. description: 所属会员UserID
  599. type: integer
  600. openexchagechargevalue:
  601. description: 建仓交易所手续费设置值
  602. type: number
  603. openfeealgorithm:
  604. description: 建仓手续费收取方式 1:比率 2:固定
  605. type: integer
  606. openfreezecharge:
  607. description: 开仓冻结手续费(先建后平操作,需要记录)
  608. type: number
  609. openmemberchargevalue:
  610. description: 建仓会员手续费设置值
  611. type: number
  612. openqty:
  613. description: 开仓数量(先建后平操作,需要记录)
  614. type: integer
  615. opentradeqty:
  616. description: 开仓成交数量(先建后平操作,需要记录)
  617. type: integer
  618. openunfreezecharge:
  619. description: 开仓解冻手续费(先建后平操作,需要记录)
  620. type: number
  621. operatetype:
  622. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  623. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  624. 15:管理端协议转让
  625. type: integer
  626. operatorid:
  627. description: 登录账号(LoginID)
  628. type: integer
  629. optiontype:
  630. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  631. type: integer
  632. orderprice:
  633. description: 委托价格
  634. type: number
  635. orderqty:
  636. description: 委托数量
  637. type: integer
  638. ordersrc:
  639. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  640. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  641. type: integer
  642. orderstatus:
  643. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  644. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  645. 16:成交失败违约(荷兰式竞拍专用)
  646. type: integer
  647. ordertime:
  648. description: 委托时间
  649. type: string
  650. preexerciseprice:
  651. description: 预申报价格
  652. type: number
  653. premium:
  654. description: 权利金
  655. type: number
  656. preorderid:
  657. description: 关联预埋单号(止盈止损单时填写)
  658. type: integer
  659. pricemode:
  660. description: '取价方式 - 1:市价 2: 限价'
  661. type: integer
  662. quoteid:
  663. description: 报价单ID
  664. type: integer
  665. relatedid:
  666. description: 关联单号(交割单)
  667. type: integer
  668. retcode:
  669. description: 错误代码
  670. type: integer
  671. sessionid:
  672. description: 会话ID
  673. type: integer
  674. strorderid:
  675. description: 委托单号
  676. type: string
  677. tradedate:
  678. description: 交易日(yyyyMMdd)
  679. type: string
  680. tradeproperty:
  681. description: 交易属性
  682. type: integer
  683. tradeqty:
  684. description: 成交数量
  685. type: integer
  686. unfreezecharge:
  687. description: 解冻手续费
  688. type: number
  689. unfreezemargin:
  690. description: 解冻保证金
  691. type: number
  692. updatetime:
  693. description: 更新时间
  694. type: string
  695. uuid:
  696. description: 发起端唯一id
  697. type: string
  698. validtime:
  699. description: 有效期限
  700. type: string
  701. validtype:
  702. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  703. type: integer
  704. volumetype:
  705. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  706. type: integer
  707. required:
  708. - accountid
  709. - buildtype
  710. - buyorsell
  711. - goodsid
  712. - marketid
  713. - memberuserid
  714. - operatetype
  715. - orderqty
  716. - ordertime
  717. - pricemode
  718. - strorderid
  719. - tradedate
  720. - validtype
  721. type: object
  722. cptrade.QueryMyCPTradeGoodsRsp:
  723. properties:
  724. accountid:
  725. description: 卖方账户ID
  726. type: integer
  727. agreeunit:
  728. description: 合约单位
  729. type: number
  730. applyid:
  731. description: 关联申请ID
  732. type: integer
  733. attachmenturl:
  734. description: 附件地址
  735. type: string
  736. createtime:
  737. description: 创建时间
  738. type: string
  739. currencyid:
  740. description: 报价货币ID
  741. type: integer
  742. decimalplace:
  743. description: 报价小数位
  744. type: integer
  745. endtime:
  746. description: 预售结束时间
  747. type: string
  748. floorprice:
  749. description: 底价[大宗式竞拍]
  750. type: number
  751. goodscode:
  752. description: 商品代码(预售)
  753. type: string
  754. goodsdetail:
  755. description: 详情[大宗]
  756. type: string
  757. goodsid:
  758. description: 商品ID(自增ID SEQ_GOODS)
  759. type: integer
  760. goodsname:
  761. description: 商品名称(预售)
  762. type: string
  763. goodunit:
  764. description: 报价单位
  765. type: string
  766. goodunitid:
  767. description: 报价单位ID
  768. type: integer
  769. marketid:
  770. description: 所属市场ID
  771. type: integer
  772. marketname:
  773. description: 预售市场名称
  774. type: string
  775. presaledamount:
  776. description: 已预售总金额(预售结束时更新)
  777. type: number
  778. presaledqty:
  779. description: 已预售量(预售结束时更新)
  780. type: integer
  781. presalemode:
  782. description: 预售模式 - 1:一口价 2:大宗式竞拍
  783. type: integer
  784. presaleqty:
  785. description: 预售数量
  786. type: integer
  787. refprice:
  788. description: 参考价格[一口价]
  789. type: number
  790. relatedgoodscode:
  791. description: 商品代码(订单)
  792. type: string
  793. relatedgoodsid:
  794. description: 关联交易合约ID
  795. type: integer
  796. relatedgoodsname:
  797. description: 商品名称(订单)
  798. type: string
  799. relatedmarketid:
  800. description: 关联交易合约市场ID
  801. type: integer
  802. sellstatus:
  803. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  804. type: integer
  805. startprice:
  806. description: 起拍价[大宗式竞拍]
  807. type: number
  808. starttime:
  809. description: 预售开始时间
  810. type: string
  811. tradedate:
  812. description: 交易日(yyyyMMdd)
  813. type: string
  814. tradeprice:
  815. description: 成交价[大宗]
  816. type: number
  817. userid:
  818. description: 卖方用户ID
  819. type: integer
  820. required:
  821. - goodscode
  822. - goodsid
  823. - goodsname
  824. - marketid
  825. - relatedgoodscode
  826. - relatedgoodsname
  827. type: object
  828. cptrade.QueryPresaleGoodsExRsp:
  829. properties:
  830. attachmenturl:
  831. description: 附件地址
  832. type: string
  833. createtime:
  834. description: 创建时间
  835. type: string
  836. endtime:
  837. description: 预售结束时间
  838. type: string
  839. floorprice:
  840. description: 底价[大宗式竞拍]
  841. type: number
  842. goodsdetail:
  843. description: 详情[大宗]
  844. type: string
  845. goodsid:
  846. description: 商品ID(预售)
  847. type: integer
  848. goodunit:
  849. description: 报价单位
  850. type: string
  851. marketid:
  852. description: 预售市场ID - 根据预售模式选择市场
  853. type: integer
  854. presaledamount:
  855. description: 已预售总金额(预售结束时更新)
  856. type: number
  857. presaledqty:
  858. description: 已预售量(预售结束时更新)
  859. type: integer
  860. presalemode:
  861. description: 预售模式 - 1:一口价 2:大宗式竞拍
  862. type: integer
  863. presaleqty:
  864. description: 预售数量
  865. type: integer
  866. refprice:
  867. description: 参考价格[一口价]
  868. type: number
  869. relatedgoodsid:
  870. description: 关联交易合约ID
  871. type: integer
  872. relatedmarketid:
  873. description: 关联交易合约市场ID
  874. type: integer
  875. sellstatus:
  876. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  877. type: integer
  878. startprice:
  879. description: 起拍价[大宗式竞拍]
  880. type: number
  881. starttime:
  882. description: 预售开始时间
  883. type: string
  884. tradedate:
  885. description: 交易日(yyyyMMdd)
  886. type: string
  887. tradeprice:
  888. description: 成交价[大宗]
  889. type: number
  890. required:
  891. - goodsid
  892. type: object
  893. delivery.QueryDeliveryRelationRsp:
  894. properties:
  895. begindate:
  896. description: 起始日期(yyyyMMdd)
  897. type: string
  898. buytemplateid:
  899. description: 买履约计划模板ID
  900. type: integer
  901. deliverygoodscode:
  902. description: 品种代码
  903. type: string
  904. deliverygoodsid:
  905. description: 交割商品
  906. type: integer
  907. deliverygoodsname:
  908. description: 品种名称
  909. type: string
  910. deliverymode:
  911. description: 交割方式 - 1:点选式 2:申报式
  912. type: integer
  913. deliverypricerule:
  914. description: 交割价规则- 1:行情价 2:建仓价
  915. type: integer
  916. deliverytype:
  917. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  918. type: integer
  919. enddate:
  920. description: 结束日期(yyyyMMdd)
  921. type: string
  922. enumdicname:
  923. description: 品类单位名称
  924. type: string
  925. goodscode:
  926. description: 商品代码
  927. type: string
  928. goodsid:
  929. description: 交易合约ID
  930. type: integer
  931. goodsname:
  932. description: 商品名称
  933. type: string
  934. marketid:
  935. description: 市场ID
  936. type: integer
  937. mindeliveryqty:
  938. description: 最小交割系数(K)
  939. type: integer
  940. p2deliveryprice:
  941. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  942. type: number
  943. p2deliveryratio:
  944. description: P2合约系数(p)
  945. type: integer
  946. p2goodsid:
  947. description: P2合约ID
  948. type: integer
  949. p2pricemode:
  950. description: P2合约价格方式 - 1:商品价 2:固定值
  951. type: integer
  952. pdeliveryprice:
  953. description: P合约价格(商品价时填写0,固定值时填写固定值)
  954. type: number
  955. pdeliveryratio:
  956. description: P合约系数(n)
  957. type: integer
  958. pgoodscode:
  959. description: p合约代码
  960. type: string
  961. pgoodsid:
  962. description: P合约ID
  963. type: integer
  964. ppricemode:
  965. description: P合约价格方式 - 1:商品价 2:固定值
  966. type: integer
  967. rratio:
  968. description: 兑换系数(R)
  969. type: integer
  970. rratio1:
  971. description: 兑换系数(交易合约)(R1)
  972. type: integer
  973. rratio2:
  974. description: 兑换系数(仓单标准)(R2)
  975. type: integer
  976. selltemplateid:
  977. description: 卖履约计划模板ID
  978. type: integer
  979. wrstandardid:
  980. description: 仓单标准ID
  981. type: integer
  982. xdeliveryratio:
  983. description: 交易合约系数(m)
  984. type: integer
  985. required:
  986. - begindate
  987. - enddate
  988. - goodsid
  989. - mindeliveryqty
  990. - xdeliveryratio
  991. type: object
  992. ermcp.ExposureDetailRsp:
  993. properties:
  994. areauserid:
  995. description: 机构ID
  996. type: integer
  997. changeQty:
  998. description: 套保变动量
  999. type: number
  1000. contracttype:
  1001. description: 现货合同类型 - 1:采购 -1:销售
  1002. type: integer
  1003. convertfactor:
  1004. description: 标仓系数
  1005. type: number
  1006. convertratio:
  1007. description: 套保系数
  1008. type: number
  1009. createtime:
  1010. description: 时间
  1011. type: string
  1012. enumdicname:
  1013. description: 现货商品单位名称
  1014. type: string
  1015. logtype:
  1016. description: 类型 - 1:套保计划 2:现货合同
  1017. type: integer
  1018. middlegoodsId:
  1019. description: 套保商品id
  1020. type: integer
  1021. middlegoodscode:
  1022. description: 套保商品代码
  1023. type: string
  1024. middlegoodsname:
  1025. description: 套保商品名称
  1026. type: string
  1027. qty:
  1028. description: 数量
  1029. type: number
  1030. relateNo:
  1031. description: 现货合同/套保计划编号
  1032. type: string
  1033. wrstandardcode:
  1034. description: 现货商品代码
  1035. type: string
  1036. wrstandardid:
  1037. description: 现货商品ID
  1038. type: integer
  1039. wrstandardname:
  1040. description: 现货商品名称
  1041. type: string
  1042. type: object
  1043. ermcp.ExposureHedgePosDetailRsp:
  1044. properties:
  1045. buyorsell:
  1046. description: 买卖方向 0-买 1-卖
  1047. type: integer
  1048. channelbuildtype:
  1049. description: 开平方向 1-建仓 2-平仓
  1050. type: integer
  1051. goodscode:
  1052. description: 商品代码
  1053. type: string
  1054. goodsname:
  1055. description: 商品名称
  1056. type: string
  1057. hedgegoodsid:
  1058. description: 商品id
  1059. type: integer
  1060. tradeqty:
  1061. description: 数量(成交数量)
  1062. type: integer
  1063. tradetime:
  1064. description: 时间(成交时间)
  1065. type: string
  1066. type: object
  1067. ermcp.ExposureHedgePositionRsp:
  1068. properties:
  1069. accountid:
  1070. description: 资金账号[外部母账户]
  1071. type: integer
  1072. curbuyposition:
  1073. description: 期末买头寸
  1074. type: integer
  1075. cursellposition:
  1076. description: 期末卖头寸
  1077. type: integer
  1078. curtdbuyposition:
  1079. description: 期末今日买头寸
  1080. type: integer
  1081. curtdsellposition:
  1082. description: 期末今日卖头寸
  1083. type: integer
  1084. curydbuyposition:
  1085. description: 期末上日买头寸
  1086. type: integer
  1087. curydsellposition:
  1088. description: 期末上日卖头寸
  1089. type: integer
  1090. decreaseqty:
  1091. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1092. type: integer
  1093. fretdbuyposition:
  1094. description: 冻结今日买头寸
  1095. type: integer
  1096. fretdsellposition:
  1097. description: 冻结今日卖头寸
  1098. type: integer
  1099. freydbuyposition:
  1100. description: 冻结上日买头寸
  1101. type: integer
  1102. freydsellposition:
  1103. description: 冻结上日卖头寸
  1104. type: integer
  1105. goodscode:
  1106. description: 商品代码
  1107. type: string
  1108. goodsid:
  1109. description: 商品id
  1110. type: integer
  1111. goodsname:
  1112. description: 商品名称
  1113. type: string
  1114. hedgeaccountcode:
  1115. description: 对冲账号
  1116. type: string
  1117. hedgegoodsid:
  1118. description: 对冲合约ID
  1119. type: integer
  1120. increaseqty:
  1121. description: 增加数量 = 期末买头寸 - 期初买头寸
  1122. type: integer
  1123. marketid:
  1124. description: 市场ID
  1125. type: integer
  1126. relateduserid:
  1127. description: 关联用户id
  1128. type: integer
  1129. totalcurqty:
  1130. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1131. type: integer
  1132. totalydqty:
  1133. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1134. type: integer
  1135. tradedate:
  1136. description: 交易日(yyyyMMdd)
  1137. type: string
  1138. ydbuyposition:
  1139. description: 期初买头寸
  1140. type: integer
  1141. ydsellposition:
  1142. description: 期初卖头寸
  1143. type: integer
  1144. type: object
  1145. ermcp.ExposureSpotDetailRsp:
  1146. properties:
  1147. contracttype:
  1148. description: 合同类型 1-采购 -1-销售
  1149. type: integer
  1150. createtime:
  1151. description: 创建时间
  1152. type: string
  1153. enumdicname:
  1154. description: 现货商品单位名称
  1155. type: string
  1156. logtype:
  1157. description: 记录类型 1-套保 2-现货合同
  1158. type: integer
  1159. qty:
  1160. description: 数量
  1161. type: number
  1162. recordname:
  1163. description: 类型名称
  1164. type: string
  1165. relatedid:
  1166. description: 套保计划ID/现货合同ID
  1167. type: string
  1168. relatedno:
  1169. description: 编号
  1170. type: string
  1171. strtime:
  1172. description: 时间
  1173. type: string
  1174. wrstandardcode:
  1175. description: 现货商品代码
  1176. type: string
  1177. wrstandardname:
  1178. description: 现货商品名称
  1179. type: string
  1180. type: object
  1181. ermcp.ExposureSpotRsp:
  1182. properties:
  1183. areauserid:
  1184. description: 所属机构
  1185. type: integer
  1186. decreaseqty:
  1187. description: 减少数量=-(销售已定价数量+采购计划数量)
  1188. type: number
  1189. increaseqty:
  1190. description: 增加数量=销售计划数量+采购已定价数量
  1191. type: number
  1192. oritoalspotqty:
  1193. description: 昨日数量
  1194. type: number
  1195. totalspotqty:
  1196. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1197. type: number
  1198. updatetime:
  1199. description: 更新时间
  1200. type: string
  1201. wrstandardcode:
  1202. description: 现货品种代码
  1203. type: string
  1204. wrstandardid:
  1205. description: 现货商品ID
  1206. type: integer
  1207. wrstandardname:
  1208. description: 现货品种
  1209. type: string
  1210. type: object
  1211. ermcp.HisExposureRsp:
  1212. properties:
  1213. data:
  1214. description: 历史敞口
  1215. items:
  1216. $ref: '#/definitions/models.ErmcpHisExposure'
  1217. type: array
  1218. enumdicname:
  1219. description: 单位名称
  1220. type: string
  1221. middlegoodscode:
  1222. description: 套保品种代码
  1223. type: string
  1224. middlegoodsid:
  1225. description: 套保品种ID
  1226. type: integer
  1227. middlegoodsname:
  1228. description: 套保品种名称
  1229. type: string
  1230. type: object
  1231. ermcp.PendingAuditCntRsp:
  1232. properties:
  1233. areastockqty:
  1234. description: '待审核数量: 库存申请'
  1235. type: integer
  1236. businessdjqty:
  1237. description: '待审核数量: 点价'
  1238. type: integer
  1239. businessfpqty:
  1240. description: '待审核数量: 发票'
  1241. type: integer
  1242. businessjsqty:
  1243. description: '待审核数量: 结算'
  1244. type: integer
  1245. businesskxqty:
  1246. description: '待审核数量: 款项'
  1247. type: integer
  1248. hedgeplanqty:
  1249. description: '待审核数量: 套保计划'
  1250. type: integer
  1251. spotcontractqty:
  1252. description: '待审核数量: 现货合同'
  1253. type: integer
  1254. userqty:
  1255. description: '待审核数量: 用户'
  1256. type: integer
  1257. type: object
  1258. ermcp.QryAvalidGPRsp:
  1259. properties:
  1260. goodsgroupid:
  1261. description: 期货品种id
  1262. type: integer
  1263. goodsgroupname:
  1264. description: 期货品种名称
  1265. type: string
  1266. goodunitid:
  1267. description: 品种单位id
  1268. type: integer
  1269. goodunitname:
  1270. description: 品种单位名称
  1271. type: string
  1272. outergroupcode:
  1273. description: 期货品种代码
  1274. type: string
  1275. type: object
  1276. ermcp.QryBusinessDjRsp:
  1277. properties:
  1278. amount:
  1279. description: 点价金额=(点价价格+升贴水)*点价数量
  1280. type: number
  1281. applyid:
  1282. description: 申请人
  1283. type: string
  1284. applyname:
  1285. description: 申请人名称
  1286. type: string
  1287. applystatus:
  1288. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1289. type: integer
  1290. applytime:
  1291. description: 申请时间
  1292. type: string
  1293. attachurl:
  1294. description: 附件
  1295. type: string
  1296. auditid:
  1297. description: 审核人ID
  1298. type: string
  1299. auditname:
  1300. description: 审核人名称
  1301. type: string
  1302. auditremark:
  1303. description: 审核备注
  1304. type: string
  1305. audittime:
  1306. description: 审核时间
  1307. type: string
  1308. buyusername:
  1309. description: 采购方名称
  1310. type: string
  1311. contractno:
  1312. description: 合同编号
  1313. type: string
  1314. contractstatus:
  1315. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1316. type: integer
  1317. contracttype:
  1318. description: 现货合同类型 - 1:采购 -1:销售
  1319. type: integer
  1320. deliverygoodscode:
  1321. description: 现货品种代码
  1322. type: string
  1323. deliverygoodsid:
  1324. description: 现货商品ID
  1325. type: integer
  1326. deliverygoodsname:
  1327. description: 现货品种名称
  1328. type: string
  1329. enumdicname:
  1330. description: 单位名称
  1331. type: string
  1332. goodscode:
  1333. description: 点价合约
  1334. type: string
  1335. goodsname:
  1336. description: 商品名称
  1337. type: string
  1338. operateapplyid:
  1339. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1340. type: string
  1341. operateapplytype:
  1342. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1343. type: integer
  1344. pricedPrice:
  1345. description: 点价价格(非必填)
  1346. type: number
  1347. pricedQty:
  1348. description: 点价数量(非必填)
  1349. type: number
  1350. pricemove:
  1351. description: 升贴水
  1352. type: number
  1353. pricetype:
  1354. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1355. type: integer
  1356. relatedid:
  1357. description: 现货合同ID
  1358. type: string
  1359. sellusername:
  1360. description: 销售方名字
  1361. type: string
  1362. userid:
  1363. description: 用户ID
  1364. type: integer
  1365. wrstandardcode:
  1366. description: 品类代码
  1367. type: string
  1368. wrstandardid:
  1369. description: 品类id
  1370. type: integer
  1371. wrstandardname:
  1372. description: 品类名称
  1373. type: string
  1374. type: object
  1375. ermcp.QryBussinessFpRsp:
  1376. properties:
  1377. applyid:
  1378. description: 申请人
  1379. type: string
  1380. applyname:
  1381. description: 申请人名称
  1382. type: string
  1383. applystatus:
  1384. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1385. type: integer
  1386. applytime:
  1387. description: 申请时间
  1388. type: string
  1389. attachurl:
  1390. description: 附件
  1391. type: string
  1392. auditid:
  1393. description: 审核人ID
  1394. type: string
  1395. auditname:
  1396. description: 审核人名称
  1397. type: string
  1398. auditremark:
  1399. description: 审核备注
  1400. type: string
  1401. audittime:
  1402. description: 审核时间
  1403. type: string
  1404. buyusername:
  1405. description: 采购方名称
  1406. type: string
  1407. contractno:
  1408. description: 合同编号
  1409. type: string
  1410. contractstatus:
  1411. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1412. type: integer
  1413. contracttype:
  1414. description: 现货合同类型 - 1:采购 -1:销售
  1415. type: integer
  1416. deliverygoodscode:
  1417. description: 现货品种代码
  1418. type: string
  1419. deliverygoodsid:
  1420. description: 现货商品ID
  1421. type: integer
  1422. deliverygoodsname:
  1423. description: 现货品种名称
  1424. type: string
  1425. enumdicname:
  1426. description: 单位名称
  1427. type: string
  1428. goodscode:
  1429. description: 点价合约
  1430. type: string
  1431. goodsname:
  1432. description: 商品名称
  1433. type: string
  1434. invoiceamount:
  1435. description: 已开收票金额(销售为开票,采购为收票)
  1436. type: number
  1437. operateapplyid:
  1438. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1439. type: string
  1440. operateapplytype:
  1441. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1442. type: integer
  1443. pricemove:
  1444. description: 升贴水
  1445. type: number
  1446. pricetype:
  1447. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1448. type: integer
  1449. relatedid:
  1450. description: 现货合同ID
  1451. type: string
  1452. sellusername:
  1453. description: 销售方名字
  1454. type: string
  1455. userid:
  1456. description: 用户ID
  1457. type: integer
  1458. wrstandardcode:
  1459. description: 品类代码
  1460. type: string
  1461. wrstandardid:
  1462. description: 品类id
  1463. type: integer
  1464. wrstandardname:
  1465. description: 品类名称
  1466. type: string
  1467. type: object
  1468. ermcp.QryBussinessJsExRsp:
  1469. properties:
  1470. applyid:
  1471. description: 申请人
  1472. type: string
  1473. applyname:
  1474. description: 申请人名称
  1475. type: string
  1476. applystatus:
  1477. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1478. type: integer
  1479. applytime:
  1480. description: 申请时间
  1481. type: string
  1482. attachurl:
  1483. description: 附件
  1484. type: string
  1485. auditid:
  1486. description: 审核人ID
  1487. type: string
  1488. auditname:
  1489. description: 审核人名称
  1490. type: string
  1491. auditremark:
  1492. description: 审核备注
  1493. type: string
  1494. audittime:
  1495. description: 审核时间
  1496. type: string
  1497. buyusername:
  1498. description: 采购方名称
  1499. type: string
  1500. contractno:
  1501. description: 合同编号
  1502. type: string
  1503. contractstatus:
  1504. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1505. type: integer
  1506. contracttype:
  1507. description: 现货合同类型 - 1:采购 -1:销售
  1508. type: integer
  1509. deliverygoodscode:
  1510. description: 现货品种代码
  1511. type: string
  1512. deliverygoodsid:
  1513. description: 现货商品ID
  1514. type: integer
  1515. deliverygoodsname:
  1516. description: 现货品种名称
  1517. type: string
  1518. enumdicname:
  1519. description: 单位名称
  1520. type: string
  1521. goodscode:
  1522. description: 点价合约
  1523. type: string
  1524. goodsname:
  1525. description: 商品名称
  1526. type: string
  1527. operateapplyid:
  1528. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1529. type: string
  1530. operateapplytype:
  1531. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1532. type: integer
  1533. pricemove:
  1534. description: 升贴水
  1535. type: number
  1536. pricetype:
  1537. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1538. type: integer
  1539. reckontype:
  1540. description: 结算类型
  1541. type: string
  1542. reckonvalue:
  1543. description: 值
  1544. type: number
  1545. relatedid:
  1546. description: 现货合同ID
  1547. type: string
  1548. sellusername:
  1549. description: 销售方名字
  1550. type: string
  1551. userid:
  1552. description: 用户ID
  1553. type: integer
  1554. wrstandardcode:
  1555. description: 品类代码
  1556. type: string
  1557. wrstandardid:
  1558. description: 品类id
  1559. type: integer
  1560. wrstandardname:
  1561. description: 品类名称
  1562. type: string
  1563. type: object
  1564. ermcp.QryBussinessJsRsp:
  1565. properties:
  1566. addmargin:
  1567. description: 追加保证金(非必填)
  1568. type: number
  1569. applyid:
  1570. description: 申请人
  1571. type: string
  1572. applyname:
  1573. description: 申请人名称
  1574. type: string
  1575. applystatus:
  1576. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1577. type: integer
  1578. applytime:
  1579. description: 申请时间
  1580. type: string
  1581. attachurl:
  1582. description: 附件
  1583. type: string
  1584. auditid:
  1585. description: 审核人ID
  1586. type: string
  1587. auditname:
  1588. description: 审核人名称
  1589. type: string
  1590. auditremark:
  1591. description: 审核备注
  1592. type: string
  1593. audittime:
  1594. description: 审核时间
  1595. type: string
  1596. buyusername:
  1597. description: 采购方名称
  1598. type: string
  1599. contractno:
  1600. description: 合同编号
  1601. type: string
  1602. contractstatus:
  1603. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1604. type: integer
  1605. contracttype:
  1606. description: 现货合同类型 - 1:采购 -1:销售
  1607. type: integer
  1608. decmargin:
  1609. description: 减少保证金(非必填)
  1610. type: number
  1611. deliverygoodscode:
  1612. description: 现货品种代码
  1613. type: string
  1614. deliverygoodsid:
  1615. description: 现货商品ID
  1616. type: integer
  1617. deliverygoodsname:
  1618. description: 现货品种名称
  1619. type: string
  1620. enumdicname:
  1621. description: 单位名称
  1622. type: string
  1623. goodscode:
  1624. description: 点价合约
  1625. type: string
  1626. goodsname:
  1627. description: 商品名称
  1628. type: string
  1629. operateapplyid:
  1630. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1631. type: string
  1632. operateapplytype:
  1633. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1634. type: integer
  1635. pricemove:
  1636. description: 升贴水
  1637. type: number
  1638. pricetype:
  1639. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1640. type: integer
  1641. reckonadjustamount:
  1642. description: 结算调整金额(非必填)
  1643. type: number
  1644. reckonosamount:
  1645. description: 结算溢短金额(非必填)
  1646. type: number
  1647. reckonotheramount:
  1648. description: 结算其他费用(非必填)
  1649. type: number
  1650. reckonrealqty:
  1651. description: 结算实际数量(非必填)
  1652. type: number
  1653. relatedid:
  1654. description: 现货合同ID
  1655. type: string
  1656. sellusername:
  1657. description: 销售方名字
  1658. type: string
  1659. userid:
  1660. description: 用户ID
  1661. type: integer
  1662. wrstandardcode:
  1663. description: 品类代码
  1664. type: string
  1665. wrstandardid:
  1666. description: 品类id
  1667. type: integer
  1668. wrstandardname:
  1669. description: 品类名称
  1670. type: string
  1671. type: object
  1672. ermcp.QryBussinessKxRsp:
  1673. properties:
  1674. applyid:
  1675. description: 申请人
  1676. type: string
  1677. applyname:
  1678. description: 申请人名称
  1679. type: string
  1680. applystatus:
  1681. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1682. type: integer
  1683. applytime:
  1684. description: 申请时间
  1685. type: string
  1686. attachurl:
  1687. description: 附件
  1688. type: string
  1689. auditid:
  1690. description: 审核人ID
  1691. type: string
  1692. auditname:
  1693. description: 审核人名称
  1694. type: string
  1695. auditremark:
  1696. description: 审核备注
  1697. type: string
  1698. audittime:
  1699. description: 审核时间
  1700. type: string
  1701. buyusername:
  1702. description: 采购方名称
  1703. type: string
  1704. contractno:
  1705. description: 合同编号
  1706. type: string
  1707. contractstatus:
  1708. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1709. type: integer
  1710. contracttype:
  1711. description: 现货合同类型 - 1:采购 -1:销售
  1712. type: integer
  1713. deductamount:
  1714. description: 退款(非必填)
  1715. type: number
  1716. deliverygoodscode:
  1717. description: 现货品种代码
  1718. type: string
  1719. deliverygoodsid:
  1720. description: 现货商品ID
  1721. type: integer
  1722. deliverygoodsname:
  1723. description: 现货品种名称
  1724. type: string
  1725. enumdicname:
  1726. description: 单位名称
  1727. type: string
  1728. goodscode:
  1729. description: 点价合约
  1730. type: string
  1731. goodsname:
  1732. description: 商品名称
  1733. type: string
  1734. kxtype:
  1735. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1736. type: integer
  1737. operateapplyid:
  1738. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1739. type: string
  1740. operateapplytype:
  1741. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1742. type: integer
  1743. payamount:
  1744. description: 收付款(非必填)
  1745. type: number
  1746. pricemove:
  1747. description: 升贴水
  1748. type: number
  1749. pricetype:
  1750. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1751. type: integer
  1752. relatedid:
  1753. description: 现货合同ID
  1754. type: string
  1755. sellusername:
  1756. description: 销售方名字
  1757. type: string
  1758. userid:
  1759. description: 用户ID
  1760. type: integer
  1761. wrstandardcode:
  1762. description: 品类代码
  1763. type: string
  1764. wrstandardid:
  1765. description: 品类id
  1766. type: integer
  1767. wrstandardname:
  1768. description: 品类名称
  1769. type: string
  1770. type: object
  1771. ermcp.QryGGCovertCfgRsp:
  1772. properties:
  1773. convertratio:
  1774. description: 折算系数
  1775. type: number
  1776. destgoodsgroupid:
  1777. description: 目标品种ID
  1778. type: integer
  1779. dstcode:
  1780. description: 目录品种代码
  1781. type: string
  1782. dstexchangecode:
  1783. description: 目标期货交易所
  1784. type: string
  1785. dstname:
  1786. description: 目标品种名称
  1787. type: string
  1788. dstunitid:
  1789. description: 目标品种单位ID
  1790. type: integer
  1791. dstunitidname:
  1792. description: 目标品种单位名称
  1793. type: string
  1794. modifytime:
  1795. description: 修改时间
  1796. type: string
  1797. srccode:
  1798. description: 源品种代码
  1799. type: string
  1800. srcexchangecode:
  1801. description: 源期货交易所
  1802. type: string
  1803. srcgoodsgroupid:
  1804. description: 源品种ID
  1805. type: integer
  1806. srcname:
  1807. description: 源品种名称
  1808. type: string
  1809. srcunitid:
  1810. description: 源品种单位ID
  1811. type: integer
  1812. srcunitidname:
  1813. description: 源品种单位名称
  1814. type: string
  1815. type: object
  1816. ermcp.QryMGChangeLogRsp:
  1817. properties:
  1818. aftervalue:
  1819. description: 变更后
  1820. type: number
  1821. applyid:
  1822. description: 操作人
  1823. type: integer
  1824. applyname:
  1825. description: 操作人名称
  1826. type: string
  1827. applysrc:
  1828. description: 操作来源 - 1:管理端 2:终端
  1829. type: integer
  1830. beforevalue:
  1831. description: 变更前
  1832. type: number
  1833. changelogtype:
  1834. description: 变更流水类型 - 1:套保比率变更
  1835. type: integer
  1836. handlestatus:
  1837. description: 处理状态
  1838. type: integer
  1839. logdatetime:
  1840. description: 流水日期
  1841. type: string
  1842. logid:
  1843. description: 流水ID
  1844. type: integer
  1845. logremark:
  1846. description: 流水备注
  1847. type: string
  1848. middlegoodsid:
  1849. description: 套保品种ID
  1850. type: integer
  1851. tradedate:
  1852. description: 交易日(yyyyMMdd)
  1853. type: string
  1854. updatetime:
  1855. description: 更新时间
  1856. type: string
  1857. type: object
  1858. ermcp.QryMiddleGoodsDetailRsp:
  1859. properties:
  1860. cvList:
  1861. description: 期货品种折算列表
  1862. items:
  1863. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1864. type: array
  1865. mg:
  1866. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1867. description: 套保品种基本信息
  1868. wrcList:
  1869. description: 现货品种列表(现货商品折算配置)
  1870. items:
  1871. $ref: '#/definitions/models.WRSConverTDetail'
  1872. type: array
  1873. type: object
  1874. ermcp.QryMiddleGoodsRsp:
  1875. properties:
  1876. areauserid:
  1877. description: 机构用户ID
  1878. type: integer
  1879. createtime:
  1880. description: 修改时间
  1881. type: string
  1882. enumdicname:
  1883. description: 单位名称
  1884. type: string
  1885. evaluateratio:
  1886. description: 估价系数
  1887. type: number
  1888. goodsgroupid:
  1889. description: 关联期货品种ID
  1890. type: integer
  1891. goodsunitid:
  1892. description: 单位ID
  1893. type: integer
  1894. isvalid:
  1895. description: 状态 0-无效(停用) 1-有效(正常)
  1896. type: integer
  1897. middlegoodscode:
  1898. description: 套保品种代码
  1899. type: string
  1900. middlegoodsid:
  1901. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1902. type: integer
  1903. middlegoodsname:
  1904. description: 套保品种名称
  1905. type: string
  1906. modifytime:
  1907. description: 修改时间
  1908. type: string
  1909. needarbitrageratio:
  1910. description: 套利比例
  1911. type: number
  1912. needhedgeratio:
  1913. description: 套保比率
  1914. type: number
  1915. qtydecimalplace:
  1916. description: 数量小数位
  1917. type: integer
  1918. relatedgoodsid:
  1919. description: 关联交易商品ID
  1920. type: integer
  1921. relatedgoodstype:
  1922. description: 关联商品类型 - 1:期货合约 2:现货品种
  1923. type: integer
  1924. remark:
  1925. description: 备注
  1926. type: string
  1927. type: object
  1928. ermcp.QryOPLogRsp:
  1929. properties:
  1930. aftervalue:
  1931. description: 变更后
  1932. type: number
  1933. applyid:
  1934. description: 操作人ID
  1935. type: string
  1936. applyname:
  1937. description: 操作人名称
  1938. type: string
  1939. beforevalue:
  1940. description: 变更前
  1941. type: number
  1942. biztype:
  1943. description: 业务类型 - 1:套保计划 2:现货合同
  1944. type: integer
  1945. contracttype:
  1946. description: 现货合同类型 - 1:采购 -1:销售
  1947. type: integer
  1948. logvalue:
  1949. description: 数值
  1950. type: number
  1951. operatelogtype:
  1952. description: 操作流水类型
  1953. type: integer
  1954. operatelogtypedesc:
  1955. description: 操作流水类型名称
  1956. type: string
  1957. relatedid:
  1958. description: 现货合同ID\套保计划
  1959. type: string
  1960. updatetime:
  1961. description: 更新时间
  1962. type: string
  1963. type: object
  1964. ermcp.QryUserInfoRsp:
  1965. properties:
  1966. address:
  1967. description: 通讯地址
  1968. type: string
  1969. attachment1:
  1970. description: 附件1
  1971. type: string
  1972. audittime:
  1973. description: 审核时间
  1974. type: string
  1975. cardbackphotourl:
  1976. description: 证件反面图片地址
  1977. type: string
  1978. cardfrontphotourl:
  1979. description: 证件正面图片地址
  1980. type: string
  1981. cardnum:
  1982. description: 证件号码
  1983. type: string
  1984. cardtype:
  1985. description: 证件类型
  1986. type: integer
  1987. cardtypename:
  1988. description: 证件类型名称
  1989. type: string
  1990. cityid:
  1991. description: 市
  1992. type: integer
  1993. contactname:
  1994. description: 联系人
  1995. type: string
  1996. countryid:
  1997. description: 国家
  1998. type: integer
  1999. createtime:
  2000. description: 创建时间
  2001. type: string
  2002. customername:
  2003. description: 企业名称
  2004. type: string
  2005. districtid:
  2006. description: 区域
  2007. type: integer
  2008. email:
  2009. description: 邮件
  2010. type: string
  2011. legalpersonname:
  2012. description: 法人姓名(企业)
  2013. type: string
  2014. memberuserid:
  2015. description: 所属机构ID
  2016. type: integer
  2017. mobile:
  2018. description: 手机号码
  2019. type: string
  2020. modifytime:
  2021. description: 修改时间
  2022. type: string
  2023. nickname:
  2024. description: 昵称
  2025. type: string
  2026. provinceid:
  2027. description: 省
  2028. type: integer
  2029. remark:
  2030. description: 备注
  2031. type: string
  2032. status:
  2033. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2034. type: integer
  2035. statusdesc:
  2036. description: 账户状态中文描述
  2037. type: string
  2038. taxpayernum:
  2039. description: 纳税人识别号
  2040. type: string
  2041. telphone:
  2042. description: 联系电话
  2043. type: string
  2044. userid:
  2045. description: 用户ID
  2046. type: integer
  2047. userinfotype:
  2048. description: 客户类型
  2049. type: string
  2050. type: object
  2051. ermcp.QryWarehouseRsp:
  2052. properties:
  2053. address:
  2054. description: 详细地址
  2055. type: string
  2056. areauserid:
  2057. description: 所属机构
  2058. type: integer
  2059. autoid:
  2060. description: 自增ID(仓库ID)
  2061. type: integer
  2062. cityid:
  2063. description: 市
  2064. type: integer
  2065. contactname:
  2066. description: 联系人
  2067. type: string
  2068. contactnum:
  2069. description: 联系电话
  2070. type: string
  2071. countryid:
  2072. description: 国家
  2073. type: integer
  2074. createtime:
  2075. description: 创建时间
  2076. type: string
  2077. districtid:
  2078. description: 区
  2079. type: integer
  2080. hasvideo:
  2081. description: 是否有视频 - 0:无 1:有
  2082. type: integer
  2083. provinceid:
  2084. description: 省
  2085. type: integer
  2086. remark:
  2087. description: 审核备注
  2088. type: string
  2089. videourl:
  2090. description: 视频地址
  2091. type: string
  2092. warehousecode:
  2093. description: 仓库代码
  2094. type: string
  2095. warehousename:
  2096. description: 仓库名称
  2097. type: string
  2098. warehousestatus:
  2099. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2100. type: integer
  2101. warehousetype:
  2102. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2103. type: integer
  2104. type: object
  2105. ermcp.QueryErmcpTradePositionRsp:
  2106. properties:
  2107. agreeunit:
  2108. description: 合约单位
  2109. type: number
  2110. buyorsell:
  2111. description: 方向 - 0:买 1:卖
  2112. type: integer
  2113. curpositionqty:
  2114. description: 持仓(总仓数量, 期末头寸)
  2115. type: integer
  2116. curtdposition:
  2117. description: 今仓数量(期末今日头寸)
  2118. type: integer
  2119. curtdpositionenabled:
  2120. description: 今仓可用
  2121. type: integer
  2122. decimalplace:
  2123. description: 报价小数位
  2124. type: integer
  2125. enableqty:
  2126. description: 可用(总仓可用)
  2127. type: integer
  2128. exexchangename:
  2129. description: 外部交易所名称
  2130. type: string
  2131. exexehangecode:
  2132. description: 外部交易所代码
  2133. type: string
  2134. exexehangeid:
  2135. description: 外部交易所id
  2136. type: integer
  2137. goodscode:
  2138. description: 商品代码(内部)
  2139. type: string
  2140. goodsid:
  2141. description: 商品ID(自增ID SEQ_GOODS)
  2142. type: integer
  2143. goodsname:
  2144. description: 商品名称
  2145. type: string
  2146. last:
  2147. description: 现价
  2148. type: number
  2149. marketid:
  2150. description: 所属市场ID
  2151. type: integer
  2152. openaverageprice:
  2153. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2154. type: number
  2155. opencost:
  2156. description: 开仓成本
  2157. type: number
  2158. openpl:
  2159. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  2160. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2161. type: number
  2162. outgoodscode:
  2163. description: 商品代码(外部)
  2164. type: string
  2165. positionaverageprice:
  2166. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2167. type: number
  2168. positioncost:
  2169. description: 持仓成本
  2170. type: number
  2171. positionpl:
  2172. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  2173. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2174. type: number
  2175. positionplrate:
  2176. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2177. type: number
  2178. usedmargin:
  2179. description: 占用保证金
  2180. type: number
  2181. type: object
  2182. ermcp.RealtimeExposurePositionRsp:
  2183. properties:
  2184. accountid:
  2185. description: 资金账号(只有外部账号才有值, 内部账号是根据userid汇总的)
  2186. type: integer
  2187. agreeunit:
  2188. description: 合约单位
  2189. type: string
  2190. areauserid:
  2191. description: 所属机构id
  2192. type: integer
  2193. convertratio:
  2194. description: 期货品种系数(折算系数)
  2195. type: number
  2196. curqty:
  2197. description: 当前持仓
  2198. type: integer
  2199. diffhedgeqty:
  2200. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2201. type: number
  2202. diffqty:
  2203. description: 持仓变动量=当前持仓-昨日持仓
  2204. type: integer
  2205. goodscode:
  2206. description: 商品代码
  2207. type: string
  2208. goodsid:
  2209. description: 商品id
  2210. type: integer
  2211. goodsname:
  2212. description: 商品名称
  2213. type: string
  2214. hedgeaccountcode:
  2215. description: 对冲账号(只有外部账号才有值)
  2216. type: string
  2217. middlegoodsid:
  2218. description: 套保商品id
  2219. type: integer
  2220. ydqty:
  2221. description: 昨日持仓
  2222. type: integer
  2223. type: object
  2224. ermcp.RealtimeExposureRsp:
  2225. properties:
  2226. AreaUserID:
  2227. description: 所属机构
  2228. type: integer
  2229. BuyFutureQty:
  2230. description: 买入期货数量
  2231. type: number
  2232. BuyPlanQty:
  2233. description: 采购计划数量
  2234. type: number
  2235. BuyPricedQty:
  2236. description: 采购合同已定价数量
  2237. type: number
  2238. MiddleGoodsCode:
  2239. description: 套保品种代码
  2240. type: string
  2241. MiddleGoodsHedgeRatio:
  2242. description: 套保比例
  2243. type: number
  2244. MiddleGoodsID:
  2245. description: 套保品种
  2246. type: integer
  2247. MiddleGoodsName:
  2248. description: 套保品种名称
  2249. type: string
  2250. NeedHedgeExposoure:
  2251. description: 应套保敞口(套保敞口)
  2252. type: number
  2253. NeedHedgeRatio:
  2254. description: 应套保敞口比例
  2255. type: number
  2256. OriBuyFutureQty:
  2257. description: 期初买入期货数量
  2258. type: number
  2259. OriBuyPlanQty:
  2260. description: 期初采购计划数量
  2261. type: number
  2262. OriBuyPricedQty:
  2263. description: 期初采购合同已定价数量
  2264. type: number
  2265. OriSellFutureQty:
  2266. description: 期初卖出期货数量
  2267. type: number
  2268. OriSellPlanQty:
  2269. description: 期初销售计划数量
  2270. type: number
  2271. OriSellPricedQty:
  2272. description: 期初销售合同已定价数量
  2273. type: number
  2274. OriTotalSpotQty:
  2275. description: 期初现货总量
  2276. type: number
  2277. SellFutureQty:
  2278. description: 卖出期货数量
  2279. type: number
  2280. SellPlanQty:
  2281. description: 销售计划数量
  2282. type: number
  2283. SellPricedQty:
  2284. description: 销售合同已定价数量
  2285. type: number
  2286. TotalExposure:
  2287. description: 总敞口 平安:净敞口
  2288. type: number
  2289. TotalFutureQty:
  2290. description: 期货总量 平安:保值净持仓量
  2291. type: number
  2292. TotalHedgeRatio:
  2293. description: 敞口比例
  2294. type: number
  2295. TotalNeedHedgeQty:
  2296. description: 应套保总量(现货应套保总量)
  2297. type: number
  2298. TotalSpotQty:
  2299. description: 现货总量 平安:采销定价净值
  2300. type: number
  2301. arbitrageqty:
  2302. description: 套利量
  2303. type: number
  2304. diffArbitrageQty:
  2305. description: 套利变动量
  2306. type: number
  2307. diffExposoureQty:
  2308. description: 变动量(套保敞口)
  2309. type: number
  2310. diffFutuQty:
  2311. description: 变动量(期货总量) 平安:保值净持仓量今日变动
  2312. type: number
  2313. diffHedgeQty:
  2314. description: 套保变动量
  2315. type: number
  2316. diffQty:
  2317. description: 变动量(总敞口) 平安:净敞口今日变动
  2318. type: number
  2319. diffSpotHedgeQty:
  2320. description: 变动量(现货应套保总量) 平安:应套保量今日变动
  2321. type: number
  2322. diffSpotQty:
  2323. description: 变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动
  2324. type: number
  2325. enumdicname:
  2326. description: 单位名称
  2327. type: string
  2328. hedgeqty:
  2329. description: 套保量
  2330. type: number
  2331. needarbitrageqty:
  2332. description: 应套利量
  2333. type: number
  2334. needarbitrageratio:
  2335. description: 套利比例
  2336. type: number
  2337. needhedgeqty:
  2338. description: 应套保量
  2339. type: number
  2340. oriarbitrageqty:
  2341. description: 期初套利量
  2342. type: number
  2343. orihedgeqty:
  2344. description: 期初套保量
  2345. type: number
  2346. orineedhedgeexposoure:
  2347. description: 期初套保敞口
  2348. type: number
  2349. oritotalexposure:
  2350. description: 期初总敞口
  2351. type: number
  2352. oritotalfutureqty:
  2353. description: 期初期货总量
  2354. type: number
  2355. oritotalneedhedgeqty:
  2356. description: 期初现货应套保量
  2357. type: number
  2358. type: object
  2359. erms2.QueryArbitrageStrategyRsp:
  2360. properties:
  2361. applybasis:
  2362. description: 申请基差
  2363. type: number
  2364. asapplyid:
  2365. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2366. type: string
  2367. asname:
  2368. description: 策略名称
  2369. type: string
  2370. asno:
  2371. description: 策略编号
  2372. type: string
  2373. basischangepl:
  2374. description: 基差变动损益[结算更新]
  2375. type: number
  2376. biztype:
  2377. description: 业务类型 - 1:正向套利 -1:反向套利
  2378. type: integer
  2379. closetradedate:
  2380. description: 完结交易日(yyyyMMdd)
  2381. type: string
  2382. curbasis:
  2383. description: 当前基差[结算更新]
  2384. type: number
  2385. deliverygoodsid:
  2386. description: 现货品种ID
  2387. type: integer
  2388. futureavgprice:
  2389. description: 期货建仓均价
  2390. type: number
  2391. futurecloseamount:
  2392. description: 期货平仓金额
  2393. type: number
  2394. futurecloseqty:
  2395. description: 期货平仓数量
  2396. type: number
  2397. futureopenamount:
  2398. description: 期货开仓金额
  2399. type: number
  2400. futureopenqty:
  2401. description: 期货开仓数量
  2402. type: number
  2403. futurepl:
  2404. description: 期货总盈亏[结算更新]
  2405. type: number
  2406. futureqty:
  2407. description: 期货持仓数量
  2408. type: number
  2409. futurequote:
  2410. description: 期货额度
  2411. type: number
  2412. goodsgroupid:
  2413. description: 期货品种ID
  2414. type: integer
  2415. marketid:
  2416. description: 市场ID
  2417. type: integer
  2418. netexposure:
  2419. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2420. type: number
  2421. netexposurepl:
  2422. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2423. type: number
  2424. netexposurerate:
  2425. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2426. type: number
  2427. openbasis:
  2428. description: 建仓基差
  2429. type: number
  2430. pricedspotqty:
  2431. description: 已定价现货数量
  2432. type: number
  2433. pricedspotqtynotax:
  2434. description: 已定价现货不含税数量
  2435. type: number
  2436. remark:
  2437. description: 备注
  2438. type: string
  2439. spotavgprice:
  2440. description: 现货均价
  2441. type: number
  2442. spotbuyamount:
  2443. description: 现货采购金额
  2444. type: number
  2445. spotbuyqty:
  2446. description: 现货采购数量
  2447. type: number
  2448. spotpl:
  2449. description: 现货总盈亏[结算更新]
  2450. type: number
  2451. spotquota:
  2452. description: 现货额度
  2453. type: number
  2454. spotsellamount:
  2455. description: 现货销售金额
  2456. type: number
  2457. spotsellqty:
  2458. description: 现货销售数量
  2459. type: number
  2460. spotusedquota:
  2461. description: 现货占用资金
  2462. type: number
  2463. strategystatus:
  2464. description: 策略状态 - 0:未结束 1:已结束
  2465. type: integer
  2466. totalpl:
  2467. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2468. type: number
  2469. tradedate:
  2470. description: 交易日(yyyyMMdd)
  2471. type: string
  2472. updatetime:
  2473. description: 更新时间
  2474. type: string
  2475. usedquota:
  2476. description: 已占用资金
  2477. type: number
  2478. userid:
  2479. description: 所属机构
  2480. type: integer
  2481. required:
  2482. - asapplyid
  2483. type: object
  2484. erms2.QueryInnerTradeDetailRsp:
  2485. properties:
  2486. accountid:
  2487. description: 账号ID
  2488. type: integer
  2489. agreeunit:
  2490. description: 合约单位
  2491. type: number
  2492. asapplyid:
  2493. description: 策略申请ID
  2494. type: integer
  2495. asname:
  2496. description: 策略名称
  2497. type: string
  2498. asno:
  2499. description: 策略编号
  2500. type: string
  2501. buyorsell:
  2502. description: 方向 - 0:买 1:卖
  2503. type: integer
  2504. channelbuildtype:
  2505. description: 委托单据类型 0:无 1:建仓 2:平仓
  2506. type: integer
  2507. closetype:
  2508. description: 平仓方式 - 0:无 1:平今 2:平昨
  2509. type: integer
  2510. decimalplace:
  2511. description: 报价小数位
  2512. type: integer
  2513. detailtype:
  2514. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2515. type: integer
  2516. exexchangecode:
  2517. description: 外部交易所代码
  2518. type: string
  2519. exexchangename:
  2520. description: 外部交易所名称
  2521. type: string
  2522. goodscode:
  2523. description: 商品代码(合约)
  2524. type: string
  2525. goodsgroupid:
  2526. description: 商品组ID(品种ID)
  2527. type: integer
  2528. goodsgroupname:
  2529. description: 商品组名称(品种)
  2530. type: string
  2531. goodsid:
  2532. description: 商品ID
  2533. type: integer
  2534. goodsname:
  2535. description: 商品名称(合约)
  2536. type: string
  2537. goodunit:
  2538. description: 报价单位
  2539. type: string
  2540. marketid:
  2541. description: 市场ID
  2542. type: integer
  2543. orderid:
  2544. description: 委托单号
  2545. type: string
  2546. outgoodscode:
  2547. description: 商品代码(外部)
  2548. type: string
  2549. relatedouttradeid:
  2550. description: 关联外部成交单ID
  2551. type: string
  2552. remark:
  2553. description: 备注
  2554. type: string
  2555. spotcontractid:
  2556. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2557. type: integer
  2558. spotcontractno:
  2559. description: 现货合同编号
  2560. type: string
  2561. tradeid:
  2562. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2563. type: string
  2564. tradeprice:
  2565. description: 成交价格
  2566. type: number
  2567. tradeqty:
  2568. description: 成交数量
  2569. type: integer
  2570. tradetime:
  2571. description: 成交时间
  2572. type: string
  2573. updatetime:
  2574. description: 更新时间
  2575. type: string
  2576. required:
  2577. - asapplyid
  2578. - buyorsell
  2579. - goodscode
  2580. - goodsgroupid
  2581. - goodsgroupname
  2582. - goodsname
  2583. - tradeid
  2584. type: object
  2585. erms2.QuerySpotContractRsp:
  2586. properties:
  2587. accountid:
  2588. description: 资金账户ID
  2589. type: integer
  2590. areauserid:
  2591. description: 所属机构
  2592. type: integer
  2593. closedate:
  2594. description: 终止日期
  2595. type: string
  2596. closeremark:
  2597. description: 结束备注
  2598. type: string
  2599. closetradedate:
  2600. description: 完结交易日(yyyyMMdd)
  2601. type: string
  2602. closetype:
  2603. description: 终止类型 - 1:违约 2:提前终止
  2604. type: integer
  2605. contractamount:
  2606. description: 合同金额
  2607. type: number
  2608. contractattachment:
  2609. description: 合同附件
  2610. type: string
  2611. contractno:
  2612. description: 现货合同编号
  2613. type: string
  2614. contractqty:
  2615. description: 合同数量(数值) (用于计算)
  2616. type: number
  2617. contractqtychar:
  2618. description: 合同数量\已订价数量 (用于显示)
  2619. type: string
  2620. contractstatus:
  2621. description: 合同状态 - 0:未结束 1:已结束
  2622. type: integer
  2623. contracttype:
  2624. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2625. type: integer
  2626. customeraccountid:
  2627. description: 客户资金账户ID
  2628. type: integer
  2629. customeruserid:
  2630. description: 客户ID
  2631. type: integer
  2632. deliverygoodsdesc:
  2633. description: 品种说明
  2634. type: string
  2635. deliverygoodsid:
  2636. description: 现货品种ID
  2637. type: integer
  2638. handlestatus:
  2639. description: 处理状态
  2640. type: integer
  2641. invoiceatt:
  2642. description: 发票附件
  2643. type: string
  2644. invoicedatetime:
  2645. description: 开收票更新时间
  2646. type: string
  2647. invoiceopentime:
  2648. description: 开票时间
  2649. type: string
  2650. invoiceremark:
  2651. description: 发票备注
  2652. type: string
  2653. invoicestatus:
  2654. description: 开收票状态 - 0:未开票 1:已开票
  2655. type: integer
  2656. lastdate:
  2657. description: 交货时间
  2658. type: string
  2659. marketid:
  2660. description: 市场ID
  2661. type: integer
  2662. paydatetime:
  2663. description: 收付款更新时间
  2664. type: string
  2665. payremark:
  2666. description: 收付款备注
  2667. type: string
  2668. paystatus:
  2669. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2670. type: integer
  2671. positionqty:
  2672. description: 头寸数量 - 合同数量去小数部分
  2673. type: integer
  2674. producttype:
  2675. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2676. type: integer
  2677. relatedqty:
  2678. description: 已关联数量
  2679. type: number
  2680. relatedstatus:
  2681. description: 关联完结状态 - 0:未结束 1:已结束
  2682. type: integer
  2683. remark:
  2684. description: 备注
  2685. type: string
  2686. signdate:
  2687. description: 签订日期
  2688. type: string
  2689. spotcontractid:
  2690. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2691. type: string
  2692. spotdatetime:
  2693. description: 收发货更新时间
  2694. type: string
  2695. spotprice:
  2696. description: 价格
  2697. type: number
  2698. spotremark:
  2699. description: 收发货备注
  2700. type: string
  2701. spotstatus:
  2702. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2703. type: integer
  2704. tradedate:
  2705. description: 交易日(yyyyMMdd)
  2706. type: string
  2707. userid:
  2708. description: 业务员用户ID
  2709. type: integer
  2710. warehouseid:
  2711. description: 仓库ID
  2712. type: integer
  2713. wrfactortypeid:
  2714. description: 仓单要素类型ID
  2715. type: integer
  2716. wrstandardid:
  2717. description: 仓单标准ID(SEQ_WRSTANDARD)
  2718. type: integer
  2719. required:
  2720. - spotcontractid
  2721. type: object
  2722. erms3.AddErms2ASApplyReq:
  2723. properties:
  2724. applybasis:
  2725. description: 申请基差
  2726. type: number
  2727. applystatus:
  2728. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2729. type: integer
  2730. asapplyid:
  2731. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2732. type: integer
  2733. asname:
  2734. description: 策略名称
  2735. type: string
  2736. asno:
  2737. description: 策略编号
  2738. type: string
  2739. auditid:
  2740. description: 审核人
  2741. type: integer
  2742. auditremark:
  2743. description: 审核备注
  2744. type: string
  2745. audittime:
  2746. description: 审核时间
  2747. type: string
  2748. biztype:
  2749. description: 业务类型 - 1:正向套利 2:反向套利
  2750. type: integer
  2751. createtime:
  2752. description: 创建时间
  2753. type: string
  2754. creatorid:
  2755. description: 创建人
  2756. type: integer
  2757. deliverygoodsid:
  2758. description: 现货品种ID
  2759. type: integer
  2760. futurequote:
  2761. description: 期货额度
  2762. type: number
  2763. goodsgroupid:
  2764. description: 期货品种ID
  2765. type: integer
  2766. marketid:
  2767. description: 市场ID
  2768. type: integer
  2769. remark:
  2770. description: 备注
  2771. type: string
  2772. spotquota:
  2773. description: 现货额度
  2774. type: number
  2775. tradedate:
  2776. description: 交易日(yyyyMMdd)
  2777. type: string
  2778. userid:
  2779. description: 所属机构
  2780. type: integer
  2781. required:
  2782. - asapplyid
  2783. type: object
  2784. erms3.AddErms2SpotTradeApplyReq:
  2785. properties:
  2786. applyjsondetail:
  2787. description: 申请明细(JSON)
  2788. type: string
  2789. applystatus:
  2790. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2791. type: integer
  2792. areauserid:
  2793. description: 所属机构
  2794. type: integer
  2795. auditid:
  2796. description: 审核人
  2797. type: integer
  2798. auditremark:
  2799. description: 审核备注
  2800. type: string
  2801. audittime:
  2802. description: 审核时间
  2803. type: string
  2804. createtime:
  2805. description: 创建时间
  2806. type: string
  2807. creatorid:
  2808. description: 创建人
  2809. type: integer
  2810. deliverygoodsid:
  2811. description: 现货品种ID
  2812. type: integer
  2813. futureaccountid:
  2814. description: 期货资金账户
  2815. type: integer
  2816. goodsgroupid:
  2817. description: 期货品种
  2818. type: integer
  2819. marketid:
  2820. description: 市场ID
  2821. type: integer
  2822. remark:
  2823. description: 备注
  2824. type: string
  2825. spotaccountid:
  2826. description: 现货资金账户
  2827. type: integer
  2828. spottradeid:
  2829. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2830. type: integer
  2831. spottradename:
  2832. description: 业务名称
  2833. type: string
  2834. spottradeno:
  2835. description: 业务编号
  2836. type: string
  2837. tradedate:
  2838. description: 交易日(yyyyMMdd)
  2839. type: string
  2840. wrstandardid:
  2841. description: 仓单标准ID
  2842. type: integer
  2843. required:
  2844. - spottradeid
  2845. type: object
  2846. erms3.AddSpotContractApplyReq:
  2847. properties:
  2848. accountid:
  2849. description: 资金账户ID
  2850. type: integer
  2851. areauserid:
  2852. description: 所属机构
  2853. type: integer
  2854. contractattachment:
  2855. description: 合同附件
  2856. type: string
  2857. contractno:
  2858. description: 现货合同编号
  2859. type: string
  2860. contracttype:
  2861. description: 现货合同类型 - 1:采购 -1:销售
  2862. type: integer
  2863. creatorid:
  2864. description: 申请人
  2865. type: integer
  2866. customeraccountid:
  2867. description: 客户资金账户ID
  2868. type: integer
  2869. customeruserid:
  2870. description: 客户ID
  2871. type: integer
  2872. details:
  2873. description: 明细
  2874. items:
  2875. $ref: '#/definitions/erms3.SoptContractDetail'
  2876. type: array
  2877. orimargin:
  2878. description: 初始保证金
  2879. type: number
  2880. remark:
  2881. description: 备注
  2882. type: string
  2883. signdate:
  2884. description: 签订日期
  2885. type: string
  2886. required:
  2887. - accountid
  2888. - areauserid
  2889. - contractno
  2890. - contracttype
  2891. - customeraccountid
  2892. - customeruserid
  2893. - details
  2894. - orimargin
  2895. - signdate
  2896. type: object
  2897. erms3.AddSpotContractApplyRsp:
  2898. properties:
  2899. contractno:
  2900. description: 现货合同编号
  2901. type: string
  2902. spotcontractid:
  2903. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2904. type: integer
  2905. required:
  2906. - contractno
  2907. type: object
  2908. erms3.AddUserInfoApplyReq:
  2909. properties:
  2910. accountid:
  2911. description: 交易系统帐号Id (加密存储)
  2912. type: integer
  2913. areacode:
  2914. description: 机构代码
  2915. type: string
  2916. areaid:
  2917. description: 机构Id
  2918. type: integer
  2919. attachment1:
  2920. description: 附件1
  2921. type: string
  2922. attachment2:
  2923. description: 附件2
  2924. type: string
  2925. attachment3:
  2926. description: 附件3
  2927. type: string
  2928. attachment4:
  2929. description: 附件4
  2930. type: string
  2931. attachment5:
  2932. description: 附件5
  2933. type: string
  2934. auditedby:
  2935. description: 审核人
  2936. type: string
  2937. auditime:
  2938. description: 审核时间
  2939. type: string
  2940. auditsrc:
  2941. description: 审核来源 - 1:管理端 2:终端
  2942. type: integer
  2943. bankaccount:
  2944. description: 银行帐号 (加密存储)
  2945. type: string
  2946. bankaccountname:
  2947. description: 收款人名称
  2948. type: string
  2949. bankcardbackphotourl:
  2950. description: 银行卡背面照地址
  2951. type: string
  2952. bankcardfrontphotourl:
  2953. description: 银行卡正面照地址
  2954. type: string
  2955. bankid:
  2956. description: 银行编码
  2957. type: string
  2958. bankname:
  2959. description: 银行名称
  2960. type: string
  2961. bankpictureurl:
  2962. description: 银行卡正面地址
  2963. type: string
  2964. biznature:
  2965. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2966. type: integer
  2967. bizscope:
  2968. description: 企业经营范围(企业)
  2969. type: string
  2970. biztype:
  2971. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2972. type: integer
  2973. brokerid:
  2974. description: 经纪人ID(加密存储)
  2975. type: string
  2976. cardaddress:
  2977. description: 证件地址 (加密存储)
  2978. type: string
  2979. cardbackphotourl:
  2980. description: 背面证件照地址
  2981. type: string
  2982. cardfrontphotourl:
  2983. description: 正面证件照地址
  2984. type: string
  2985. cardnum:
  2986. description: 证件号码 (加密存储)
  2987. type: string
  2988. cardtype:
  2989. description: 证件类型
  2990. type: integer
  2991. cityid:
  2992. description: 市
  2993. type: integer
  2994. company:
  2995. description: 公司(个人)
  2996. type: string
  2997. contactcardbackphotourl:
  2998. description: 联系人证件背面图片地址
  2999. type: string
  3000. contactcardfrontphotourl:
  3001. description: 联系人证件正面图片地址
  3002. type: string
  3003. contactname:
  3004. description: 联系人
  3005. type: string
  3006. countryid:
  3007. description: 国家
  3008. type: integer
  3009. createtime:
  3010. description: 开户申请时间
  3011. type: string
  3012. cusbankid:
  3013. description: 签约类型
  3014. type: string
  3015. cusbankname:
  3016. description: 签约类型名称
  3017. type: string
  3018. customername:
  3019. description: 客户名称(企业名称)
  3020. type: string
  3021. districtid:
  3022. description: 地区
  3023. type: integer
  3024. email:
  3025. description: Email地址(加密存储)
  3026. type: string
  3027. halfbodyphotourl:
  3028. description: 半身照地址
  3029. type: string
  3030. headurl:
  3031. description: 头像地址
  3032. type: string
  3033. ipaddress:
  3034. description: IP地址
  3035. type: string
  3036. isvalidate:
  3037. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3038. type: string
  3039. legalcardbackphotourl:
  3040. description: 法人身份证背面照地址
  3041. type: string
  3042. legalcardfrontphotourl:
  3043. description: 法人身份证正面照地址
  3044. type: string
  3045. legalpersonname:
  3046. description: 法人姓名(企业)
  3047. type: string
  3048. logincode:
  3049. description: 登录帐号 (加密存储)
  3050. type: string
  3051. memberareaid:
  3052. description: 所属会员ID
  3053. type: integer
  3054. mobile2:
  3055. description: 手机号码[明文-尚志]
  3056. type: string
  3057. mobilephone:
  3058. description: 手机号码 (加密存储)
  3059. type: string
  3060. modifiedby:
  3061. description: 修改人帐号
  3062. type: integer
  3063. modifiedtime:
  3064. description: 修改时间
  3065. type: string
  3066. nickname:
  3067. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3068. type: string
  3069. openmode:
  3070. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3071. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3072. type: integer
  3073. otherurl:
  3074. description: 其它图片地址[使用分号分隔]
  3075. type: string
  3076. postalcode:
  3077. description: 邮政编码
  3078. type: string
  3079. provinceid:
  3080. description: 省
  3081. type: integer
  3082. proxystatementurl:
  3083. description: 授权委托书
  3084. type: string
  3085. qq:
  3086. description: QQ(加密存储
  3087. type: string
  3088. referral:
  3089. description: 推荐人编码
  3090. type: string
  3091. remark:
  3092. description: 备注
  3093. type: string
  3094. removebeforestatus:
  3095. description: REMOVEBEFORESTATUS
  3096. type: integer
  3097. sex:
  3098. description: 性别 - 0:女 1:男
  3099. type: integer
  3100. signedstatus:
  3101. description: 账户一号签签约状态
  3102. type: integer
  3103. signpdfurl:
  3104. description: 签约pdf文件
  3105. type: string
  3106. subbranch:
  3107. description: 开户支行
  3108. type: string
  3109. taxpayernum:
  3110. description: 纳税人识别号
  3111. type: string
  3112. telphone:
  3113. description: 联系电话(加密存储)
  3114. type: string
  3115. userid:
  3116. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3117. type: integer
  3118. userinfotype:
  3119. description: 用户信息类型 - 1:个人 2:企业
  3120. type: integer
  3121. username:
  3122. description: 用户姓名
  3123. type: string
  3124. userstate:
  3125. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3126. type: integer
  3127. usertype:
  3128. description: 用户类型 - 1:投资者 2:机构
  3129. type: integer
  3130. videourl:
  3131. description: 视频地址
  3132. type: string
  3133. wechat:
  3134. description: 微信号 (加密存储)
  3135. type: string
  3136. required:
  3137. - userid
  3138. type: object
  3139. erms3.CustomerInfo:
  3140. properties:
  3141. accountids:
  3142. description: 资金账户ID列表
  3143. items:
  3144. type: integer
  3145. type: array
  3146. customername:
  3147. description: 名称(企业名称)
  3148. type: string
  3149. mobile:
  3150. description: 手机号码
  3151. type: string
  3152. userid:
  3153. description: 用户ID
  3154. type: integer
  3155. required:
  3156. - userid
  3157. type: object
  3158. erms3.ModifyUserInfoApplyReq:
  3159. properties:
  3160. accountid:
  3161. description: 交易系统帐号Id (加密存储)
  3162. type: integer
  3163. areacode:
  3164. description: 机构代码
  3165. type: string
  3166. areaid:
  3167. description: 机构Id
  3168. type: integer
  3169. attachment1:
  3170. description: 附件1
  3171. type: string
  3172. attachment2:
  3173. description: 附件2
  3174. type: string
  3175. attachment3:
  3176. description: 附件3
  3177. type: string
  3178. attachment4:
  3179. description: 附件4
  3180. type: string
  3181. attachment5:
  3182. description: 附件5
  3183. type: string
  3184. auditedby:
  3185. description: 审核人
  3186. type: string
  3187. auditime:
  3188. description: 审核时间
  3189. type: string
  3190. auditsrc:
  3191. description: 审核来源 - 1:管理端 2:终端
  3192. type: integer
  3193. bankaccount:
  3194. description: 银行帐号 (加密存储)
  3195. type: string
  3196. bankaccountname:
  3197. description: 收款人名称
  3198. type: string
  3199. bankcardbackphotourl:
  3200. description: 银行卡背面照地址
  3201. type: string
  3202. bankcardfrontphotourl:
  3203. description: 银行卡正面照地址
  3204. type: string
  3205. bankid:
  3206. description: 银行编码
  3207. type: string
  3208. bankname:
  3209. description: 银行名称
  3210. type: string
  3211. bankpictureurl:
  3212. description: 银行卡正面地址
  3213. type: string
  3214. biznature:
  3215. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3216. type: integer
  3217. bizscope:
  3218. description: 企业经营范围(企业)
  3219. type: string
  3220. biztype:
  3221. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3222. type: integer
  3223. brokerid:
  3224. description: 经纪人ID(加密存储)
  3225. type: string
  3226. cardaddress:
  3227. description: 证件地址 (加密存储)
  3228. type: string
  3229. cardbackphotourl:
  3230. description: 背面证件照地址
  3231. type: string
  3232. cardfrontphotourl:
  3233. description: 正面证件照地址
  3234. type: string
  3235. cardnum:
  3236. description: 证件号码 (加密存储)
  3237. type: string
  3238. cardtype:
  3239. description: 证件类型
  3240. type: integer
  3241. cityid:
  3242. description: 市
  3243. type: integer
  3244. company:
  3245. description: 公司(个人)
  3246. type: string
  3247. contactcardbackphotourl:
  3248. description: 联系人证件背面图片地址
  3249. type: string
  3250. contactcardfrontphotourl:
  3251. description: 联系人证件正面图片地址
  3252. type: string
  3253. contactname:
  3254. description: 联系人
  3255. type: string
  3256. countryid:
  3257. description: 国家
  3258. type: integer
  3259. createtime:
  3260. description: 开户申请时间
  3261. type: string
  3262. cusbankid:
  3263. description: 签约类型
  3264. type: string
  3265. cusbankname:
  3266. description: 签约类型名称
  3267. type: string
  3268. customername:
  3269. description: 客户名称(企业名称)
  3270. type: string
  3271. districtid:
  3272. description: 地区
  3273. type: integer
  3274. email:
  3275. description: Email地址(加密存储)
  3276. type: string
  3277. halfbodyphotourl:
  3278. description: 半身照地址
  3279. type: string
  3280. headurl:
  3281. description: 头像地址
  3282. type: string
  3283. ipaddress:
  3284. description: IP地址
  3285. type: string
  3286. isvalidate:
  3287. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3288. type: string
  3289. legalcardbackphotourl:
  3290. description: 法人身份证背面照地址
  3291. type: string
  3292. legalcardfrontphotourl:
  3293. description: 法人身份证正面照地址
  3294. type: string
  3295. legalpersonname:
  3296. description: 法人姓名(企业)
  3297. type: string
  3298. logincode:
  3299. description: 登录帐号 (加密存储)
  3300. type: string
  3301. memberareaid:
  3302. description: 所属会员ID
  3303. type: integer
  3304. mobile2:
  3305. description: 手机号码[明文-尚志]
  3306. type: string
  3307. mobilephone:
  3308. description: 手机号码 (加密存储)
  3309. type: string
  3310. modifiedby:
  3311. description: 修改人帐号
  3312. type: integer
  3313. modifiedtime:
  3314. description: 修改时间
  3315. type: string
  3316. nickname:
  3317. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3318. type: string
  3319. openmode:
  3320. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3321. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3322. type: integer
  3323. otherurl:
  3324. description: 其它图片地址[使用分号分隔]
  3325. type: string
  3326. postalcode:
  3327. description: 邮政编码
  3328. type: string
  3329. provinceid:
  3330. description: 省
  3331. type: integer
  3332. proxystatementurl:
  3333. description: 授权委托书
  3334. type: string
  3335. qq:
  3336. description: QQ(加密存储
  3337. type: string
  3338. referral:
  3339. description: 推荐人编码
  3340. type: string
  3341. remark:
  3342. description: 备注
  3343. type: string
  3344. removebeforestatus:
  3345. description: REMOVEBEFORESTATUS
  3346. type: integer
  3347. sex:
  3348. description: 性别 - 0:女 1:男
  3349. type: integer
  3350. signedstatus:
  3351. description: 账户一号签签约状态
  3352. type: integer
  3353. signpdfurl:
  3354. description: 签约pdf文件
  3355. type: string
  3356. subbranch:
  3357. description: 开户支行
  3358. type: string
  3359. taxpayernum:
  3360. description: 纳税人识别号
  3361. type: string
  3362. telphone:
  3363. description: 联系电话(加密存储)
  3364. type: string
  3365. userid:
  3366. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3367. type: integer
  3368. userinfotype:
  3369. description: 用户信息类型 - 1:个人 2:企业
  3370. type: integer
  3371. username:
  3372. description: 用户姓名
  3373. type: string
  3374. userstate:
  3375. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3376. type: integer
  3377. usertype:
  3378. description: 用户类型 - 1:投资者 2:机构
  3379. type: integer
  3380. videourl:
  3381. description: 视频地址
  3382. type: string
  3383. wechat:
  3384. description: 微信号 (加密存储)
  3385. type: string
  3386. required:
  3387. - userid
  3388. type: object
  3389. erms3.QryAuditContractRsp:
  3390. properties:
  3391. accountid:
  3392. description: 交易员ID
  3393. type: string
  3394. applystatus:
  3395. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3396. type: integer
  3397. curdeliveryqty:
  3398. description: 未交收量
  3399. type: integer
  3400. customername:
  3401. description: 采购方ID
  3402. type: string
  3403. deliverygoodsid:
  3404. description: 品种ID
  3405. type: string
  3406. deliveryqty:
  3407. description: 交收量
  3408. type: integer
  3409. enumdicname:
  3410. description: 单位名称
  3411. type: string
  3412. matchaccountid:
  3413. description: 业务员ID
  3414. type: string
  3415. matchcustomername:
  3416. description: 销售方ID
  3417. type: string
  3418. pricedqty:
  3419. description: 定价量
  3420. type: number
  3421. signdate:
  3422. description: 签订日期
  3423. type: string
  3424. spotcontractid:
  3425. description: 合同ID
  3426. type: string
  3427. totaldqty:
  3428. description: 合同量
  3429. type: number
  3430. unpricedqty:
  3431. description: 未定价量
  3432. type: number
  3433. wrstandardname:
  3434. description: 商品名称
  3435. type: string
  3436. required:
  3437. - matchcustomername
  3438. - spotcontractid
  3439. type: object
  3440. erms3.QryPendingBizRsp:
  3441. properties:
  3442. accountid:
  3443. description: 现货账户
  3444. type: string
  3445. areaname:
  3446. description: 所属部门
  3447. type: string
  3448. bizid:
  3449. description: 业务ID
  3450. type: string
  3451. bizname:
  3452. description: 业务名称
  3453. type: string
  3454. status:
  3455. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3456. type: integer
  3457. type:
  3458. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3459. type: integer
  3460. type: object
  3461. erms3.QueryBusinessInfoRsp:
  3462. properties:
  3463. businessid:
  3464. description: 业务ID.
  3465. type: integer
  3466. buyamount:
  3467. description: 采购额.
  3468. type: number
  3469. buyqty:
  3470. description: 采购量.
  3471. type: string
  3472. futurepl:
  3473. description: 期货盈亏.
  3474. type: number
  3475. futureqty:
  3476. description: 期货敞口.
  3477. type: string
  3478. goodsid:
  3479. description: 商品名称/商品代码.
  3480. type: string
  3481. hedgingqty:
  3482. description: 套保量.
  3483. type: string
  3484. sellamount:
  3485. description: 销售额.
  3486. type: number
  3487. sellqty:
  3488. description: 销售量.
  3489. type: string
  3490. spotmarketvalue:
  3491. description: 现货市值.
  3492. type: number
  3493. spotpl:
  3494. description: 浮动权益.
  3495. type: number
  3496. spotqty:
  3497. description: 现货量.
  3498. type: string
  3499. statu:
  3500. description: 状态,0-未结束 1-已结束.
  3501. type: integer
  3502. totalpl:
  3503. description: 总盈亏.
  3504. type: number
  3505. totalqty:
  3506. description: 总敞口.
  3507. type: string
  3508. type:
  3509. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3510. type: integer
  3511. type: object
  3512. erms3.QuerySpotContractAppleFormRsp:
  3513. properties:
  3514. goodses:
  3515. description: 合约列表
  3516. items:
  3517. $ref: '#/definitions/models.GoodsIDAndName'
  3518. type: array
  3519. oppositeusers:
  3520. description: 对方账号列表
  3521. items:
  3522. $ref: '#/definitions/erms3.CustomerInfo'
  3523. type: array
  3524. ouruser:
  3525. $ref: '#/definitions/erms3.CustomerInfo'
  3526. description: 我方账号
  3527. warehouseinfos:
  3528. description: 仓库信息列表
  3529. items:
  3530. $ref: '#/definitions/models.Warehouseinfo'
  3531. type: array
  3532. wrstandards:
  3533. description: 仓单标准列表
  3534. items:
  3535. $ref: '#/definitions/models.WRStandardInfo'
  3536. type: array
  3537. type: object
  3538. erms3.QuerySpotContractInfoRsp:
  3539. properties:
  3540. accountid:
  3541. description: 表示交易员ID.
  3542. type: integer
  3543. curdeliveryqty:
  3544. description: 表示未交收量.
  3545. type: number
  3546. customername:
  3547. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3548. type: string
  3549. deliverygoodsid:
  3550. description: 表示品种ID.
  3551. type: string
  3552. deliveryqty:
  3553. description: 表示交收量.
  3554. type: number
  3555. matchaccountid:
  3556. description: 表示业务员ID.
  3557. type: integer
  3558. matchcustomername:
  3559. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3560. type: string
  3561. priceqty:
  3562. description: 表示定价量.
  3563. type: number
  3564. relatedbizid:
  3565. description: 表示业务ID.
  3566. type: string
  3567. signdate:
  3568. description: 表示签订日期.
  3569. type: string
  3570. spotcontractid:
  3571. description: 合同ID
  3572. type: string
  3573. status:
  3574. description: 表示状态,0-履约中 1-已完成.
  3575. type: integer
  3576. totalqty:
  3577. description: 表示合同量.
  3578. type: number
  3579. unpricedqty:
  3580. description: 表示未定价量.
  3581. type: number
  3582. wrstandardname:
  3583. description: 表示商品ID.
  3584. type: string
  3585. type: object
  3586. erms3.QueryUserInfoAppliesRsp:
  3587. properties:
  3588. biznature:
  3589. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3590. type: integer
  3591. contactname:
  3592. description: 联系人
  3593. type: string
  3594. createtime:
  3595. description: 开户申请时间
  3596. type: string
  3597. userid:
  3598. description: 用户ID(自增ID)
  3599. type: integer
  3600. userinfotype:
  3601. description: 用户信息类型 - 1:个人 2:企业
  3602. type: integer
  3603. username:
  3604. description: 用户姓名
  3605. type: string
  3606. userstate:
  3607. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3608. type: integer
  3609. required:
  3610. - userid
  3611. type: object
  3612. erms3.QueryUserInfosRsp:
  3613. properties:
  3614. biznature:
  3615. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3616. type: integer
  3617. contactname:
  3618. description: 联系人
  3619. type: string
  3620. customername:
  3621. description: 客户名称(企业名称)
  3622. type: string
  3623. userid:
  3624. description: 用户ID
  3625. type: integer
  3626. userinfotype:
  3627. description: 用户信息类型 - 1:个人 2:企业
  3628. type: integer
  3629. userstatus:
  3630. description: 用户状态 - 1:正常 2:注销
  3631. type: integer
  3632. required:
  3633. - userid
  3634. type: object
  3635. erms3.SoptContractDetail:
  3636. properties:
  3637. deliverygoodsdesc:
  3638. description: 现货品种说明
  3639. type: string
  3640. deliverygoodsid:
  3641. description: 现货品种ID
  3642. type: integer
  3643. deliverygoodsname:
  3644. description: 现货品种名称
  3645. type: string
  3646. pointdesc:
  3647. description: 点价描述
  3648. type: string
  3649. producttype:
  3650. description: 产品类型 1:标准仓单 2:等标 3:非标
  3651. type: integer
  3652. producttypename:
  3653. description: 产品类型名称
  3654. type: string
  3655. spotPointOrderVoList:
  3656. description: 点价列表
  3657. items:
  3658. $ref: '#/definitions/erms3.SpotPointOrder'
  3659. type: array
  3660. spotPriceOrderList:
  3661. description: 定价列表
  3662. items:
  3663. $ref: '#/definitions/erms3.SpotPriceOrder'
  3664. type: array
  3665. unitname:
  3666. description: 单位名称
  3667. type: string
  3668. warehouseid:
  3669. description: 仓库ID
  3670. type: integer
  3671. warehousename:
  3672. description: 仓库名称
  3673. type: string
  3674. wrstandardid:
  3675. description: 交易标的ID
  3676. type: integer
  3677. wrstandardname:
  3678. description: 交易标的名称
  3679. type: string
  3680. required:
  3681. - deliverygoodsid
  3682. - producttype
  3683. - unitname
  3684. - warehouseid
  3685. - wrstandardid
  3686. - wrstandardname
  3687. type: object
  3688. erms3.SpotPointOrder:
  3689. properties:
  3690. basic:
  3691. description: 基差
  3692. type: number
  3693. deliveryenddate:
  3694. description: 交收结束日期
  3695. type: string
  3696. deliverystartdate:
  3697. description: 交收开始日期
  3698. type: string
  3699. enddate:
  3700. description: 点价结束日期
  3701. type: string
  3702. goodsid:
  3703. description: 商品ID
  3704. type: integer
  3705. goodsname:
  3706. description: 商品名称
  3707. type: string
  3708. qty:
  3709. description: 数量
  3710. type: number
  3711. startdate:
  3712. description: 点价开始日期
  3713. type: string
  3714. required:
  3715. - basic
  3716. - goodsid
  3717. - qty
  3718. type: object
  3719. erms3.SpotPriceOrder:
  3720. properties:
  3721. amount:
  3722. description: 金额
  3723. type: number
  3724. deliveryenddate:
  3725. description: 交收结束日期
  3726. type: string
  3727. deliverystartdate:
  3728. description: 交收开始日期
  3729. type: string
  3730. price:
  3731. description: 价格
  3732. type: number
  3733. qty:
  3734. description: 数量
  3735. type: number
  3736. required:
  3737. - amount
  3738. - price
  3739. - qty
  3740. type: object
  3741. hsby.GetHsbyMyCountRsp:
  3742. properties:
  3743. myCouponCount:
  3744. description: 我的优惠卷数量
  3745. type: integer
  3746. myOrderDetailListingCount:
  3747. description: 我的订单求购中数量
  3748. type: integer
  3749. myOrderDetailPreCount:
  3750. description: 我的订单抢购中数量
  3751. type: integer
  3752. myPackageUnReceiveCount:
  3753. description: 我的包裹待收货数量
  3754. type: integer
  3755. myPackageUnSendCount:
  3756. description: 我的包裹待发货数量
  3757. type: integer
  3758. myPayOrderCount:
  3759. description: 我的订单待付款数量
  3760. type: integer
  3761. type: object
  3762. hsby.QueryProvincesAndCitiesRsp:
  3763. properties:
  3764. cities:
  3765. description: 市
  3766. items:
  3767. $ref: '#/definitions/models.Division'
  3768. type: array
  3769. province:
  3770. $ref: '#/definitions/models.Division'
  3771. description: 省
  3772. type: object
  3773. models.Arearole:
  3774. properties:
  3775. createtime:
  3776. description: 创建时间
  3777. type: string
  3778. creatorid:
  3779. description: 创建人ID
  3780. type: integer
  3781. fromuserid:
  3782. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3783. type: integer
  3784. isreturnscore:
  3785. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3786. type: integer
  3787. modifierid:
  3788. description: 修改人ID
  3789. type: integer
  3790. modifytime:
  3791. description: 修改时间
  3792. type: string
  3793. orgtype:
  3794. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3795. type: integer
  3796. outuserid:
  3797. description: 外部账户[场外期权做市商]
  3798. type: string
  3799. parentuserid:
  3800. description: 上级组织机构(组织机构)
  3801. type: integer
  3802. roletype:
  3803. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  3804. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  3805. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  3806. type: integer
  3807. rootuserid:
  3808. description: 顶级组织机构用户ID(组织机构)
  3809. type: integer
  3810. shoppassword:
  3811. description: 商城店铺登陆密码(商城店铺角色使用)
  3812. type: string
  3813. sublevelpath:
  3814. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3815. type: string
  3816. suborgtype:
  3817. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3818. type: integer
  3819. tradeaccountid:
  3820. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3821. type: integer
  3822. transurl:
  3823. description: 物流地址(物流机构)
  3824. type: string
  3825. userid:
  3826. description: 机构用户ID其他做市关系,都设置为 1
  3827. type: integer
  3828. required:
  3829. - roletype
  3830. - userid
  3831. type: object
  3832. models.Clientfixedadconfig:
  3833. properties:
  3834. adsort:
  3835. description: 排序
  3836. type: integer
  3837. adtype:
  3838. description: 广告位类型 - 1:新品抢购(HSBY)
  3839. type: integer
  3840. areauserid:
  3841. description: 所属机构ID
  3842. type: integer
  3843. createdate:
  3844. description: 创建时间
  3845. type: string
  3846. creatorid:
  3847. description: 创建人
  3848. type: integer
  3849. imagepath:
  3850. description: 图片
  3851. type: string
  3852. isshow:
  3853. description: 是否展示 - 0:不展示 1:展示
  3854. type: integer
  3855. modifierid:
  3856. description: 操作人
  3857. type: integer
  3858. recsize:
  3859. description: 推荐尺寸
  3860. type: string
  3861. title:
  3862. description: 标题
  3863. type: string
  3864. updatedate:
  3865. description: 更新时间
  3866. type: string
  3867. urlcontent:
  3868. description: 链接(地址或商品ID)
  3869. type: string
  3870. urltype:
  3871. description: 链接类型 - 1:直接地址 2:商品ID
  3872. type: integer
  3873. required:
  3874. - adsort
  3875. - adtype
  3876. type: object
  3877. models.DgFactoryItem:
  3878. properties:
  3879. dgfactoryitemid:
  3880. description: 选择项ID(SEQ_DGFACTORYITEM)
  3881. type: integer
  3882. dgfactoryitemtypeid:
  3883. description: 要素项类型
  3884. type: integer
  3885. dgfactoryitemvalue:
  3886. description: 要素项值(类型为仓库时填写仓库名称)
  3887. type: string
  3888. orderindex:
  3889. description: 顺序
  3890. type: integer
  3891. type: object
  3892. models.Division:
  3893. properties:
  3894. autoid:
  3895. description: 自增ID
  3896. type: integer
  3897. divisioncode:
  3898. description: 行政代码
  3899. type: string
  3900. divisionlevel:
  3901. description: 行政级别
  3902. type: string
  3903. divisionname:
  3904. description: 行政名称
  3905. type: string
  3906. modifierid:
  3907. description: 修改人
  3908. type: integer
  3909. modifytime:
  3910. description: 修改时间
  3911. type: string
  3912. parentcode:
  3913. description: 上级行政代码
  3914. type: string
  3915. pathname:
  3916. description: 路径名称
  3917. type: string
  3918. postcode:
  3919. description: 邮政编码
  3920. type: string
  3921. separablename:
  3922. description: 可拆分的全称
  3923. type: string
  3924. shortcode:
  3925. description: 地区简码
  3926. type: string
  3927. required:
  3928. - autoid
  3929. - divisioncode
  3930. type: object
  3931. models.Enumdicitem:
  3932. properties:
  3933. autoid:
  3934. description: 自增ID
  3935. type: integer
  3936. bankmappedvalue:
  3937. description: 银行服务对应值
  3938. type: string
  3939. enumdiccode:
  3940. description: 所属枚举代码
  3941. type: string
  3942. enumdicid:
  3943. description: 所属枚举ID
  3944. type: integer
  3945. enumdicname:
  3946. description: 枚举项名称
  3947. type: string
  3948. enumitemname:
  3949. description: 枚举项值
  3950. type: integer
  3951. enumitemstatus:
  3952. description: 枚举项状态 - 1.启用 2.不启用
  3953. type: integer
  3954. enumitemvalue:
  3955. description: 通用值 - [币种通用简写]
  3956. type: string
  3957. param1:
  3958. description: 参数1[币种:币种小数位]
  3959. type: string
  3960. param2:
  3961. description: 参数1[币种:币种显示单位]
  3962. type: string
  3963. remark:
  3964. description: 备注
  3965. type: string
  3966. required:
  3967. - autoid
  3968. - enumdiccode
  3969. - enumdicid
  3970. - enumitemname
  3971. type: object
  3972. models.Ermcp2hedgeditem:
  3973. properties:
  3974. accountName:
  3975. description: 套期主体
  3976. type: string
  3977. applyid:
  3978. description: 申请人
  3979. type: integer
  3980. applysrc:
  3981. description: 申请来源 - 1:管理端 2:终端
  3982. type: integer
  3983. areauserid:
  3984. description: 企业ID
  3985. type: integer
  3986. auditid:
  3987. description: 审核人
  3988. type: integer
  3989. auditremark:
  3990. description: 审核备注
  3991. type: string
  3992. auditsrc:
  3993. description: 审核来源 - 1:管理端 2:终端
  3994. type: integer
  3995. audittime:
  3996. description: 审核时间
  3997. type: string
  3998. audittradedate:
  3999. description: 审核交易日(yyyyMMdd)
  4000. type: string
  4001. createtime:
  4002. description: 申请时间
  4003. type: string
  4004. curprice:
  4005. description: 当前市场价
  4006. type: number
  4007. curstock:
  4008. description: 期末库存量 = 采购总量 - 销售总量
  4009. type: number
  4010. deliverygoodsid:
  4011. description: 现货品种ID
  4012. type: integer
  4013. enddate:
  4014. description: 完成日期
  4015. type: string
  4016. endtradedate:
  4017. description: 完成交易日
  4018. type: string
  4019. enumdicname:
  4020. description: 单位
  4021. type: string
  4022. exeamount:
  4023. description: 执行市价总额
  4024. type: number
  4025. exeavgprice:
  4026. description: 执行市场均价= 执行市价总额 / 执行现货量
  4027. type: number
  4028. execontractamount:
  4029. description: 执行定价总额
  4030. type: number
  4031. exeqty:
  4032. description: 执行现货量
  4033. type: number
  4034. exerestamount:
  4035. description: 执行剩余市价总额【现货贸易】
  4036. type: number
  4037. futurefloatpl:
  4038. description: 期货浮动损益
  4039. type: number
  4040. futurehedgepl:
  4041. description: 期货实际损益
  4042. type: number
  4043. futurehedgeplchange:
  4044. description: 期货实际损益变动
  4045. type: number
  4046. futurepl:
  4047. description: 期货套期损益
  4048. type: number
  4049. futureplchange:
  4050. description: 期货套期损益变动
  4051. type: number
  4052. hedgeamount:
  4053. description: 套期市价总额
  4054. type: number
  4055. hedgecontractamount:
  4056. description: 套期定价总额 【定价采购合同】【现货贸易】
  4057. type: number
  4058. hedgeditemid:
  4059. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4060. type: string
  4061. hedgeditemname:
  4062. description: 项目名称
  4063. type: string
  4064. hedgeditemnum:
  4065. description: 项目编号
  4066. type: string
  4067. hedgeditemstatus:
  4068. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4069. type: integer
  4070. hedgedtype:
  4071. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4072. type: integer
  4073. hedgeqty:
  4074. description: 套期现货量
  4075. type: number
  4076. hedgerate:
  4077. description: 套保比率
  4078. type: number
  4079. hedgerestamount:
  4080. description: 套期剩余市价总额【现货贸易】
  4081. type: number
  4082. hedgesumpl:
  4083. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  4084. type: number
  4085. middlegoodslist:
  4086. description: 套期商品列表
  4087. items:
  4088. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  4089. type: array
  4090. oriavgprice:
  4091. description: 期初市场均价 = 套期市价总额 / 套期现货量
  4092. type: number
  4093. orifuturehedgepl:
  4094. description: 期初期货实际损益
  4095. type: number
  4096. orifuturepl:
  4097. description: 期初期货套期损益
  4098. type: number
  4099. orispothedgepl:
  4100. description: 期初现货实际损益
  4101. type: number
  4102. orispotpl:
  4103. description: 期初现货套期损益
  4104. type: number
  4105. planenddate:
  4106. description: 计划结束日期
  4107. type: string
  4108. planstartdate:
  4109. description: 计划开始日期
  4110. type: string
  4111. remark:
  4112. description: 备注
  4113. type: string
  4114. spotbookamount:
  4115. description: 现货账面总额
  4116. type: number
  4117. spotfloatpl:
  4118. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4119. type: number
  4120. spothedgepl:
  4121. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4122. type: number
  4123. spothedgeplchange:
  4124. description: 现货实际损益变动
  4125. type: number
  4126. spotpl:
  4127. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  4128. type: number
  4129. spotplchange:
  4130. description: 现货套期损益变动
  4131. type: number
  4132. spottradepl:
  4133. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  4134. type: number
  4135. sumobspl:
  4136. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  4137. type: number
  4138. tradeuserid:
  4139. description: 交易用户ID
  4140. type: integer
  4141. unexeqty:
  4142. description: 未执行现货量 = 套期现货量 - 执行现货量
  4143. type: number
  4144. updatetime:
  4145. description: 更新时间
  4146. type: string
  4147. vatpl:
  4148. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  4149. type: number
  4150. vatrate:
  4151. description: 增值税
  4152. type: number
  4153. wrstandardid:
  4154. description: 现货商品ID
  4155. type: integer
  4156. wrstandardname:
  4157. description: 商品名称
  4158. type: string
  4159. type: object
  4160. models.Ermcp2himiddlegoods:
  4161. properties:
  4162. futurehedgeqty:
  4163. description: 期货持仓套期量
  4164. type: number
  4165. hedgeditemid:
  4166. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4167. type: integer
  4168. hiexpsoure:
  4169. description: 期现敞口量 = 未执行套期量 + 期货持仓套期量
  4170. type: number
  4171. middlegoodscode:
  4172. description: 套保商品代码
  4173. type: string
  4174. middlegoodsid:
  4175. description: 套保品种ID
  4176. type: integer
  4177. middlegoodsname:
  4178. description: 套保商品名称
  4179. type: string
  4180. unexehedgeqty:
  4181. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  4182. type: number
  4183. required:
  4184. - hedgeditemid
  4185. - middlegoodsid
  4186. type: object
  4187. models.Ermcp3AreaSpot:
  4188. properties:
  4189. areauserid:
  4190. description: 所属机构
  4191. type: integer
  4192. convertratio:
  4193. description: 套保系数
  4194. type: number
  4195. decreaseqty:
  4196. description: 减少数量=-(销售已定价数量+采购计划数量)
  4197. type: number
  4198. enumdicname:
  4199. description: 单位名称
  4200. type: string
  4201. increaseqty:
  4202. description: 增加数量=销售计划数量+采购已定价数量
  4203. type: number
  4204. oritoalspotqty:
  4205. description: 昨日数量
  4206. type: number
  4207. totalspotqty:
  4208. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  4209. type: number
  4210. unitid:
  4211. description: 现货商品单位id
  4212. type: integer
  4213. updatetime:
  4214. description: 更新时间
  4215. type: string
  4216. wrstandardcode:
  4217. description: 现货商品代码
  4218. type: string
  4219. wrstandardid:
  4220. description: 现货商品ID(SEQ_WRSTANDARD)
  4221. type: integer
  4222. wrstandardname:
  4223. description: 现货商品名称
  4224. type: string
  4225. type: object
  4226. models.Ermcp3AreaSpotDetail:
  4227. properties:
  4228. contracttype:
  4229. description: 合同类型 1-采购 -1-销售
  4230. type: integer
  4231. createtime:
  4232. description: 创建时间
  4233. type: string
  4234. enumdicname:
  4235. description: 现货商品单位名称
  4236. type: string
  4237. logtype:
  4238. description: 记录类型 1-套保 2-现货合同
  4239. type: integer
  4240. qty:
  4241. description: 数量
  4242. type: number
  4243. recordname:
  4244. description: 类型名称
  4245. type: string
  4246. relatedid:
  4247. description: 套保计划ID/现货合同ID
  4248. type: string
  4249. relatedno:
  4250. description: 编号
  4251. type: string
  4252. strtime:
  4253. description: 时间
  4254. type: string
  4255. wrstandardcode:
  4256. description: 现货商品代码
  4257. type: string
  4258. wrstandardid:
  4259. description: 现货商品ID(SEQ_WRSTANDARD)
  4260. type: integer
  4261. wrstandardname:
  4262. description: 现货商品名称
  4263. type: string
  4264. type: object
  4265. models.Ermcp3AreaSpotPLReport:
  4266. properties:
  4267. accountid:
  4268. description: 期货账户ID (作废, 默认为0)
  4269. type: integer
  4270. accountname:
  4271. description: 机构名称
  4272. type: string
  4273. actualpl:
  4274. description: 现货损益
  4275. type: number
  4276. areauserid:
  4277. description: 所属机构\交易用户ID
  4278. type: integer
  4279. begindate:
  4280. description: 开始交易日
  4281. type: string
  4282. biztype:
  4283. description: 业务类型 - 1:套保 2:套利
  4284. type: integer
  4285. brandname:
  4286. description: 品牌名称
  4287. type: string
  4288. curamount:
  4289. description: 期末额
  4290. type: number
  4291. curaverageprice:
  4292. description: 期末均价
  4293. type: number
  4294. curbuyamount:
  4295. description: 期末采购总额
  4296. type: number
  4297. curbuyqty:
  4298. description: 期末采购总量
  4299. type: number
  4300. curmarketvalue:
  4301. description: 参考市值(期末市值)
  4302. type: number
  4303. curqty:
  4304. description: 期末量
  4305. type: number
  4306. currencyid:
  4307. description: 结算币种ID【原值】
  4308. type: integer
  4309. currencyname:
  4310. description: 币种名称
  4311. type: string
  4312. cursellamount:
  4313. description: 期末销售总额
  4314. type: number
  4315. cursellqty:
  4316. description: 期末销售总量
  4317. type: number
  4318. curspotprice:
  4319. description: 参考市价(最新价)
  4320. type: number
  4321. cycletime:
  4322. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4323. type: string
  4324. cycletype:
  4325. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4326. type: integer
  4327. deliverygoodscode:
  4328. description: 现货品种代码
  4329. type: string
  4330. deliverygoodsid:
  4331. description: 现货品种ID
  4332. type: integer
  4333. deliverygoodsname:
  4334. description: 现货品种名称
  4335. type: string
  4336. enddate:
  4337. description: 结束交易日
  4338. type: string
  4339. enumdicname:
  4340. description: 现货品种单位名称(作废)
  4341. type: string
  4342. floatpl:
  4343. description: 浮动损益
  4344. type: number
  4345. goodsunitid:
  4346. description: 现货品种单位id(作废)
  4347. type: integer
  4348. oriamount:
  4349. description: 期初额
  4350. type: number
  4351. oriaverageprice:
  4352. description: 期初均价
  4353. type: number
  4354. oribuyamount:
  4355. description: 期初采购总额
  4356. type: number
  4357. oribuyqty:
  4358. description: 期初采购总量
  4359. type: number
  4360. oriqty:
  4361. description: 期初量
  4362. type: number
  4363. orisellamount:
  4364. description: 期初销售总额
  4365. type: number
  4366. orisellqty:
  4367. description: 期初销售总量
  4368. type: number
  4369. reckondate:
  4370. description: 日照时期(yyyyMMdd)
  4371. type: string
  4372. spotgoodsbrandid:
  4373. description: 现货品牌ID
  4374. type: integer
  4375. todaybuyamount:
  4376. description: 今日采购额(今采购额)
  4377. type: number
  4378. todaybuyaverageprice:
  4379. description: 今日采购均价
  4380. type: number
  4381. todaybuyqty:
  4382. description: 今日采购量(今采购量)
  4383. type: number
  4384. todayinqty:
  4385. description: 今日入库量(今入库量)
  4386. type: number
  4387. todayoutqty:
  4388. description: 今日出库量(今出库量)
  4389. type: number
  4390. todaysellamount:
  4391. description: 今日销售额(今销售额)
  4392. type: number
  4393. todaysellaverageprice:
  4394. description: 今日销售均价
  4395. type: number
  4396. todaysellqty:
  4397. description: 今日销售量(今销售量)
  4398. type: number
  4399. unitid:
  4400. description: 品类单位id
  4401. type: integer
  4402. unitidname:
  4403. description: 品类单位名称
  4404. type: string
  4405. updatetime:
  4406. description: 更新时间
  4407. type: string
  4408. wrfactortypeid:
  4409. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4410. type: integer
  4411. wrstandardcode:
  4412. description: 现货商品(品类)代码
  4413. type: string
  4414. wrstandardid:
  4415. description: 现货品类ID
  4416. type: integer
  4417. wrstandardname:
  4418. description: 现货商品(品类)名称
  4419. type: string
  4420. type: object
  4421. models.Ermcp3AreaStock:
  4422. properties:
  4423. brandname:
  4424. description: 品牌名称
  4425. type: string
  4426. curstock:
  4427. description: 期末库存量(今日量)
  4428. type: number
  4429. deliverygoodscode:
  4430. description: 现货品种代码
  4431. type: string
  4432. deliverygoodsid:
  4433. description: 现货品种id
  4434. type: integer
  4435. deliverygoodsname:
  4436. description: 现货品种名称
  4437. type: string
  4438. enumdicname:
  4439. description: 单位名称
  4440. type: string
  4441. goodsunitid:
  4442. description: 现货商品单位id
  4443. type: integer
  4444. oristock:
  4445. description: 期初库存量(昨日量)
  4446. type: number
  4447. spotgoodsbrandid:
  4448. description: 现货品牌ID
  4449. type: integer
  4450. todaybuyinqty:
  4451. description: 今日采购入库量
  4452. type: number
  4453. todayproduceinqty:
  4454. description: 今日生产入库量
  4455. type: number
  4456. todayproduceoutqty:
  4457. description: 今日生产出库量
  4458. type: number
  4459. todayselloutqty:
  4460. description: 今日销售出库量
  4461. type: number
  4462. unitid:
  4463. description: 单位id
  4464. type: integer
  4465. updatetime:
  4466. description: 更新时间
  4467. type: string
  4468. userid:
  4469. description: 机构ID
  4470. type: integer
  4471. username:
  4472. description: 机构名称
  4473. type: string
  4474. warehousecode:
  4475. description: 仓库代码
  4476. type: string
  4477. warehouseinfoid:
  4478. description: 仓库ID
  4479. type: string
  4480. warehousename:
  4481. description: 仓库名称
  4482. type: string
  4483. warehousetype:
  4484. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4485. type: integer
  4486. wrstandardcode:
  4487. description: 品类代码
  4488. type: string
  4489. wrstandardid:
  4490. description: 品类ID
  4491. type: string
  4492. wrstandardname:
  4493. description: 品类名称
  4494. type: string
  4495. required:
  4496. - userid
  4497. type: object
  4498. models.Ermcp3AreaStockApply:
  4499. properties:
  4500. applyid:
  4501. description: 申请人
  4502. type: integer
  4503. applyname:
  4504. description: 申请人名称
  4505. type: string
  4506. applyremark:
  4507. description: 申请备注
  4508. type: string
  4509. applysrc:
  4510. description: 申请来源 - 1:管理端 2:终端
  4511. type: integer
  4512. applystatus:
  4513. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4514. type: integer
  4515. applytime:
  4516. description: 申请时间
  4517. type: string
  4518. auditid:
  4519. description: 审核人
  4520. type: integer
  4521. auditname:
  4522. description: 审核人名称
  4523. type: string
  4524. auditremark:
  4525. description: 审核备注
  4526. type: string
  4527. auditsrc:
  4528. description: 审核来源 - 1:管理端 2:终端
  4529. type: integer
  4530. audittime:
  4531. description: 审核时间
  4532. type: string
  4533. audittradedate:
  4534. description: 审核交易日(yyyyMMdd)
  4535. type: string
  4536. brandname:
  4537. description: 品牌名称
  4538. type: string
  4539. buynickname:
  4540. description: 采购方昵称
  4541. type: string
  4542. buyuserid:
  4543. description: 采购方userid
  4544. type: integer
  4545. buyusername:
  4546. description: 采购方名称
  4547. type: string
  4548. contractno:
  4549. description: 合同编号
  4550. type: string
  4551. contractqty:
  4552. description: 合同量
  4553. type: number
  4554. contracttype:
  4555. description: 现货合同类型 - 1:采购 -1:销售
  4556. type: integer
  4557. deliverygoodscode:
  4558. description: 现货品种代码
  4559. type: string
  4560. deliverygoodsid:
  4561. description: 现货品种id
  4562. type: integer
  4563. deliverygoodsname:
  4564. description: 现货品种名称
  4565. type: string
  4566. detailjson:
  4567. description: 明细数据
  4568. type: string
  4569. enumdicname:
  4570. description: 现货商品单位名称
  4571. type: string
  4572. inoutapplyid:
  4573. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4574. type: string
  4575. inouttype:
  4576. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4577. type: integer
  4578. pricetype:
  4579. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4580. type: integer
  4581. qty:
  4582. description: 数量
  4583. type: number
  4584. sellnickname:
  4585. description: 销售方昵称
  4586. type: string
  4587. selluserid:
  4588. description: 销售方userid
  4589. type: integer
  4590. sellusername:
  4591. description: 销售方名称
  4592. type: string
  4593. spotcontractid:
  4594. description: 关联现货合同ID
  4595. type: string
  4596. spotgoodsbrandid:
  4597. description: 现货品牌ID
  4598. type: integer
  4599. unitid:
  4600. description: 单位id
  4601. type: integer
  4602. userid:
  4603. description: 机构ID
  4604. type: integer
  4605. warehousecode:
  4606. description: 仓库代码
  4607. type: string
  4608. warehouseinfoid:
  4609. description: 现货仓库ID
  4610. type: string
  4611. warehousename:
  4612. description: 仓库名称
  4613. type: string
  4614. warehousetype:
  4615. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4616. type: integer
  4617. wrstandardcode:
  4618. description: 品类代码
  4619. type: string
  4620. wrstandardid:
  4621. description: 品类ID
  4622. type: integer
  4623. wrstandardname:
  4624. description: 品类名称
  4625. type: string
  4626. type: object
  4627. models.Ermcp3AreaStockApplySum:
  4628. properties:
  4629. brandname:
  4630. description: 品牌名称
  4631. type: string
  4632. inouttype:
  4633. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4634. type: integer
  4635. spotcontractid:
  4636. description: 关联现货合同ID
  4637. type: string
  4638. spotgoodsbrandid:
  4639. description: 品牌id
  4640. type: integer
  4641. totalqty:
  4642. description: 总数量
  4643. type: number
  4644. wrstandardid:
  4645. description: 品类id
  4646. type: integer
  4647. wrstandardname:
  4648. description: 品类名称
  4649. type: string
  4650. type: object
  4651. models.Ermcp3AreaStockReportEx:
  4652. properties:
  4653. begindate:
  4654. description: 开始交易日
  4655. type: string
  4656. brandname:
  4657. description: 品牌名称
  4658. type: string
  4659. curstock:
  4660. description: 期末库存量
  4661. type: number
  4662. cycletime:
  4663. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4664. type: string
  4665. cycletype:
  4666. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4667. type: integer
  4668. deliverygoodscode:
  4669. description: 现货品种代码
  4670. type: string
  4671. deliverygoodsid:
  4672. description: 现货品种id
  4673. type: integer
  4674. deliverygoodsname:
  4675. description: 现货品种名称
  4676. type: string
  4677. diffqty:
  4678. description: 库存变化量 = 期末 - 期初
  4679. type: number
  4680. enddate:
  4681. description: 结束交易日
  4682. type: string
  4683. enumdicname:
  4684. description: 单位名称
  4685. type: string
  4686. goodsunitid:
  4687. description: 现货单位id
  4688. type: integer
  4689. oristock:
  4690. description: 期初库存量
  4691. type: number
  4692. reckondate:
  4693. description: 日照时期(yyyyMMdd)
  4694. type: string
  4695. spotgoodsbrandid:
  4696. description: 现货品牌ID
  4697. type: integer
  4698. todaybuyinqty:
  4699. description: 今采购入库量
  4700. type: number
  4701. todayproduceinqty:
  4702. description: 今内部入库量
  4703. type: number
  4704. todayproduceoutqty:
  4705. description: 今内部出库量
  4706. type: number
  4707. todayselloutqty:
  4708. description: 今销售出库量
  4709. type: number
  4710. unbuyinqty:
  4711. description: 采购未入库量(数据库未找到相关字段?)
  4712. type: number
  4713. unitid:
  4714. description: 品类单位id
  4715. type: integer
  4716. unselloutqty:
  4717. description: 销售未出库量(数据库未找到相关字段?)
  4718. type: number
  4719. updatetime:
  4720. description: 更新时间
  4721. type: string
  4722. userid:
  4723. description: 机构ID
  4724. type: integer
  4725. username:
  4726. description: 机构名称
  4727. type: string
  4728. warehousecode:
  4729. description: 仓库代码
  4730. type: string
  4731. warehouseinfoid:
  4732. description: 仓库ID
  4733. type: string
  4734. warehousename:
  4735. description: 仓库名称
  4736. type: string
  4737. warehousetype:
  4738. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4739. type: integer
  4740. wrstandardcode:
  4741. description: 品类代码
  4742. type: string
  4743. wrstandardid:
  4744. description: 品类ID
  4745. type: integer
  4746. wrstandardname:
  4747. description: 品类名称
  4748. type: string
  4749. type: object
  4750. models.Ermcp3ArealSumPL:
  4751. properties:
  4752. accountname:
  4753. description: 机构名称
  4754. type: string
  4755. areauserid:
  4756. description: 所属机构\交易用户ID
  4757. type: integer
  4758. begindate:
  4759. description: 开始交易日
  4760. type: string
  4761. currencyid:
  4762. description: 结算币种ID
  4763. type: integer
  4764. currencyname:
  4765. description: 币种名称
  4766. type: string
  4767. cycletime:
  4768. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4769. type: string
  4770. cycletype:
  4771. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4772. type: integer
  4773. enddate:
  4774. description: 结束交易日
  4775. type: string
  4776. enumdicname:
  4777. description: 单位名称(套保品种)
  4778. type: string
  4779. futureactualpl:
  4780. description: 期货损益
  4781. type: number
  4782. futurefloatpl:
  4783. description: 期货浮动损益
  4784. type: number
  4785. futurespotratio:
  4786. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  4787. type: number
  4788. goodsunitid:
  4789. description: 套保品种单位id
  4790. type: integer
  4791. hedgeexposurepl:
  4792. description: 套保敞口损益
  4793. type: number
  4794. middlegoodscode:
  4795. description: 套保品种代码
  4796. type: string
  4797. middlegoodsid:
  4798. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  4799. type: integer
  4800. middlegoodsname:
  4801. description: 套保品种名称
  4802. type: string
  4803. reckondate:
  4804. description: 日照时期(yyyyMMdd)
  4805. type: string
  4806. spotactualpl:
  4807. description: 现货损益
  4808. type: number
  4809. spotfloatpl:
  4810. description: 现货浮动损益
  4811. type: number
  4812. sumactualpl:
  4813. description: 实际损益 = (ActualPL + FutureActualPL)
  4814. type: number
  4815. sumpl:
  4816. description: 总敞口损益 | 汇总损益
  4817. type: number
  4818. totalfutureqty:
  4819. description: 期货头寸总量
  4820. type: number
  4821. totalneedhedgeqty:
  4822. description: 应套保总量
  4823. type: number
  4824. totalspotqty:
  4825. description: 现货头寸总量
  4826. type: number
  4827. updatetime:
  4828. description: 更新时间
  4829. type: string
  4830. type: object
  4831. models.Ermcp3Brand:
  4832. properties:
  4833. areauserid:
  4834. description: 用户id
  4835. type: integer
  4836. brandid:
  4837. description: 品牌id
  4838. type: integer
  4839. brandname:
  4840. description: 品牌名称
  4841. type: string
  4842. deliverygoodsid:
  4843. description: 品种ID
  4844. type: integer
  4845. isvalid:
  4846. description: 是否有效
  4847. type: integer
  4848. type: object
  4849. models.Ermcp3Contract:
  4850. properties:
  4851. accountid:
  4852. description: 期货账户id
  4853. type: string
  4854. amount:
  4855. description: 金额 [1:一口价、3:暂定价]
  4856. type: number
  4857. attachment:
  4858. description: 附件
  4859. type: string
  4860. auditremark:
  4861. description: 审核意见
  4862. type: string
  4863. audittime:
  4864. description: 审核时间
  4865. type: string
  4866. biztype:
  4867. description: 业务类型 1-套保 2-套利
  4868. type: integer
  4869. brandname:
  4870. description: 品牌名称
  4871. type: string
  4872. buynickname:
  4873. description: 销售方昵称
  4874. type: string
  4875. buyuserid:
  4876. description: 采购方ID
  4877. type: integer
  4878. buyusername:
  4879. description: 采购方名称
  4880. type: string
  4881. contracctstatus:
  4882. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4883. type: integer
  4884. contractmargin:
  4885. description: 合同保证金
  4886. type: number
  4887. contractno:
  4888. description: 现货合同编号
  4889. type: string
  4890. contracttype:
  4891. description: 现货合同类型 - 1:采购 -1:销售
  4892. type: integer
  4893. convertfactor:
  4894. description: 标仓系数(品类)
  4895. type: number
  4896. createtime:
  4897. description: 创建时间
  4898. type: string
  4899. currencyid:
  4900. description: 币种id
  4901. type: integer
  4902. currencyname:
  4903. description: 币种名称
  4904. type: string
  4905. deliveryenddate:
  4906. description: 交收期(结束)
  4907. type: string
  4908. deliverygoodscode:
  4909. description: 现货品种代码
  4910. type: string
  4911. deliverygoodsid:
  4912. description: 现货品种ID
  4913. type: integer
  4914. deliverygoodsname:
  4915. description: 现货品种名称
  4916. type: string
  4917. deliverystartdate:
  4918. description: 交收期(开始)
  4919. type: string
  4920. enddate:
  4921. description: 点价结束日期 [2:点价 3:暂定价]
  4922. type: string
  4923. enumdicname:
  4924. description: 单位名称
  4925. type: string
  4926. goodscode:
  4927. description: 点价合约代码
  4928. type: string
  4929. goodsid:
  4930. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  4931. type: integer
  4932. goodsname:
  4933. description: 点价商品名称
  4934. type: string
  4935. margin:
  4936. description: 当前保证金
  4937. type: number
  4938. meruserid:
  4939. description: 跟单员id
  4940. type: integer
  4941. meruserlogincode:
  4942. description: 跟单员登录代码
  4943. type: string
  4944. merusername:
  4945. description: 跟单员名称
  4946. type: string
  4947. pointdesc:
  4948. description: 点价备注
  4949. type: string
  4950. price:
  4951. description: 价格\暂定价 [1:一口价、3:暂定价]
  4952. type: number
  4953. pricemove:
  4954. description: 升贴水 [2:点价 3:暂定价]
  4955. type: number
  4956. pricetype:
  4957. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4958. type: integer
  4959. producttype:
  4960. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4961. type: integer
  4962. qty:
  4963. description: 数量
  4964. type: number
  4965. remark:
  4966. description: 备注
  4967. type: string
  4968. saleuserid:
  4969. description: 业务员id
  4970. type: integer
  4971. saleuserlogincode:
  4972. description: 业务员登录代码
  4973. type: string
  4974. saleusername:
  4975. description: 业务员名称
  4976. type: string
  4977. sellnickname:
  4978. description: 采购方昵称
  4979. type: string
  4980. selluserid:
  4981. description: 销售方ID
  4982. type: integer
  4983. sellusername:
  4984. description: 销售方名称
  4985. type: string
  4986. spotcontractid:
  4987. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  4988. type: string
  4989. spotgoodsbrandid:
  4990. description: 现货品牌ID(DGFactoryItem表的ID)
  4991. type: integer
  4992. spotgoodsdesc:
  4993. description: 商品型号
  4994. type: string
  4995. startdate:
  4996. description: 点价开始日期 [2:点价 3:暂定价]
  4997. type: string
  4998. subjectid:
  4999. description: 交易主体ID
  5000. type: integer
  5001. subjectname:
  5002. description: 交易主体名称
  5003. type: string
  5004. tradeuserid:
  5005. description: 交易员id
  5006. type: integer
  5007. tradeuserlogincode:
  5008. description: 交易员登录代码
  5009. type: string
  5010. tradeusername:
  5011. description: 交易员名称
  5012. type: string
  5013. unitid:
  5014. description: 单位id(取品类上的单位id)
  5015. type: integer
  5016. updatetime:
  5017. description: 更新时间
  5018. type: string
  5019. userid:
  5020. description: 所属机构ID
  5021. type: integer
  5022. vatrate:
  5023. description: 增值税率
  5024. type: number
  5025. wrstandardcode:
  5026. description: 品类代码
  5027. type: string
  5028. wrstandardid:
  5029. description: 品类ID
  5030. type: integer
  5031. wrstandardname:
  5032. description: 品类名称
  5033. type: string
  5034. type: object
  5035. models.Ermcp3ContractMiddleGoodsCfg:
  5036. properties:
  5037. agreeunit:
  5038. description: 合约乘数
  5039. type: number
  5040. convertratio:
  5041. description: 期货品种系数
  5042. type: number
  5043. covertqty:
  5044. description: 折算手数 =【待点价量 / (合约乘数*期货品种系数) 】
  5045. type: integer
  5046. middlegoodsid:
  5047. description: 套保品种ID
  5048. type: integer
  5049. middlegoodspricedqty3:
  5050. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  5051. example: "0"
  5052. type: string
  5053. pendingpricedqty:
  5054. description: 待点价量
  5055. example: "0"
  5056. type: string
  5057. relatedmiddlegoodsqty:
  5058. description: 已关联量(套保品种-期货)
  5059. example: "0"
  5060. type: string
  5061. spotcontractid:
  5062. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5063. type: string
  5064. type: object
  5065. models.Ermcp3ExposureContractDetail:
  5066. properties:
  5067. biztype:
  5068. description: 业务类型 1-套保 2-套利
  5069. type: integer
  5070. brandname:
  5071. description: 品牌名称
  5072. type: string
  5073. buyuserid:
  5074. description: 采购方id
  5075. type: integer
  5076. buyusername:
  5077. description: 采购方名称
  5078. type: string
  5079. contractno:
  5080. description: 合同编号
  5081. type: string
  5082. contracttype:
  5083. description: 现货合同类型 - 1:采购 -1:销售
  5084. type: integer
  5085. convertfactor:
  5086. description: 标仓系数
  5087. type: number
  5088. convertratio:
  5089. description: 折算系数(套保品种)
  5090. type: number
  5091. curqty:
  5092. description: 今定价量
  5093. type: number
  5094. deliverygoodscode:
  5095. description: 现货品种代码
  5096. type: string
  5097. deliverygoodsid:
  5098. description: 现货品种id
  5099. type: integer
  5100. deliverygoodsname:
  5101. description: 现货品种名称
  5102. type: string
  5103. diffhedgeqty:
  5104. description: 套保变动量
  5105. type: number
  5106. diffneedhedgeqty:
  5107. description: 应套保变动量
  5108. type: number
  5109. diffqty:
  5110. description: 套保品种今变动量
  5111. type: number
  5112. enumdicname:
  5113. description: 单位名称
  5114. type: string
  5115. mgunitname:
  5116. description: 套保品种单位名称
  5117. type: string
  5118. middlegoodscode:
  5119. description: 套保品种代码
  5120. type: string
  5121. middlegoodsid:
  5122. description: 套保品种id
  5123. type: integer
  5124. middlegoodsname:
  5125. description: 套保品种名称
  5126. type: string
  5127. needarbitrageratio:
  5128. description: 应套利比例
  5129. type: number
  5130. needhedgeratio:
  5131. description: 应套保比例
  5132. type: number
  5133. pricedqty:
  5134. description: 已定价量
  5135. type: number
  5136. qty:
  5137. description: 合同量
  5138. type: number
  5139. reckondate:
  5140. description: 交易日(reckondate)
  5141. type: string
  5142. selluserid:
  5143. description: 销售方id
  5144. type: integer
  5145. sellusername:
  5146. description: 销售方名称
  5147. type: string
  5148. spotcontractid:
  5149. description: 合同id
  5150. type: string
  5151. todaypricedqty:
  5152. description: 今定价量
  5153. type: number
  5154. tradedate:
  5155. description: 交易日
  5156. type: string
  5157. unitid:
  5158. description: 品类单位id
  5159. type: integer
  5160. userid:
  5161. description: 机构id
  5162. type: integer
  5163. username:
  5164. description: 交易用户
  5165. type: string
  5166. wrstandardcode:
  5167. description: 现货商品代码
  5168. type: string
  5169. wrstandardid:
  5170. description: 现货商品id
  5171. type: integer
  5172. wrstandardname:
  5173. description: 现货商品名称
  5174. type: string
  5175. type: object
  5176. models.Ermcp3ExposureDetail:
  5177. properties:
  5178. areauserid:
  5179. description: 机构ID
  5180. type: integer
  5181. changeQty:
  5182. description: 套保变动量
  5183. type: number
  5184. contracttype:
  5185. description: 现货合同类型 - 1:采购 -1:销售
  5186. type: integer
  5187. convertfactor:
  5188. description: 标仓系数
  5189. type: number
  5190. convertratio:
  5191. description: 折算系数
  5192. type: number
  5193. createtime:
  5194. description: 时间
  5195. type: string
  5196. enumdicname:
  5197. description: 现货商品单位名称
  5198. type: string
  5199. logtype:
  5200. description: 类型 - 1:套保计划 2:现货合同
  5201. type: integer
  5202. mgunitid:
  5203. description: 套保品种单位id
  5204. type: integer
  5205. mgunitidname:
  5206. description: 套保品种单位名称
  5207. type: string
  5208. middlegoodsId:
  5209. description: 套保商品id
  5210. type: integer
  5211. middlegoodscode:
  5212. description: 套保商品代码
  5213. type: string
  5214. middlegoodsname:
  5215. description: 套保商品名称
  5216. type: string
  5217. qty:
  5218. description: 数量
  5219. type: number
  5220. relateNo:
  5221. description: 现货合同/套保计划编号
  5222. type: string
  5223. unitid:
  5224. description: 现货商品单位id
  5225. type: integer
  5226. wrstandardcode:
  5227. description: 现货商品代码
  5228. type: string
  5229. wrstandardid:
  5230. description: 现货商品ID(SEQ_WRSTANDARD)
  5231. type: integer
  5232. wrstandardname:
  5233. description: 现货商品名称
  5234. type: string
  5235. type: object
  5236. models.Ermcp3ExposureFutuDetail:
  5237. properties:
  5238. accountid:
  5239. description: 交易账户id
  5240. type: integer
  5241. accountname:
  5242. description: 交易账户
  5243. type: string
  5244. begindate:
  5245. description: 开始交易日
  5246. type: string
  5247. buyorsell:
  5248. description: 方向 0-买 1-卖
  5249. type: integer
  5250. diffmgqty:
  5251. description: 套保品种今变化量
  5252. type: number
  5253. diffneedqty:
  5254. description: 应套保总量变化量
  5255. type: number
  5256. difftradeqty:
  5257. description: 交易品种今变化量
  5258. type: number
  5259. enddate:
  5260. description: 结束交易日
  5261. type: string
  5262. enumdicname:
  5263. description: 单位名称
  5264. type: string
  5265. goodscode:
  5266. description: 商品代码
  5267. type: string
  5268. goodsid:
  5269. description: 商品id
  5270. type: integer
  5271. goodsname:
  5272. description: 商品名称
  5273. type: string
  5274. holdqty:
  5275. description: 期末持仓量
  5276. type: number
  5277. middlegoodscode:
  5278. description: 套保商品代码
  5279. type: string
  5280. middlegoodsid:
  5281. description: 套保商品id
  5282. type: integer
  5283. middlegoodsname:
  5284. description: 套保商品名称
  5285. type: string
  5286. oriholdqty:
  5287. description: 期初持仓量
  5288. type: number
  5289. reckondate:
  5290. description: 交易日(RECKONDATE)
  5291. type: string
  5292. todaycloseqty:
  5293. description: 今平仓量
  5294. type: number
  5295. todayopenqty:
  5296. description: 今开仓量
  5297. type: number
  5298. tradedate:
  5299. description: 交易日(RECKONDATE)
  5300. type: string
  5301. username:
  5302. description: 用户名称(交易用户)
  5303. type: string
  5304. type: object
  5305. models.Ermcp3ExposureHedgeplanDetail:
  5306. properties:
  5307. biztype:
  5308. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5309. type: integer
  5310. changqty:
  5311. description: 应套保总量变化量
  5312. type: number
  5313. contracttype:
  5314. description: 计划类型 - 1:采购 -1:销售
  5315. type: integer
  5316. convertratio:
  5317. description: 折算系数(套保品种)
  5318. type: number
  5319. deliverygoodscode:
  5320. description: 现货商品代码
  5321. type: string
  5322. deliverygoodsid:
  5323. description: 现货商品id
  5324. type: integer
  5325. deliverygoodsname:
  5326. description: 现货商吕名称
  5327. type: string
  5328. dgunitid:
  5329. description: 现货商品单位id
  5330. type: integer
  5331. dgunitidname:
  5332. description: 单位名称(现货商品)
  5333. type: string
  5334. diffqty:
  5335. description: 套保品种今变动量
  5336. type: number
  5337. enumdicname:
  5338. description: 单位名称(品类)
  5339. type: string
  5340. hedgeplanid:
  5341. description: 套保计划id
  5342. type: string
  5343. hedgeplanno:
  5344. description: 套保计划名称
  5345. type: string
  5346. hedgeplanstatus:
  5347. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5348. type: integer
  5349. mgunitidname:
  5350. description: 单位名称(套保商品)
  5351. type: string
  5352. middlegoodscode:
  5353. description: 套保品种代码
  5354. type: string
  5355. middlegoodsid:
  5356. description: 套保品种id
  5357. type: integer
  5358. middlegoodsname:
  5359. description: 套保品种名称
  5360. type: string
  5361. needarbitrageratio:
  5362. description: 应套利比例
  5363. type: number
  5364. needhedgeratio:
  5365. description: 应套保比例
  5366. type: number
  5367. pricedqty:
  5368. description: 已定价量
  5369. type: number
  5370. qty:
  5371. description: 合同量
  5372. type: number
  5373. reckondate:
  5374. description: 交易日(reckondate)
  5375. type: string
  5376. tradedate:
  5377. description: 交易日(登记日)
  5378. type: string
  5379. unitid:
  5380. description: 品类单位id
  5381. type: integer
  5382. userid:
  5383. description: 机构id
  5384. type: integer
  5385. wrstandardcode:
  5386. description: 品类代码
  5387. type: string
  5388. wrstandardid:
  5389. description: 品类id
  5390. type: integer
  5391. wrstandardname:
  5392. description: 品类名称
  5393. type: string
  5394. type: object
  5395. models.Ermcp3ExposureParamChLog:
  5396. properties:
  5397. accountid:
  5398. description: 期货账户ID (作废, 默认为0)
  5399. type: integer
  5400. aftervalue:
  5401. description: 应套保\套利量变更后(调整后应套保总量)
  5402. type: number
  5403. areauserid:
  5404. description: 所属机构\交易用户ID
  5405. type: integer
  5406. beforevalue:
  5407. description: 应套保\套利量变更前(调整前应套保总量)
  5408. type: number
  5409. begindate:
  5410. description: 开始交易日
  5411. type: string
  5412. changelogtype:
  5413. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5414. type: integer
  5415. curvalue:
  5416. description: 当前套保\套利量(套保总量|套利总量)
  5417. type: number
  5418. diffvalue:
  5419. description: 应套保总量变化量
  5420. type: number
  5421. enddate:
  5422. description: 结束交易日
  5423. type: string
  5424. logdatetime:
  5425. description: 流水日期
  5426. type: string
  5427. logid:
  5428. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5429. type: string
  5430. middlegoodscode:
  5431. description: 套保品种代码
  5432. type: string
  5433. middlegoodsid:
  5434. description: 套保品种
  5435. type: integer
  5436. middlegoodsname:
  5437. description: 套保品种名称
  5438. type: string
  5439. paramaftervalue:
  5440. description: 参数变更后(调整后参数值)
  5441. type: number
  5442. parambeforevalue:
  5443. description: 参数变更前(调整前参数值)
  5444. type: number
  5445. reckondate:
  5446. description: 交易日(reckondate)
  5447. type: string
  5448. tradedate:
  5449. description: 交易日(yyyyMMdd)
  5450. type: string
  5451. type: object
  5452. models.Ermcp3ExpourseReport:
  5453. properties:
  5454. accountid:
  5455. description: 期货账户ID (作废, 默认为0)
  5456. type: integer
  5457. accountname:
  5458. description: 机构名称
  5459. type: string
  5460. arbitrageqty:
  5461. description: 套利量
  5462. type: number
  5463. areauserid:
  5464. description: 所属机构\交易用户ID
  5465. type: integer
  5466. begindate:
  5467. description: 开始交易日
  5468. type: string
  5469. buyfutureqty:
  5470. description: 买入期货数量
  5471. type: number
  5472. buyplanqty:
  5473. description: 采购计划数量
  5474. type: number
  5475. buypricedqty:
  5476. description: 采购合同已定价数量
  5477. type: number
  5478. cycletime:
  5479. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5480. type: string
  5481. cycletype:
  5482. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5483. type: integer
  5484. diffexposure:
  5485. description: 变动量(套保敞口)
  5486. type: number
  5487. difffutuqty:
  5488. description: 变动量(期货)
  5489. type: number
  5490. diffhedgeqty:
  5491. description: 变动量(现货应套保总量)
  5492. type: number
  5493. diffmgqtya:
  5494. description: 套保变动量
  5495. type: number
  5496. diffmgqtyb:
  5497. description: 套利变动量
  5498. type: number
  5499. diffneedqty:
  5500. description: 应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量
  5501. type: number
  5502. diffqty:
  5503. description: 变动量(总敞口)
  5504. type: number
  5505. diffspotqty:
  5506. description: 变动量(现货) | 除税变动量
  5507. type: number
  5508. enddate:
  5509. description: 结束交易日
  5510. type: string
  5511. enumdicname:
  5512. description: 单位名称
  5513. type: string
  5514. hedgeqty:
  5515. description: 套保量
  5516. type: number
  5517. mgneedhedgeratio:
  5518. description: 套保比例(套保品的)
  5519. type: number
  5520. middlegoodsid:
  5521. description: 套保品种ID
  5522. type: integer
  5523. middlegoodsname:
  5524. description: 套保商品名称
  5525. type: string
  5526. middlgoodscode:
  5527. description: 套保商品代码
  5528. type: string
  5529. needarbitrageqty:
  5530. description: 应套利量
  5531. type: number
  5532. needarbitrageratio:
  5533. description: 套利比例(套保品的)
  5534. type: number
  5535. needhedgeexposoure:
  5536. description: 应套保敞口(套保敞口)
  5537. type: number
  5538. needhedgeqty:
  5539. description: 应套保量
  5540. type: number
  5541. needhedgeratio:
  5542. description: 应套保敞口比例
  5543. type: number
  5544. needqty:
  5545. description: 应套总量 = 应套保量 + 应套利量
  5546. type: number
  5547. oriarbitrageqty:
  5548. description: 期初套利量
  5549. type: number
  5550. oribuyfutureqty:
  5551. description: 期初买入期货数量
  5552. type: number
  5553. oribuyplanqty:
  5554. description: 期初采购计划数量
  5555. type: number
  5556. oribuypricedqty:
  5557. description: 期初采购合同已定价数量
  5558. type: number
  5559. orihedgeqty:
  5560. description: 期初套保量
  5561. type: number
  5562. orineedarbitrageqty:
  5563. description: 期初应套利量
  5564. type: number
  5565. orineedhedgeexposoure:
  5566. description: 期初应套保敞口
  5567. type: number
  5568. orineedhedgeqty:
  5569. description: 期初应套保量
  5570. type: number
  5571. orisellfutureqty:
  5572. description: 期初卖出期货数量
  5573. type: number
  5574. orisellplanqty:
  5575. description: 期初销售计划数量
  5576. type: number
  5577. orisellpricedqty:
  5578. description: 期初销售合同已定价数量
  5579. type: number
  5580. oritotalexposure:
  5581. description: 期初实时总敞口
  5582. type: number
  5583. oritotalfutureqty:
  5584. description: 期初期货头寸总量
  5585. type: number
  5586. oritotalneedhedgeqty:
  5587. description: 期初应套保总量
  5588. type: number
  5589. oritotalspotqty:
  5590. description: 期初现货头寸总量
  5591. type: number
  5592. reckondate:
  5593. description: 日照时期(yyyyMMdd)
  5594. type: string
  5595. sellfutureqty:
  5596. description: 卖出期货数量
  5597. type: number
  5598. sellplanqty:
  5599. description: 销售计划数量
  5600. type: number
  5601. sellpricedqty:
  5602. description: 销售合同已定价数量
  5603. type: number
  5604. totalexposure:
  5605. description: 实时总敞口(总敞口)
  5606. type: number
  5607. totalfutureqty:
  5608. description: 期货头寸总量(期货总量)
  5609. type: number
  5610. totalhedgeratio:
  5611. description: 敞口比例
  5612. type: number
  5613. totalneedhedgeqty:
  5614. description: 应套保总量(现货应套保总量)
  5615. type: number
  5616. totalspotqty:
  5617. description: 现货头寸总量 | 除税总量
  5618. type: number
  5619. unitid:
  5620. description: 单位id
  5621. type: integer
  5622. updatetime:
  5623. description: 更新时间
  5624. type: string
  5625. type: object
  5626. models.Ermcp3FinanceReport:
  5627. properties:
  5628. accountname:
  5629. description: 机构名称
  5630. type: string
  5631. areauserid:
  5632. description: 所属机构\交易用户ID
  5633. type: integer
  5634. begindate:
  5635. description: 开始交易日
  5636. type: string
  5637. biztype:
  5638. description: 业务类型 - 1:套保 2:套利
  5639. type: integer
  5640. brandname:
  5641. description: 品牌名称
  5642. type: string
  5643. buypreinvoicedamount:
  5644. description: 采购预收票额(预收票额)
  5645. type: number
  5646. buyprepaidamount:
  5647. description: 采购预付款额(预付货款额)
  5648. type: number
  5649. buytodayinvoiceamount:
  5650. description: 采购今收票额(今收票额)
  5651. type: number
  5652. buytodayrefundamount:
  5653. description: 采购今收退款额(今收退款额)
  5654. type: number
  5655. buytodaysettleamount:
  5656. description: 采购今付款额(今付货款额)
  5657. type: number
  5658. buyuninvoicedamount:
  5659. description: 采购应收票额(应收票额)
  5660. type: number
  5661. buyunpaidamount:
  5662. description: 采购应付款额(应付货款额)
  5663. type: number
  5664. currencyid:
  5665. description: 结算币种ID
  5666. type: integer
  5667. currencyname:
  5668. description: 币种名称
  5669. type: string
  5670. cycletime:
  5671. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5672. type: string
  5673. cycletype:
  5674. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5675. type: integer
  5676. deliverygoodscode:
  5677. description: 现货品种代码
  5678. type: string
  5679. deliverygoodsid:
  5680. description: 现货品种ID
  5681. type: integer
  5682. deliverygoodsname:
  5683. description: 现货品种名称
  5684. type: string
  5685. enddate:
  5686. description: 结束交易日
  5687. type: string
  5688. reckondate:
  5689. description: 日照时期(yyyyMMdd)
  5690. type: string
  5691. sellpreinvoicedamount:
  5692. description: 销售预开票额(预开票额)
  5693. type: number
  5694. sellprepaidamount:
  5695. description: 销售预收款额(预收货款额)
  5696. type: number
  5697. selltodayinvoiceamount:
  5698. description: 销售今开票额(今开票额)
  5699. type: number
  5700. selltodayrefundamount:
  5701. description: 销售今付退款额(今付退款额)
  5702. type: number
  5703. selltodaysettleamount:
  5704. description: 销售今收款额(今收货款额)
  5705. type: number
  5706. selluninvoicedamount:
  5707. description: 销售应开票额(应开票额)
  5708. type: number
  5709. sellunpaidamount:
  5710. description: 销售应收款额(应收货款额)
  5711. type: number
  5712. spotgoodsbrandid:
  5713. description: 现货品牌ID
  5714. type: integer
  5715. todaypaysum:
  5716. description: 今付款合计
  5717. type: number
  5718. todayreceivesum:
  5719. description: 今收款合计
  5720. type: number
  5721. updatetime:
  5722. description: 更新时间
  5723. type: string
  5724. wrfactortypeid:
  5725. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  5726. type: integer
  5727. wrstandardcode:
  5728. description: 品类代码
  5729. type: string
  5730. wrstandardid:
  5731. description: 现货商品ID
  5732. type: integer
  5733. wrstandardname:
  5734. description: 品类名称
  5735. type: string
  5736. type: object
  5737. models.Ermcp3GoodsGroup:
  5738. properties:
  5739. agreeunit:
  5740. description: 合约单位
  5741. type: number
  5742. areauserid:
  5743. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  5744. type: integer
  5745. canshort:
  5746. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  5747. type: integer
  5748. closepricemode:
  5749. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5750. type: integer
  5751. createtime:
  5752. description: 创建时间
  5753. type: string
  5754. creatorid:
  5755. description: 创建人
  5756. type: integer
  5757. currencyid:
  5758. description: 报价货币ID
  5759. type: integer
  5760. decimalplace:
  5761. description: 报价小数位
  5762. type: integer
  5763. enumdicname:
  5764. description: 单位名称
  5765. type: string
  5766. exchangefullname:
  5767. description: 交易所全称
  5768. type: string
  5769. excludecfg:
  5770. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  5771. type: integer
  5772. exexchangecode:
  5773. description: 交易所代码
  5774. type: string
  5775. exexchangeid:
  5776. description: 外部交易所ID[通道交易]
  5777. type: integer
  5778. exexchangename:
  5779. description: 交易所名称
  5780. type: string
  5781. goodsgroupid:
  5782. description: 商品组ID(自增ID)
  5783. type: integer
  5784. goodsgroupname:
  5785. description: 商品组名称
  5786. type: string
  5787. goodsgroupstatus:
  5788. description: 商品组状态 - 1:正常 2:注销
  5789. type: integer
  5790. goodunitid:
  5791. description: 报价单位ID
  5792. type: integer
  5793. groupcategroyid:
  5794. description: 品种分类ID
  5795. type: integer
  5796. innerdealmode:
  5797. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5798. type: integer
  5799. marketid:
  5800. description: 所属市场ID
  5801. type: integer
  5802. modifierid:
  5803. description: 修改人
  5804. type: integer
  5805. modifytime:
  5806. description: 修改时间
  5807. type: string
  5808. outerdealmode:
  5809. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5810. type: integer
  5811. outergroupcode:
  5812. description: 外部商品组代码[通道交易]
  5813. type: string
  5814. quoteminunit:
  5815. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5816. type: integer
  5817. quotesourcegroupid:
  5818. description: 所属行情源分组ID[参考行情市场用\通道交易]
  5819. type: integer
  5820. syncgoodsqty:
  5821. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  5822. type: integer
  5823. required:
  5824. - areauserid
  5825. type: object
  5826. models.Ermcp3HPMiddleGoods:
  5827. properties:
  5828. biztype:
  5829. description: 业务类型 1:套保 2:套利
  5830. type: integer
  5831. contracttype:
  5832. description: 合同类型 1:采购 -1:销售
  5833. type: integer
  5834. convertratio:
  5835. description: 折算系数
  5836. type: number
  5837. customername:
  5838. description: 对手手名称
  5839. type: string
  5840. customeruserid:
  5841. description: 对手id
  5842. type: integer
  5843. enumdicname:
  5844. description: 现货单位名称
  5845. type: string
  5846. hedgeplanid:
  5847. description: 计划id
  5848. type: string
  5849. hedgeplanno:
  5850. description: 计划编号
  5851. type: string
  5852. middlegoodsid:
  5853. description: 套保品种ID
  5854. type: integer
  5855. middlegoodsplanqty3:
  5856. description: 应套保计划量
  5857. type: number
  5858. needhedgeratio:
  5859. description: 套保比例
  5860. type: number
  5861. pricedqty:
  5862. description: 已定价量
  5863. type: number
  5864. relatedmiddlegoodsqty:
  5865. description: 已关联量(套保品种)(期货)
  5866. type: number
  5867. unitid:
  5868. description: 现货单位id
  5869. type: integer
  5870. userid:
  5871. description: 用户id
  5872. type: integer
  5873. vatrate:
  5874. description: 增值税率
  5875. type: number
  5876. wrstandardcode:
  5877. description: 现货商品代码
  5878. type: string
  5879. wrstandardid:
  5880. description: 现货商品id
  5881. type: integer
  5882. wrstandardname:
  5883. description: 现货商品名称
  5884. type: string
  5885. type: object
  5886. models.Ermcp3HedgePlan:
  5887. properties:
  5888. accountid:
  5889. description: 资金账号
  5890. type: integer
  5891. areauserid:
  5892. description: 用户ID
  5893. type: integer
  5894. auditid:
  5895. description: 审核id
  5896. type: integer
  5897. auditname:
  5898. description: 审核人名称
  5899. type: string
  5900. auditremark:
  5901. description: 审核备注
  5902. type: string
  5903. auditsrc:
  5904. description: 审核来源 1-管理端 2-终端
  5905. type: integer
  5906. audittime:
  5907. description: 审核时间
  5908. type: string
  5909. contracttype:
  5910. description: 计划类型 - 1:采购 -1:销售
  5911. type: integer
  5912. convertfactor:
  5913. description: 标仓系数
  5914. type: number
  5915. createtime:
  5916. description: 创建时间
  5917. type: string
  5918. currencyid:
  5919. description: 币种id
  5920. type: integer
  5921. currencyname:
  5922. description: 币种名称
  5923. type: string
  5924. deliverygoodscode:
  5925. description: 现货品种代码
  5926. type: string
  5927. deliverygoodsid:
  5928. description: 现货品种ID
  5929. type: integer
  5930. deliverygoodsname:
  5931. description: 现货品种名称
  5932. type: string
  5933. enumdicname:
  5934. description: 单位名称(现货商品)
  5935. type: string
  5936. hedgeplanid:
  5937. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  5938. type: string
  5939. hedgeplanno:
  5940. description: 套保计划编号(名称)
  5941. type: string
  5942. hedgeplanstatus:
  5943. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5944. type: integer
  5945. planqty:
  5946. description: 计划数量
  5947. type: number
  5948. plantime:
  5949. description: 计划时间
  5950. type: string
  5951. producttype:
  5952. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5953. type: integer
  5954. remark:
  5955. description: 备注
  5956. type: string
  5957. spotgoodsdesc:
  5958. description: 商品型号
  5959. type: string
  5960. taaccountname:
  5961. description: 资金账号名称
  5962. type: string
  5963. tradeuserid:
  5964. description: 交易用户id
  5965. type: integer
  5966. tradeusername:
  5967. description: 交易用户名称
  5968. type: string
  5969. unitid:
  5970. description: 单位id(现货商品)
  5971. type: integer
  5972. updatetime:
  5973. description: 更新时间
  5974. type: string
  5975. vatrate:
  5976. description: 增值税率
  5977. type: number
  5978. wrstandardcode:
  5979. description: 品类代码
  5980. type: string
  5981. wrstandardid:
  5982. description: 品类id
  5983. type: integer
  5984. wrstandardname:
  5985. description: 品类名称
  5986. type: string
  5987. wrunitid:
  5988. description: 品类单位id
  5989. type: integer
  5990. wrunitidame:
  5991. description: 品类单位名称
  5992. type: string
  5993. type: object
  5994. models.Ermcp3InnerTradeLink:
  5995. properties:
  5996. accountid:
  5997. description: 期货账号代码 | 资金账号ID
  5998. type: integer
  5999. buyorsell:
  6000. description: 方向 - 0:买 1:卖
  6001. type: integer
  6002. channelbuildtype:
  6003. description: 委托单据类型 0:无 1:建仓 2:平仓
  6004. type: integer
  6005. currencyid:
  6006. description: 币种id
  6007. type: integer
  6008. currencyname:
  6009. description: 结算币种 名称
  6010. type: string
  6011. goodscode:
  6012. description: 商品代码
  6013. type: string
  6014. goodsid:
  6015. description: 商品ID
  6016. type: integer
  6017. goodsname:
  6018. description: 商品名称
  6019. type: string
  6020. outtradeid:
  6021. description: 外部成交单号
  6022. type: string
  6023. taname:
  6024. description: 期货账户名称
  6025. type: string
  6026. tradeid:
  6027. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6028. type: string
  6029. tradeprice:
  6030. description: 成交价格
  6031. type: number
  6032. tradeqty:
  6033. description: 期货成交数量
  6034. type: integer
  6035. tradetime:
  6036. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  6037. type: string
  6038. username:
  6039. description: 用户名称
  6040. type: string
  6041. type: object
  6042. models.Ermcp3OutTradeLink:
  6043. properties:
  6044. buyorsell:
  6045. description: 买卖方向 - 0:买 1:卖
  6046. type: integer
  6047. channelbuildtype:
  6048. description: 开平标志- 0:无 1:建仓 2:平仓
  6049. type: integer
  6050. currencyname:
  6051. description: 币种名称
  6052. type: string
  6053. exexchangecode:
  6054. description: 交易所代码
  6055. type: string
  6056. exexchangename:
  6057. description: 交易所名称
  6058. type: string
  6059. goodscode:
  6060. description: 合约代码
  6061. type: string
  6062. goodsid:
  6063. description: 合约id
  6064. type: integer
  6065. goodsname:
  6066. description: 合约名称
  6067. type: string
  6068. hasinnerorder:
  6069. description: 是否有内部单关联 - 0:无 1:有
  6070. type: integer
  6071. hedgeaccountcode:
  6072. description: 外部账号 | 对冲账号
  6073. type: string
  6074. outtradeid:
  6075. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6076. type: string
  6077. tradeprice:
  6078. description: 成交价格
  6079. type: number
  6080. tradeqty:
  6081. description: 成交数量
  6082. type: integer
  6083. tradetime:
  6084. description: 成交时间
  6085. type: string
  6086. type: object
  6087. models.Ermcp3PaAreaAuditCfg:
  6088. properties:
  6089. areauserid:
  6090. description: 用户ID
  6091. type: integer
  6092. buyinauditflag:
  6093. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  6094. type: integer
  6095. costratioauditflag:
  6096. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  6097. type: integer
  6098. customerauditflag:
  6099. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  6100. type: integer
  6101. deliveryauditflag:
  6102. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  6103. type: integer
  6104. invoiceauditflag:
  6105. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  6106. type: integer
  6107. mgneedhedgeratioauditflag:
  6108. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  6109. type: integer
  6110. moneyauditflag:
  6111. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  6112. type: integer
  6113. operatorid:
  6114. description: 操作人
  6115. type: integer
  6116. operatorsrc:
  6117. description: 操作来源 - 1:管理端 2:终端
  6118. type: integer
  6119. pointpriceauditflag:
  6120. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  6121. type: integer
  6122. produceinauditflag:
  6123. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  6124. type: integer
  6125. produceoutauditflag:
  6126. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  6127. type: integer
  6128. selloutauditflag:
  6129. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  6130. type: integer
  6131. sgconvertratioauditflag:
  6132. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  6133. type: integer
  6134. sgvtaratioauditflag:
  6135. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  6136. type: integer
  6137. spotcontractauditflag:
  6138. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  6139. type: integer
  6140. updatetime:
  6141. description: 更新时间
  6142. type: string
  6143. type: object
  6144. models.Ermcp3PaAreaSubject:
  6145. properties:
  6146. areauserid:
  6147. description: 所属机构
  6148. type: integer
  6149. canmodify:
  6150. description: 是否可修改 - 0:否 1:是
  6151. type: integer
  6152. createtime:
  6153. description: 创建时间
  6154. type: string
  6155. creatorid:
  6156. description: 创建人ID
  6157. type: string
  6158. creatorsrc:
  6159. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6160. type: integer
  6161. modifierid:
  6162. description: 修改人
  6163. type: string
  6164. modifiersrc:
  6165. description: 修改人来源 - 1:管理端 2:终端
  6166. type: integer
  6167. modifytime:
  6168. description: 修改时间
  6169. type: string
  6170. parentsubjectid:
  6171. description: 上级主体ID
  6172. type: string
  6173. remark:
  6174. description: 备注
  6175. type: string
  6176. subjectid:
  6177. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  6178. type: integer
  6179. subjectname:
  6180. description: 主体名称
  6181. type: string
  6182. subjectstatus:
  6183. description: '主体状态 - 1:正常 2: 停用'
  6184. type: integer
  6185. subjecttype:
  6186. description: 主体类型 - 1:交易主体 2:业务部门
  6187. type: integer
  6188. type: object
  6189. models.Ermcp3PaTradeLink:
  6190. properties:
  6191. accountid:
  6192. description: 期货账户代码 | 账号ID
  6193. type: integer
  6194. agreeunit:
  6195. description: 合约乘数
  6196. type: number
  6197. buyorsell:
  6198. description: 方向 - 0:买 1:卖
  6199. type: integer
  6200. channelbuildtype:
  6201. description: 委托单据类型 0:无 1:建仓 2:平仓
  6202. type: integer
  6203. charge:
  6204. description: 手续费
  6205. type: number
  6206. closepl:
  6207. description: 平仓盈亏
  6208. type: number
  6209. closetype:
  6210. description: 平仓方式 - 0:无 1:平今 2:平昨
  6211. type: integer
  6212. convertratio:
  6213. description: 折算系数
  6214. type: number
  6215. enumdicname:
  6216. description: 单位名称
  6217. type: string
  6218. executeprice:
  6219. description: 执行价 [期权]
  6220. type: integer
  6221. goodscode:
  6222. description: 合约代码
  6223. type: string
  6224. goodsgroupid:
  6225. description: 对冲品种ID[期货合约商品组ID]
  6226. type: integer
  6227. goodsid:
  6228. description: 商品ID
  6229. type: integer
  6230. goodsname:
  6231. description: 合约名称
  6232. type: string
  6233. goodunitid:
  6234. description: 单位id
  6235. type: integer
  6236. hedgeflag:
  6237. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  6238. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6239. type: integer
  6240. marketid:
  6241. description: 市场ID
  6242. type: integer
  6243. middlegoodsid:
  6244. description: 套保品种ID
  6245. type: integer
  6246. middlegoodsqty:
  6247. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  6248. type: number
  6249. optioncode:
  6250. description: 期权代码 [期权]
  6251. type: string
  6252. ordertype:
  6253. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  6254. type: integer
  6255. ordertypename:
  6256. description: 订单类型
  6257. type: string
  6258. parentaccountid:
  6259. description: 所属母账户
  6260. type: integer
  6261. premium:
  6262. description: 权利金 [期权]
  6263. type: number
  6264. relatedlot:
  6265. description: 已关联数量(已关联数量手) | db:关联手数
  6266. type: number
  6267. relatedouttradeid:
  6268. description: 关联外部成交单ID
  6269. type: string
  6270. relatedqty:
  6271. description: 关联数量
  6272. type: number
  6273. spotcontractid:
  6274. description: 现货合同ID [4:套期保值\10\11]
  6275. type: string
  6276. taname:
  6277. description: 期货账户名称
  6278. type: string
  6279. tradeamount:
  6280. description: 成交金额(账户)
  6281. type: number
  6282. tradedate:
  6283. description: 交易日(yyyyMMdd)
  6284. type: string
  6285. tradeid:
  6286. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6287. type: string
  6288. tradelot:
  6289. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  6290. type: integer
  6291. tradeprice:
  6292. description: 成交价格
  6293. type: number
  6294. tradetime:
  6295. description: 时间 | db:成交时间
  6296. type: string
  6297. tradetype:
  6298. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  6299. type: integer
  6300. userid:
  6301. description: 所属机构 - 所属母账户的UserID
  6302. type: string
  6303. username:
  6304. description: 用户名称
  6305. type: string
  6306. type: object
  6307. models.Ermcp3ParamChangeApp:
  6308. properties:
  6309. aftervalue:
  6310. description: 变更后
  6311. type: number
  6312. applicationid:
  6313. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  6314. type: string
  6315. applyid:
  6316. description: 申请人
  6317. type: string
  6318. applyname:
  6319. description: 申请人名称(代码)
  6320. type: string
  6321. applyremark:
  6322. description: 申请备注
  6323. type: string
  6324. applysrc:
  6325. description: 申请来源 - 1:管理端 2:终端
  6326. type: integer
  6327. applystatus:
  6328. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  6329. type: integer
  6330. applytime:
  6331. description: 申请时间
  6332. type: string
  6333. areauserid:
  6334. description: 所属机构用户ID
  6335. type: integer
  6336. auditid:
  6337. description: 审核人
  6338. type: string
  6339. auditname:
  6340. description: 审核人名称(代码)
  6341. type: string
  6342. auditremark:
  6343. description: 审核备注
  6344. type: string
  6345. auditsrc:
  6346. description: 审核来源 - 1:管理端 2:终端
  6347. type: integer
  6348. audittime:
  6349. description: 审核时间
  6350. type: string
  6351. audittradedate:
  6352. description: 审核交易日(yyyyMMdd)
  6353. type: string
  6354. beforevalue:
  6355. description: 变更前
  6356. type: number
  6357. deliverygoodscode:
  6358. description: 品种代码
  6359. type: string
  6360. deliverygoodsid:
  6361. description: 品种id
  6362. type: integer
  6363. deliverygoodsname:
  6364. description: 品种名称
  6365. type: string
  6366. middlegoodscode:
  6367. description: 套保品种代码
  6368. type: string
  6369. middlegoodsid:
  6370. description: 套保品种ID [ParamChangeType = 2,3,4]
  6371. type: integer
  6372. middlegoodsname:
  6373. description: 套保品种名称
  6374. type: string
  6375. operatetype:
  6376. description: 操作类型 - 1:新增 2:修改
  6377. type: integer
  6378. paramchangetype:
  6379. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6380. type: integer
  6381. wrstandardcode:
  6382. description: 现货商品代码
  6383. type: string
  6384. wrstandardid:
  6385. description: 现货商品ID [ParamChangeType = 1,2,3]
  6386. type: integer
  6387. wrstandardname:
  6388. description: 现货商品名称
  6389. type: string
  6390. type: object
  6391. models.Ermcp3RootUserAccount:
  6392. properties:
  6393. accountname:
  6394. description: 账户名称(机构名称)
  6395. type: string
  6396. accountstatus:
  6397. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6398. type: integer
  6399. applysrc:
  6400. description: 申请来源 - 1:管理端 2:终端
  6401. type: integer
  6402. auditremark:
  6403. description: 审核备注
  6404. type: string
  6405. auditsrc:
  6406. description: 审核来源 - 1:管理端 2:终端
  6407. type: integer
  6408. audittime:
  6409. description: 审核时间
  6410. type: string
  6411. audituserid:
  6412. description: 审核人
  6413. type: integer
  6414. broker:
  6415. description: 所属经纪人ID
  6416. type: integer
  6417. canceltime:
  6418. description: 销户时间
  6419. type: string
  6420. canceluserid:
  6421. description: 销户人
  6422. type: integer
  6423. canrecommend:
  6424. description: 是否可推荐 - 0:不可 1;可
  6425. type: integer
  6426. createtime:
  6427. description: 创建时间
  6428. type: string
  6429. creatorid:
  6430. description: 创建人
  6431. type: integer
  6432. hasauth:
  6433. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6434. type: integer
  6435. isanonymous:
  6436. description: 是否匿名下单 - 0:否 1:是
  6437. type: integer
  6438. maxinvestornum:
  6439. description: 最大用户数(经纪会员下投资者个数)
  6440. type: integer
  6441. memberuserid:
  6442. description: 所属会员ID
  6443. type: integer
  6444. modifierid:
  6445. description: 修改人
  6446. type: integer
  6447. modifyremark:
  6448. description: 变更备注
  6449. type: string
  6450. modifystatus:
  6451. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6452. type: integer
  6453. modifytime:
  6454. description: 修改时间
  6455. type: string
  6456. nickname:
  6457. description: 昵称
  6458. type: string
  6459. parenttopuser:
  6460. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  6461. type: string
  6462. parentuserid:
  6463. description: 所属机构ID
  6464. type: integer
  6465. reckonaccountid:
  6466. description: 默认结算资金账号ID(机构分润使用) 作废
  6467. type: integer
  6468. refercount:
  6469. description: 推荐总人数
  6470. type: integer
  6471. refereeuserid:
  6472. description: 推荐人ID
  6473. type: integer
  6474. refernum:
  6475. description: 推荐码
  6476. type: string
  6477. rootuserid:
  6478. description: 根用户ID
  6479. type: integer
  6480. subaccountlevel:
  6481. description: 子账户层数
  6482. type: integer
  6483. subarealevelpath:
  6484. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6485. type: string
  6486. userid:
  6487. description: 用户ID
  6488. type: integer
  6489. usertype:
  6490. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6491. type: integer
  6492. type: object
  6493. models.Ermcp3SCMiddleGoods:
  6494. properties:
  6495. biztype:
  6496. description: 业务类型 1:套保 2:套利
  6497. type: integer
  6498. contractno:
  6499. description: 合同编号
  6500. type: string
  6501. contracttype:
  6502. description: 合同类型 1:采购 -1:销售
  6503. type: integer
  6504. convertratio:
  6505. description: 折算系数
  6506. type: number
  6507. customername:
  6508. description: 对手手名称
  6509. type: string
  6510. customeruserid:
  6511. description: 对手id
  6512. type: integer
  6513. deliverygoodscode:
  6514. description: 现货品种代码
  6515. type: string
  6516. deliverygoodsid:
  6517. description: 现货品种ID
  6518. type: integer
  6519. deliverygoodsname:
  6520. description: 现货品种名称
  6521. type: string
  6522. enumdicname:
  6523. description: 现货单位名称
  6524. type: string
  6525. middlegoodsid:
  6526. description: 套保品种ID
  6527. type: integer
  6528. middlegoodspricedqty3:
  6529. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  6530. type: number
  6531. needhedgeratio:
  6532. description: 套保比例
  6533. type: number
  6534. pricedqty:
  6535. description: 已定价量
  6536. type: number
  6537. relatedmiddlegoodsqty:
  6538. description: 已关联量(套保品种)(期货)
  6539. type: number
  6540. spotcontractid:
  6541. description: 合同编号
  6542. type: string
  6543. unitid:
  6544. description: 现货单位id
  6545. type: integer
  6546. userid:
  6547. description: 用户id
  6548. type: integer
  6549. vatrate:
  6550. description: 增值税率
  6551. type: number
  6552. wrstandardcode:
  6553. description: 现货商品代码
  6554. type: string
  6555. wrstandardid:
  6556. description: 现货商品id
  6557. type: integer
  6558. wrstandardname:
  6559. description: 现货商品名称
  6560. type: string
  6561. type: object
  6562. models.Ermcp3SCMiddleGoodsReport:
  6563. properties:
  6564. begindate:
  6565. description: 开始交易日
  6566. type: string
  6567. contractno:
  6568. description: 合同编号
  6569. type: string
  6570. contracttype:
  6571. description: 合同类型 1:采购 -1:销售
  6572. type: integer
  6573. convertratio:
  6574. description: 折算系数
  6575. type: number
  6576. cycletime:
  6577. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6578. type: string
  6579. cycletype:
  6580. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6581. type: integer
  6582. deliverygoodscode:
  6583. description: 品种代码
  6584. type: string
  6585. deliverygoodsid:
  6586. description: 现货品种ID
  6587. type: integer
  6588. deliverygoodsname:
  6589. description: 品种名称
  6590. type: string
  6591. diffprice:
  6592. description: 现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价
  6593. type: number
  6594. diffqty:
  6595. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  6596. type: number
  6597. enddate:
  6598. description: 结束交易日
  6599. type: string
  6600. hedgeplanqty:
  6601. description: 套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例
  6602. type: number
  6603. matchname:
  6604. description: 交易对手方(个人:用户名称 企业:简称)
  6605. type: string
  6606. matchnickname:
  6607. description: 交易对手方昵称
  6608. type: string
  6609. middlegoodscode:
  6610. description: 套保品种代码
  6611. type: string
  6612. middlegoodsid:
  6613. description: 套保品种ID
  6614. type: integer
  6615. middlegoodsname:
  6616. description: 套保品种名称
  6617. type: string
  6618. middlegoodspricedqty:
  6619. description: 已定价量(套保品种 - 税前) = PricedQty * 折算系数
  6620. type: number
  6621. middlegoodspricedqty2:
  6622. description: 已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))
  6623. type: number
  6624. middlegoodspricedqty3:
  6625. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  6626. type: number
  6627. needhedgeratio:
  6628. description: 套保系数
  6629. type: number
  6630. pricedamount:
  6631. description: 已定价额(现货)
  6632. type: number
  6633. pricedamount2:
  6634. description: 已定价额(现货-基价额)
  6635. type: number
  6636. pricedqty:
  6637. description: 已定价量(现货)
  6638. type: number
  6639. reckondate:
  6640. description: 日照时期(yyyyMMdd)
  6641. type: string
  6642. relatedmiddlegoodsamount:
  6643. description: 已关联额(期货)
  6644. type: number
  6645. relatedmiddlegoodsqty:
  6646. description: 已关联量(套保品种)(期货)
  6647. type: number
  6648. spotcontractid:
  6649. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  6650. type: string
  6651. todayavgfutuprice:
  6652. description: 今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty
  6653. type: number
  6654. todayavgprice:
  6655. description: 今日定价均价 = TodayPricedAmount / TodayPricedQty
  6656. type: number
  6657. todayavgprice2:
  6658. description: 今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty
  6659. type: number
  6660. todaypricedamount:
  6661. description: 今日定价额(现货)
  6662. type: number
  6663. todaypricedamount2:
  6664. description: 今日定价额(现货-基价额)
  6665. type: number
  6666. todaypricedqty:
  6667. description: 今日定价量(现货)
  6668. type: number
  6669. todayrelatedfutureqty:
  6670. description: 今日关联量(期货)
  6671. type: number
  6672. todayrelatedmiddlegoodsamount:
  6673. description: 今日关联额(期货)
  6674. type: number
  6675. todayrelatedmiddlegoodsqty:
  6676. description: 今日关联量(套保品-期货)
  6677. type: number
  6678. updatetime:
  6679. description: 更新时间
  6680. type: string
  6681. userid:
  6682. description: 合同所属用户id
  6683. type: integer
  6684. vatrate:
  6685. description: 增值税率
  6686. type: number
  6687. wrstandardcode:
  6688. description: 商品(品类) 代码
  6689. type: string
  6690. wrstandardid:
  6691. description: 现货商品ID
  6692. type: integer
  6693. wrstandardname:
  6694. description: 商品(品类) 名称
  6695. type: string
  6696. type: object
  6697. models.Ermcp3SellBuyContract:
  6698. properties:
  6699. accountid:
  6700. description: 期货账户id
  6701. type: string
  6702. accountname:
  6703. description: 账户名称
  6704. type: string
  6705. attachment:
  6706. description: 附件
  6707. type: string
  6708. audittime:
  6709. description: 审核时间
  6710. type: string
  6711. bizsubjectid:
  6712. description: 归属业务部门ID - SubjectID
  6713. type: integer
  6714. biztype:
  6715. description: 业务类型 1-套保 2-套利
  6716. type: integer
  6717. brandname:
  6718. description: 品牌名称
  6719. type: string
  6720. contracctstatus:
  6721. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6722. type: integer
  6723. contractmargin:
  6724. description: 合同保证金
  6725. type: number
  6726. contractno:
  6727. description: 合同编号
  6728. type: string
  6729. contracttype:
  6730. description: 合同类型 1-采购, -1-销售
  6731. type: integer
  6732. convertfactor:
  6733. description: 标仓系数(品类)
  6734. type: number
  6735. createtime:
  6736. description: 创建时间
  6737. type: string
  6738. currencyid:
  6739. description: 币种id
  6740. type: integer
  6741. currencyname:
  6742. description: 币种名称
  6743. type: string
  6744. daikaiamount:
  6745. description: 应收(开)票额 | 未收票额
  6746. type: number
  6747. deliveryenddate:
  6748. description: 交割结束日
  6749. type: string
  6750. deliverygoodscode:
  6751. description: 现货品种代码
  6752. type: string
  6753. deliverygoodsid:
  6754. description: 现货商品ID
  6755. type: integer
  6756. deliverygoodsname:
  6757. description: 现货品种名称
  6758. type: string
  6759. deliverystartdate:
  6760. description: 交割开始日
  6761. type: string
  6762. enddate:
  6763. description: 点价结束日
  6764. type: string
  6765. enumdicname:
  6766. description: 单位名称
  6767. type: string
  6768. goodscode:
  6769. description: 点价商品代码
  6770. type: string
  6771. goodsgroupid:
  6772. description: 点价商品组id
  6773. type: integer
  6774. goodsid:
  6775. description: 点价商品ID
  6776. type: integer
  6777. goodsname:
  6778. description: 点价商品名称
  6779. type: string
  6780. invoiceamount:
  6781. description: 已开票额
  6782. type: number
  6783. loanamount:
  6784. description: 贷款总额=已定价额+调整金额
  6785. type: number
  6786. margin:
  6787. description: 保证金
  6788. type: number
  6789. meruserid:
  6790. description: 跟单员id
  6791. type: integer
  6792. meruserlogincode:
  6793. description: 跟单员登录代码
  6794. type: string
  6795. merusername:
  6796. description: 跟单员名称
  6797. type: string
  6798. nickname:
  6799. description: 账户昵称
  6800. type: string
  6801. orireckonrealqty:
  6802. description: 应交收量
  6803. type: number
  6804. payamount:
  6805. description: 已收付额(收款或付款)
  6806. type: number
  6807. preinvoiceamount:
  6808. description: 预收(开)票额
  6809. type: number
  6810. prepayamount:
  6811. description: 预收付额
  6812. type: number
  6813. price:
  6814. description: 价格
  6815. type: number
  6816. pricedamount:
  6817. description: 已定价额
  6818. type: number
  6819. pricedavg:
  6820. description: 已点均价
  6821. type: number
  6822. pricedqty:
  6823. description: 已定价量
  6824. type: number
  6825. pricemove:
  6826. description: 升贴水
  6827. type: number
  6828. pricetype:
  6829. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  6830. type: integer
  6831. producttype:
  6832. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6833. type: integer
  6834. qty:
  6835. description: 合同量
  6836. type: number
  6837. reckonadjustamount:
  6838. description: 调整金额
  6839. type: number
  6840. reckonedamount:
  6841. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  6842. type: number
  6843. reckonotheramount:
  6844. description: 其它费用
  6845. type: number
  6846. reckonrealqty:
  6847. description: 已交收量
  6848. type: number
  6849. remark:
  6850. description: 备注
  6851. type: string
  6852. saleuserid:
  6853. description: 业务员id
  6854. type: integer
  6855. saleuserlogincode:
  6856. description: 业务员登录代码
  6857. type: string
  6858. saleusername:
  6859. description: 业务员名称
  6860. type: string
  6861. spotcontractid:
  6862. description: 合同ID
  6863. type: string
  6864. spotgoodsbrandid:
  6865. description: 现货品牌ID(DGFactoryItem表的ID)
  6866. type: integer
  6867. spotgoodsdesc:
  6868. description: 商品型号(商品规格)
  6869. type: string
  6870. startdate:
  6871. description: 点价开始日
  6872. type: string
  6873. subjectid:
  6874. description: 交易主体ID
  6875. type: integer
  6876. subjectname:
  6877. description: 交易主体名称
  6878. type: string
  6879. totalamount:
  6880. description: 合计总额
  6881. type: number
  6882. tradeuserid:
  6883. description: 交易员id
  6884. type: integer
  6885. tradeuserlogincode:
  6886. description: 交易员登录代码
  6887. type: string
  6888. tradeusername:
  6889. description: 交易员名称
  6890. type: string
  6891. unpayamount:
  6892. description: 应收付款额(应支付或应收款) | 未付款额
  6893. type: number
  6894. unpricedqty:
  6895. description: 未定价量
  6896. type: number
  6897. unsureqty:
  6898. description: 未确定量 | 未交收量
  6899. type: number
  6900. userid:
  6901. description: 机构ID
  6902. type: integer
  6903. vatrate:
  6904. description: 增值税率
  6905. type: number
  6906. wrstandardcode:
  6907. description: 品类代码
  6908. type: string
  6909. wrstandardid:
  6910. description: 品类ID
  6911. type: integer
  6912. wrstandardname:
  6913. description: 品类名称
  6914. type: string
  6915. type: object
  6916. models.Ermcp3SpotGoodsPrice:
  6917. properties:
  6918. areauserid:
  6919. description: 所属机构id
  6920. type: integer
  6921. brandname:
  6922. description: 品牌名称
  6923. type: string
  6924. currencyid:
  6925. description: 报价货币ID
  6926. type: integer
  6927. currencyname:
  6928. description: 币种名称
  6929. type: string
  6930. deliverygoodscode:
  6931. description: 现货商品代码
  6932. type: string
  6933. deliverygoodsid:
  6934. description: 现货商品id
  6935. type: integer
  6936. deliverygoodsname:
  6937. description: 现货商品名称
  6938. type: string
  6939. enumdicname:
  6940. description: 现货商品单位名称
  6941. type: string
  6942. gbenumdicname:
  6943. description: 品类单位名称
  6944. type: string
  6945. gmunitid:
  6946. description: 品类单位id
  6947. type: integer
  6948. isvalid:
  6949. description: 是否有效 - 0:无效 1:有效
  6950. type: integer
  6951. operateid:
  6952. description: 最后操作人
  6953. type: integer
  6954. operatesrc:
  6955. description: 最后操作来源 - 1:管理端 2:终端
  6956. type: integer
  6957. operatetime:
  6958. description: 最后操作时间
  6959. type: string
  6960. operatorname:
  6961. description: 操作人名称
  6962. type: string
  6963. spotgoodsbrandid:
  6964. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6965. type: integer
  6966. spotgoodsprice:
  6967. description: 现货价格
  6968. type: number
  6969. tradedate:
  6970. description: 交易日(yyyyMMdd)
  6971. type: string
  6972. unitid:
  6973. description: 现货商品单位id
  6974. type: integer
  6975. wrstandardcode:
  6976. description: 品类代码
  6977. type: string
  6978. wrstandardid:
  6979. description: 现货品类ID(通用则为0)
  6980. type: integer
  6981. wrstandardname:
  6982. description: 品类名称
  6983. type: string
  6984. type: object
  6985. models.Ermcp3SpotGoodsPriceLog:
  6986. properties:
  6987. areauserid:
  6988. description: 所属机构id
  6989. type: integer
  6990. brandname:
  6991. description: 品牌名称
  6992. type: string
  6993. currencyid:
  6994. description: 报价货币ID
  6995. type: integer
  6996. deliverygoodscode:
  6997. description: 现货商品代码
  6998. type: string
  6999. deliverygoodsid:
  7000. description: 现货商品id
  7001. type: integer
  7002. deliverygoodsname:
  7003. description: 现货商品名称
  7004. type: string
  7005. enumdicname:
  7006. description: 现货商品单位名称
  7007. type: string
  7008. gbenumdicname:
  7009. description: 品类单位名称
  7010. type: string
  7011. gmunitid:
  7012. description: 品类单位id
  7013. type: integer
  7014. logid:
  7015. description: 日志id
  7016. type: integer
  7017. operateid:
  7018. description: 最后操作人
  7019. type: integer
  7020. operatesrc:
  7021. description: 最后操作来源 - 1:管理端 2:终端
  7022. type: integer
  7023. operatetime:
  7024. description: 最后操作时间
  7025. type: string
  7026. operatorname:
  7027. description: 操作人名称
  7028. type: string
  7029. spotgoodsbrandid:
  7030. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7031. type: integer
  7032. spotgoodsprice:
  7033. description: 现货价格
  7034. type: number
  7035. tradedate:
  7036. description: 交易日(yyyyMMdd)
  7037. type: string
  7038. unitid:
  7039. description: 现货商品单位id
  7040. type: integer
  7041. wrstandardcode:
  7042. description: 品类代码
  7043. type: string
  7044. wrstandardid:
  7045. description: 现货品类ID(通用则为0)
  7046. type: integer
  7047. wrstandardname:
  7048. description: 品类名称
  7049. type: string
  7050. type: object
  7051. models.Ermcp3SubTaaccount:
  7052. properties:
  7053. accountid:
  7054. description: 资金账户ID
  7055. type: integer
  7056. parentaccountcode:
  7057. description: 所属根账号代码(母账号代码)
  7058. type: string
  7059. parentaccountid:
  7060. description: 所属根账号(母账号)
  7061. type: integer
  7062. taname:
  7063. description: 资金账号名称
  7064. type: string
  7065. tradestatus:
  7066. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  7067. type: integer
  7068. username:
  7069. description: 交易用户
  7070. type: string
  7071. type: object
  7072. models.Ermcp3TaFutuReDataReport:
  7073. properties:
  7074. accountid:
  7075. description: 交易账户
  7076. type: integer
  7077. accountname:
  7078. description: 交易账号名称
  7079. type: string
  7080. agreeunit:
  7081. description: 商品合约单位
  7082. type: number
  7083. begindate:
  7084. description: 开始交易日
  7085. type: string
  7086. buyorsell:
  7087. description: 持仓方向
  7088. type: integer
  7089. charge:
  7090. description: 手续费
  7091. type: number
  7092. closeavgprice:
  7093. description: 平仓均价
  7094. type: number
  7095. closepl:
  7096. description: 平仓损益
  7097. type: number
  7098. currencyid:
  7099. description: 结算币种ID
  7100. type: integer
  7101. currencyname:
  7102. description: 币种名称
  7103. type: string
  7104. cycletime:
  7105. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7106. type: string
  7107. cycletype:
  7108. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7109. type: integer
  7110. enddate:
  7111. description: 结束交易日
  7112. type: string
  7113. enumdicname:
  7114. description: 单位名称
  7115. type: string
  7116. floatpl:
  7117. description: 浮动损益
  7118. type: number
  7119. goodscode:
  7120. description: 交易合约代码
  7121. type: string
  7122. goodsgroupid:
  7123. description: 交易品种
  7124. type: integer
  7125. goodsgroupname:
  7126. description: 交易品种名称
  7127. type: string
  7128. goodsgroupspotqty:
  7129. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  7130. type: number
  7131. goodsid:
  7132. description: 交易合约
  7133. type: integer
  7134. goodsname:
  7135. description: 交易合约名称
  7136. type: string
  7137. goodunitid:
  7138. description: 交易合约单位id
  7139. type: integer
  7140. holdamount:
  7141. description: 期末持仓额
  7142. type: number
  7143. holdqty:
  7144. description: 期末持仓量
  7145. type: number
  7146. lastholdamount:
  7147. description: 当前持仓额
  7148. type: number
  7149. lastprice:
  7150. description: 最新价
  7151. type: number
  7152. middlegoodsid:
  7153. description: 套保品种id
  7154. type: integer
  7155. middlegoodsname:
  7156. description: 套保商品名称
  7157. type: string
  7158. middlegoodsqty:
  7159. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  7160. type: number
  7161. middlgoodscode:
  7162. description: 套保商品代码
  7163. type: string
  7164. openamount:
  7165. description: 期末开仓额
  7166. type: number
  7167. openavgprice:
  7168. description: 开仓均价
  7169. type: number
  7170. oriholdamount:
  7171. description: 期初持仓额
  7172. type: number
  7173. oriholdqty:
  7174. description: 期初持仓量
  7175. type: number
  7176. oriopenamount:
  7177. description: 期初开仓额
  7178. type: number
  7179. outergroupcode:
  7180. description: 交易品种代码
  7181. type: string
  7182. qtydecimalplace:
  7183. description: 成交量小数位
  7184. type: integer
  7185. reckondate:
  7186. description: 日照时期(yyyyMMdd)
  7187. type: string
  7188. reckonholdamount:
  7189. description: 结算持仓额
  7190. type: number
  7191. reckonpl:
  7192. description: 结算损益
  7193. type: number
  7194. reckonpl2:
  7195. description: 结算逐笔盈亏
  7196. type: number
  7197. reckonprice:
  7198. description: 结算价
  7199. type: number
  7200. relateduserid:
  7201. description: 账户关联用户ID
  7202. type: integer
  7203. todaycloseamount:
  7204. description: 今平仓额
  7205. type: number
  7206. todaycloseqty:
  7207. description: 今平仓量
  7208. type: number
  7209. todaygoodsgroupspotqty:
  7210. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  7211. type: number
  7212. todaymiddlegoodsqty:
  7213. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  7214. type: number
  7215. todayopenamount:
  7216. description: 今开仓额
  7217. type: number
  7218. todayopenqty:
  7219. description: 今开仓量
  7220. type: number
  7221. userid:
  7222. description: 账户所属用户ID
  7223. type: integer
  7224. type: object
  7225. models.Ermcp3TradeLinkDetail:
  7226. properties:
  7227. accountid:
  7228. description: 资金账号
  7229. type: integer
  7230. agreeunit:
  7231. description: 合约乘数
  7232. type: number
  7233. areauserid:
  7234. description: 所属机构
  7235. type: string
  7236. bizsubjectid:
  7237. description: 归属业务部门ID - SubjectID
  7238. type: string
  7239. buyorsell:
  7240. description: 方向 - 0:买 1:卖
  7241. type: integer
  7242. channelbuildtype:
  7243. description: 委托单据类型 0:无 1:建仓 2:平仓
  7244. type: integer
  7245. contractno:
  7246. description: 现货编号 (合同编号)
  7247. type: string
  7248. convertratio:
  7249. description: 折算系数
  7250. type: number
  7251. createtime:
  7252. description: 关联时间 | 创建时间
  7253. type: string
  7254. creatorid:
  7255. description: 创建人ID
  7256. type: string
  7257. creatorsrc:
  7258. description: 创建人来源 - 1:管理端 2:终端 3:交易
  7259. type: integer
  7260. enumdicname:
  7261. description: 单位名称
  7262. type: string
  7263. goodscode:
  7264. description: 合约代码
  7265. type: string
  7266. goodsgroupid:
  7267. description: 对冲品种ID[期货合约商品组ID]
  7268. type: integer
  7269. goodsid:
  7270. description: 商品ID
  7271. type: integer
  7272. goodsname:
  7273. description: 合约名称
  7274. type: string
  7275. hedgeflag:
  7276. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安)
  7277. 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  7278. type: integer
  7279. linkdetailid:
  7280. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  7281. type: string
  7282. linkstatus:
  7283. description: 关联状态 - 1:成功 2:失败 3:解绑
  7284. type: integer
  7285. middlegoodscode:
  7286. description: 套保品种代码
  7287. type: string
  7288. middlegoodsid:
  7289. description: 套保品种ID
  7290. type: integer
  7291. middlegoodsname:
  7292. description: 套保品种名称
  7293. type: string
  7294. relatedlot:
  7295. description: 关联手数
  7296. type: number
  7297. relatedmode:
  7298. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  7299. type: integer
  7300. relatedqty:
  7301. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  7302. type: number
  7303. retcode:
  7304. description: 返回码
  7305. type: integer
  7306. saleuserid:
  7307. description: 业务员ID
  7308. type: string
  7309. spotcontractid:
  7310. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  7311. type: string
  7312. taname:
  7313. description: 期货账户
  7314. type: string
  7315. tradedate:
  7316. description: 关联交易日(yyyyMMdd)
  7317. type: string
  7318. tradeid:
  7319. description: 期货订单号 | 内部成交单ID
  7320. type: string
  7321. tradelot:
  7322. description: 成交数量 | 成交手数
  7323. type: integer
  7324. tradeprice:
  7325. description: 成交价格
  7326. type: number
  7327. tradetime:
  7328. description: 期货成交时间
  7329. type: string
  7330. tradetradedate:
  7331. description: 成交交易日(yyyyMMdd)
  7332. type: string
  7333. username:
  7334. description: 用户名称
  7335. type: string
  7336. type: object
  7337. models.Ermcp3Wrstandard:
  7338. properties:
  7339. areauserid:
  7340. description: 所属机构
  7341. type: integer
  7342. cantrade:
  7343. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  7344. type: integer
  7345. convertfactor:
  7346. description: 标仓系数
  7347. type: number
  7348. createtime:
  7349. description: 创建时间
  7350. type: string
  7351. creatorid:
  7352. description: 创建人
  7353. type: integer
  7354. deliverygoodsid:
  7355. description: 现货品种ID
  7356. type: integer
  7357. enumdicname:
  7358. description: 品类单位名称
  7359. type: string
  7360. isvalid:
  7361. description: 是否有效 0-无效(停用) 1-有效(正常)
  7362. type: integer
  7363. minivalue:
  7364. description: 最小变动值
  7365. type: integer
  7366. minivaluedp:
  7367. description: 最小变动值小数位
  7368. type: integer
  7369. realminivalue:
  7370. description: 实际最小变动值
  7371. type: integer
  7372. realminivaluedp:
  7373. description: 实际最小变动值小数位
  7374. type: integer
  7375. remark:
  7376. description: 备注
  7377. type: string
  7378. unitid:
  7379. description: 品类单位ID
  7380. type: integer
  7381. updatetime:
  7382. description: 更新时间
  7383. type: string
  7384. wrstandardcode:
  7385. description: 品类代码
  7386. type: string
  7387. wrstandardid:
  7388. description: 品类ID(SEQ_WRSTANDARD)
  7389. type: integer
  7390. wrstandardname:
  7391. description: 品类名称
  7392. type: string
  7393. type: object
  7394. models.ErmcpBizGroupEx:
  7395. properties:
  7396. acclist:
  7397. description: 账号列表
  7398. items:
  7399. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  7400. type: array
  7401. bizgroupid:
  7402. description: 业务分组id
  7403. type: integer
  7404. biztype:
  7405. description: 业务类型 1-套保 2-套利
  7406. type: integer
  7407. wrlist:
  7408. description: 现货商品表
  7409. items:
  7410. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  7411. type: array
  7412. type: object
  7413. models.ErmcpBizGroupSpotGoods:
  7414. properties:
  7415. areauserid:
  7416. description: 所属机构id
  7417. type: integer
  7418. bizgroupid:
  7419. description: 分组id
  7420. type: integer
  7421. biztype:
  7422. description: 业务类型 1-套保 2-套利
  7423. type: integer
  7424. deliverygoodscode:
  7425. description: 现货商品代码
  7426. type: string
  7427. deliverygoodsid:
  7428. description: 现货商品id
  7429. type: integer
  7430. deliverygoodsname:
  7431. description: 现货商品名称
  7432. type: string
  7433. unitid:
  7434. description: 现货商品单位id
  7435. type: integer
  7436. type: object
  7437. models.ErmcpBizGroupTaAccount:
  7438. properties:
  7439. accountid:
  7440. description: 账号id
  7441. type: integer
  7442. accountname:
  7443. description: 账号名称
  7444. type: string
  7445. areauserid:
  7446. description: 所属机构id
  7447. type: integer
  7448. bizgroupid:
  7449. description: 业务分组id
  7450. type: integer
  7451. ismain:
  7452. description: 是否主账号 1-是 0-否
  7453. type: integer
  7454. type: object
  7455. models.ErmcpDGFactoryItem:
  7456. properties:
  7457. areauserid:
  7458. description: 用户id
  7459. type: integer
  7460. deliverygoodsid:
  7461. description: 现货品种ID
  7462. type: integer
  7463. dgfactoryitemid:
  7464. description: 选择项ID(SEQ_DGFACTORYITEM)
  7465. type: integer
  7466. dgfactoryitemtypeid:
  7467. description: 要素项类型
  7468. type: integer
  7469. dgfactoryitemvalue:
  7470. description: 要素项值(类型为仓库时填写仓库名称)
  7471. type: string
  7472. isvalid:
  7473. description: 是否有效 - 0:无效 1:有效
  7474. type: integer
  7475. orderindex:
  7476. description: 顺序
  7477. type: integer
  7478. warehouseid:
  7479. description: 仓库ID(类型为仓库时填写)
  7480. type: integer
  7481. type: object
  7482. models.ErmcpDeliveryGoods:
  7483. properties:
  7484. agreeunit:
  7485. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  7486. type: integer
  7487. areauserid:
  7488. description: 所属机构
  7489. type: integer
  7490. auditflag:
  7491. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  7492. type: integer
  7493. categoryid:
  7494. description: 类别ID(SEQ_WRCATEGORY)
  7495. type: integer
  7496. deliverygoodscode:
  7497. description: 现货品种代码
  7498. type: string
  7499. deliverygoodsid:
  7500. description: 现货品种ID(SEQ_DELIVERYGOODS)
  7501. type: integer
  7502. deliverygoodsname:
  7503. description: 现货品种名称
  7504. type: string
  7505. deliverygoodstype:
  7506. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  7507. type: integer
  7508. dgstatus:
  7509. description: 品种状态 - 作废 - 0:未激活 1:正常
  7510. type: integer
  7511. enumdicname:
  7512. description: 现货品种单位名称
  7513. type: string
  7514. goodsunitid:
  7515. description: 现货品种单位ID
  7516. type: integer
  7517. isvalid:
  7518. description: 是否有效 - 0:无效 1:有效
  7519. type: integer
  7520. qtydecimalplace:
  7521. description: 成交量小数位
  7522. type: integer
  7523. remark:
  7524. description: 备注
  7525. type: string
  7526. standardqty:
  7527. description: 标准数量(库位数量) [标准品特有]
  7528. type: integer
  7529. standardqtyrange:
  7530. description: 标准数量偏差范围 [标准品特有]
  7531. type: integer
  7532. type: object
  7533. models.ErmcpFuturesCompany:
  7534. properties:
  7535. brokerid:
  7536. description: 经纪公司代码
  7537. type: string
  7538. channeladdress:
  7539. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  7540. type: string
  7541. channelid:
  7542. description: 对冲渠道ID
  7543. type: string
  7544. createtime:
  7545. description: 创建时间
  7546. type: string
  7547. creatorid:
  7548. description: 创建人
  7549. type: string
  7550. fcid:
  7551. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  7552. type: integer
  7553. fcname:
  7554. description: 期货公司名称
  7555. type: string
  7556. isvalid:
  7557. description: 是否有效 - 0:无效 1:有效
  7558. type: integer
  7559. mhpaddress:
  7560. description: MHP服务地址(IP:Port)
  7561. type: string
  7562. riskrulegroupid:
  7563. description: 风控规则组ID
  7564. type: string
  7565. tradefeetmpid:
  7566. description: 手续费模板ID[TradeConfigTmpType为2]
  7567. type: string
  7568. trademargintmpid:
  7569. description: 保证金模板ID [TradeConfigTmpType为1]
  7570. type: string
  7571. traderatetmpid:
  7572. description: 汇率模板ID[TradeConfigTmpType为3]
  7573. type: string
  7574. updatetime:
  7575. description: 更新时间
  7576. type: string
  7577. updatorid:
  7578. description: 更新人
  7579. type: string
  7580. type: object
  7581. models.ErmcpGGConvertCfg:
  7582. properties:
  7583. convertratio:
  7584. description: 折算系数
  7585. type: number
  7586. destgoodsgroupid:
  7587. description: 目标品种ID
  7588. type: integer
  7589. dstcode:
  7590. description: 目录品种代码
  7591. type: string
  7592. dstexchangecode:
  7593. description: 目标期货交易所
  7594. type: string
  7595. dstname:
  7596. description: 目标品种名称
  7597. type: string
  7598. dstunitid:
  7599. description: 目标品种单位ID
  7600. type: integer
  7601. dstunitidname:
  7602. description: 目标品种单位名称
  7603. type: string
  7604. modifytime:
  7605. description: 修改时间
  7606. type: string
  7607. srccode:
  7608. description: 源品种代码
  7609. type: string
  7610. srcexchangecode:
  7611. description: 源期货交易所
  7612. type: string
  7613. srcgoodsgroupid:
  7614. description: 源品种ID
  7615. type: integer
  7616. srcname:
  7617. description: 源品种名称
  7618. type: string
  7619. srcunitid:
  7620. description: 源品种单位ID
  7621. type: integer
  7622. srcunitidname:
  7623. description: 源品种单位名称
  7624. type: string
  7625. type: object
  7626. models.ErmcpGoods:
  7627. properties:
  7628. agreeunit:
  7629. description: 合约单位
  7630. type: number
  7631. areauserid:
  7632. description: 所属机构
  7633. type: integer
  7634. auditaccountid:
  7635. description: 审核操作员账号
  7636. type: integer
  7637. audittime:
  7638. description: 审核时间
  7639. type: string
  7640. cancelaccountid:
  7641. description: 注销操作员账号
  7642. type: integer
  7643. canceltime:
  7644. description: 注销时间
  7645. type: string
  7646. closepricemode:
  7647. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7648. type: integer
  7649. closepriceparam:
  7650. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7651. type: number
  7652. createtime:
  7653. description: 创建时间
  7654. type: string
  7655. creatorid:
  7656. description: 创建人
  7657. type: integer
  7658. currencyid:
  7659. description: 报价货币ID
  7660. type: integer
  7661. cutmode:
  7662. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7663. type: integer
  7664. decimalplace:
  7665. description: 报价小数位
  7666. type: integer
  7667. delistingdate:
  7668. description: 商品退市时间(状态:退市) -- 已作废
  7669. type: string
  7670. delistingmode:
  7671. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7672. type: integer
  7673. deliveryflag:
  7674. description: 交割标志 - 0:不可交割 1:可交割
  7675. type: integer
  7676. enumdicname:
  7677. description: 单位名称
  7678. type: string
  7679. forceclosemode:
  7680. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7681. type: integer
  7682. forceclosevalue:
  7683. description: 定期强平参数 [收益权]
  7684. type: integer
  7685. goodscode:
  7686. description: 商品代码(内部)
  7687. type: string
  7688. goodscurrencyid:
  7689. description: 合约货币ID
  7690. type: integer
  7691. goodsgroupid:
  7692. description: 所属商品组ID
  7693. type: integer
  7694. goodsid:
  7695. description: 商品ID(自增ID SEQ_GOODS)
  7696. type: integer
  7697. goodsname:
  7698. description: 商品名称
  7699. type: string
  7700. goodsquotetype:
  7701. description: '合约报价类型: 1-直接报价 2-间接报价'
  7702. type: integer
  7703. goodsstatus:
  7704. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7705. type: integer
  7706. goodstradetype:
  7707. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7708. type: integer
  7709. goodunitid:
  7710. description: 报价单位ID
  7711. type: integer
  7712. hasquoter:
  7713. description: 是否有报价商 - 0:无报价商 1:有报价商
  7714. type: integer
  7715. hqprotecttime:
  7716. description: 行情保护时间(秒)
  7717. type: integer
  7718. innerdealmode:
  7719. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7720. type: integer
  7721. isbuylimited:
  7722. description: 是否限制建仓量 - 0:不限制 1:限制
  7723. type: integer
  7724. isvisible:
  7725. description: 游客是否可见 - 0:不可见 1:可见
  7726. type: integer
  7727. lasttradedate:
  7728. description: 最后交易日期(状态:待退市)
  7729. type: string
  7730. listingdate:
  7731. description: 交易开始日期
  7732. type: string
  7733. marketid:
  7734. description: 所属市场ID
  7735. type: integer
  7736. modifierid:
  7737. description: 修改人
  7738. type: integer
  7739. modifystatus:
  7740. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7741. type: integer
  7742. modifytime:
  7743. description: 修改时间
  7744. type: string
  7745. outerdealmode:
  7746. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7747. type: integer
  7748. outgoodscode:
  7749. description: 商品代码(外部)
  7750. type: string
  7751. pictureurl:
  7752. description: 商品图片
  7753. type: string
  7754. qtydecimalplace:
  7755. description: 成交量小数位
  7756. type: integer
  7757. quotegear:
  7758. description: 行情档位(1-10)
  7759. type: integer
  7760. quoteminunit:
  7761. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7762. type: integer
  7763. quoteshowtype:
  7764. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7765. type: integer
  7766. quoteshowtypeinterval:
  7767. description: 行情报价间隔时间(秒)(成交价时为0)
  7768. type: integer
  7769. relatedgoodsid:
  7770. description: 关联参考商品ID
  7771. type: integer
  7772. remark:
  7773. description: 备注
  7774. type: string
  7775. trademode:
  7776. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7777. 21:竞拍-大宗式 22:受托竞价
  7778. type: integer
  7779. required:
  7780. - goodscode
  7781. - goodsid
  7782. - goodsname
  7783. - marketid
  7784. type: object
  7785. models.ErmcpGoodsBrand:
  7786. properties:
  7787. areauserid:
  7788. description: 所属机构
  7789. type: integer
  7790. brandid:
  7791. description: BrandID(SEQ_SPOTGOODSBRAND)
  7792. type: integer
  7793. brandname:
  7794. description: 品牌名称
  7795. type: string
  7796. createtime:
  7797. description: 创建时间
  7798. type: string
  7799. creatorid:
  7800. description: 创建人
  7801. type: integer
  7802. creatorsrc:
  7803. description: 创建人来源 - 1:管理端 2:终端
  7804. type: integer
  7805. deliverygoodsid:
  7806. description: 现货品种ID
  7807. type: integer
  7808. isvalid:
  7809. description: 是否有效 - 0:无效 1:有效
  7810. type: integer
  7811. updatetime:
  7812. description: 更新时间
  7813. type: string
  7814. updatorid:
  7815. description: 更新人
  7816. type: integer
  7817. updatorsrc:
  7818. description: 更新人来源 - 1:管理端 2:终端
  7819. type: integer
  7820. wrstandardid:
  7821. description: 现货商品ID
  7822. type: integer
  7823. type: object
  7824. models.ErmcpGoodsModel:
  7825. properties:
  7826. areauserid:
  7827. description: 所属机构
  7828. type: integer
  7829. convertfactor:
  7830. description: 标仓系数
  7831. type: number
  7832. createtime:
  7833. description: 创建时间
  7834. type: string
  7835. creatorid:
  7836. description: 创建人
  7837. type: integer
  7838. creatorsrc:
  7839. description: 创建人来源 - 1:管理端 2:终端
  7840. type: integer
  7841. deliverygoodsid:
  7842. description: 现货品种ID
  7843. type: integer
  7844. isvalid:
  7845. description: 是否有效 - 0:无效 1:有效
  7846. type: integer
  7847. modelid:
  7848. description: ModelID(SEQ_SPOTGOODSMODEL)
  7849. type: integer
  7850. modelname:
  7851. description: 型号名称
  7852. type: string
  7853. updatetime:
  7854. description: 更新时间
  7855. type: string
  7856. updatorid:
  7857. description: 更新人
  7858. type: integer
  7859. updatorsrc:
  7860. description: 更新人来源 - 1:管理端 2:终端
  7861. type: integer
  7862. wrstandardid:
  7863. description: 现货商品ID
  7864. type: integer
  7865. type: object
  7866. models.ErmcpHisExposure:
  7867. properties:
  7868. needhedgeexposoure:
  7869. description: 应套保敞口
  7870. type: number
  7871. reckondate:
  7872. description: 日照时期(yyyyMMdd)
  7873. type: string
  7874. totalexposure:
  7875. description: 总敞口
  7876. type: number
  7877. type: object
  7878. models.ErmcpLoginTaAccount:
  7879. properties:
  7880. accountid:
  7881. description: 账号id
  7882. type: integer
  7883. accountname:
  7884. description: 账号名称
  7885. type: string
  7886. type: object
  7887. models.ErmcpLoginUser:
  7888. properties:
  7889. acclist:
  7890. description: 关联资金账号
  7891. items:
  7892. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  7893. type: array
  7894. accountname:
  7895. description: 用户名称
  7896. type: string
  7897. clientroleid:
  7898. description: 角色id(usertype=2)
  7899. type: integer
  7900. createtime:
  7901. description: 创建时间
  7902. type: string
  7903. logincode:
  7904. description: 登录代码
  7905. type: string
  7906. loginid:
  7907. description: 登录id(LOGINID)
  7908. type: integer
  7909. loginname:
  7910. description: 登录名称(loginaccount表中的accountname字段)
  7911. type: string
  7912. loginstatus:
  7913. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  7914. type: integer
  7915. memberuserid:
  7916. description: 所属会员id
  7917. type: integer
  7918. mobile:
  7919. description: 手机号
  7920. type: string
  7921. modifytime:
  7922. description: 修改时间
  7923. type: string
  7924. password:
  7925. description: 密码(不可解密)
  7926. type: string
  7927. rolename:
  7928. description: 角色名称
  7929. type: string
  7930. rolestatus:
  7931. description: 角色状态 1-启用 2-停用
  7932. type: integer
  7933. roletype:
  7934. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  7935. type: string
  7936. userid:
  7937. description: 用户id
  7938. type: integer
  7939. usertype:
  7940. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  7941. type: integer
  7942. type: object
  7943. models.ErmcpLoginUserEx:
  7944. properties:
  7945. accountstatus:
  7946. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  7947. type: integer
  7948. mobile:
  7949. description: 手机号
  7950. type: string
  7951. querytype:
  7952. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  7953. type: integer
  7954. roleid:
  7955. description: 角色id(交易账户->用户id)
  7956. type: integer
  7957. rolename:
  7958. description: 角色名称(交易账户->用户名称)
  7959. type: string
  7960. userlist:
  7961. description: 用户列表
  7962. items:
  7963. $ref: '#/definitions/models.ErmcpLoginUser'
  7964. type: array
  7965. usertype:
  7966. description: 用户类型 2-机构 7-企业成员(云平台)
  7967. type: integer
  7968. type: object
  7969. models.ErmcpMiddleGoodsModel:
  7970. properties:
  7971. areauserid:
  7972. description: 机构用户ID
  7973. type: integer
  7974. createtime:
  7975. description: 修改时间
  7976. type: string
  7977. enumdicname:
  7978. description: 单位名称
  7979. type: string
  7980. evaluateratio:
  7981. description: 估价系数
  7982. type: number
  7983. goodsgroupid:
  7984. description: 关联期货品种ID
  7985. type: integer
  7986. goodsunitid:
  7987. description: 单位ID
  7988. type: integer
  7989. isvalid:
  7990. description: 状态 0-无效(停用) 1-有效(正常)
  7991. type: integer
  7992. middlegoodscode:
  7993. description: 套保品种代码
  7994. type: string
  7995. middlegoodsid:
  7996. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  7997. type: integer
  7998. middlegoodsname:
  7999. description: 套保品种名称
  8000. type: string
  8001. modifytime:
  8002. description: 修改时间
  8003. type: string
  8004. needarbitrageratio:
  8005. description: 套利比例
  8006. type: number
  8007. needhedgeratio:
  8008. description: 套保比率
  8009. type: number
  8010. qtydecimalplace:
  8011. description: 数量小数位
  8012. type: integer
  8013. relatedgoodsid:
  8014. description: 关联交易商品ID
  8015. type: integer
  8016. relatedgoodstype:
  8017. description: 关联商品类型 - 1:期货合约 2:现货品种
  8018. type: integer
  8019. remark:
  8020. description: 备注
  8021. type: string
  8022. type: object
  8023. models.ErmcpMiddlegoodsRelateGoods:
  8024. properties:
  8025. agreeunit:
  8026. description: 合约乘数
  8027. type: number
  8028. convertratio:
  8029. description: 折算系数
  8030. type: number
  8031. enumdicname:
  8032. description: 单位名称(交易商品)
  8033. type: string
  8034. goodscode:
  8035. description: 交易商品代码
  8036. type: string
  8037. goodsgroupid:
  8038. description: 交易品种id
  8039. type: integer
  8040. goodsid:
  8041. description: 商品Id
  8042. type: integer
  8043. goodsname:
  8044. description: 交易商品名称
  8045. type: string
  8046. goodunitid:
  8047. description: 交易商品单位id
  8048. type: integer
  8049. middlegoodsid:
  8050. description: 套保商品id
  8051. type: integer
  8052. middlegoodsname:
  8053. description: 套保商品名称
  8054. type: string
  8055. middlegoodsswcode:
  8056. description: 套保商品代码
  8057. type: string
  8058. needarbitrageratio:
  8059. description: 应套利比例
  8060. type: number
  8061. needhedgeratio:
  8062. description: 应套保比例
  8063. type: number
  8064. type: object
  8065. models.ErmcpRole:
  8066. properties:
  8067. areauserid:
  8068. description: 所属机构
  8069. type: integer
  8070. autoid:
  8071. description: 角色ID(自增ID)
  8072. type: integer
  8073. modifierid:
  8074. description: 修改人(创建人)
  8075. type: integer
  8076. modifiername:
  8077. description: 修改人名称
  8078. type: string
  8079. modifytime:
  8080. description: 修改时间(创建时间)
  8081. type: string
  8082. rolename:
  8083. description: 角色名称
  8084. type: string
  8085. rolestatus:
  8086. description: 角色状态 - 1:启用 2:停用
  8087. type: integer
  8088. roletype:
  8089. description: 角色类型 - 1- 管理端 2- 交易端
  8090. type: integer
  8091. type: object
  8092. models.ErmcpRoleMenu:
  8093. properties:
  8094. iconame:
  8095. description: 菜单图标
  8096. type: string
  8097. ishadrole:
  8098. description: 是否有权限
  8099. type: boolean
  8100. menutype:
  8101. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  8102. type: integer
  8103. parentcode:
  8104. description: 上级资源代码
  8105. type: string
  8106. remark:
  8107. description: 菜单备注
  8108. type: string
  8109. resourcecode:
  8110. description: 菜单代码
  8111. type: string
  8112. resourcelevel:
  8113. description: 级别
  8114. type: integer
  8115. resourcename:
  8116. description: 菜单名称
  8117. type: string
  8118. roleid:
  8119. description: 角色id
  8120. type: integer
  8121. sort:
  8122. description: 排序
  8123. type: integer
  8124. url:
  8125. description: URL
  8126. type: string
  8127. userid:
  8128. description: 用户id
  8129. type: integer
  8130. type: object
  8131. models.ErmcpRoleMenuEx:
  8132. properties:
  8133. menu:
  8134. $ref: '#/definitions/models.ErmcpRoleMenu'
  8135. description: 父级菜单
  8136. subMenu:
  8137. description: 子级菜单
  8138. items:
  8139. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  8140. type: array
  8141. type: object
  8142. models.ErmcpTaAccount:
  8143. properties:
  8144. accountid:
  8145. description: 账户id
  8146. type: integer
  8147. accountname:
  8148. description: 账户名称
  8149. type: string
  8150. currencyid:
  8151. description: 币种id
  8152. type: integer
  8153. hedgeaccountcode:
  8154. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  8155. type: string
  8156. ismain:
  8157. description: 是否主账户 0-否 1-是
  8158. type: integer
  8159. parentaccountid:
  8160. description: 父账户id
  8161. type: integer
  8162. relateduserid:
  8163. description: 关联userid
  8164. type: integer
  8165. tradefeetmpid:
  8166. description: 手续费模板id
  8167. type: integer
  8168. tradefeetmpname:
  8169. description: 手续费模板名称
  8170. type: string
  8171. trademargintmpid:
  8172. description: 保证金模板id
  8173. type: integer
  8174. trademargintmpname:
  8175. description: 保证金模板名称
  8176. type: string
  8177. traderatetmpid:
  8178. description: 汇率模板id
  8179. type: integer
  8180. traderatetmpname:
  8181. description: 汇率模板名称
  8182. type: string
  8183. tradestatus:
  8184. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  8185. type: integer
  8186. userid:
  8187. description: 用户id
  8188. type: integer
  8189. type: object
  8190. models.ErmcpTaAccountEx:
  8191. properties:
  8192. mainAcc:
  8193. $ref: '#/definitions/models.ErmcpTaAccountM'
  8194. description: 主账号
  8195. subacclist:
  8196. description: 子账号列表
  8197. items:
  8198. $ref: '#/definitions/models.ErmcpTaAccount'
  8199. type: array
  8200. type: object
  8201. models.ErmcpTaAccountInfo:
  8202. properties:
  8203. accountid:
  8204. description: 资金账户ID
  8205. type: integer
  8206. accountname:
  8207. description: 账户名称
  8208. type: string
  8209. balance:
  8210. description: 期初余额
  8211. type: number
  8212. capitalbalance:
  8213. description: 本金余额[外部子账户实际出入金余额]
  8214. type: number
  8215. closepl:
  8216. description: 今日平仓盈亏
  8217. type: number
  8218. creditdecrease:
  8219. description: 今日授信减少
  8220. type: number
  8221. creditincrease:
  8222. description: 今日授信增加
  8223. type: number
  8224. curdebt:
  8225. description: 期末欠款
  8226. type: number
  8227. currencyid:
  8228. description: 货币ID
  8229. type: integer
  8230. currentbalance:
  8231. description: 期末余额
  8232. type: number
  8233. freezecharge:
  8234. description: 手续费冻结
  8235. type: number
  8236. freezemargin:
  8237. description: 冻结保证金
  8238. type: number
  8239. fromaccountid:
  8240. description: 所属上级账户
  8241. type: integer
  8242. inamount:
  8243. description: 今日入金金额(包括三方入金)
  8244. type: number
  8245. ismain:
  8246. description: 是否母账号 0:不是母账户 1:是母账户
  8247. type: integer
  8248. mortgagecredit:
  8249. description: 授信金额
  8250. type: number
  8251. oridebt:
  8252. description: 期初欠款
  8253. type: number
  8254. orifreezecharge:
  8255. description: 期初手续费冻结
  8256. type: number
  8257. orifreezemargin:
  8258. description: 期初冻结保证金
  8259. type: number
  8260. orimortgagecredit:
  8261. description: 期初授信金额
  8262. type: number
  8263. oriothercredit:
  8264. description: 期初其它授信金额
  8265. type: number
  8266. oriotherfreezemargin:
  8267. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  8268. type: number
  8269. orioutamountfreeze:
  8270. description: 期初出金冻结
  8271. type: number
  8272. oriusedmargin:
  8273. description: 期初占用保证金
  8274. type: number
  8275. othercredit:
  8276. description: 其它授信金额
  8277. type: number
  8278. othercreditdecrease:
  8279. description: 今日其它授信减少
  8280. type: number
  8281. othercreditincrease:
  8282. description: 今日其它授信增加
  8283. type: number
  8284. otherfreezemargin:
  8285. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  8286. type: number
  8287. outamount:
  8288. description: 今日出金金额(包括三方出金)
  8289. type: number
  8290. outamountfreeze:
  8291. description: 出金冻结
  8292. type: number
  8293. outthreshold:
  8294. description: 出金阈值
  8295. type: number
  8296. parentaccountid:
  8297. description: 所属根账号
  8298. type: integer
  8299. paycharge:
  8300. description: 今日手续费支出
  8301. type: number
  8302. relateduserid:
  8303. description: 关联用户
  8304. type: integer
  8305. signstatus:
  8306. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  8307. type: integer
  8308. sublevelpath:
  8309. description: 账号层级路径(逗号分隔,首尾加逗号)
  8310. type: string
  8311. taaccounttype:
  8312. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  8313. type: integer
  8314. thirdinamount:
  8315. description: 今日三方入金
  8316. type: number
  8317. thirdoutamount:
  8318. description: 今日三方出金
  8319. type: number
  8320. tradestatus:
  8321. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  8322. type: integer
  8323. transferamount:
  8324. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  8325. type: number
  8326. usedmargin:
  8327. description: 占用保证金
  8328. type: number
  8329. userid:
  8330. description: 用户ID
  8331. type: integer
  8332. type: object
  8333. models.ErmcpTaAccountM:
  8334. properties:
  8335. accountid:
  8336. description: 账户id
  8337. type: integer
  8338. accountname:
  8339. description: 账户名称
  8340. type: string
  8341. currencyid:
  8342. description: 币种id
  8343. type: integer
  8344. fcid:
  8345. description: 期货公司id
  8346. type: integer
  8347. fcname:
  8348. description: 期货公司代码
  8349. type: string
  8350. hedgeaccountcode:
  8351. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  8352. type: string
  8353. ismain:
  8354. description: 是否主账户 0-否 1-是
  8355. type: integer
  8356. parentaccountid:
  8357. description: 父账户id
  8358. type: integer
  8359. relateduserid:
  8360. description: 关联userid
  8361. type: integer
  8362. tradefeetmpid:
  8363. description: 手续费模板id
  8364. type: integer
  8365. tradefeetmpname:
  8366. description: 手续费模板名称
  8367. type: string
  8368. trademargintmpid:
  8369. description: 保证金模板id
  8370. type: integer
  8371. trademargintmpname:
  8372. description: 保证金模板名称
  8373. type: string
  8374. traderatetmpid:
  8375. description: 汇率模板id
  8376. type: integer
  8377. traderatetmpname:
  8378. description: 汇率模板名称
  8379. type: string
  8380. tradestatus:
  8381. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  8382. type: integer
  8383. userid:
  8384. description: 用户id
  8385. type: integer
  8386. type: object
  8387. models.ErmcpTradeConfigTMP:
  8388. properties:
  8389. areauserid:
  8390. description: 所属机构
  8391. type: integer
  8392. basiccurrencyid:
  8393. description: 基本币种ID[汇率] - 目标币种
  8394. type: integer
  8395. mainaccountid:
  8396. description: 主账户ID
  8397. type: integer
  8398. modifierid:
  8399. description: 修改人
  8400. type: integer
  8401. remark:
  8402. description: 备注
  8403. type: string
  8404. tradeconfigtmpid:
  8405. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  8406. type: integer
  8407. tradeconfigtmpname:
  8408. description: 交易配置模板名称
  8409. type: string
  8410. tradeconfigtmptype:
  8411. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  8412. type: integer
  8413. updatetime:
  8414. description: 更新时间
  8415. type: string
  8416. type: object
  8417. models.Ermcpjrlinkpos:
  8418. properties:
  8419. areauserid:
  8420. description: 所属企业
  8421. type: integer
  8422. averageprice:
  8423. description: 持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty
  8424. type: number
  8425. closepl:
  8426. description: 总平仓盈亏
  8427. type: number
  8428. executeprice:
  8429. description: 执行价 - 1:期货单 为 0
  8430. type: integer
  8431. futurehedgeqty:
  8432. description: 期货套期量
  8433. type: number
  8434. goodsid:
  8435. description: 期货合约
  8436. type: integer
  8437. middlegoodscode:
  8438. description: 套保商品代码
  8439. type: string
  8440. middlegoodsname:
  8441. description: 套保商品名称
  8442. type: string
  8443. netqty:
  8444. description: 净头寸
  8445. type: number
  8446. optioncode:
  8447. description: 期权代码
  8448. type: string
  8449. ordertype:
  8450. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  8451. type: integer
  8452. reckonpl:
  8453. description: 总盈亏(平仓盈亏 + 结算盈亏 - 手续费)
  8454. type: number
  8455. spotcontractid:
  8456. description: 现货ID [套期项目ID - 金瑞:合同\虚拟合同ID
  8457. type: string
  8458. todayfutureclosepl:
  8459. description: 今日平仓盈亏
  8460. type: number
  8461. totalbuyamount:
  8462. description: 买金额 [期货]
  8463. type: number
  8464. totalbuyholdamount:
  8465. description: 买持仓总金额[期货]
  8466. type: number
  8467. totalbuyqty:
  8468. description: 买数量
  8469. type: number
  8470. totalcharge:
  8471. description: 手续费
  8472. type: number
  8473. totalpremium:
  8474. description: 权利金 [期权]
  8475. type: number
  8476. totalsellamount:
  8477. description: 卖金额 [期货]
  8478. type: number
  8479. totalsellholdamount:
  8480. description: 卖持仓总金额[期货]
  8481. type: number
  8482. totalsellqty:
  8483. description: 卖数量
  8484. type: number
  8485. updatetime:
  8486. description: 更新时间
  8487. type: string
  8488. required:
  8489. - spotcontractid
  8490. type: object
  8491. models.Externalexchange:
  8492. properties:
  8493. autoid:
  8494. description: AutoID - SEQ_EXTERNALEXCHANGE
  8495. type: integer
  8496. exchangefullname:
  8497. description: 外部交易所全称
  8498. type: string
  8499. exexchangecode:
  8500. description: 外部交易所代码
  8501. type: string
  8502. exexchangename:
  8503. description: 外部交易所名称(简称)
  8504. type: string
  8505. ismarketprice:
  8506. description: 是否支持市价 - 0:不支持 1:支持
  8507. type: integer
  8508. quotegear:
  8509. description: 行情档位(1-10)
  8510. type: integer
  8511. showbrokerflag:
  8512. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  8513. type: integer
  8514. updatetime:
  8515. description: 更新时间
  8516. type: string
  8517. required:
  8518. - autoid
  8519. type: object
  8520. models.Funcmenulist:
  8521. properties:
  8522. iconame:
  8523. description: 菜单图标
  8524. type: string
  8525. menutype:
  8526. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  8527. type: integer
  8528. parentcode:
  8529. description: 上级资源代码
  8530. type: string
  8531. remark:
  8532. description: 备注
  8533. type: string
  8534. resourcecode:
  8535. description: 资源代码
  8536. type: string
  8537. resourcelevel:
  8538. description: 级别 1-一级 2-二级 3-三级 4-四级
  8539. type: integer
  8540. resourcename:
  8541. description: 资源名
  8542. type: string
  8543. sort:
  8544. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  8545. type: integer
  8546. url:
  8547. description: URL
  8548. type: string
  8549. required:
  8550. - resourcecode
  8551. type: object
  8552. models.Goods:
  8553. properties:
  8554. agreeunit:
  8555. description: 合约单位
  8556. type: number
  8557. areauserid:
  8558. description: 所属机构
  8559. type: integer
  8560. auditaccountid:
  8561. description: 审核操作员账号
  8562. type: integer
  8563. audittime:
  8564. description: 审核时间
  8565. type: string
  8566. cancelaccountid:
  8567. description: 注销操作员账号
  8568. type: integer
  8569. canceltime:
  8570. description: 注销时间
  8571. type: string
  8572. closepricemode:
  8573. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8574. type: integer
  8575. closepriceparam:
  8576. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8577. type: number
  8578. createtime:
  8579. description: 创建时间
  8580. type: string
  8581. creatorid:
  8582. description: 创建人
  8583. type: integer
  8584. currencyid:
  8585. description: 报价货币ID
  8586. type: integer
  8587. cutmode:
  8588. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8589. type: integer
  8590. decimalplace:
  8591. description: 报价小数位
  8592. type: integer
  8593. delistingdate:
  8594. description: 商品退市时间(状态:退市) -- 已作废
  8595. type: string
  8596. delistingmode:
  8597. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8598. type: integer
  8599. deliveryflag:
  8600. description: 交割标志 - 0:不可交割 1:可交割
  8601. type: integer
  8602. forceclosemode:
  8603. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8604. type: integer
  8605. forceclosevalue:
  8606. description: 定期强平参数 [收益权]
  8607. type: integer
  8608. goodscode:
  8609. description: 商品代码(内部)
  8610. type: string
  8611. goodscurrencyid:
  8612. description: 合约货币ID
  8613. type: integer
  8614. goodsgroupid:
  8615. description: 所属商品组ID
  8616. type: integer
  8617. goodsid:
  8618. description: 商品ID(自增ID SEQ_GOODS)
  8619. type: integer
  8620. goodsname:
  8621. description: 商品名称
  8622. type: string
  8623. goodsquotetype:
  8624. description: '合约报价类型: 1-直接报价 2-间接报价'
  8625. type: integer
  8626. goodsstatus:
  8627. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8628. type: integer
  8629. goodstradetype:
  8630. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8631. type: integer
  8632. goodunitid:
  8633. description: 报价单位ID
  8634. type: integer
  8635. hasquoter:
  8636. description: 是否有报价商 - 0:无报价商 1:有报价商
  8637. type: integer
  8638. hqprotecttime:
  8639. description: 行情保护时间(秒)
  8640. type: integer
  8641. innerdealmode:
  8642. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8643. type: integer
  8644. isbuylimited:
  8645. description: 是否限制建仓量 - 0:不限制 1:限制
  8646. type: integer
  8647. isvisible:
  8648. description: 游客是否可见 - 0:不可见 1:可见
  8649. type: integer
  8650. lasttradedate:
  8651. description: 最后交易日期(状态:待退市)
  8652. type: string
  8653. listingdate:
  8654. description: 交易开始日期
  8655. type: string
  8656. marketid:
  8657. description: 所属市场ID
  8658. type: integer
  8659. modifierid:
  8660. description: 修改人
  8661. type: integer
  8662. modifystatus:
  8663. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8664. type: integer
  8665. modifytime:
  8666. description: 修改时间
  8667. type: string
  8668. outerdealmode:
  8669. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8670. type: integer
  8671. outgoodscode:
  8672. description: 商品代码(外部)
  8673. type: string
  8674. pictureurl:
  8675. description: 商品图片
  8676. type: string
  8677. qtydecimalplace:
  8678. description: 成交量小数位
  8679. type: integer
  8680. quotegear:
  8681. description: 行情档位(1-10)
  8682. type: integer
  8683. quoteminunit:
  8684. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8685. type: integer
  8686. quoteshowtype:
  8687. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8688. type: integer
  8689. quoteshowtypeinterval:
  8690. description: 行情报价间隔时间(秒)(成交价时为0)
  8691. type: integer
  8692. remark:
  8693. description: 备注
  8694. type: string
  8695. required:
  8696. - goodscode
  8697. - goodsid
  8698. - goodsname
  8699. - marketid
  8700. type: object
  8701. models.GoodsIDAndName:
  8702. properties:
  8703. goodscode:
  8704. description: 商品代码(内部)
  8705. type: string
  8706. goodsid:
  8707. description: 商品ID(自增ID SEQ_GOODS)
  8708. type: integer
  8709. goodsname:
  8710. description: 商品名称
  8711. type: string
  8712. marketid:
  8713. description: 所属市场ID
  8714. type: integer
  8715. required:
  8716. - goodscode
  8717. - goodsid
  8718. - goodsname
  8719. - marketid
  8720. type: object
  8721. models.Goodsgroup:
  8722. properties:
  8723. agreeunit:
  8724. description: 合约单位
  8725. type: number
  8726. canshort:
  8727. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  8728. type: integer
  8729. closepricemode:
  8730. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8731. type: integer
  8732. closepriceparam:
  8733. description: 强平最新价浮动比例 - 方式为2时使用
  8734. type: number
  8735. createtime:
  8736. description: 创建时间
  8737. type: string
  8738. creatorid:
  8739. description: 创建人
  8740. type: integer
  8741. currencyid:
  8742. description: 报价货币ID
  8743. type: integer
  8744. decimalplace:
  8745. description: 报价小数位
  8746. type: integer
  8747. exercisetype:
  8748. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  8749. type: integer
  8750. exexchangeid:
  8751. description: 外部交易所ID[通道交易]
  8752. type: integer
  8753. goodsgroupid:
  8754. description: 商品组ID(自增ID)
  8755. type: integer
  8756. goodsgroupname:
  8757. description: 商品组名称
  8758. type: string
  8759. goodsgroupstatus:
  8760. description: 商品组状态 - 1:正常 2:注销
  8761. type: integer
  8762. goodunitid:
  8763. description: 报价单位ID
  8764. type: integer
  8765. innerdealmode:
  8766. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8767. type: integer
  8768. isbuylimited:
  8769. description: 是否限制建仓量 - 0:不限制 1:限制
  8770. type: integer
  8771. marketid:
  8772. description: 所属市场ID
  8773. type: integer
  8774. modifierid:
  8775. description: 修改人
  8776. type: integer
  8777. modifytime:
  8778. description: 修改时间
  8779. type: string
  8780. outerdealmode:
  8781. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8782. type: integer
  8783. outergroupcode:
  8784. description: 外部商品组代码[通道交易]
  8785. type: string
  8786. premiumdecimalplace:
  8787. description: 权利金小数位[场外期权]
  8788. type: integer
  8789. premiumspreadalgorithm:
  8790. description: 权利金点差方式[场外期权] 1:比率 2:固定
  8791. type: integer
  8792. premiumspreadvalue:
  8793. description: 权利金点差值[场外期权]
  8794. type: number
  8795. qtydecimalplace:
  8796. description: 成交量小数位
  8797. type: integer
  8798. quotegear:
  8799. description: 行情档位(1-10)
  8800. type: integer
  8801. quoteminunit:
  8802. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8803. type: integer
  8804. quoterid:
  8805. description: 报价商ID[场外期权]
  8806. type: integer
  8807. quotesourcegroupid:
  8808. description: 所属行情源分组ID[参考行情市场用\通道交易]
  8809. type: integer
  8810. syncgoodsqty:
  8811. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  8812. type: integer
  8813. required:
  8814. - goodsgroupid
  8815. - goodsgroupname
  8816. - goodsgroupstatus
  8817. - marketid
  8818. type: object
  8819. models.Goodssortbypreposition:
  8820. properties:
  8821. goodscode:
  8822. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  8823. type: string
  8824. goodsgroupcode:
  8825. description: 品种代码
  8826. type: string
  8827. prepositionqty:
  8828. description: 昨持仓量
  8829. type: integer
  8830. sortindex:
  8831. description: 排序
  8832. type: integer
  8833. tradedate:
  8834. description: 交易日
  8835. type: string
  8836. updatetime:
  8837. description: 更新时间
  8838. type: string
  8839. required:
  8840. - goodscode
  8841. - tradedate
  8842. type: object
  8843. models.Hedgeinnerholderdetail:
  8844. properties:
  8845. accountid:
  8846. description: 账号ID
  8847. type: integer
  8848. buyorsell:
  8849. description: 方向 - 0:买 1:卖
  8850. type: integer
  8851. freezeqty:
  8852. description: 冻结数量 - 按单平使用
  8853. type: integer
  8854. goodsid:
  8855. description: 商品ID
  8856. type: integer
  8857. holderamount:
  8858. description: 持仓金额 [商品币种]
  8859. type: number
  8860. holderdays:
  8861. description: 剩余冻结天数
  8862. type: integer
  8863. holderprice:
  8864. description: 持仓价格
  8865. type: number
  8866. holderqty:
  8867. description: 持仓数量
  8868. type: integer
  8869. marketid:
  8870. description: 市场ID
  8871. type: integer
  8872. openprice:
  8873. description: 建仓价格
  8874. type: number
  8875. openqty:
  8876. description: 建仓数量
  8877. type: integer
  8878. parentaccountid:
  8879. description: 所属母账户
  8880. type: integer
  8881. releaseamount:
  8882. description: 释放持仓金额[商品币种]
  8883. type: number
  8884. tradeamount:
  8885. description: 成交金额[账户]
  8886. type: number
  8887. tradedate:
  8888. description: 交易日(yyyyMMdd)
  8889. type: string
  8890. tradeid:
  8891. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8892. type: string
  8893. tradetime:
  8894. description: 交易时间
  8895. type: string
  8896. required:
  8897. - buyorsell
  8898. - tradeid
  8899. type: object
  8900. models.Hedgemarketopenlog:
  8901. properties:
  8902. accountid:
  8903. description: 资金账号[外部母账户]
  8904. type: integer
  8905. fcname:
  8906. description: 期货公司名称
  8907. type: string
  8908. handlestatus:
  8909. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  8910. type: integer
  8911. marketid:
  8912. description: 市场ID
  8913. type: integer
  8914. status:
  8915. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  8916. type: integer
  8917. tradedate:
  8918. description: 交易日(yyyyMMdd)
  8919. type: string
  8920. updatetime:
  8921. description: 更新时间
  8922. type: string
  8923. required:
  8924. - accountid
  8925. type: object
  8926. models.HsbyBuyMyPayOrder:
  8927. properties:
  8928. agreeunit:
  8929. description: 合约单位
  8930. type: number
  8931. buyaccountid:
  8932. description: 买方账号ID[报价币种]
  8933. type: integer
  8934. buyorderid:
  8935. description: 买方委托单号
  8936. type: string
  8937. createtime:
  8938. description: 创建时间
  8939. type: string
  8940. currencysign:
  8941. description: 货币符号
  8942. type: string
  8943. decimalplace:
  8944. description: 报价小数位
  8945. type: integer
  8946. goodscode:
  8947. description: 商品代码(内部)
  8948. type: string
  8949. goodsid:
  8950. description: 商品ID
  8951. type: integer
  8952. goodsname:
  8953. description: 商品名称
  8954. type: string
  8955. marketid:
  8956. description: 市场ID
  8957. type: integer
  8958. offamount:
  8959. description: 优惠金额
  8960. type: number
  8961. originalamount:
  8962. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  8963. type: number
  8964. payamount:
  8965. description: 支付金额 = TradeAmount + TradeCharge
  8966. type: number
  8967. payflag:
  8968. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8969. type: integer
  8970. paylimitedtime:
  8971. description: 支付期限
  8972. type: string
  8973. paytime:
  8974. description: 付款时间
  8975. type: string
  8976. picurls1:
  8977. description: 预售商品介绍图片[多张用逗号分隔]
  8978. type: string
  8979. picurls2:
  8980. description: 挂牌商品介绍图片[多张用逗号分隔]
  8981. type: string
  8982. sellaccountid:
  8983. description: 卖方账号ID[报价币种]
  8984. type: integer
  8985. sellorderid:
  8986. description: 卖方委托单号
  8987. type: string
  8988. tradeamount:
  8989. description: 成交金额
  8990. type: number
  8991. tradecharge:
  8992. description: 成交手续费(买方)
  8993. type: number
  8994. tradedate:
  8995. description: 交易日(yyyyMMdd)
  8996. type: string
  8997. tradeid:
  8998. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8999. type: string
  9000. trademode:
  9001. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9002. 21:竞拍-大宗式 22:受托竞价
  9003. type: integer
  9004. tradeprice:
  9005. description: 成交价格
  9006. type: number
  9007. tradeqty:
  9008. description: 成交数量
  9009. type: integer
  9010. vendorname1:
  9011. description: 预售商品供应商名称
  9012. type: string
  9013. vendorname2:
  9014. description: 挂牌商品供应商名称
  9015. type: string
  9016. required:
  9017. - goodscode
  9018. - goodsname
  9019. - tradeid
  9020. - trademode
  9021. type: object
  9022. models.HsbyBuyMyTradeDetail:
  9023. properties:
  9024. accountid:
  9025. description: 账户ID[报价币种]
  9026. type: integer
  9027. agreeunit:
  9028. description: 合约单位
  9029. type: number
  9030. amount:
  9031. description: 金额 = 价格 * 数量 * 合约单位
  9032. type: number
  9033. buyorsell:
  9034. description: 买卖 - 0:买 1:卖
  9035. type: integer
  9036. currencysign:
  9037. description: 货币符号
  9038. type: string
  9039. decimalplace:
  9040. description: 报价小数位
  9041. type: integer
  9042. goodscode:
  9043. description: 商品代码(内部)
  9044. type: string
  9045. goodsid:
  9046. description: 商品ID
  9047. type: integer
  9048. goodsname:
  9049. description: 商品名称
  9050. type: string
  9051. marketid:
  9052. description: 市场ID
  9053. type: integer
  9054. orderamount:
  9055. description: 委托金额
  9056. type: number
  9057. orderid:
  9058. description: 单号(成交单号)
  9059. type: string
  9060. picurls1:
  9061. description: 预售商品介绍图片[多张用逗号分隔]
  9062. type: string
  9063. picurls2:
  9064. description: 挂牌商品介绍图片[多张用逗号分隔]
  9065. type: string
  9066. price:
  9067. description: 价格
  9068. type: number
  9069. qty:
  9070. description: 数量
  9071. type: integer
  9072. time:
  9073. description: 时间
  9074. type: string
  9075. trademode:
  9076. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9077. 21:竞拍-大宗式 22:受托竞价
  9078. type: integer
  9079. vendorname1:
  9080. description: 预售商品供应商名称
  9081. type: string
  9082. vendorname2:
  9083. description: 挂牌商品供应商名称
  9084. type: string
  9085. required:
  9086. - accountid
  9087. - buyorsell
  9088. - goodscode
  9089. - goodsid
  9090. - goodsname
  9091. - marketid
  9092. - orderid
  9093. - qty
  9094. - time
  9095. - trademode
  9096. type: object
  9097. models.HsbyGoodsOrderDetail:
  9098. properties:
  9099. buyorsell:
  9100. description: 买卖 - 0:买 1:卖
  9101. type: integer
  9102. currencysign:
  9103. description: 货币符号
  9104. type: string
  9105. customername:
  9106. description: 客户名称(企业名称),已脱敏
  9107. type: string
  9108. enableqty:
  9109. description: 可用数量
  9110. type: integer
  9111. goodunit:
  9112. description: 报价单位
  9113. type: string
  9114. orderid:
  9115. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9116. type: string
  9117. orderprice:
  9118. description: 委托价格
  9119. type: number
  9120. ordertime:
  9121. description: 委托时间
  9122. type: string
  9123. required:
  9124. - buyorsell
  9125. - orderid
  9126. - ordertime
  9127. type: object
  9128. models.HsbyListingGoodsDetail:
  9129. properties:
  9130. agreeunit:
  9131. description: 合约单位
  9132. type: number
  9133. buymaxqty:
  9134. description: 购买上限 [71] - 0为不限
  9135. type: integer
  9136. currency:
  9137. description: 货币
  9138. type: string
  9139. currencysign:
  9140. description: 货币符号
  9141. type: string
  9142. decimalplace:
  9143. description: 报价小数位
  9144. type: integer
  9145. desccityid:
  9146. description: 目的地(市)ID
  9147. type: integer
  9148. descprovinceid:
  9149. description: 目的地(省)ID
  9150. type: integer
  9151. goodscode:
  9152. description: 商品代码(内部)
  9153. type: string
  9154. goodsdesc:
  9155. description: 商品详情
  9156. type: string
  9157. goodsid:
  9158. description: 商品ID(自增ID SEQ_GOODS)
  9159. type: integer
  9160. goodsname:
  9161. description: 商品名称
  9162. type: string
  9163. goodsprice:
  9164. description: 商品价格
  9165. type: number
  9166. hotindex:
  9167. description: 景点热度
  9168. type: integer
  9169. last:
  9170. description: 现价
  9171. type: number
  9172. limitdown:
  9173. description: 跌停价
  9174. type: number
  9175. limitup:
  9176. description: 涨停价
  9177. type: number
  9178. lotsize:
  9179. description: 手数最小变动单位
  9180. type: integer
  9181. marketid:
  9182. description: 所属市场ID
  9183. type: integer
  9184. picurls:
  9185. description: 介绍图片[多张用逗号分隔]
  9186. type: string
  9187. quoteminunit:
  9188. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9189. type: integer
  9190. stepvalue:
  9191. description: 价格最小变动单位
  9192. type: number
  9193. trademode:
  9194. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9195. 21:竞拍-大宗式 22:受托竞价
  9196. type: integer
  9197. vendorattr:
  9198. description: 供应商附件(多张,逗号分隔)
  9199. type: string
  9200. vendorname:
  9201. description: 供应商名称
  9202. type: string
  9203. vendorphone:
  9204. description: 供应商客服电话
  9205. type: string
  9206. videourls:
  9207. description: 介绍视频[多张用逗号分隔]
  9208. type: string
  9209. required:
  9210. - goodscode
  9211. - goodsid
  9212. - goodsname
  9213. - marketid
  9214. - trademode
  9215. type: object
  9216. models.HsbyMarketGoods:
  9217. properties:
  9218. accountid:
  9219. description: 账户ID[报价币种]
  9220. type: integer
  9221. agreeunit:
  9222. description: 合约单位
  9223. type: number
  9224. buyorsell:
  9225. description: 买卖 - 0:买 1:卖
  9226. type: integer
  9227. categoryid:
  9228. description: 类别ID(WRCATEGORY)
  9229. type: integer
  9230. currency:
  9231. description: 货币
  9232. type: string
  9233. currencysign:
  9234. description: 货币符号
  9235. type: string
  9236. customername:
  9237. description: 卖家名称
  9238. type: string
  9239. decimalplace:
  9240. description: 报价小数位
  9241. type: integer
  9242. goodscode:
  9243. description: 商品代码(内部)
  9244. type: string
  9245. goodsid:
  9246. description: 商品ID
  9247. type: integer
  9248. goodsname:
  9249. description: 商品名称
  9250. type: string
  9251. goodsprice:
  9252. description: 商品价格
  9253. type: number
  9254. hascoupon:
  9255. description: 是否可用优惠卷
  9256. type: boolean
  9257. hotindex:
  9258. description: 景点热度
  9259. type: integer
  9260. marketid:
  9261. description: 市场ID
  9262. type: integer
  9263. orderid:
  9264. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9265. type: string
  9266. orderprice:
  9267. description: 委托价格
  9268. type: number
  9269. orderstatus:
  9270. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  9271. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  9272. 16:成交失败违约(荷兰式竞拍专用)
  9273. type: integer
  9274. picurls:
  9275. description: 介绍图片[多张用逗号分隔]
  9276. type: string
  9277. quoteminunit:
  9278. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9279. type: integer
  9280. sellUserID:
  9281. description: 卖方UserID
  9282. type: integer
  9283. trademode:
  9284. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9285. 21:竞拍-大宗式 22:受托竞价
  9286. type: integer
  9287. videourls:
  9288. description: 介绍视频[多张用逗号分隔]
  9289. type: string
  9290. required:
  9291. - accountid
  9292. - buyorsell
  9293. - goodscode
  9294. - goodsid
  9295. - goodsname
  9296. - marketid
  9297. - orderid
  9298. - trademode
  9299. type: object
  9300. models.HsbyMarketGoodsDetail:
  9301. properties:
  9302. accountid:
  9303. description: 账户ID[报价币种]
  9304. type: integer
  9305. agreeunit:
  9306. description: 合约单位
  9307. type: number
  9308. buymaxqty:
  9309. description: 购买上限 [71] - 0为不限
  9310. type: integer
  9311. buyorsell:
  9312. description: 买卖 - 0:买 1:卖
  9313. type: integer
  9314. cancelqty:
  9315. description: 撤单数量
  9316. type: integer
  9317. categoryid:
  9318. description: 类别ID(WRCATEGORY)
  9319. type: integer
  9320. currency:
  9321. description: 货币
  9322. type: string
  9323. currencysign:
  9324. description: 货币符号
  9325. type: string
  9326. customername:
  9327. description: 卖家名称
  9328. type: string
  9329. decimalplace:
  9330. description: 报价小数位
  9331. type: integer
  9332. goodscode:
  9333. description: 商品代码(内部)
  9334. type: string
  9335. goodsdesc:
  9336. description: 商品详情
  9337. type: string
  9338. goodsid:
  9339. description: 商品ID
  9340. type: integer
  9341. goodsname:
  9342. description: 商品名称
  9343. type: string
  9344. goodsprice:
  9345. description: 商品价格
  9346. type: number
  9347. hotindex:
  9348. description: 景点热度
  9349. type: integer
  9350. lotsize:
  9351. description: 手数最小变动单位
  9352. type: integer
  9353. marketid:
  9354. description: 市场ID
  9355. type: integer
  9356. orderid:
  9357. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9358. type: string
  9359. orderprice:
  9360. description: 委托价格
  9361. type: number
  9362. orderqty:
  9363. description: 委托数量
  9364. type: integer
  9365. orderstatus:
  9366. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  9367. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  9368. 16:成交失败违约(荷兰式竞拍专用)
  9369. type: integer
  9370. picurls:
  9371. description: 介绍图片[多张用逗号分隔]
  9372. type: string
  9373. quoteminunit:
  9374. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9375. type: integer
  9376. sellUserID:
  9377. description: 卖方UserID
  9378. type: integer
  9379. trademode:
  9380. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9381. 21:竞拍-大宗式 22:受托竞价
  9382. type: integer
  9383. tradeqty:
  9384. description: 成交数量
  9385. type: integer
  9386. vendorattr:
  9387. description: 供应商附件(多张,逗号分隔)
  9388. type: string
  9389. vendorname:
  9390. description: 供应商名称
  9391. type: string
  9392. vendorphone:
  9393. description: 供应商客服电话
  9394. type: string
  9395. videourls:
  9396. description: 介绍视频[多张用逗号分隔]
  9397. type: string
  9398. required:
  9399. - accountid
  9400. - buyorsell
  9401. - goodscode
  9402. - goodsid
  9403. - goodsname
  9404. - marketid
  9405. - orderid
  9406. - orderqty
  9407. - trademode
  9408. type: object
  9409. models.HsbyMarketInfo:
  9410. properties:
  9411. marketid:
  9412. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  9413. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9414. type: integer
  9415. marketname:
  9416. description: 市场名称
  9417. type: string
  9418. marketstatus:
  9419. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9420. type: integer
  9421. trademode:
  9422. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9423. 21:竞拍-大宗式 22:受托竞价
  9424. type: integer
  9425. required:
  9426. - marketid
  9427. - marketstatus
  9428. - trademode
  9429. type: object
  9430. models.HsbyMyGoods:
  9431. properties:
  9432. accountid:
  9433. description: 账号Id
  9434. type: integer
  9435. agreeunit:
  9436. description: 合约单位
  9437. type: number
  9438. buyaverageprice:
  9439. description: 持仓均价
  9440. type: number
  9441. buycurholderamount:
  9442. description: 买当前持仓总金额[商品币种]
  9443. type: number
  9444. buycurpositionqty:
  9445. description: 买当前持仓总数量
  9446. type: integer
  9447. buymaxqty:
  9448. description: 购买上限 [71] - 0为不限
  9449. type: integer
  9450. currencysign:
  9451. description: 货币符号
  9452. type: string
  9453. decimalplace:
  9454. description: 报价小数位
  9455. type: integer
  9456. enableqty:
  9457. description: 可用数量
  9458. type: integer
  9459. goodscode:
  9460. description: 商品代码(内部)
  9461. type: string
  9462. goodsid:
  9463. description: 商品Id
  9464. type: integer
  9465. goodsname:
  9466. description: 商品名称
  9467. type: string
  9468. goodsprice:
  9469. description: 商品价格
  9470. type: number
  9471. goodsstatus:
  9472. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  9473. type: integer
  9474. last:
  9475. description: 现价(仅使用于挂牌点选)
  9476. type: number
  9477. limitdown:
  9478. description: 跌停价(仅使用于挂牌点选)
  9479. type: number
  9480. limitup:
  9481. description: 涨停价(仅使用于挂牌点选)
  9482. type: number
  9483. lotsize:
  9484. description: 手数最小变动单位
  9485. type: integer
  9486. marketid:
  9487. description: 所属市场ID
  9488. type: integer
  9489. picurls:
  9490. description: 介绍图片[多张用逗号分隔]
  9491. type: string
  9492. quoteminunit:
  9493. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9494. type: integer
  9495. stepvalue:
  9496. description: 价格最小变动单位
  9497. type: number
  9498. trademode:
  9499. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9500. 21:竞拍-大宗式 22:受托竞价
  9501. type: integer
  9502. required:
  9503. - accountid
  9504. - goodscode
  9505. - goodsid
  9506. - goodsname
  9507. - marketid
  9508. - trademode
  9509. type: object
  9510. models.HsbyMyPackage:
  9511. properties:
  9512. accountid:
  9513. description: 账户ID
  9514. type: integer
  9515. address:
  9516. description: 提货人详细地址
  9517. type: string
  9518. agreeunit:
  9519. description: 合约单位
  9520. type: number
  9521. amount:
  9522. description: 提货金额
  9523. type: number
  9524. auditer:
  9525. description: 审核人
  9526. type: integer
  9527. audittime:
  9528. description: 审核时间
  9529. type: string
  9530. averageprice:
  9531. description: 均价
  9532. type: number
  9533. cardnum:
  9534. description: 提货人证件号码
  9535. type: string
  9536. cardtypeid:
  9537. description: 提货人证件类型
  9538. type: integer
  9539. checkremark:
  9540. description: 审核备注
  9541. type: string
  9542. currencysign:
  9543. description: 货币符号
  9544. type: string
  9545. decimalplace:
  9546. description: 报价小数位
  9547. type: integer
  9548. goodscode:
  9549. description: 商品代码(内部)
  9550. type: string
  9551. goodsid:
  9552. description: 商品ID
  9553. type: integer
  9554. goodsname:
  9555. description: 商品名称
  9556. type: string
  9557. handlestatus:
  9558. description: 处理状态
  9559. type: integer
  9560. marketid:
  9561. description: 市场ID
  9562. type: integer
  9563. phonenum:
  9564. description: 提货人联系方式
  9565. type: string
  9566. picurls:
  9567. description: 介绍图片[多张用逗号分隔]
  9568. type: string
  9569. qty:
  9570. description: 提货数量
  9571. type: number
  9572. recivername:
  9573. description: 提货人姓名
  9574. type: string
  9575. reqtime:
  9576. description: 更新时间
  9577. type: string
  9578. takemode:
  9579. description: 提货方式 - 2:自提 3:配送
  9580. type: integer
  9581. takeorderid:
  9582. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  9583. type: string
  9584. takeorderstatus:
  9585. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  9586. type: integer
  9587. takeremark:
  9588. description: 提货备注
  9589. type: string
  9590. tradedate:
  9591. description: 交易日(yyyyMMdd)
  9592. type: string
  9593. trademode:
  9594. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9595. 21:竞拍-大宗式 22:受托竞价
  9596. type: integer
  9597. userid:
  9598. description: 用户ID
  9599. type: integer
  9600. vendorname:
  9601. description: 供应商名称
  9602. type: string
  9603. required:
  9604. - goodscode
  9605. - goodsname
  9606. - takeorderid
  9607. - trademode
  9608. type: object
  9609. models.HsbyPreGoods:
  9610. properties:
  9611. agreeunit:
  9612. description: 合约单位
  9613. type: number
  9614. currency:
  9615. description: 货币
  9616. type: string
  9617. currencysign:
  9618. description: 货币符号
  9619. type: string
  9620. decimalplace:
  9621. description: 报价小数位
  9622. type: integer
  9623. desccityid:
  9624. description: 目的地(市)
  9625. type: integer
  9626. descprovinceid:
  9627. description: 目的地(省)
  9628. type: integer
  9629. enableqty:
  9630. description: 剩余数量
  9631. type: integer
  9632. goodscode:
  9633. description: 商品代码(内部)
  9634. type: string
  9635. goodsid:
  9636. description: 商品ID(自增ID SEQ_GOODS)
  9637. type: integer
  9638. goodsname:
  9639. description: 商品名称
  9640. type: string
  9641. goodsstatus:
  9642. description: 商品状态- 2:未上市 3:上市
  9643. type: integer
  9644. lasttradedate:
  9645. description: 最后交易日期(状态:待退市)
  9646. type: string
  9647. listingdate:
  9648. description: 交易开始日期
  9649. type: string
  9650. marketid:
  9651. description: 所属市场ID
  9652. type: integer
  9653. picurls:
  9654. description: 介绍图片[多张用逗号分隔]
  9655. type: string
  9656. presaledqty:
  9657. description: 已预售量(预售结束时更新)
  9658. type: integer
  9659. presaleqty:
  9660. description: 预售数量
  9661. type: integer
  9662. quoteminunit:
  9663. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9664. type: integer
  9665. refprice:
  9666. description: 参考价格[一口价]
  9667. type: number
  9668. relatedgoodsid:
  9669. description: 关联交易合约ID
  9670. type: integer
  9671. trademode:
  9672. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9673. 21:竞拍-大宗式 22:受托竞价
  9674. type: integer
  9675. videourls:
  9676. description: 介绍视频[多张用逗号分隔]
  9677. type: string
  9678. required:
  9679. - goodscode
  9680. - goodsid
  9681. - goodsname
  9682. - marketid
  9683. - trademode
  9684. type: object
  9685. models.HsbyPreGoodsDetail:
  9686. properties:
  9687. agreeunit:
  9688. description: 合约单位
  9689. type: number
  9690. buymaxqty:
  9691. description: 购买上限 [71] - 0为不限
  9692. type: integer
  9693. currency:
  9694. description: 货币
  9695. type: string
  9696. currencysign:
  9697. description: 货币符号
  9698. type: string
  9699. customername:
  9700. description: 发行单位
  9701. type: string
  9702. decimalplace:
  9703. description: 报价小数位
  9704. type: integer
  9705. desccityid:
  9706. description: 目的地(市)ID
  9707. type: integer
  9708. descprovinceid:
  9709. description: 目的地(省)ID
  9710. type: integer
  9711. enableqty:
  9712. description: 剩余数量
  9713. type: integer
  9714. goodscode:
  9715. description: 商品代码(内部)
  9716. type: string
  9717. goodsdesc:
  9718. description: 商品详情
  9719. type: string
  9720. goodsid:
  9721. description: 商品ID(自增ID SEQ_GOODS)
  9722. type: integer
  9723. goodsname:
  9724. description: 商品名称
  9725. type: string
  9726. goodsstatus:
  9727. description: 商品状态- 2:未上市 3:上市
  9728. type: integer
  9729. goodunit:
  9730. description: 报价单位
  9731. type: string
  9732. lasttradedate:
  9733. description: 最后交易日期(状态:待退市)
  9734. type: string
  9735. listingdate:
  9736. description: 交易开始日期
  9737. type: string
  9738. lotsize:
  9739. description: 手数最小变动单位
  9740. type: integer
  9741. marketid:
  9742. description: 所属市场ID
  9743. type: integer
  9744. picurls:
  9745. description: 介绍图片[多张用逗号分隔]
  9746. type: string
  9747. presaledqty:
  9748. description: 已预售量(预售结束时更新)
  9749. type: integer
  9750. presaleqty:
  9751. description: 预售数量
  9752. type: integer
  9753. quoteminunit:
  9754. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9755. type: integer
  9756. refprice:
  9757. description: 参考价格[一口价]
  9758. type: number
  9759. relatedgoodsid:
  9760. description: 关联交易合约ID
  9761. type: integer
  9762. stepvalue:
  9763. description: 价格最小变动单位
  9764. type: number
  9765. trademode:
  9766. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9767. 21:竞拍-大宗式 22:受托竞价
  9768. type: integer
  9769. vendorattr:
  9770. description: 供应商附件(多张,逗号分隔)
  9771. type: string
  9772. vendorname:
  9773. description: 供应商名称
  9774. type: string
  9775. vendorphone:
  9776. description: 供应商客服电话
  9777. type: string
  9778. videourls:
  9779. description: 介绍视频[多张用逗号分隔]
  9780. type: string
  9781. required:
  9782. - goodscode
  9783. - goodsid
  9784. - goodsname
  9785. - marketid
  9786. - trademode
  9787. type: object
  9788. models.HsbySellCollectionOrder:
  9789. properties:
  9790. agreeunit:
  9791. description: 合约单位
  9792. type: number
  9793. buyaccountid:
  9794. description: 买方账号ID[报价币种]
  9795. type: integer
  9796. buyorderid:
  9797. description: 买方委托单号
  9798. type: string
  9799. createtime:
  9800. description: 创建时间
  9801. type: string
  9802. currencysign:
  9803. description: 货币符号
  9804. type: string
  9805. decimalplace:
  9806. description: 报价小数位
  9807. type: integer
  9808. goodscode:
  9809. description: 商品代码(内部)
  9810. type: string
  9811. goodsid:
  9812. description: 商品ID
  9813. type: integer
  9814. goodsname:
  9815. description: 商品名称
  9816. type: string
  9817. marketid:
  9818. description: 市场ID
  9819. type: integer
  9820. offamount:
  9821. description: 优惠金额
  9822. type: number
  9823. payamount:
  9824. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  9825. type: number
  9826. payflag:
  9827. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  9828. type: integer
  9829. paylimitedtime:
  9830. description: 支付期限
  9831. type: string
  9832. paytime:
  9833. description: 付款时间
  9834. type: string
  9835. picurls:
  9836. description: 商品介绍图片[多张用逗号分隔]
  9837. type: string
  9838. sellaccountid:
  9839. description: 卖方账号ID[报价币种]
  9840. type: integer
  9841. sellorderid:
  9842. description: 卖方委托单号
  9843. type: string
  9844. tradeamount:
  9845. description: 成交金额
  9846. type: number
  9847. tradecharge:
  9848. description: 成交手续费(买方)
  9849. type: number
  9850. tradedate:
  9851. description: 交易日(yyyyMMdd)
  9852. type: string
  9853. tradeid:
  9854. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9855. type: string
  9856. trademode:
  9857. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9858. 21:竞拍-大宗式 22:受托竞价
  9859. type: integer
  9860. tradeprice:
  9861. description: 成交价格
  9862. type: number
  9863. tradeqty:
  9864. description: 成交数量
  9865. type: integer
  9866. required:
  9867. - goodscode
  9868. - goodsname
  9869. - tradeid
  9870. - trademode
  9871. type: object
  9872. models.HsbySellMyDetail:
  9873. properties:
  9874. accountid:
  9875. description: 账户ID[报价币种]
  9876. type: integer
  9877. agreeunit:
  9878. description: 合约单位
  9879. type: number
  9880. buyorsell:
  9881. description: 买卖 - 0:买 1:卖
  9882. type: integer
  9883. currencysign:
  9884. description: 货币符号
  9885. type: string
  9886. decimalplace:
  9887. description: 报价小数位
  9888. type: integer
  9889. goodscode:
  9890. description: 商品代码(内部)
  9891. type: string
  9892. goodsid:
  9893. description: 商品ID
  9894. type: integer
  9895. goodsname:
  9896. description: 商品名称
  9897. type: string
  9898. marketid:
  9899. description: 市场ID
  9900. type: integer
  9901. orderid:
  9902. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  9903. type: string
  9904. ordertype:
  9905. description: 单据类型:0 - 发布中, 1 - 已完成
  9906. type: integer
  9907. picurls:
  9908. description: 介绍图片[多张用逗号分隔]
  9909. type: string
  9910. price:
  9911. description: 价格
  9912. type: number
  9913. qty:
  9914. description: 数量
  9915. type: integer
  9916. time:
  9917. description: 时间
  9918. type: string
  9919. trademode:
  9920. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9921. 21:竞拍-大宗式 22:受托竞价
  9922. type: integer
  9923. vendorname:
  9924. description: 供应商名称
  9925. type: string
  9926. required:
  9927. - accountid
  9928. - buyorsell
  9929. - goodscode
  9930. - goodsid
  9931. - goodsname
  9932. - marketid
  9933. - orderid
  9934. - time
  9935. - trademode
  9936. type: object
  9937. models.HsbyTopGoods:
  9938. properties:
  9939. agreeunit:
  9940. description: 合约单位
  9941. type: number
  9942. currency:
  9943. description: 货币
  9944. type: string
  9945. currencysign:
  9946. description: 货币符号
  9947. type: string
  9948. decimalplace:
  9949. description: 报价小数位
  9950. type: integer
  9951. desccityid:
  9952. description: 目的地(市)
  9953. type: integer
  9954. descprovinceid:
  9955. description: 目的地(省)
  9956. type: integer
  9957. goodscode:
  9958. description: 商品代码(内部)
  9959. type: string
  9960. goodsid:
  9961. description: 商品ID(自增ID SEQ_GOODS)
  9962. type: integer
  9963. goodsname:
  9964. description: 商品名称
  9965. type: string
  9966. hotindex:
  9967. description: 景点热度
  9968. type: integer
  9969. last:
  9970. description: 现价
  9971. type: number
  9972. marketid:
  9973. description: 所属市场ID
  9974. type: integer
  9975. picurls:
  9976. description: 介绍图片[多张用逗号分隔]
  9977. type: string
  9978. quoteminunit:
  9979. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9980. type: integer
  9981. trademode:
  9982. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9983. 21:竞拍-大宗式 22:受托竞价
  9984. type: integer
  9985. videourls:
  9986. description: 介绍视频[多张用逗号分隔]
  9987. type: string
  9988. required:
  9989. - goodscode
  9990. - goodsid
  9991. - goodsname
  9992. - marketid
  9993. - trademode
  9994. type: object
  9995. models.HybsMyBuyOrderDetail:
  9996. properties:
  9997. accountid:
  9998. description: 账户ID[报价币种]
  9999. type: integer
  10000. agreeunit:
  10001. description: 合约单位
  10002. type: number
  10003. buyorsell:
  10004. description: 买卖 - 0:买 1:卖
  10005. type: integer
  10006. cancelqty:
  10007. description: 撤单数量
  10008. type: integer
  10009. currencysign:
  10010. description: 货币符号
  10011. type: string
  10012. decimalplace:
  10013. description: 报价小数位
  10014. type: integer
  10015. goodscode:
  10016. description: 商品代码(内部)
  10017. type: string
  10018. goodsid:
  10019. description: 商品ID
  10020. type: integer
  10021. goodsname:
  10022. description: 商品名称
  10023. type: string
  10024. listingselecttype:
  10025. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10026. type: integer
  10027. marketid:
  10028. description: 市场ID
  10029. type: integer
  10030. mybuystatus:
  10031. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  10032. type: integer
  10033. orderamount:
  10034. description: 委托金额
  10035. type: number
  10036. orderid:
  10037. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10038. type: string
  10039. orderprice:
  10040. description: 委托价格
  10041. type: number
  10042. orderqty:
  10043. description: 委托数量
  10044. type: integer
  10045. orderstatus:
  10046. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10047. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10048. 16:成交失败违约(荷兰式竞拍专用)
  10049. type: integer
  10050. ordertime:
  10051. description: 委托时间
  10052. type: string
  10053. picurls1:
  10054. description: 预售商品介绍图片[多张用逗号分隔]
  10055. type: string
  10056. picurls2:
  10057. description: 挂牌商品介绍图片[多张用逗号分隔]
  10058. type: string
  10059. trademode:
  10060. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10061. 21:竞拍-大宗式 22:受托竞价
  10062. type: integer
  10063. tradeqty:
  10064. description: 成交数量
  10065. type: integer
  10066. vendorname1:
  10067. description: 预售商品供应商名称
  10068. type: string
  10069. vendorname2:
  10070. description: 挂牌商品供应商名称
  10071. type: string
  10072. required:
  10073. - accountid
  10074. - buyorsell
  10075. - goodscode
  10076. - goodsid
  10077. - goodsname
  10078. - marketid
  10079. - orderid
  10080. - orderqty
  10081. - ordertime
  10082. - trademode
  10083. type: object
  10084. models.Loginaccount:
  10085. properties:
  10086. accountname:
  10087. description: 账户名称
  10088. type: string
  10089. canoutin:
  10090. description: 是否可出入金 - 0:不可 1:可
  10091. type: integer
  10092. clientroleid:
  10093. description: 终端角色ID
  10094. type: integer
  10095. haslogined:
  10096. description: 是否已登录 - 0:未登录 1:已登录
  10097. type: integer
  10098. hasupdatedpwd:
  10099. description: 是否已更改密码 - 0:未修改 1:已修改
  10100. type: integer
  10101. lastloginip:
  10102. description: 最新登录地址
  10103. type: string
  10104. lastloginmode:
  10105. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  10106. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  10107. type: integer
  10108. lastloginremark:
  10109. description: 最新登录描述
  10110. type: string
  10111. lastlogintime:
  10112. description: 最新登录时间
  10113. type: string
  10114. logincode:
  10115. description: 登录代码
  10116. type: string
  10117. loginfailnum:
  10118. description: 连续登录失败次数(登录成功时清零)
  10119. type: integer
  10120. loginid:
  10121. description: 登陆账号
  10122. type: integer
  10123. loginport:
  10124. description: 最新登录端口
  10125. type: integer
  10126. loginstatus:
  10127. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  10128. type: integer
  10129. loginusertype:
  10130. description: 登录账号类型 - 1:投资者 2:机构交易员
  10131. type: integer
  10132. mobile:
  10133. description: 手机号码(加密存储)
  10134. type: string
  10135. modifierid:
  10136. description: 修改人
  10137. type: integer
  10138. modifysrc:
  10139. description: 审核来源 - 1:管理端 2:终端
  10140. type: integer
  10141. modifytime:
  10142. description: 修改时间
  10143. type: string
  10144. password:
  10145. description: 登陆密码
  10146. type: string
  10147. pwdwrongcount:
  10148. description: 密码错误次数
  10149. type: integer
  10150. relateduserid:
  10151. description: 关联用户ID(机构)
  10152. type: integer
  10153. taaccountrighttype:
  10154. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  10155. type: integer
  10156. unfreezetime:
  10157. description: 账户解冻时间
  10158. type: string
  10159. userid:
  10160. description: 用户ID
  10161. type: integer
  10162. required:
  10163. - loginid
  10164. type: object
  10165. models.MainAccountInfo:
  10166. properties:
  10167. accountid:
  10168. description: 账号id
  10169. type: integer
  10170. accountname:
  10171. description: 账号名称(taaccount表中的名称)
  10172. type: string
  10173. appid:
  10174. description: AppID
  10175. type: string
  10176. authcode:
  10177. description: 授权码
  10178. type: string
  10179. brokerid:
  10180. description: 经纪商id
  10181. type: string
  10182. fcid:
  10183. description: 期货公司id
  10184. type: integer
  10185. fcname:
  10186. description: 期货公司代码
  10187. type: string
  10188. hedgeaccountcode:
  10189. description: 外部账号代码(主账号登录代码)
  10190. type: string
  10191. hedgeaccountpwd:
  10192. description: 密码
  10193. type: string
  10194. ismain:
  10195. description: 是否主账号
  10196. type: integer
  10197. relateduserid:
  10198. description: 关联用户id
  10199. type: integer
  10200. userid:
  10201. description: 关联用户id
  10202. type: integer
  10203. type: object
  10204. models.Market:
  10205. properties:
  10206. auctionwrtype:
  10207. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  10208. type: integer
  10209. canacceptquote:
  10210. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  10211. type: integer
  10212. cangoodsexercise:
  10213. description: '[期权]是否可现货行权- 0:否 1:是'
  10214. type: integer
  10215. cangoodsexercisetype:
  10216. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  10217. type: integer
  10218. canmanualquotestrike:
  10219. description: 是否可手动报行权价- 0:否 1:是 [期权]
  10220. type: integer
  10221. canmutistage:
  10222. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  10223. type: integer
  10224. canpreexercise:
  10225. description: '[期权]是否可预申报- 0:否 1:是'
  10226. type: integer
  10227. clearinterval:
  10228. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  10229. type: integer
  10230. contracttmp:
  10231. description: 合同模板[荷兰式][竞价式][仓单贸易]
  10232. type: string
  10233. exchareaid:
  10234. description: 所属交易所,可以没有
  10235. type: integer
  10236. goodstype:
  10237. description: 商品类型 - 1:交易商品 2:仓单商品
  10238. type: integer
  10239. hasrebate:
  10240. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  10241. type: integer
  10242. hastradecredit:
  10243. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  10244. type: integer
  10245. haswr:
  10246. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  10247. type: integer
  10248. isdeductmargin:
  10249. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  10250. type: integer
  10251. isrecordsource:
  10252. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  10253. type: integer
  10254. isreleasemargin:
  10255. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  10256. type: integer
  10257. marginformula:
  10258. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  10259. type: integer
  10260. marginformula2:
  10261. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  10262. type: integer
  10263. marketid:
  10264. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  10265. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  10266. type: integer
  10267. marketname:
  10268. description: 市场名称
  10269. type: string
  10270. marketserviceid:
  10271. description: 市场服务ID
  10272. type: integer
  10273. marketstatus:
  10274. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  10275. type: integer
  10276. markettype:
  10277. description: 市场类型- 1:非交易服务 2:交易服务
  10278. type: integer
  10279. matchermode:
  10280. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  10281. type: integer
  10282. openmethod:
  10283. description: 开盘模式 - 0 自动 1手动
  10284. type: integer
  10285. otcuserid:
  10286. description: 场外期权做市商[场外期权]
  10287. type: integer
  10288. outersynctime:
  10289. description: 外部同步时间点(h24:mi:ss)[场外期权]
  10290. type: string
  10291. pendingflag:
  10292. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  10293. type: integer
  10294. pendingtime:
  10295. description: 待开市时间[通道交易-对冲](HH:mm)
  10296. type: string
  10297. performancetempid:
  10298. description: 履约计划模板ID - 作废
  10299. type: integer
  10300. premiumquotemode:
  10301. description: 权利金报价方式 - 1:自动 2:手动
  10302. type: integer
  10303. rebateratio:
  10304. description: 返利比率[竞价式]
  10305. type: number
  10306. reckonorder:
  10307. description: 结算顺序
  10308. type: integer
  10309. reckonpricealgorithm:
  10310. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  10311. 6.卖一价 7.买一卖一均价 8.外部结算价'
  10312. type: integer
  10313. reckonpriceparam:
  10314. description: 结算价参数
  10315. type: integer
  10316. reckontime:
  10317. description: 结算时间[通道交易-对冲](HH:mm)
  10318. type: string
  10319. roleprioritytype:
  10320. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  10321. type: integer
  10322. selllistingauditflag:
  10323. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  10324. type: integer
  10325. trademarkettype:
  10326. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  10327. type: integer
  10328. trademode:
  10329. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10330. 21:竞拍-大宗式 22:受托竞价
  10331. type: integer
  10332. tradeproperty:
  10333. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  10334. 8:场外期权
  10335. type: integer
  10336. tradetype:
  10337. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  10338. type: integer
  10339. required:
  10340. - marketid
  10341. - marketstatus
  10342. - openmethod
  10343. - reckonpricealgorithm
  10344. - trademode
  10345. - tradeproperty
  10346. type: object
  10347. models.Marketrun:
  10348. properties:
  10349. afternexttradedate:
  10350. description: 下下交易日
  10351. type: string
  10352. clearquoteflag:
  10353. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  10354. type: integer
  10355. lastreckondate:
  10356. description: 最新交易日(结算成功)
  10357. type: string
  10358. machinedate:
  10359. description: 机器时间
  10360. type: string
  10361. manualflag:
  10362. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  10363. type: integer
  10364. marketid:
  10365. description: 市场ID
  10366. type: integer
  10367. nexttradedate:
  10368. description: 下一交易日
  10369. type: string
  10370. pretradedate:
  10371. description: 上一交易日
  10372. type: string
  10373. reckonflag:
  10374. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  10375. type: integer
  10376. runstatus:
  10377. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  10378. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  10379. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  10380. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  10381. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  10382. 62.今日免清算
  10383. type: integer
  10384. sectionid:
  10385. description: 时间段号[多时段时用]
  10386. type: integer
  10387. tradedate:
  10388. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  10389. type: string
  10390. tradedate2:
  10391. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  10392. type: string
  10393. updatetime:
  10394. description: 更新时间
  10395. type: string
  10396. required:
  10397. - marketid
  10398. - nexttradedate
  10399. - reckonflag
  10400. - runstatus
  10401. - tradedate
  10402. - tradedate2
  10403. type: object
  10404. models.Messageboard:
  10405. properties:
  10406. contactnum:
  10407. description: 联系电话
  10408. type: string
  10409. createtime:
  10410. description: 创建时间
  10411. type: string
  10412. message:
  10413. description: 留言信息
  10414. type: string
  10415. messageboardid:
  10416. description: 留言簿ID(SEQ_MessageBoard)
  10417. type: integer
  10418. userid:
  10419. description: 用户ID
  10420. type: integer
  10421. required:
  10422. - messageboardid
  10423. type: object
  10424. models.MyCoupon:
  10425. properties:
  10426. accountid:
  10427. description: 资金账户ID
  10428. type: integer
  10429. areauserid:
  10430. description: 所属机构
  10431. type: integer
  10432. conditionvalue:
  10433. description: 条件阈值(可为0)
  10434. type: number
  10435. couponcategroy:
  10436. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  10437. type: integer
  10438. couponname:
  10439. description: 优惠券名称
  10440. type: string
  10441. coupontypeid:
  10442. description: 优惠券类型ID
  10443. type: string
  10444. couponvalue:
  10445. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  10446. type: number
  10447. curfreezeqty:
  10448. description: 期末冻结数量
  10449. type: integer
  10450. curqty:
  10451. description: 期末数量
  10452. type: integer
  10453. isgeneral:
  10454. description: 是否通用券 - 0:否 1:是
  10455. type: integer
  10456. isunusable:
  10457. description: 是否不可用
  10458. type: boolean
  10459. limitedflag:
  10460. description: 是否指定商品 - 0:不限 1:限制
  10461. type: integer
  10462. limitedgoodsids:
  10463. description: 指定商品IDs[逗号分隔,前后加逗号]
  10464. type: string
  10465. orifreezeqty:
  10466. description: 期初冻结数量
  10467. type: integer
  10468. oriqty:
  10469. description: 期初数量
  10470. type: integer
  10471. reasontype:
  10472. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  10473. type: integer
  10474. todaydecrease:
  10475. description: 今日减少
  10476. type: integer
  10477. todayincrease:
  10478. description: 今日增加
  10479. type: integer
  10480. userid:
  10481. description: 用户ID
  10482. type: integer
  10483. userscope:
  10484. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  10485. type: string
  10486. required:
  10487. - accountid
  10488. - coupontypeid
  10489. type: object
  10490. models.MyCouponHold:
  10491. properties:
  10492. accountid:
  10493. description: 资金账户ID
  10494. type: integer
  10495. conditionvalue:
  10496. description: 条件阈值(可为0)
  10497. type: number
  10498. couponcategroy:
  10499. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  10500. type: integer
  10501. couponholdid:
  10502. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  10503. type: string
  10504. couponname:
  10505. description: 优惠券名称
  10506. type: string
  10507. coupontypeid:
  10508. description: 优惠券类型ID - SEQ_COUPONTYPE
  10509. type: string
  10510. couponvalue:
  10511. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  10512. type: number
  10513. createtime:
  10514. description: 创建时间
  10515. type: string
  10516. enddate:
  10517. description: 结束日期
  10518. type: string
  10519. giveapplyid:
  10520. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  10521. type: integer
  10522. holdstatus:
  10523. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  10524. type: integer
  10525. isgeneral:
  10526. description: 是否通用券 - 0:否 1:是
  10527. type: integer
  10528. limitedflag:
  10529. description: 是否指定商品 - 0:不限 1:限制
  10530. type: integer
  10531. limitedgoodsids:
  10532. description: 指定商品IDs[逗号分隔]
  10533. type: string
  10534. qty:
  10535. description: 数量(按1平铺)
  10536. type: integer
  10537. startdate:
  10538. description: 开始日期
  10539. type: string
  10540. userid:
  10541. description: 用户ID
  10542. type: integer
  10543. userscope:
  10544. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  10545. type: string
  10546. required:
  10547. - couponholdid
  10548. type: object
  10549. models.MyUsedCoupon:
  10550. properties:
  10551. accountid:
  10552. description: 资金账户ID(买方)
  10553. type: integer
  10554. conditionvalue:
  10555. description: 条件阈值(可为0)
  10556. type: number
  10557. couponcategroy:
  10558. description: 种类 - 1:现金券 2:折扣券
  10559. type: integer
  10560. couponname:
  10561. description: 优惠券名称
  10562. type: string
  10563. coupontypeid:
  10564. description: 优惠券类型ID(买方)
  10565. type: string
  10566. couponvalue:
  10567. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  10568. type: number
  10569. createtime:
  10570. description: 创建时间
  10571. type: string
  10572. goodsid:
  10573. description: 商品ID
  10574. type: integer
  10575. handlestatus:
  10576. description: 处理状态
  10577. type: integer
  10578. marketid:
  10579. description: 市场ID
  10580. type: integer
  10581. offamount:
  10582. description: 优惠金额
  10583. type: number
  10584. orderid:
  10585. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10586. type: string
  10587. sellaccountid:
  10588. description: 资金账户ID(卖方)
  10589. type: integer
  10590. tradeamount:
  10591. description: 成交金额
  10592. type: number
  10593. tradeid:
  10594. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10595. type: string
  10596. usedqty:
  10597. description: 使用数量
  10598. type: integer
  10599. required:
  10600. - coupontypeid
  10601. - orderid
  10602. type: object
  10603. models.OperationPrimaryMenu:
  10604. properties:
  10605. Children:
  10606. description: 二级功能菜单
  10607. items:
  10608. $ref: '#/definitions/models.OperationSecondaryMenu'
  10609. type: array
  10610. Key:
  10611. description: 菜单KEY
  10612. type: string
  10613. Label:
  10614. description: 菜单标题
  10615. type: string
  10616. type: object
  10617. models.OperationSecondaryMenu:
  10618. properties:
  10619. Key:
  10620. description: 菜单KEY
  10621. type: string
  10622. Label:
  10623. description: 菜单标题
  10624. type: string
  10625. TabList:
  10626. description: 三级功能菜单
  10627. items:
  10628. $ref: '#/definitions/models.OperationTabMenu'
  10629. type: array
  10630. type: object
  10631. models.OperationTabMenu:
  10632. properties:
  10633. Key:
  10634. description: 菜单KEY
  10635. type: string
  10636. Label:
  10637. description: 菜单标题
  10638. type: string
  10639. type: object
  10640. models.QhjAccountOutInApply:
  10641. properties:
  10642. accountcode:
  10643. description: 资金账号
  10644. type: string
  10645. accountname:
  10646. description: 用户名称(名称)
  10647. type: string
  10648. accountpwd:
  10649. description: 资金密码
  10650. type: string
  10651. accountticket:
  10652. description: 最新账户服务流水号
  10653. type: string
  10654. amount:
  10655. description: 金额
  10656. type: number
  10657. applyremark:
  10658. description: 申请备注
  10659. type: string
  10660. applystatus:
  10661. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  10662. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  10663. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  10664. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  10665. type: integer
  10666. auditid:
  10667. description: 审核人
  10668. type: integer
  10669. audittime:
  10670. description: 审核时间
  10671. type: string
  10672. bank_apply_ticket:
  10673. description: 银行申请流水
  10674. type: string
  10675. bankaccountname:
  10676. description: 银行账户名
  10677. type: string
  10678. bankaccountno:
  10679. description: 银行卡号
  10680. type: string
  10681. bankid:
  10682. description: 银行编号
  10683. type: string
  10684. bankticket:
  10685. description: 银行流水
  10686. type: string
  10687. branchbankid:
  10688. description: 银行支行号
  10689. type: string
  10690. branchbankname:
  10691. description: 银行支行名称
  10692. type: string
  10693. capamountout:
  10694. description: 出金(劣后本金) - 外部子账户
  10695. type: number
  10696. certificatephotourl:
  10697. description: 凭证地址
  10698. type: string
  10699. charge:
  10700. description: 手续费
  10701. type: number
  10702. checkerrorflag:
  10703. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10704. type: integer
  10705. currency:
  10706. description: 币种
  10707. type: string
  10708. cusbankid:
  10709. description: 托管银行编号
  10710. type: string
  10711. exchticket:
  10712. description: 银行服务流水号
  10713. type: string
  10714. executetype:
  10715. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  10716. 7:外部子账户:入金 8:外部子账户:出金'
  10717. type: integer
  10718. extendinfo:
  10719. description: 扩展信息
  10720. type: string
  10721. extoperateid:
  10722. description: 交易服务流水号
  10723. type: integer
  10724. infamount:
  10725. description: 劣后金额(自有)
  10726. type: number
  10727. logincode:
  10728. description: 登录账号(账号)
  10729. type: string
  10730. netaddr:
  10731. description: 调转网址
  10732. type: string
  10733. priamount:
  10734. description: 优先金额(授信)
  10735. type: number
  10736. reauditid:
  10737. description: 复审人
  10738. type: integer
  10739. reauditremark:
  10740. description: 复审备注
  10741. type: string
  10742. reaudittime:
  10743. description: 复审时间
  10744. type: string
  10745. relatedorderid:
  10746. description: 三方关联ID
  10747. type: string
  10748. remark:
  10749. description: 备注
  10750. type: string
  10751. remark2:
  10752. description: 备注(失败原因)
  10753. type: string
  10754. soucreamount:
  10755. description: 原始出入金金额
  10756. type: number
  10757. soucrecurrencyid:
  10758. description: 原始出入金币种
  10759. type: integer
  10760. tradedate:
  10761. description: 交易日(yyyyMMdd)
  10762. type: string
  10763. updatetime:
  10764. description: 更新时间(申请时间)
  10765. type: string
  10766. userid:
  10767. description: 用户id
  10768. type: integer
  10769. userinfotype:
  10770. description: 账户类型 1-个人 2-企业
  10771. type: integer
  10772. type: object
  10773. models.QhjAgreementChangeLog:
  10774. properties:
  10775. agreementcontent:
  10776. description: 协议内容
  10777. type: string
  10778. agreementfrequency:
  10779. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10780. type: integer
  10781. agreementid:
  10782. description: 协议ID
  10783. type: integer
  10784. agreementname:
  10785. description: 协议名称
  10786. type: string
  10787. agreementno:
  10788. description: 协议编号
  10789. type: string
  10790. agreementtype:
  10791. description: 协议类型 - 1:注册 2:登录 3:交易
  10792. type: integer
  10793. agreementversion:
  10794. description: 协议版本号
  10795. type: integer
  10796. logid:
  10797. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  10798. type: integer
  10799. reviserid:
  10800. description: 修改人
  10801. type: integer
  10802. revisersrc:
  10803. description: 修改来源 - 1:管理端 2:终端
  10804. type: integer
  10805. updatetime:
  10806. description: 更新时间
  10807. type: string
  10808. type: object
  10809. models.QhjAgreementConfig:
  10810. properties:
  10811. agreementcontent:
  10812. description: 协议内容
  10813. type: string
  10814. agreementfrequency:
  10815. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10816. type: integer
  10817. agreementid:
  10818. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  10819. type: integer
  10820. agreementname:
  10821. description: 协议名称
  10822. type: string
  10823. agreementno:
  10824. description: 协议编号
  10825. type: string
  10826. agreementtype:
  10827. description: 协议类型 - 1:注册 2:登录 3:交易
  10828. type: integer
  10829. agreementversion:
  10830. description: 协议版本号(从1开始每次修改加1)
  10831. type: integer
  10832. createtime:
  10833. description: 创建时间
  10834. type: string
  10835. creatorid:
  10836. description: 创建人
  10837. type: integer
  10838. creatorsrc:
  10839. description: 创建来源 - 1:管理端 2:终端
  10840. type: integer
  10841. isvalid:
  10842. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  10843. type: integer
  10844. reviserid:
  10845. description: 修改人
  10846. type: integer
  10847. revisersrc:
  10848. description: 修改来源 - 1:管理端 2:终端
  10849. type: integer
  10850. updatetime:
  10851. description: 更新时间
  10852. type: string
  10853. type: object
  10854. models.QhjAreaFinanceConfig:
  10855. properties:
  10856. additionalratio:
  10857. description: 追加款比例
  10858. type: number
  10859. advanceratio:
  10860. description: 预付款比例
  10861. type: number
  10862. alarmratio:
  10863. description: 告警比例
  10864. type: number
  10865. consumptiondirectreward:
  10866. description: 消费直推奖励值
  10867. type: number
  10868. consumptionenabled:
  10869. description: 是否启用消费奖励 - 0:不启用 1:启用
  10870. type: integer
  10871. consumptionindirectreward:
  10872. description: 消费间推奖励值
  10873. type: number
  10874. consumptionmodel:
  10875. description: 消费奖励方式 - 1:比率 2:固定
  10876. type: integer
  10877. customerservicenum:
  10878. description: 客服电话
  10879. type: string
  10880. dayinterestrate:
  10881. description: 日利率
  10882. type: number
  10883. disableconsumptiontips:
  10884. description: 关闭消费奖励提示
  10885. type: string
  10886. modifierid:
  10887. description: 修改人ID
  10888. type: integer
  10889. modifysrc:
  10890. description: 审核来源 - 1:管理端 2:终端
  10891. type: integer
  10892. modifytime:
  10893. description: 修改时间
  10894. type: string
  10895. promotionvalue:
  10896. description: 推广奖励值(固定)
  10897. type: number
  10898. scoreconfigvalue1:
  10899. description: 提货积分配置1
  10900. type: integer
  10901. scoreconfigvalue2:
  10902. description: 提货积分配置2
  10903. type: integer
  10904. userid:
  10905. description: 机构用户ID其他做市关系,都设置为 1
  10906. type: integer
  10907. username:
  10908. description: 用户名称
  10909. type: string
  10910. type: object
  10911. models.QhjBankAccountSign:
  10912. properties:
  10913. accountcode:
  10914. description: 资金账号
  10915. type: string
  10916. accountname:
  10917. description: 资金账号对应的账号名(UserName)
  10918. type: string
  10919. accountname2:
  10920. description: 资金账号对应的账号名(UserName) - 密文
  10921. type: string
  10922. accounttype:
  10923. description: 账户类型(UserType)
  10924. type: integer
  10925. applicationtime:
  10926. description: 最后一次更新的时间
  10927. type: string
  10928. applyexchticket:
  10929. description: 申请流水
  10930. type: string
  10931. auditid:
  10932. description: 审核人
  10933. type: integer
  10934. audittime:
  10935. description: 审核时间
  10936. type: string
  10937. bankaccountname:
  10938. description: 签约银行卡账号名
  10939. type: string
  10940. bankaccountname2:
  10941. description: 签约银行卡账号名 - 密文
  10942. type: string
  10943. bankaccountno:
  10944. description: 银行卡号
  10945. type: string
  10946. bankaccountno2:
  10947. description: 银行卡号 - 密文
  10948. type: string
  10949. bankaccounttype:
  10950. description: 银行账户类型 - 1-对私; 2-对公
  10951. type: integer
  10952. bankcardtype:
  10953. description: 银行卡类型
  10954. type: integer
  10955. bankchildaccount:
  10956. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  10957. type: string
  10958. bankcity:
  10959. description: 开户行城市
  10960. type: string
  10961. bankid:
  10962. description: 签约银行ID
  10963. type: string
  10964. bankname:
  10965. description: 签约银行名称
  10966. type: string
  10967. bankprovince:
  10968. description: 开户行省份
  10969. type: string
  10970. branchbankid:
  10971. description: 签约银行支行号
  10972. type: string
  10973. branchbankname:
  10974. description: 签约银行支行名称
  10975. type: string
  10976. cardno:
  10977. description: 证件号码
  10978. type: string
  10979. cardno2:
  10980. description: 证件号码 - 密文
  10981. type: string
  10982. cardtype:
  10983. description: 证件类型
  10984. type: string
  10985. currency:
  10986. description: 币种
  10987. type: string
  10988. cusbankid:
  10989. description: 托管银行编号
  10990. type: string
  10991. direct:
  10992. description: 方向(可以判断那方先发起的签约)
  10993. type: integer
  10994. exchticket:
  10995. description: 最后一次签约成功的流水号
  10996. type: string
  10997. extendinfo:
  10998. description: 扩展信息(JSON字符串)
  10999. type: string
  11000. mobilephone:
  11001. description: 手机号
  11002. type: string
  11003. mobilephone2:
  11004. description: 手机号 - 密文
  11005. type: string
  11006. netaddr:
  11007. description: 调转网址
  11008. type: string
  11009. relateduserid:
  11010. description: 关联使用者userid
  11011. type: integer
  11012. signstatus:
  11013. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  11014. 10:审核拒绝 11:换签待审核
  11015. type: integer
  11016. updatetime:
  11017. description: 更新时间(签解约更新时间)
  11018. type: string
  11019. type: object
  11020. models.QhjBankInfo:
  11021. properties:
  11022. bankid:
  11023. description: 银行ID
  11024. type: string
  11025. bankname:
  11026. description: 银行名称
  11027. type: string
  11028. clearbankno:
  11029. description: 清算系统银行编号
  11030. type: string
  11031. orderindex:
  11032. description: 排序顺序
  11033. type: integer
  11034. status:
  11035. description: 状态 - 0:正常 1:注销
  11036. type: integer
  11037. type: object
  11038. models.QhjBrokerApply:
  11039. properties:
  11040. applicantid:
  11041. description: 申请人
  11042. type: integer
  11043. applysrc:
  11044. description: 申请来源 - 1:管理端 2:终端
  11045. type: integer
  11046. applystatus:
  11047. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  11048. type: integer
  11049. applytime:
  11050. description: 申请时间
  11051. type: string
  11052. auditorid:
  11053. description: 审核人
  11054. type: integer
  11055. auditremark:
  11056. description: 审核备注
  11057. type: string
  11058. auditsrc:
  11059. description: 审核来源 - 1:管理端 2:终端
  11060. type: integer
  11061. audittime:
  11062. description: 审核时间
  11063. type: string
  11064. audittradedate:
  11065. description: 审核交易日(yyyyMMdd)
  11066. type: string
  11067. brokerapplyid:
  11068. description: 申请ID(SEQ_BROKERAPPLY)
  11069. type: integer
  11070. cardbackphotourl:
  11071. description: 证件背面图片地址
  11072. type: string
  11073. cardfrontphotourl:
  11074. description: 证件正面图片地址
  11075. type: string
  11076. cardnum:
  11077. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  11078. type: string
  11079. customername:
  11080. description: 姓名
  11081. type: string
  11082. logincode:
  11083. description: 登录代码
  11084. type: string
  11085. mobile:
  11086. description: 手机号码
  11087. type: string
  11088. parentuserid:
  11089. description: 所属机构id
  11090. type: integer
  11091. parentusername:
  11092. description: 所属机构名称
  11093. type: string
  11094. refereeuserid:
  11095. description: 推荐人id(经纪人)
  11096. type: integer
  11097. refernum:
  11098. description: 推荐码
  11099. type: string
  11100. remark:
  11101. description: 备注
  11102. type: string
  11103. subarealevelpath:
  11104. description: 层级路径
  11105. type: string
  11106. tradedate:
  11107. description: 交易日(yyyyMMdd)
  11108. type: string
  11109. userid:
  11110. description: 申请人用户ID
  11111. type: integer
  11112. userinfotype:
  11113. description: 用户类型 1-个人 2-企业
  11114. type: integer
  11115. username:
  11116. description: 用户名称
  11117. type: string
  11118. type: object
  11119. models.QhjBrokerApplyEx:
  11120. properties:
  11121. applylist:
  11122. description: 经纪人申请记录(只返回最新一条)
  11123. items:
  11124. $ref: '#/definitions/models.QhjBrokerApply'
  11125. type: array
  11126. canrecommend:
  11127. description: 是否经纪人 0-不是 1-是
  11128. type: integer
  11129. refernum:
  11130. description: 推荐码
  11131. type: string
  11132. userid:
  11133. description: 用户id
  11134. type: integer
  11135. userinfotype:
  11136. description: 用户类型 1-个人 2-企业
  11137. type: integer
  11138. type: object
  11139. models.QhjBrokerRewardLog:
  11140. properties:
  11141. accountid:
  11142. description: 资金账号ID
  11143. type: integer
  11144. createtime:
  11145. description: 创建时间(时间)
  11146. type: string
  11147. handlestatus:
  11148. description: 处理状态
  11149. type: integer
  11150. logid:
  11151. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11152. type: string
  11153. marketid:
  11154. description: 市场ID
  11155. type: integer
  11156. mmaccountid:
  11157. description: 做市商资金账号ID
  11158. type: string
  11159. mmuserid:
  11160. description: 做市商用户ID
  11161. type: string
  11162. rewardamount:
  11163. description: 奖励金额
  11164. type: number
  11165. rewardmodel:
  11166. description: 消费奖励方式 - 1:比率 2:固定
  11167. type: integer
  11168. rewardtype:
  11169. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  11170. type: integer
  11171. rewardvalue:
  11172. description: 配置奖励值
  11173. type: number
  11174. srcamount:
  11175. description: 成交金额 [消费奖励] (金额)
  11176. type: number
  11177. srcgoodsid:
  11178. description: 来源商品ID [消费奖励]
  11179. type: string
  11180. srctime:
  11181. description: 来源时间 (成交时间) [消费奖励]
  11182. type: string
  11183. srctradeid:
  11184. description: 来源成交单ID [消费奖励] - 排除提货成交
  11185. type: string
  11186. srcuserid:
  11187. description: 来源用户ID(推广账户)
  11188. type: string
  11189. srcusername:
  11190. description: 推广账户名称
  11191. type: string
  11192. tradedate:
  11193. description: 交易日(yyyyMMdd)
  11194. type: string
  11195. userid:
  11196. description: 经纪人用户ID
  11197. type: integer
  11198. type: object
  11199. models.QhjContract:
  11200. properties:
  11201. contractconfirmtime:
  11202. description: 合同确认时间(时间)
  11203. type: string
  11204. currisklevel:
  11205. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  11206. type: integer
  11207. decimalplace:
  11208. description: 商品报价小数位
  11209. type: integer
  11210. enumdicname:
  11211. description: 单位名称
  11212. type: string
  11213. goodscode:
  11214. description: 商品代码
  11215. type: string
  11216. goodsid:
  11217. description: 商品ID [5:融资单]
  11218. type: integer
  11219. goodsname:
  11220. description: 商品名称
  11221. type: string
  11222. goodunitid:
  11223. description: 商品单位id
  11224. type: integer
  11225. initmargin:
  11226. description: 初始保证金(首付款)
  11227. type: number
  11228. lenderamount:
  11229. description: 贷款金额(总额|订单总额)
  11230. type: number
  11231. marginratio:
  11232. description: 保证金比率(首付比例)
  11233. type: number
  11234. payamount:
  11235. description: 已付(已付货款)
  11236. type: number
  11237. reckonrecovermargin:
  11238. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  11239. type: number
  11240. recoveredmargin:
  11241. description: 已追缴保证金
  11242. type: number
  11243. remainamount:
  11244. description: 合同剩余金额(融资额)
  11245. type: number
  11246. scfcontractid:
  11247. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  11248. type: string
  11249. scfcontractstatus:
  11250. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  11251. 9:违约结束 10:已注销 11:已关闭 99:未提交
  11252. type: integer
  11253. scfcontracttype:
  11254. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  11255. type: integer
  11256. totalinterest:
  11257. description: 已计总利息(利息)
  11258. type: number
  11259. tradeprice:
  11260. description: 成交价格(成本价格)
  11261. type: number
  11262. userid:
  11263. description: 用户ID
  11264. type: integer
  11265. username:
  11266. description: 用户名称
  11267. type: string
  11268. wrqty:
  11269. description: 仓单数量(数量)
  11270. type: number
  11271. type: object
  11272. models.QhjContractLog:
  11273. properties:
  11274. amount:
  11275. description: 支付金额
  11276. type: number
  11277. amounttype:
  11278. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  11279. type: integer
  11280. logid:
  11281. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11282. type: string
  11283. remainamount:
  11284. description: 剩余货款
  11285. type: number
  11286. scfcontractid:
  11287. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  11288. type: integer
  11289. updatetime:
  11290. description: 更新时间
  11291. type: string
  11292. type: object
  11293. models.QhjCusBankSignBankEx:
  11294. properties:
  11295. banklst:
  11296. description: 银行列表
  11297. items:
  11298. $ref: '#/definitions/models.QhjBankInfo'
  11299. type: array
  11300. canallot:
  11301. description: 是否支持跨行调拨 - 0:不支持 1:支持
  11302. type: integer
  11303. canallotquery:
  11304. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  11305. type: integer
  11306. canbindcard:
  11307. description: 是否可绑卡与解卡 - 0:不可 1:可以
  11308. type: integer
  11309. caninamount:
  11310. description: 是否可入金 - 0:不可 1:可以
  11311. type: integer
  11312. caninamount2:
  11313. description: 是否可入金(网银端) - 0:不可 1:可以
  11314. type: integer
  11315. canmodifybankcard:
  11316. description: 是否可修改银行卡号 - 0:不可 1:可以
  11317. type: integer
  11318. canmodifyphone:
  11319. description: 是否可修改手机号 - 0:不可 1:可以
  11320. type: integer
  11321. canmodifysigninfo:
  11322. description: 是否可修改签约信息 - 0:不可 1:可以
  11323. type: integer
  11324. canoutamount:
  11325. description: 是否可出金 - 0:不可 1:可以
  11326. type: integer
  11327. canoutamount2:
  11328. description: 是否可出金(网银端) - 0:不可 1:可以
  11329. type: integer
  11330. canrelease:
  11331. description: 是否可解约 - 0:不可 1:可以
  11332. type: integer
  11333. canrelease2:
  11334. description: 是否可解约(网银端) - 0:不可 1:可以
  11335. type: integer
  11336. cansign:
  11337. description: 是否可签约 - 0:不可 1:可以
  11338. type: integer
  11339. cansign2:
  11340. description: 是否可签约(网银端) - 0:不可 1:可以
  11341. type: integer
  11342. currency:
  11343. description: 币种
  11344. type: string
  11345. cusbankid:
  11346. description: 托管银行编号(对应清算中心TRAN_NO)
  11347. type: string
  11348. cusbankname:
  11349. description: 银行业务名称
  11350. type: string
  11351. cusbankshortname:
  11352. description: 银行业务简称
  11353. type: string
  11354. exchbankid:
  11355. description: 交易所开户银行ID
  11356. type: string
  11357. exchpaybankaccname:
  11358. description: 交易所支出结算账户户名
  11359. type: string
  11360. exchpaybankaccno:
  11361. description: 交易所支出结算账户
  11362. type: string
  11363. isneedcheck:
  11364. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  11365. type: integer
  11366. isneedclear:
  11367. description: 是否需要清算 - 0:不需要 1:需要
  11368. type: integer
  11369. lastcheckstatus:
  11370. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  11371. type: integer
  11372. lastchecktime:
  11373. description: 最后对账时间
  11374. type: string
  11375. lastclearstatus:
  11376. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  11377. type: integer
  11378. lastcleartime:
  11379. description: 最后清算时间
  11380. type: string
  11381. lastsignintime:
  11382. description: 最后签到时间
  11383. type: string
  11384. lastsignouttime:
  11385. description: 最后签退时间
  11386. type: string
  11387. riskinfo:
  11388. description: 签约风险提示书
  11389. type: string
  11390. signstatus:
  11391. description: 当前签到/签退状态 - 1:签到 2:签退
  11392. type: integer
  11393. tradedate:
  11394. description: 交易日(yyyyMMdd)
  11395. type: string
  11396. updatetime:
  11397. description: 当前签到/签退更新时间
  11398. type: string
  11399. type: object
  11400. models.QhjCustomer:
  11401. properties:
  11402. address:
  11403. description: 通讯地址
  11404. type: string
  11405. attachment1:
  11406. description: 附件1
  11407. type: string
  11408. attachment2:
  11409. description: 附件2
  11410. type: string
  11411. audittime:
  11412. description: 审核时间
  11413. type: string
  11414. cardbackphotourl:
  11415. description: 证件反面图片地址
  11416. type: string
  11417. cardfrontphotourl:
  11418. description: 证件正面图片地址
  11419. type: string
  11420. cardnum:
  11421. description: 证件号码
  11422. type: string
  11423. cardtype:
  11424. description: 证件类型
  11425. type: integer
  11426. cardtypename:
  11427. description: 证件类型名称
  11428. type: string
  11429. cityid:
  11430. description: 市
  11431. type: integer
  11432. cityname:
  11433. description: 城市名称
  11434. type: string
  11435. contactname:
  11436. description: 联系人
  11437. type: string
  11438. countryid:
  11439. description: 国家
  11440. type: integer
  11441. countryname:
  11442. description: 国家名称
  11443. type: string
  11444. createtime:
  11445. description: 创建时间
  11446. type: string
  11447. customername:
  11448. description: 客户名称
  11449. type: string
  11450. districtid:
  11451. description: 区域
  11452. type: integer
  11453. districtname:
  11454. description: 地区名称
  11455. type: string
  11456. email:
  11457. description: 邮件
  11458. type: string
  11459. legalpersonname:
  11460. description: 法人姓名(企业)
  11461. type: string
  11462. logincode:
  11463. description: 登录账号(代码)
  11464. type: string
  11465. memberuserid:
  11466. description: 所属机构ID(所属会员)
  11467. type: integer
  11468. memberusername:
  11469. description: 所属会员名称
  11470. type: string
  11471. mobile:
  11472. description: 手机号码
  11473. type: string
  11474. modifytime:
  11475. description: 修改时间
  11476. type: string
  11477. nickname:
  11478. description: 昵称
  11479. type: string
  11480. parentuserid:
  11481. description: 上级机构(所属机构)
  11482. type: integer
  11483. parentusername:
  11484. description: 所属机构名称
  11485. type: string
  11486. provinceid:
  11487. description: 省
  11488. type: integer
  11489. provincename:
  11490. description: 省名称
  11491. type: string
  11492. proxystatementurl:
  11493. description: 授权委托书
  11494. type: string
  11495. remark:
  11496. description: 备注
  11497. type: string
  11498. status:
  11499. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  11500. type: integer
  11501. statusdesc:
  11502. description: 账户状态中文描述
  11503. type: string
  11504. taxpayernum:
  11505. description: 纳税人识别号
  11506. type: string
  11507. telphone:
  11508. description: 联系电话
  11509. type: string
  11510. userid:
  11511. description: 用户ID
  11512. type: integer
  11513. userinfotype:
  11514. description: 客户类型 1-个人 2-企业
  11515. type: integer
  11516. username:
  11517. description: 用户名称
  11518. type: string
  11519. type: object
  11520. models.QhjCustomerSignLog:
  11521. properties:
  11522. agreementcontent:
  11523. description: 协议内容
  11524. type: string
  11525. agreementid:
  11526. description: 协议ID
  11527. type: integer
  11528. agreementname:
  11529. description: 协议名称
  11530. type: string
  11531. agreementno:
  11532. description: 协议编号
  11533. type: string
  11534. agreementtype:
  11535. description: 协议类型 - 1:注册 2:登录 3:交易
  11536. type: integer
  11537. agreementversion:
  11538. description: 协议版本号
  11539. type: integer
  11540. createtime:
  11541. description: 创建时间
  11542. type: string
  11543. goodscode:
  11544. description: 商品代码
  11545. type: string
  11546. goodsid:
  11547. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11548. type: integer
  11549. goodsname:
  11550. description: 商品名称
  11551. type: string
  11552. logid:
  11553. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  11554. type: integer
  11555. nodetype:
  11556. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11557. type: integer
  11558. signadressurl:
  11559. description: 签约文件地址
  11560. type: string
  11561. signtimestamp:
  11562. description: 签约状态时间戳
  11563. type: string
  11564. userid:
  11565. description: 客户ID
  11566. type: integer
  11567. username:
  11568. description: 客户名称
  11569. type: string
  11570. type: object
  11571. models.QhjCustomerSignStatus:
  11572. properties:
  11573. createtime:
  11574. description: 创建时间
  11575. type: string
  11576. goodscode:
  11577. description: 商品代码
  11578. type: string
  11579. goodsid:
  11580. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11581. type: integer
  11582. goodsname:
  11583. description: 商品名称
  11584. type: string
  11585. nodetype:
  11586. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  11587. type: integer
  11588. signtimestamp:
  11589. description: 签约状态时间戳
  11590. type: string
  11591. tradedate:
  11592. description: 创建交易日(yyyyMMdd)
  11593. type: string
  11594. updatetime:
  11595. description: 更新时间
  11596. type: string
  11597. userid:
  11598. description: 客户ID
  11599. type: integer
  11600. username:
  11601. description: 客户名称
  11602. type: string
  11603. type: object
  11604. models.QhjMgrAccountOutInApply:
  11605. properties:
  11606. accountcode:
  11607. description: 资金账号
  11608. type: string
  11609. accountname:
  11610. description: 用户名称(名称)
  11611. type: string
  11612. accountpwd:
  11613. description: 资金密码
  11614. type: string
  11615. accountticket:
  11616. description: 最新账户服务流水号
  11617. type: string
  11618. amount:
  11619. description: 金额
  11620. type: number
  11621. applyremark:
  11622. description: 申请备注
  11623. type: string
  11624. applystatus:
  11625. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  11626. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  11627. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  11628. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  11629. type: integer
  11630. auditid:
  11631. description: 审核人
  11632. type: integer
  11633. audittime:
  11634. description: 审核时间
  11635. type: string
  11636. bank_apply_ticket:
  11637. description: 银行申请流水
  11638. type: string
  11639. bankaccountname:
  11640. description: 银行账户名
  11641. type: string
  11642. bankaccountno:
  11643. description: 银行卡号
  11644. type: string
  11645. bankid:
  11646. description: 银行编号
  11647. type: string
  11648. bankname:
  11649. description: 银行名称
  11650. type: string
  11651. bankticket:
  11652. description: 银行流水
  11653. type: string
  11654. branchbankid:
  11655. description: 银行支行号
  11656. type: string
  11657. branchbankname:
  11658. description: 银行支行名称
  11659. type: string
  11660. capamountout:
  11661. description: 出金(劣后本金) - 外部子账户
  11662. type: number
  11663. certificatephotourl:
  11664. description: 凭证地址
  11665. type: string
  11666. charge:
  11667. description: 手续费
  11668. type: number
  11669. checkerrorflag:
  11670. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  11671. type: integer
  11672. currency:
  11673. description: 币种
  11674. type: string
  11675. cusbankid:
  11676. description: 托管银行编号
  11677. type: string
  11678. exchticket:
  11679. description: 银行服务流水号
  11680. type: string
  11681. executetype:
  11682. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  11683. 7:外部子账户:入金 8:外部子账户:出金'
  11684. type: integer
  11685. extendinfo:
  11686. description: 扩展信息
  11687. type: string
  11688. extoperateid:
  11689. description: 交易服务流水号
  11690. type: integer
  11691. infamount:
  11692. description: 劣后金额(自有)
  11693. type: number
  11694. logincode:
  11695. description: 登录账号(账号)
  11696. type: string
  11697. netaddr:
  11698. description: 调转网址
  11699. type: string
  11700. priamount:
  11701. description: 优先金额(授信)
  11702. type: number
  11703. reauditid:
  11704. description: 复审人
  11705. type: integer
  11706. reauditremark:
  11707. description: 复审备注
  11708. type: string
  11709. reaudittime:
  11710. description: 复审时间
  11711. type: string
  11712. relatedorderid:
  11713. description: 三方关联ID
  11714. type: string
  11715. remark:
  11716. description: 备注
  11717. type: string
  11718. remark2:
  11719. description: 备注(失败原因)
  11720. type: string
  11721. soucreamount:
  11722. description: 原始出入金金额
  11723. type: number
  11724. soucrecurrencyid:
  11725. description: 原始出入金币种
  11726. type: integer
  11727. tradedate:
  11728. description: 交易日(yyyyMMdd)
  11729. type: string
  11730. updatetime:
  11731. description: 更新时间(申请时间)
  11732. type: string
  11733. userid:
  11734. description: 用户id
  11735. type: integer
  11736. userinfotype:
  11737. description: 账户类型 1-个人 2-企业
  11738. type: integer
  11739. type: object
  11740. models.QhjMgrBrokerApply:
  11741. properties:
  11742. applicantid:
  11743. description: 申请人
  11744. type: integer
  11745. applysrc:
  11746. description: 申请来源 - 1:管理端 2:终端
  11747. type: integer
  11748. applystatus:
  11749. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  11750. type: integer
  11751. applytime:
  11752. description: 申请时间
  11753. type: string
  11754. auditorid:
  11755. description: 审核人
  11756. type: integer
  11757. auditremark:
  11758. description: 审核备注
  11759. type: string
  11760. auditsrc:
  11761. description: 审核来源 - 1:管理端 2:终端
  11762. type: integer
  11763. audittime:
  11764. description: 审核时间
  11765. type: string
  11766. audittradedate:
  11767. description: 审核交易日(yyyyMMdd)
  11768. type: string
  11769. brokerapplyid:
  11770. description: 申请ID(SEQ_BROKERAPPLY)
  11771. type: integer
  11772. cardbackphotourl:
  11773. description: 证件背面图片地址
  11774. type: string
  11775. cardfrontphotourl:
  11776. description: 证件正面图片地址
  11777. type: string
  11778. cardnum:
  11779. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  11780. type: string
  11781. customername:
  11782. description: 姓名
  11783. type: string
  11784. filterstatus:
  11785. description: 筛选条件
  11786. type: string
  11787. logincode:
  11788. description: 登录代码
  11789. type: string
  11790. mobile:
  11791. description: 手机号码
  11792. type: string
  11793. parentuserid:
  11794. description: 所属机构id
  11795. type: integer
  11796. parentusername:
  11797. description: 所属机构名称
  11798. type: string
  11799. refereeuserid:
  11800. description: 推荐人id(经纪人)
  11801. type: integer
  11802. refernum:
  11803. description: 推荐码
  11804. type: string
  11805. remark:
  11806. description: 备注
  11807. type: string
  11808. subarealevelpath:
  11809. description: 层级路径
  11810. type: string
  11811. tradedate:
  11812. description: 交易日(yyyyMMdd)
  11813. type: string
  11814. userid:
  11815. description: 申请人用户ID
  11816. type: integer
  11817. userinfotype:
  11818. description: 用户类型 1-个人 2-企业
  11819. type: integer
  11820. username:
  11821. description: 用户名称
  11822. type: string
  11823. type: object
  11824. models.QhjMgrBrokerRewardReport:
  11825. properties:
  11826. createtime:
  11827. description: 创建时间(注册时间)
  11828. type: string
  11829. cycletime:
  11830. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  11831. type: string
  11832. cycletype:
  11833. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  11834. type: integer
  11835. directtotalnum:
  11836. description: 直推总人数【期末】
  11837. type: integer
  11838. indirecttotalnum:
  11839. description: 间推总人数【期末】
  11840. type: integer
  11841. mobile:
  11842. description: 电话号码
  11843. type: string
  11844. refereeuserid:
  11845. description: 推荐人id(经纪人id)
  11846. type: integer
  11847. refereeusername:
  11848. description: 推荐人名称(经纪人) 上级经纪人名称
  11849. type: string
  11850. refernum:
  11851. description: 推荐码
  11852. type: string
  11853. subarealevelpath:
  11854. description: 用户层级路径
  11855. type: string
  11856. todayrewardamount:
  11857. description: 奖励总金额【汇总】
  11858. type: number
  11859. updatetime:
  11860. description: 更新时间
  11861. type: string
  11862. userid:
  11863. description: 经纪人用户ID
  11864. type: integer
  11865. userinfotype:
  11866. description: 用户类型 1-个人 2-企业
  11867. type: integer
  11868. username:
  11869. description: 用户名称
  11870. type: string
  11871. type: object
  11872. models.QhjMgrContract:
  11873. properties:
  11874. contractconfirmtime:
  11875. description: 合同确认时间(时间)
  11876. type: string
  11877. currisklevel:
  11878. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  11879. type: integer
  11880. decimalplace:
  11881. description: 商品报价小数位
  11882. type: integer
  11883. enumdicname:
  11884. description: 单位名称
  11885. type: string
  11886. goodscode:
  11887. description: 商品代码
  11888. type: string
  11889. goodsid:
  11890. description: 商品ID [5:融资单]
  11891. type: integer
  11892. goodsname:
  11893. description: 商品名称
  11894. type: string
  11895. goodunitid:
  11896. description: 商品单位id
  11897. type: integer
  11898. initmargin:
  11899. description: 初始保证金(首付款)
  11900. type: number
  11901. lenderamount:
  11902. description: 贷款金额(总额|订单总额)
  11903. type: number
  11904. logincode:
  11905. description: 账号(登录代码)
  11906. type: string
  11907. marginratio:
  11908. description: 保证金比率(首付比例)
  11909. type: number
  11910. mobile:
  11911. description: 电话号码(用户资料里的电话)
  11912. type: string
  11913. payamount:
  11914. description: 已付(已付货款)
  11915. type: number
  11916. reckonrecovermargin:
  11917. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  11918. type: number
  11919. recoveredmargin:
  11920. description: 已追缴保证金
  11921. type: number
  11922. remainamount:
  11923. description: 合同剩余金额(融资额)
  11924. type: number
  11925. scfcontractid:
  11926. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  11927. type: string
  11928. scfcontractstatus:
  11929. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  11930. 9:违约结束 10:已注销 11:已关闭 99:未提交
  11931. type: integer
  11932. scfcontracttype:
  11933. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  11934. type: integer
  11935. totalinterest:
  11936. description: 已计总利息(利息)
  11937. type: number
  11938. tradedate:
  11939. description: 交易日
  11940. type: string
  11941. tradeprice:
  11942. description: 成交价格(成本价格)
  11943. type: number
  11944. userid:
  11945. description: 用户ID
  11946. type: integer
  11947. userinfotype:
  11948. description: 用户类型 1-个人 2-企业
  11949. type: integer
  11950. username:
  11951. description: 用户名称
  11952. type: string
  11953. wrqty:
  11954. description: 仓单数量(数量)
  11955. type: number
  11956. type: object
  11957. models.QhjMgrCustomer:
  11958. properties:
  11959. address:
  11960. description: 通讯地址
  11961. type: string
  11962. attachment1:
  11963. description: 附件1
  11964. type: string
  11965. audittime:
  11966. description: 审核时间
  11967. type: string
  11968. birthday:
  11969. description: 生日
  11970. type: string
  11971. brokerid:
  11972. description: 所属客户经理id
  11973. type: integer
  11974. brokername:
  11975. description: 所属客户经理名称
  11976. type: string
  11977. cardbackphotourl:
  11978. description: 证件反面图片地址
  11979. type: string
  11980. cardfrontphotourl:
  11981. description: 证件正面图片地址
  11982. type: string
  11983. cardnum:
  11984. description: 证件号码
  11985. type: string
  11986. cardtype:
  11987. description: 证件类型
  11988. type: integer
  11989. cardtypename:
  11990. description: 证件类型名称
  11991. type: string
  11992. cityid:
  11993. description: 市
  11994. type: integer
  11995. cityname:
  11996. description: 城市名称
  11997. type: string
  11998. contactname:
  11999. description: 联系人
  12000. type: string
  12001. countryid:
  12002. description: 国家
  12003. type: integer
  12004. countryname:
  12005. description: 国家名称
  12006. type: string
  12007. createtime:
  12008. description: 创建时间
  12009. type: string
  12010. customername:
  12011. description: 客户名称
  12012. type: string
  12013. districtid:
  12014. description: 区域
  12015. type: integer
  12016. districtname:
  12017. description: 地区名称
  12018. type: string
  12019. email:
  12020. description: 邮件
  12021. type: string
  12022. legalpersonname:
  12023. description: 法人姓名(企业)
  12024. type: string
  12025. logincode:
  12026. description: 登录账号(代码)
  12027. type: string
  12028. memberuserid:
  12029. description: 所属机构ID(所属会员)
  12030. type: integer
  12031. memberusername:
  12032. description: 所属会员名称
  12033. type: string
  12034. mobile:
  12035. description: 手机号码
  12036. type: string
  12037. modifytime:
  12038. description: 修改时间
  12039. type: string
  12040. nickname:
  12041. description: 昵称
  12042. type: string
  12043. parentuserid:
  12044. description: 上级机构(所属机构)
  12045. type: integer
  12046. parentusername:
  12047. description: 所属机构名称
  12048. type: string
  12049. provinceid:
  12050. description: 省
  12051. type: integer
  12052. provincename:
  12053. description: 省名称
  12054. type: string
  12055. proxystatementurl:
  12056. description: 授权委托书
  12057. type: string
  12058. querytype:
  12059. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  12060. type: integer
  12061. remark:
  12062. description: 备注
  12063. type: string
  12064. sex:
  12065. description: 性别 0-女 1-男
  12066. type: integer
  12067. status:
  12068. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  12069. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  12070. type: integer
  12071. statusdesc:
  12072. description: 账户状态中文描述
  12073. type: string
  12074. taxpayernum:
  12075. description: 纳税人识别号
  12076. type: string
  12077. telphone:
  12078. description: 联系电话
  12079. type: string
  12080. userid:
  12081. description: 用户ID
  12082. type: integer
  12083. userinfotype:
  12084. description: 客户类型 1-个人 2-企业
  12085. type: integer
  12086. username:
  12087. description: 用户名称
  12088. type: string
  12089. type: object
  12090. models.QhjMgrPickGoods:
  12091. properties:
  12092. enumdicname:
  12093. description: 单位名称(提货商品)
  12094. type: string
  12095. goodsid:
  12096. description: 商品id
  12097. type: integer
  12098. imageaddress:
  12099. description: 图片
  12100. type: string
  12101. modifierid:
  12102. description: 修改人
  12103. type: integer
  12104. modifiername:
  12105. description: 修改人名称
  12106. type: string
  12107. modifysrc:
  12108. description: 修改来源 - 1:管理端 2:终端
  12109. type: integer
  12110. pickupgoodsagreeunit:
  12111. description: 合约乘数
  12112. type: number
  12113. pickupgoodsdesc:
  12114. description: 描述
  12115. type: string
  12116. pickupgoodsid:
  12117. description: 提货商品ID
  12118. type: string
  12119. pickupgoodsname:
  12120. description: 提货商品名称
  12121. type: string
  12122. pickupgoodsstatus:
  12123. description: 状态 - 1:正常 2:停用 3:注销
  12124. type: integer
  12125. pickupgoodsunitid:
  12126. description: 单位ID
  12127. type: integer
  12128. pickupratio:
  12129. description: 提货系数
  12130. type: number
  12131. preparedays:
  12132. description: 备货期(天)
  12133. type: integer
  12134. remark:
  12135. description: 备注
  12136. type: string
  12137. updatetime:
  12138. description: 更新时间
  12139. type: string
  12140. type: object
  12141. models.QhjMgrPositionRsp:
  12142. properties:
  12143. accountid:
  12144. description: 账号Id
  12145. type: integer
  12146. accountname:
  12147. description: 用户名称
  12148. type: string
  12149. agreeunit:
  12150. description: 合约乘数
  12151. type: number
  12152. averageprice:
  12153. description: 均价
  12154. type: number
  12155. avialqty:
  12156. description: 可用数量
  12157. type: number
  12158. decimalplace:
  12159. description: 报价小数位
  12160. type: integer
  12161. enumdicname:
  12162. description: 单位名称(商品)
  12163. type: string
  12164. frozenqty:
  12165. description: 冻结数量
  12166. type: number
  12167. goodscode:
  12168. description: 商品代码(内部)
  12169. type: string
  12170. goodsid:
  12171. description: 商品Id
  12172. type: integer
  12173. goodsname:
  12174. description: 商品名称
  12175. type: string
  12176. goodunitid:
  12177. description: 报价单位ID
  12178. type: integer
  12179. holderamount:
  12180. description: 金额
  12181. type: number
  12182. holderqty:
  12183. description: 持有数量
  12184. type: number
  12185. holdertype:
  12186. description: 持仓类别 - 1:单边持仓 2:双边持仓
  12187. type: integer
  12188. logincode:
  12189. description: 登录代码(账户)
  12190. type: string
  12191. marketid:
  12192. description: 市场id
  12193. type: integer
  12194. qtydecimalplace:
  12195. description: 成交量小数位
  12196. type: integer
  12197. trademode:
  12198. description: 交易模式
  12199. type: integer
  12200. userid:
  12201. description: 用户id
  12202. type: integer
  12203. userinfotype:
  12204. description: 账户类型 1-个人 2-企业
  12205. type: integer
  12206. type: object
  12207. models.QhjMgrSubArea:
  12208. properties:
  12209. accountname:
  12210. description: 账户名称(机构名称)
  12211. type: string
  12212. memberuserid:
  12213. description: 所属会员ID
  12214. type: integer
  12215. parenttopuser:
  12216. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  12217. type: string
  12218. parentuserid:
  12219. description: 所属机构ID
  12220. type: integer
  12221. rootuserid:
  12222. description: 根用户ID
  12223. type: string
  12224. subaccountlevel:
  12225. description: 子账户层数
  12226. type: integer
  12227. subarealevelpath:
  12228. description: 子机构层级路径(逗号分隔,首尾加逗号)
  12229. type: string
  12230. userid:
  12231. description: 用户ID
  12232. type: integer
  12233. usertype:
  12234. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12235. type: integer
  12236. type: object
  12237. models.QhjMgrTradeDetailRsp:
  12238. properties:
  12239. accountid:
  12240. description: 资金账号
  12241. type: integer
  12242. accountname:
  12243. description: 用户名称
  12244. type: string
  12245. agreeunit:
  12246. description: 合约乘数
  12247. type: number
  12248. buyorsell:
  12249. description: 成交类型(方向) 0:买 1:卖
  12250. type: integer
  12251. decimalplace:
  12252. description: 报价小数位
  12253. type: integer
  12254. enumdicname:
  12255. description: 单位名称(商品)
  12256. type: string
  12257. goodscode:
  12258. description: 商品代码(内部)
  12259. type: string
  12260. goodsid:
  12261. description: 商品id
  12262. type: integer
  12263. goodsname:
  12264. description: 商品名称
  12265. type: string
  12266. goodunitid:
  12267. description: 报价单位ID
  12268. type: integer
  12269. logincode:
  12270. description: 登录代码(账户)
  12271. type: string
  12272. marketid:
  12273. description: 市场id
  12274. type: integer
  12275. orderid:
  12276. description: 关联委托单号
  12277. type: string
  12278. qtydecimalplace:
  12279. description: 成交量小数位
  12280. type: integer
  12281. tradeamount:
  12282. description: 金额
  12283. type: number
  12284. tradedate:
  12285. description: 交易日
  12286. type: string
  12287. tradeid:
  12288. description: 成交单号
  12289. type: string
  12290. trademode:
  12291. description: 交易模式
  12292. type: integer
  12293. tradeprice:
  12294. description: 价格
  12295. type: number
  12296. tradeqty:
  12297. description: 数量
  12298. type: number
  12299. tradetime:
  12300. description: 成交时间
  12301. type: string
  12302. userid:
  12303. description: 用户id
  12304. type: integer
  12305. userinfotype:
  12306. description: 账户类型 1-个人 2-企业
  12307. type: integer
  12308. type: object
  12309. models.QhjMgrTradeOrderDetailRsp:
  12310. properties:
  12311. accountid:
  12312. description: 资金账号
  12313. type: integer
  12314. accountname:
  12315. description: 用户名称
  12316. type: string
  12317. agreeunit:
  12318. description: 合约乘数
  12319. type: number
  12320. amount:
  12321. description: 金额
  12322. type: number
  12323. decimalplace:
  12324. description: 报价小数位
  12325. type: integer
  12326. enumdicname:
  12327. description: 单位名称(商品)
  12328. type: string
  12329. goodscode:
  12330. description: 商品代码(内部)
  12331. type: string
  12332. goodsid:
  12333. description: 商品id
  12334. type: integer
  12335. goodsname:
  12336. description: 商品名称
  12337. type: string
  12338. goodunitid:
  12339. description: 报价单位ID
  12340. type: integer
  12341. logincode:
  12342. description: 登录代码(账户)
  12343. type: string
  12344. marketid:
  12345. description: 市场id
  12346. type: integer
  12347. orderid:
  12348. description: 关联委托单号
  12349. type: string
  12350. orderprice:
  12351. description: 价格
  12352. type: number
  12353. orderqty:
  12354. description: 数量
  12355. type: number
  12356. orderstatus:
  12357. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  12358. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  12359. 16:成交失败违约(荷兰式竞拍专用)
  12360. type: integer
  12361. ordertime:
  12362. description: 委托时间
  12363. type: string
  12364. qtydecimalplace:
  12365. description: 成交量小数位
  12366. type: integer
  12367. tradedate:
  12368. description: 交易日
  12369. type: string
  12370. trademode:
  12371. description: 交易模式
  12372. type: integer
  12373. userid:
  12374. description: 用户id
  12375. type: integer
  12376. userinfotype:
  12377. description: 账户类型 1-个人 2-企业
  12378. type: integer
  12379. type: object
  12380. models.QhjMgrTradePayOrder:
  12381. properties:
  12382. accountname:
  12383. description: 用户名称
  12384. type: string
  12385. advanceratio:
  12386. description: 首付比率
  12387. type: number
  12388. agreeunit:
  12389. description: 合约乘数
  12390. type: number
  12391. buyaccountid:
  12392. description: 买方账号ID[报价币种]
  12393. type: integer
  12394. buyorderid:
  12395. description: 买方委托单号(关联单号)
  12396. type: string
  12397. createtime:
  12398. description: 创建时间
  12399. type: string
  12400. decimalplace:
  12401. description: 报价小数位
  12402. type: integer
  12403. enumdicname:
  12404. description: 单位名称(商品)
  12405. type: string
  12406. goodscode:
  12407. description: 商品代码(内部)
  12408. type: string
  12409. goodsid:
  12410. description: 商品ID
  12411. type: integer
  12412. goodsname:
  12413. description: 商品名称
  12414. type: string
  12415. goodunitid:
  12416. description: 报价单位ID
  12417. type: integer
  12418. logincode:
  12419. description: 登录代码(账户)
  12420. type: string
  12421. marketid:
  12422. description: 市场id
  12423. type: integer
  12424. offamount:
  12425. description: 优惠金额
  12426. type: number
  12427. operatetype:
  12428. description: 买委托操作类型 - 1:正常下单 16:融资买入
  12429. type: integer
  12430. payamount:
  12431. description: 支付金额(金额)
  12432. type: number
  12433. payflag:
  12434. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12435. type: integer
  12436. paylimitedtime:
  12437. description: 支付期限
  12438. type: string
  12439. paytime:
  12440. description: 付款时间
  12441. type: string
  12442. qtydecimalplace:
  12443. description: 成交量小数位
  12444. type: integer
  12445. sellaccountid:
  12446. description: 卖方账号ID[报价币种]
  12447. type: integer
  12448. sellorderid:
  12449. description: 卖方委托单号
  12450. type: string
  12451. tradeamount:
  12452. description: 成交金额(优惠后金额)
  12453. type: number
  12454. tradecharge:
  12455. description: 成交手续费(买方)
  12456. type: number
  12457. tradedate:
  12458. description: 交易日(yyyyMMdd)
  12459. type: string
  12460. tradeid:
  12461. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12462. type: string
  12463. trademode:
  12464. description: 交易模式
  12465. type: integer
  12466. tradeprice:
  12467. description: 成交价格(价格)
  12468. type: number
  12469. tradeqty:
  12470. description: 成交数量(数量)
  12471. type: number
  12472. tradetime:
  12473. description: 成交时间
  12474. type: string
  12475. userid:
  12476. description: 用户id
  12477. type: integer
  12478. userinfotype:
  12479. description: 账户类型 1-个人 2-企业
  12480. type: integer
  12481. type: object
  12482. models.QhjMyTeamEx:
  12483. properties:
  12484. accountname:
  12485. description: 用户名称
  12486. type: string
  12487. accountstatus:
  12488. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  12489. type: integer
  12490. createtime:
  12491. description: 创建时间
  12492. type: string
  12493. mobile:
  12494. description: 手机号码
  12495. type: string
  12496. refereeuserid:
  12497. description: 推荐人id
  12498. type: integer
  12499. refernum:
  12500. description: 推荐码
  12501. type: string
  12502. subList:
  12503. items:
  12504. $ref: '#/definitions/models.QhjMyTeamEx'
  12505. type: array
  12506. userid:
  12507. description: 用户id
  12508. type: integer
  12509. userinfotype:
  12510. description: 用户类型 1-个人 2-企业
  12511. type: integer
  12512. type: object
  12513. models.QhjNodeAgreementConfig:
  12514. properties:
  12515. agreementcontent:
  12516. description: 协议内容
  12517. type: string
  12518. agreementid:
  12519. description: 协议ID
  12520. type: integer
  12521. agreementname:
  12522. description: 协议名称
  12523. type: string
  12524. agreementno:
  12525. description: 协议编号
  12526. type: string
  12527. agreementtype:
  12528. description: 协议类型 - 1:注册 2:登录 3:交易
  12529. type: integer
  12530. agreementversion:
  12531. description: 协议版本号
  12532. type: integer
  12533. configid:
  12534. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12535. type: integer
  12536. createtime:
  12537. description: 创建时间
  12538. type: string
  12539. goodsid:
  12540. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12541. type: integer
  12542. nodetype:
  12543. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12544. type: integer
  12545. type: object
  12546. models.QhjParentAreaList:
  12547. properties:
  12548. accountname:
  12549. description: 账户名称(机构名称)
  12550. type: string
  12551. userid:
  12552. description: 用户ID
  12553. type: integer
  12554. usertype:
  12555. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12556. type: integer
  12557. type: object
  12558. models.QhjPayOrder:
  12559. properties:
  12560. advanceratio:
  12561. description: 首付比率
  12562. type: number
  12563. buyaccountid:
  12564. description: 买方账号ID[报价币种]
  12565. type: integer
  12566. buyorderid:
  12567. description: 买方委托单号
  12568. type: string
  12569. createtime:
  12570. description: 创建时间
  12571. type: string
  12572. decimalplace:
  12573. description: 商品报价小数位
  12574. type: integer
  12575. enumdicname:
  12576. description: 单位名称
  12577. type: string
  12578. goodscode:
  12579. description: 商品代码
  12580. type: string
  12581. goodsid:
  12582. description: 商品ID
  12583. type: integer
  12584. goodsname:
  12585. description: 商品名称
  12586. type: string
  12587. goodunitid:
  12588. description: 商品单位id
  12589. type: integer
  12590. marketid:
  12591. description: 市场ID
  12592. type: integer
  12593. offamount:
  12594. description: 优惠金额
  12595. type: number
  12596. operatetype:
  12597. description: 买委托操作类型 - 1:正常下单 16:融资买入
  12598. type: integer
  12599. payamount:
  12600. description: 支付金额
  12601. type: number
  12602. payflag:
  12603. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12604. type: integer
  12605. paylimitedtime:
  12606. description: 支付期限
  12607. type: string
  12608. paytime:
  12609. description: 付款时间
  12610. type: string
  12611. qtydecimalplace:
  12612. description: 成交量小数位
  12613. type: integer
  12614. sellaccountid:
  12615. description: 卖方账号ID[报价币种]
  12616. type: integer
  12617. sellorderid:
  12618. description: 卖方委托单号
  12619. type: string
  12620. tradeamount:
  12621. description: 成交金额(优惠后金额)
  12622. type: number
  12623. tradecharge:
  12624. description: 成交手续费(买方)
  12625. type: number
  12626. tradedate:
  12627. description: 交易日(yyyyMMdd)
  12628. type: string
  12629. tradeid:
  12630. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12631. type: string
  12632. tradeprice:
  12633. description: 成交价格
  12634. type: number
  12635. tradeqty:
  12636. description: 成交数量
  12637. type: number
  12638. type: object
  12639. models.QhjPickArea:
  12640. properties:
  12641. address:
  12642. description: 详细地址
  12643. type: string
  12644. cityid:
  12645. description: 市
  12646. type: integer
  12647. cityname:
  12648. description: 城市名称
  12649. type: string
  12650. countryid:
  12651. description: 国家
  12652. type: integer
  12653. countryname:
  12654. description: 国家名称
  12655. type: string
  12656. districtid:
  12657. description: 地区
  12658. type: integer
  12659. districtname:
  12660. description: 地区名称
  12661. type: string
  12662. fromuserid:
  12663. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  12664. type: integer
  12665. fromusername:
  12666. description: 所属机构名称
  12667. type: string
  12668. provinceid:
  12669. description: 省
  12670. type: integer
  12671. provincename:
  12672. description: 省名称
  12673. type: string
  12674. suborgtype:
  12675. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  12676. type: integer
  12677. userid:
  12678. description: 机构用户ID 其他做市关系,都设置为 1
  12679. type: integer
  12680. username:
  12681. description: 机构用户名称(门店门称)
  12682. type: string
  12683. type: object
  12684. models.QhjPickGoods:
  12685. properties:
  12686. enumdicname:
  12687. description: 单位名称(提货商品)
  12688. type: string
  12689. goodsid:
  12690. description: 商品id
  12691. type: integer
  12692. imageaddress:
  12693. description: 图片
  12694. type: string
  12695. modifierid:
  12696. description: 修改人
  12697. type: integer
  12698. modifiername:
  12699. description: 修改人名称
  12700. type: string
  12701. modifysrc:
  12702. description: 修改来源 - 1:管理端 2:终端
  12703. type: integer
  12704. pickupgoodsagreeunit:
  12705. description: 合约乘数
  12706. type: number
  12707. pickupgoodsdesc:
  12708. description: 描述
  12709. type: string
  12710. pickupgoodsid:
  12711. description: 提货商品ID
  12712. type: string
  12713. pickupgoodsname:
  12714. description: 提货商品名称
  12715. type: string
  12716. pickupgoodsstatus:
  12717. description: 状态 - 1:正常 2:停用 3:注销
  12718. type: integer
  12719. pickupgoodsunitid:
  12720. description: 单位ID
  12721. type: integer
  12722. pickupratio:
  12723. description: 提货系数
  12724. type: number
  12725. preparedays:
  12726. description: 备货期(天)
  12727. type: integer
  12728. remark:
  12729. description: 备注
  12730. type: string
  12731. updatetime:
  12732. description: 更新时间
  12733. type: string
  12734. type: object
  12735. models.QhjRSTriggerLog:
  12736. properties:
  12737. accountid:
  12738. description: 用户资金账户
  12739. type: integer
  12740. accountname:
  12741. description: 账号名称(ACCOUNTID对应的名称)
  12742. type: string
  12743. currencyid:
  12744. description: 币种id
  12745. type: integer
  12746. currencyname:
  12747. description: 币种名称
  12748. type: string
  12749. decimalplace:
  12750. description: 商品报价小数位
  12751. type: integer
  12752. enumdicname:
  12753. description: 单位名称
  12754. type: string
  12755. goodscode:
  12756. description: 定投商品代码
  12757. type: string
  12758. goodsid:
  12759. description: 定投商品ID
  12760. type: integer
  12761. goodsname:
  12762. description: 定投商品名称
  12763. type: string
  12764. goodunitid:
  12765. description: 定投商品单位id
  12766. type: integer
  12767. logid:
  12768. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  12769. type: string
  12770. logincode:
  12771. description: 账号(登录代码)
  12772. type: string
  12773. qtydecimalplace:
  12774. description: 成交量小数位
  12775. type: integer
  12776. regularlycycle:
  12777. description: 定投频率 - 1:每周 2:每月
  12778. type: integer
  12779. regularlycyclevalue:
  12780. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12781. type: string
  12782. regularlymode:
  12783. description: 定投方式 - 1:按数量 2:按金额
  12784. type: integer
  12785. regularlymodevalue:
  12786. description: 定投方式值 - 数量或金额
  12787. type: number
  12788. regularlystrategyid:
  12789. description: 定投策略ID
  12790. type: integer
  12791. retcode:
  12792. description: 错误码
  12793. type: string
  12794. tradeid:
  12795. description: 成交单ID
  12796. type: string
  12797. triggeramount:
  12798. description: 触发金额
  12799. type: number
  12800. triggerqty:
  12801. description: 触发数量
  12802. type: number
  12803. triggerstatus:
  12804. description: 触发状态 - 1:成功 2:失败
  12805. type: integer
  12806. triggertime:
  12807. description: 触发时间
  12808. type: string
  12809. triggertradedate:
  12810. description: 触发交易日
  12811. type: string
  12812. userid:
  12813. description: 所属用户ID
  12814. type: integer
  12815. userinfotype:
  12816. description: 用户类型 1-个人 2-企业
  12817. type: integer
  12818. username:
  12819. description: 用户名称(userid对应的名称)
  12820. type: string
  12821. type: object
  12822. models.QhjRStrategy:
  12823. properties:
  12824. accountid:
  12825. description: 用户资金账户
  12826. type: integer
  12827. accountname:
  12828. description: 账号名称(ACCOUNTID对应的名称)
  12829. type: string
  12830. currencyid:
  12831. description: 币种id
  12832. type: integer
  12833. currencyname:
  12834. description: 币种名称
  12835. type: string
  12836. decimalplace:
  12837. description: 商品报价小数位
  12838. type: integer
  12839. enumdicname:
  12840. description: 单位名称
  12841. type: string
  12842. goodscode:
  12843. description: 定投商品代码
  12844. type: string
  12845. goodsid:
  12846. description: 定投商品ID
  12847. type: integer
  12848. goodsname:
  12849. description: 定投商品名称
  12850. type: string
  12851. goodunitid:
  12852. description: 定投商品单位id
  12853. type: integer
  12854. lasteffecttradedate:
  12855. description: 最新生效交易日
  12856. type: string
  12857. laststoptradedate:
  12858. description: 最新暂停交易日
  12859. type: string
  12860. lasttriggertradedate:
  12861. description: 最新触发交易日
  12862. type: string
  12863. logincode:
  12864. description: 账号(登录代码)
  12865. type: string
  12866. nexttriggeramount:
  12867. description: 下次触发金额
  12868. type: number
  12869. nexttriggerdate:
  12870. description: 下次触发日期
  12871. type: string
  12872. nexttriggerqty:
  12873. description: 下次触发数量 [按小数位放大值]
  12874. type: number
  12875. qtydecimalplace:
  12876. description: 成交量小数位
  12877. type: integer
  12878. regularlycycle:
  12879. description: 定投频率 - 1:每周 2:每月
  12880. type: integer
  12881. regularlycyclevalue:
  12882. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12883. type: string
  12884. regularlymode:
  12885. description: 定投方式 - 1:按数量 2:按金额
  12886. type: integer
  12887. regularlymodevalue:
  12888. description: 定投方式值 - 数量或金额
  12889. type: number
  12890. regularlystrategyid:
  12891. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  12892. type: integer
  12893. regularlystrategystatus:
  12894. description: 策略状态 - 1:正常 2:暂停 3:终止
  12895. type: integer
  12896. remark:
  12897. description: 备注
  12898. type: string
  12899. triggersuccesstimes:
  12900. description: 累计定投成功次数
  12901. type: string
  12902. triggertotalamount:
  12903. description: 累计定投金额(成功)
  12904. type: number
  12905. triggertotalqty:
  12906. description: 累计定投数量(成功) [按小数位放大值]
  12907. type: number
  12908. triggertotaltimes:
  12909. description: 累计定投总次数
  12910. type: string
  12911. updatesrc:
  12912. description: 更新来源 - 1:管理端 2:终端
  12913. type: integer
  12914. updatetime:
  12915. description: 更新时间
  12916. type: string
  12917. updatorid:
  12918. description: 更新人
  12919. type: string
  12920. userid:
  12921. description: 所属用户ID
  12922. type: integer
  12923. userinfotype:
  12924. description: 用户类型 1-个人 2-企业
  12925. type: integer
  12926. username:
  12927. description: 用户名称(userid对应的名称)
  12928. type: string
  12929. type: object
  12930. models.QhjReckonPriceLog:
  12931. properties:
  12932. decimalplace:
  12933. description: 商品报价小数位
  12934. type: integer
  12935. goodscode:
  12936. description: 商品代码
  12937. type: string
  12938. goodsid:
  12939. description: 商品ID
  12940. type: integer
  12941. goodsname:
  12942. description: 商品名称
  12943. type: string
  12944. lastreckonprice:
  12945. description: 上日结算价
  12946. type: number
  12947. nextdnlimitprice:
  12948. description: 下个交易日跌停价
  12949. type: number
  12950. nexttrade:
  12951. description: 下个交易日
  12952. type: string
  12953. nextuplimitprice:
  12954. description: 下个交易日涨停价
  12955. type: number
  12956. reckonprice:
  12957. description: 今日结算价(定投价)
  12958. type: number
  12959. reckontime:
  12960. description: 结算时间
  12961. type: string
  12962. totalholderqty:
  12963. description: 总持仓数
  12964. type: integer
  12965. totalstock:
  12966. description: 总库存
  12967. type: integer
  12968. tradedate:
  12969. description: 交易日
  12970. type: string
  12971. updowncount:
  12972. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  12973. type: integer
  12974. updownflag:
  12975. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  12976. type: integer
  12977. updownrate:
  12978. description: 今日涨跌幅
  12979. type: number
  12980. updownrate_2d:
  12981. description: 连续两日涨跌幅
  12982. type: number
  12983. updownrate_3d:
  12984. description: 连续三日涨跌幅
  12985. type: number
  12986. type: object
  12987. models.QhjScoreLog:
  12988. properties:
  12989. accountid:
  12990. description: 账户ID
  12991. type: integer
  12992. createtime:
  12993. description: 创建时间(时间)
  12994. type: string
  12995. goodsid:
  12996. description: 商品ID
  12997. type: integer
  12998. hasuploaded:
  12999. description: 是否已同步(千海金) 0:未同步 1;已同步
  13000. type: integer
  13001. logid:
  13002. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13003. type: string
  13004. marketid:
  13005. description: 市场ID
  13006. type: integer
  13007. relatedamount:
  13008. description: 关联金额
  13009. type: number
  13010. relatedorderid:
  13011. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  13012. type: string
  13013. scoreconfigvalue1:
  13014. description: 积分配置1
  13015. type: integer
  13016. scoreconfigvalue2:
  13017. description: 积分配置1
  13018. type: integer
  13019. scoretype:
  13020. description: 积分类型 - 1:提货积分
  13021. type: integer
  13022. scorevalue:
  13023. description: 积分
  13024. type: number
  13025. tradedate:
  13026. description: 交易日(yyyyMMdd)
  13027. type: string
  13028. uploadedtime:
  13029. description: 同步时间
  13030. type: string
  13031. userid:
  13032. description: 用户ID
  13033. type: integer
  13034. type: object
  13035. models.QhjSiteColumnDetail:
  13036. properties:
  13037. author:
  13038. description: 作者
  13039. type: string
  13040. brief:
  13041. description: 简介
  13042. type: string
  13043. columnid:
  13044. description: 所属栏目
  13045. type: integer
  13046. context:
  13047. description: 内容
  13048. type: string
  13049. coverimage:
  13050. description: 封面图片
  13051. type: string
  13052. creaedate:
  13053. description: 创建时间
  13054. type: string
  13055. creatorid:
  13056. description: 创建人
  13057. type: integer
  13058. hits:
  13059. description: 点击数
  13060. type: integer
  13061. id:
  13062. description: ID(SEQ_SITE_COLUMNDETAIL)
  13063. type: integer
  13064. isshow:
  13065. description: 是否展示 - 0:不展示 1:展示
  13066. type: integer
  13067. istop:
  13068. description: 是否置顶 - 0:不置 1:置顶
  13069. type: integer
  13070. modifierid:
  13071. description: 操作人
  13072. type: integer
  13073. publishdate:
  13074. description: 发布日期
  13075. type: string
  13076. status:
  13077. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  13078. type: integer
  13079. title:
  13080. description: 标题
  13081. type: string
  13082. updatedate:
  13083. description: 修改时间
  13084. type: string
  13085. userid:
  13086. description: 用户ID(默认为0, 核心为为机构用户ID)
  13087. type: integer
  13088. username:
  13089. description: 用户名称
  13090. type: string
  13091. type: object
  13092. models.QhjTeamOrder:
  13093. properties:
  13094. accountid:
  13095. description: 账户ID[报价币种]
  13096. type: integer
  13097. accountname:
  13098. description: 账户名称
  13099. type: string
  13100. agreeunit:
  13101. description: 合约乘数
  13102. type: number
  13103. buyorsell:
  13104. description: 方向 - 0:买 1:卖
  13105. type: integer
  13106. decimalplace:
  13107. description: 报价小数位
  13108. type: integer
  13109. enumdicname:
  13110. description: 单位名称
  13111. type: string
  13112. goodscode:
  13113. description: 商品代码(内部)
  13114. type: string
  13115. goodsid:
  13116. description: 商品ID
  13117. type: integer
  13118. goodsname:
  13119. description: 商品名称
  13120. type: string
  13121. goodunitid:
  13122. description: 报价单位ID
  13123. type: integer
  13124. marketid:
  13125. description: 市场ID
  13126. type: integer
  13127. marketname:
  13128. description: 市场名称
  13129. type: string
  13130. qtydecimalplace:
  13131. description: 成交量小数位
  13132. type: integer
  13133. refereeuserid:
  13134. description: 推荐人ID
  13135. type: integer
  13136. tradeamount:
  13137. description: 成交金额[账户币种,用于所有权]
  13138. type: number
  13139. tradedate:
  13140. description: 交易日(yyyyMMdd)
  13141. type: string
  13142. trademode:
  13143. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  13144. 21:竞拍-大宗式 22:受托竞价
  13145. type: integer
  13146. tradeprice:
  13147. description: 成交价格
  13148. type: number
  13149. tradeqty:
  13150. description: 成交数量
  13151. type: number
  13152. tradetime:
  13153. description: 成交时间
  13154. type: string
  13155. userid:
  13156. description: 用户ID
  13157. type: integer
  13158. type: object
  13159. models.QhjTradeGoodsPickup:
  13160. properties:
  13161. accountid:
  13162. description: 账户ID
  13163. type: integer
  13164. address:
  13165. description: 提货人详细地址
  13166. type: string
  13167. amount:
  13168. description: 提货金额
  13169. type: number
  13170. artradedate:
  13171. description: 自动收货交易日(yyyyMMdd)
  13172. type: string
  13173. auditer:
  13174. description: 审核人
  13175. type: integer
  13176. auditsrc:
  13177. description: 更新来源 - 1:管理端 2:终端
  13178. type: integer
  13179. audittime:
  13180. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  13181. type: string
  13182. audittradedate:
  13183. description: 审核交易日(yyyyMMdd)
  13184. type: string
  13185. cardnum:
  13186. description: 提货人证件号码
  13187. type: string
  13188. cardtypeid:
  13189. description: 提货人证件类型
  13190. type: integer
  13191. checkremark:
  13192. description: 审核备注
  13193. type: string
  13194. cityid:
  13195. description: 市
  13196. type: integer
  13197. cityname:
  13198. description: 城市名称
  13199. type: string
  13200. confirmtime:
  13201. description: 取货时间 或 收货时间
  13202. type: string
  13203. countryid:
  13204. description: 国家
  13205. type: integer
  13206. countryname:
  13207. description: 国家名称
  13208. type: string
  13209. decimalplace:
  13210. description: 商品报价小数位
  13211. type: integer
  13212. districtid:
  13213. description: 地区
  13214. type: integer
  13215. districtname:
  13216. description: 地区名称
  13217. type: string
  13218. enumdicname:
  13219. description: 单位名称(提货商品)
  13220. type: string
  13221. expresscompany:
  13222. description: 物流公司
  13223. type: string
  13224. expressnum:
  13225. description: 物流单号
  13226. type: string
  13227. goodsagreeunit:
  13228. description: 交易商品乘数
  13229. type: number
  13230. goodscode:
  13231. description: 商品代码
  13232. type: string
  13233. goodsid:
  13234. description: 商品ID
  13235. type: integer
  13236. goodsname:
  13237. description: 商品名称
  13238. type: string
  13239. goodsqty:
  13240. description: 交易商品手数(69模式按成交量小数位放大取整)
  13241. type: number
  13242. handlestatus:
  13243. description: 处理状态
  13244. type: integer
  13245. logincode:
  13246. description: 账号(登录代码, 有可能为空)
  13247. type: string
  13248. marketid:
  13249. description: 市场ID
  13250. type: integer
  13251. phonenum:
  13252. description: 提货人联系方式
  13253. type: string
  13254. pickupgoodsagreeunit:
  13255. description: 提货商品合约乘数
  13256. type: number
  13257. pickupgoodsid:
  13258. description: 提货商品ID
  13259. type: string
  13260. pickupgoodsname:
  13261. description: 提货商品名称
  13262. type: string
  13263. pickupgoodsqty:
  13264. description: 提货商品手数(数量)
  13265. type: number
  13266. pickupgoodsunitid:
  13267. description: 单位ID(提货商品)
  13268. type: integer
  13269. pickupratio:
  13270. description: 提货系数
  13271. type: number
  13272. preparedays:
  13273. description: 备货期(天)-提货单明细表
  13274. type: integer
  13275. provinceid:
  13276. description: 省
  13277. type: integer
  13278. provincename:
  13279. description: 省名称
  13280. type: string
  13281. qty:
  13282. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  13283. type: number
  13284. qtydecimalplace:
  13285. description: 商品数量小数位
  13286. type: integer
  13287. recivername:
  13288. description: 提货人姓名
  13289. type: string
  13290. reqtime:
  13291. description: 提货申请时间
  13292. type: string
  13293. storeuserid:
  13294. description: 门店用户ID (千海金)
  13295. type: integer
  13296. storeusername:
  13297. description: 门店用户名称
  13298. type: string
  13299. takemode:
  13300. description: 提货方式 - 2:自提 3:配送(邮寄)
  13301. type: integer
  13302. takeorderid:
  13303. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  13304. type: string
  13305. takeorderstatus:
  13306. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  13307. 7:已拒绝 8:已撤销
  13308. type: integer
  13309. takeremark:
  13310. description: 提货备注
  13311. type: string
  13312. tradedate:
  13313. description: 交易日(yyyyMMdd)
  13314. type: string
  13315. updatetime:
  13316. description: 更新时间
  13317. type: string
  13318. userid:
  13319. description: 用户ID
  13320. type: integer
  13321. userinfotype:
  13322. description: 客户类型 1-个人 2-企业
  13323. type: integer
  13324. username:
  13325. description: 用户名称
  13326. type: string
  13327. type: object
  13328. models.QhjUserNodeCfgAndStatus:
  13329. properties:
  13330. agreementcontent:
  13331. description: 协议内容
  13332. type: string
  13333. agreementid:
  13334. description: 协议ID
  13335. type: integer
  13336. agreementname:
  13337. description: 协议名称
  13338. type: string
  13339. agreementno:
  13340. description: 协议编号
  13341. type: string
  13342. agreementtype:
  13343. description: 协议类型 - 1:注册 2:登录 3:交易
  13344. type: integer
  13345. agreementversion:
  13346. description: 协议版本号
  13347. type: integer
  13348. configid:
  13349. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  13350. type: integer
  13351. createtime:
  13352. description: 创建时间
  13353. type: string
  13354. goodsid:
  13355. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13356. type: integer
  13357. nodetype:
  13358. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  13359. type: integer
  13360. signtimestamp:
  13361. description: 签约状态时间戳(最近一次)
  13362. type: string
  13363. tradedate:
  13364. description: 签约交易日(yyyyMMdd)
  13365. type: string
  13366. userid:
  13367. description: 客户ID
  13368. type: integer
  13369. type: object
  13370. models.Qhjgoodsex:
  13371. properties:
  13372. canfinance:
  13373. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  13374. type: integer
  13375. canregularlybuy:
  13376. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  13377. type: integer
  13378. defaulttradeuserid:
  13379. description: 默认交易用户ID
  13380. type: integer
  13381. deliverygoodsid:
  13382. description: 现货品种ID
  13383. type: integer
  13384. goodsid:
  13385. description: 商品ID(自增ID SEQ_GOODS)
  13386. type: integer
  13387. minamount:
  13388. description: 最小购买金额
  13389. type: number
  13390. regularlybuyminamount:
  13391. description: 定投最小金额
  13392. type: number
  13393. regularlybuyminqty:
  13394. description: 定投最小数量
  13395. type: number
  13396. spotgoodsbrandid:
  13397. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  13398. type: integer
  13399. visibilityforenterprise:
  13400. description: 企业客户是否可见 - 0:不可见 1:可见
  13401. type: integer
  13402. visibilityforpersonal:
  13403. description: 个人客户是否可见 - 0:不可见 1:可见
  13404. type: integer
  13405. wrstandardid:
  13406. description: 现货商品ID
  13407. type: integer
  13408. type: object
  13409. models.QueryErrorInfosRsp:
  13410. properties:
  13411. description:
  13412. description: 异常描述
  13413. type: string
  13414. errorcode:
  13415. description: 异常代码
  13416. type: string
  13417. errorid:
  13418. description: 异常ID
  13419. type: integer
  13420. modulecode:
  13421. description: 所属模块
  13422. type: string
  13423. operatecode:
  13424. description: 所属操作
  13425. type: string
  13426. rownumber:
  13427. description: 行号
  13428. type: string
  13429. required:
  13430. - errorid
  13431. type: object
  13432. models.QueryHedgeOrderDetailRsp:
  13433. properties:
  13434. accountid:
  13435. description: 账户ID
  13436. type: integer
  13437. buyorsell:
  13438. description: 买卖 - 0:买 1:卖
  13439. type: integer
  13440. cancellogincode:
  13441. description: 撤单人
  13442. type: string
  13443. channelbuildtype:
  13444. description: 开平标志 - 0:无 1:建仓 2:平仓
  13445. type: integer
  13446. channelinnerorderstatus:
  13447. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  13448. 9:全部成交
  13449. type: integer
  13450. channeloperatetype:
  13451. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  13452. type: integer
  13453. closetype:
  13454. description: 平仓方式 - 0:无 1:平今 2:平昨
  13455. type: integer
  13456. curexchangerate:
  13457. description: 当前汇率
  13458. type: number
  13459. decimalplace:
  13460. description: 商品报价小数位
  13461. type: integer
  13462. exchangefullname:
  13463. description: 外部交易所全称
  13464. type: string
  13465. goodscode:
  13466. description: 商品代码(内部)
  13467. type: string
  13468. goodsid:
  13469. description: 商品ID
  13470. type: integer
  13471. goodsname:
  13472. description: 商品名称
  13473. type: string
  13474. marketid:
  13475. description: 市场ID
  13476. type: integer
  13477. openfreezemargin:
  13478. description: 冻结保证金(冻结交易金额)
  13479. type: number
  13480. orderid:
  13481. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13482. type: string
  13483. orderlogincode:
  13484. description: 委托人
  13485. type: string
  13486. orderprice:
  13487. description: 委托价格(账户)
  13488. type: number
  13489. orderqty:
  13490. description: 委托数量
  13491. type: integer
  13492. ordertime:
  13493. description: 委托时间
  13494. type: string
  13495. pricemode:
  13496. description: '取价方式 - 1:市价 2: 限价'
  13497. type: integer
  13498. tradedate:
  13499. description: 交易日(yyyyMMdd)
  13500. type: string
  13501. tradeqty:
  13502. description: 成交数量
  13503. type: integer
  13504. type: object
  13505. models.QueryHedgeTradeDetailRsp:
  13506. properties:
  13507. accountid:
  13508. description: 账号ID
  13509. type: integer
  13510. buyorsell:
  13511. description: 方向 - 0:买 1:卖
  13512. type: integer
  13513. channelbuildtype:
  13514. description: 委托单据类型 0:无 1:建仓 2:平仓
  13515. type: integer
  13516. closecharge:
  13517. description: 平仓手续费(账户)
  13518. type: number
  13519. closecharge2:
  13520. description: 平仓手续费(商品)
  13521. type: number
  13522. closepl:
  13523. description: 平仓盈亏(账户)
  13524. type: number
  13525. closepl2:
  13526. description: 平仓盈亏(商品)
  13527. type: number
  13528. closepl3:
  13529. description: 平仓盈亏(账户)(逐笔)
  13530. type: number
  13531. closepl4:
  13532. description: 平仓盈亏(商品)(逐笔)
  13533. type: number
  13534. closetype:
  13535. description: 平仓方式 - 0:无 1:平今 2:平昨
  13536. type: integer
  13537. curexchangerate:
  13538. description: 当前汇率
  13539. type: number
  13540. decimalplace:
  13541. description: 商品报价小数位
  13542. type: integer
  13543. exchangefullname:
  13544. description: 外部交易所全称
  13545. type: string
  13546. goodscode:
  13547. description: 商品代码(内部)
  13548. type: string
  13549. goodsid:
  13550. description: 商品ID
  13551. type: integer
  13552. goodsname:
  13553. description: 商品名称
  13554. type: string
  13555. marketid:
  13556. description: 市场ID
  13557. type: integer
  13558. opencharge:
  13559. description: 建仓手续费(账户)
  13560. type: number
  13561. opencharge2:
  13562. description: 建仓手续费(商品)
  13563. type: number
  13564. orderid:
  13565. description: 委托单号
  13566. type: string
  13567. orderlogincode:
  13568. description: 委托人
  13569. type: string
  13570. tradeamount:
  13571. description: 成交金额(账户)
  13572. type: number
  13573. tradedate:
  13574. description: 交易日(yyyyMMdd)
  13575. type: string
  13576. tradeid:
  13577. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13578. type: string
  13579. tradeprice:
  13580. description: 成交价格
  13581. type: number
  13582. tradeqty:
  13583. description: 成交数量
  13584. type: integer
  13585. tradetime:
  13586. description: 成交时间
  13587. type: string
  13588. tradetype:
  13589. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  13590. type: integer
  13591. type: object
  13592. models.QuotePrimaryMenu:
  13593. properties:
  13594. Index:
  13595. description: 序号
  13596. type: integer
  13597. Key:
  13598. description: 键名
  13599. type: string
  13600. Name:
  13601. description: 菜单名称
  13602. type: string
  13603. SubMenus:
  13604. description: 子菜单
  13605. items:
  13606. $ref: '#/definitions/models.QuoteSecondaryMenu'
  13607. type: array
  13608. SubTitleType:
  13609. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  13610. type: integer
  13611. TradeModes:
  13612. description: 包含市场交易类型
  13613. type: string
  13614. type: object
  13615. models.QuoteSecondaryMenu:
  13616. properties:
  13617. ExExchangeCode:
  13618. description: 外部交易所代码
  13619. type: string
  13620. ExExchangeID:
  13621. description: 外部交易所ID
  13622. type: integer
  13623. GoodsGroupIDs:
  13624. description: 商品组ID列表
  13625. items:
  13626. type: integer
  13627. type: array
  13628. Index:
  13629. description: 序号
  13630. type: integer
  13631. MarketID:
  13632. description: 市场ID
  13633. type: integer
  13634. MenuTitle:
  13635. description: 菜单标题(市场名称或外部交易所名称)
  13636. type: string
  13637. TradeMode:
  13638. description: 交易模式
  13639. type: integer
  13640. type: object
  13641. models.RelatedTaAccount:
  13642. properties:
  13643. accountid:
  13644. description: 资金账户ID
  13645. type: integer
  13646. type: object
  13647. models.RoleMenu:
  13648. properties:
  13649. hasright:
  13650. description: 是否有权限 0-没有权限 1-有权限
  13651. type: integer
  13652. iconame:
  13653. description: 菜单图标
  13654. type: string
  13655. menutype:
  13656. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  13657. type: integer
  13658. parentcode:
  13659. description: 上级资源代码
  13660. type: string
  13661. remark:
  13662. description: 菜单备注
  13663. type: string
  13664. resourcecode:
  13665. description: 菜单代码
  13666. type: string
  13667. resourcelevel:
  13668. description: 级别
  13669. type: integer
  13670. resourcename:
  13671. description: 菜单名称
  13672. type: string
  13673. roleid:
  13674. description: 角色id
  13675. type: integer
  13676. sort:
  13677. description: 排序
  13678. type: integer
  13679. subMenu:
  13680. description: 子级菜单(结构同上层一样, swag解析不出来)
  13681. items:
  13682. $ref: '#/definitions/models.RoleMenu'
  13683. type: array
  13684. url:
  13685. description: URL
  13686. type: string
  13687. userid:
  13688. description: 用户id
  13689. type: integer
  13690. type: object
  13691. models.SearchGoods:
  13692. properties:
  13693. goodscode:
  13694. description: 商品代码(内部)
  13695. type: string
  13696. goodsid:
  13697. description: 商品ID(自增ID SEQ_GOODS)
  13698. type: integer
  13699. goodsname:
  13700. description: 商品名称
  13701. type: string
  13702. marketid:
  13703. description: 所属市场ID
  13704. type: integer
  13705. marketname:
  13706. description: 市场名称
  13707. type: string
  13708. trademode:
  13709. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  13710. 21:竞拍-大宗式 22:受托竞价
  13711. type: integer
  13712. required:
  13713. - goodscode
  13714. - goodsid
  13715. - goodsname
  13716. - marketid
  13717. - trademode
  13718. type: object
  13719. models.Systemparam:
  13720. properties:
  13721. loginid:
  13722. description: 更新用户账号,登录账号
  13723. type: string
  13724. modifyflag:
  13725. description: 修改标志0 不允许修改 1 允许修改
  13726. type: integer
  13727. paramcode:
  13728. description: 参数代码
  13729. type: string
  13730. paramname:
  13731. description: 参数名
  13732. type: string
  13733. paramtype:
  13734. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  13735. type: integer
  13736. paramvalue:
  13737. description: 参数值
  13738. type: string
  13739. paramvalue2:
  13740. description: 参数值(CLOB)
  13741. type: string
  13742. regexpress:
  13743. description: 正则表达式
  13744. type: string
  13745. remark:
  13746. description: 备注
  13747. type: string
  13748. serverip:
  13749. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  13750. type: string
  13751. showflag:
  13752. description: 是否显示0 不显示 1 显示
  13753. type: integer
  13754. updatetime:
  13755. description: 更新时间
  13756. type: string
  13757. userid:
  13758. description: 更新用户ID
  13759. type: integer
  13760. required:
  13761. - paramcode
  13762. type: object
  13763. models.Szdz3convertconfig:
  13764. properties:
  13765. canin:
  13766. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  13767. type: integer
  13768. canout:
  13769. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  13770. type: integer
  13771. converttype:
  13772. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  13773. 6:交易转花生米(不设置)
  13774. type: integer
  13775. createtime:
  13776. description: 创建时间
  13777. type: string
  13778. creatorid:
  13779. description: 创建人
  13780. type: integer
  13781. daymaxvalue:
  13782. description: 当日最大转入限制
  13783. type: number
  13784. freezedays:
  13785. description: 冻结天数 [5:花生米转交易]
  13786. type: integer
  13787. innergoodsid:
  13788. description: 内部商品ID[交易]
  13789. type: integer
  13790. inratio:
  13791. description: 目标值
  13792. type: integer
  13793. modifierid:
  13794. description: 修改人
  13795. type: integer
  13796. modifytime:
  13797. description: 修改时间
  13798. type: string
  13799. outergoodscode:
  13800. description: 外部商品代码[JD\PD]
  13801. type: string
  13802. outratio:
  13803. description: 源值
  13804. type: integer
  13805. pddecimalplace:
  13806. description: PD小数位
  13807. type: integer
  13808. timemaxvalue:
  13809. description: 单次最大转入限制
  13810. type: number
  13811. timeminvalue:
  13812. description: 单次最小转入限制
  13813. type: number
  13814. required:
  13815. - converttype
  13816. - innergoodsid
  13817. - outergoodscode
  13818. type: object
  13819. models.Szdz3searchwhitelist:
  13820. properties:
  13821. createtime:
  13822. description: 创建时间
  13823. type: string
  13824. creatorid:
  13825. description: 创建人
  13826. type: integer
  13827. modifierid:
  13828. description: 修改人
  13829. type: integer
  13830. modifytime:
  13831. description: 修改时间
  13832. type: string
  13833. userid:
  13834. description: 用户ID
  13835. type: integer
  13836. required:
  13837. - userid
  13838. type: object
  13839. models.TBGoods:
  13840. properties:
  13841. agreeunit:
  13842. description: 合约乘数
  13843. type: number
  13844. enumdicname:
  13845. description: 单位名称
  13846. type: string
  13847. goodscode:
  13848. description: 商品代码(内部)
  13849. type: string
  13850. goodsid:
  13851. description: 商品ID(自增ID SEQ_GOODS)
  13852. type: integer
  13853. goodsname:
  13854. description: 商品名称
  13855. type: string
  13856. type: object
  13857. models.TBGoodsGroup:
  13858. properties:
  13859. GDLST:
  13860. description: 商品列表
  13861. items:
  13862. $ref: '#/definitions/models.TBGoods'
  13863. type: array
  13864. convertratio:
  13865. description: 折算系数
  13866. type: number
  13867. enumdicname:
  13868. description: 单位名称
  13869. type: string
  13870. exexchangecode:
  13871. description: 交易所代码
  13872. type: string
  13873. exexchangename:
  13874. description: 交易所名称
  13875. type: string
  13876. goodsgroupid:
  13877. description: 商品组ID(自增ID)
  13878. type: integer
  13879. goodsgroupname:
  13880. description: 商品组名称
  13881. type: string
  13882. goodunitid:
  13883. description: 报价单位ID
  13884. type: integer
  13885. type: object
  13886. models.TBMiddleGoods:
  13887. properties:
  13888. GPLST:
  13889. description: 期货品种列表
  13890. items:
  13891. $ref: '#/definitions/models.TBGoodsGroup'
  13892. type: array
  13893. WDLST:
  13894. description: 商品信息列表(现货品类)
  13895. items:
  13896. $ref: '#/definitions/models.TBWrstandard'
  13897. type: array
  13898. areauserid:
  13899. description: 机构用户ID
  13900. type: integer
  13901. enumdicname:
  13902. description: 单位名称
  13903. type: string
  13904. goodsunitid:
  13905. description: 套保品种单位id
  13906. type: integer
  13907. middlegoodscode:
  13908. description: 套保品种代码
  13909. type: string
  13910. middlegoodsid:
  13911. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  13912. type: integer
  13913. middlegoodsname:
  13914. description: 套保品种名称
  13915. type: string
  13916. needarbitrageratio:
  13917. description: 套利比率
  13918. type: number
  13919. needhedgeratio:
  13920. description: 套保比率
  13921. type: number
  13922. type: object
  13923. models.TBWrstandard:
  13924. properties:
  13925. convertratio:
  13926. description: 折算系数
  13927. type: number
  13928. deliverygoodsname:
  13929. description: 品种名称
  13930. type: string
  13931. enumdicname:
  13932. description: 单位名称
  13933. type: string
  13934. vatrate:
  13935. description: 增值税率
  13936. type: number
  13937. wrstandardcode:
  13938. description: 现货商品代码
  13939. type: string
  13940. wrstandardid:
  13941. description: 现货商品ID(SEQ_WRSTANDARD)
  13942. type: integer
  13943. wrstandardname:
  13944. description: 现货商品名称
  13945. type: string
  13946. type: object
  13947. models.Taaccount:
  13948. properties:
  13949. accountflag:
  13950. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  13951. type: integer
  13952. accountid:
  13953. description: 资金账户ID
  13954. type: integer
  13955. accountname:
  13956. description: 账户名称
  13957. type: string
  13958. balance:
  13959. description: 期初余额
  13960. type: number
  13961. capitalbalance:
  13962. description: 本金余额[外部子账户实际出入金余额]
  13963. type: number
  13964. changeflag:
  13965. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  13966. type: integer
  13967. changetime:
  13968. description: 账户状态变更时间
  13969. type: string
  13970. closepl:
  13971. description: 今日平仓盈亏
  13972. type: number
  13973. creditdecrease:
  13974. description: 今日授信减少
  13975. type: number
  13976. creditincrease:
  13977. description: 今日授信增加
  13978. type: number
  13979. curamount:
  13980. description: 总市值(从持仓中统计)
  13981. type: number
  13982. currencyid:
  13983. description: 货币ID
  13984. type: integer
  13985. currentbalance:
  13986. description: 期末余额
  13987. type: number
  13988. freezecharge:
  13989. description: 手续费冻结
  13990. type: number
  13991. freezemargin:
  13992. description: 冻结保证金
  13993. type: number
  13994. fromaccountid:
  13995. description: 所属上级账户
  13996. type: integer
  13997. inamount:
  13998. description: 今日入金金额(包括三方入金)
  13999. type: number
  14000. ismain:
  14001. description: 是否母账号 0:不是母账户 1:是母账户
  14002. type: integer
  14003. ismarketaccount:
  14004. description: 是否机构接单账号 0:不是 1:是
  14005. type: integer
  14006. isreckonaccount:
  14007. description: 是否机构分润账号 0:不是 1:是
  14008. type: integer
  14009. mortgagecredit:
  14010. description: 授信金额
  14011. type: number
  14012. orifreezecharge:
  14013. description: 期初手续费冻结
  14014. type: number
  14015. orifreezemargin:
  14016. description: 期初冻结保证金
  14017. type: number
  14018. orimortgagecredit:
  14019. description: 期初授信金额
  14020. type: number
  14021. oriothercredit:
  14022. description: 期初其它授信金额
  14023. type: number
  14024. oriotherfreezemargin:
  14025. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  14026. type: number
  14027. orioutamountfreeze:
  14028. description: 期初出金冻结
  14029. type: number
  14030. oriusedmargin:
  14031. description: 期初占用保证金
  14032. type: number
  14033. othercredit:
  14034. description: 其它授信金额
  14035. type: number
  14036. othercreditdecrease:
  14037. description: 今日其它授信减少
  14038. type: number
  14039. othercreditincrease:
  14040. description: 今日其它授信增加
  14041. type: number
  14042. otherfreezemargin:
  14043. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  14044. type: number
  14045. otherincome:
  14046. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  14047. type: number
  14048. otherpay:
  14049. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  14050. type: number
  14051. outamount:
  14052. description: 今日出金金额(包括三方出金)
  14053. type: number
  14054. outamountfreeze:
  14055. description: 出金冻结
  14056. type: number
  14057. outthreshold:
  14058. description: 出金阈值
  14059. type: number
  14060. parentaccountid:
  14061. description: 所属根账号
  14062. type: integer
  14063. paycharge:
  14064. description: 今日手续费支出
  14065. type: number
  14066. relatedaccountstatus:
  14067. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  14068. type: integer
  14069. relateduserid:
  14070. description: 关联用户
  14071. type: integer
  14072. remainamount:
  14073. description: 融资额(从融资合同中统计)
  14074. type: number
  14075. serivcegroup:
  14076. description: 服务分组
  14077. type: integer
  14078. signstatus:
  14079. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  14080. type: integer
  14081. sublevelpath:
  14082. description: 账号层级路径(逗号分隔,首尾加逗号)
  14083. type: string
  14084. taaccounttype:
  14085. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  14086. type: integer
  14087. thirdinamount:
  14088. description: 今日三方入金
  14089. type: number
  14090. thirdoutamount:
  14091. description: 今日三方出金
  14092. type: number
  14093. tradestatus:
  14094. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  14095. type: integer
  14096. tradestatuschangetime:
  14097. description: 激活时间
  14098. type: string
  14099. transferamount:
  14100. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  14101. type: number
  14102. usedmargin:
  14103. description: 占用保证金
  14104. type: number
  14105. userid:
  14106. description: 用户ID
  14107. type: integer
  14108. required:
  14109. - accountid
  14110. - userid
  14111. type: object
  14112. models.Tablecolumnconfig:
  14113. properties:
  14114. aligntype:
  14115. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  14116. type: integer
  14117. autoid:
  14118. description: AutoID
  14119. type: integer
  14120. columnfield:
  14121. description: 列字段
  14122. type: string
  14123. columntitle:
  14124. description: 列Title
  14125. type: string
  14126. columnwidth:
  14127. description: 列宽
  14128. type: string
  14129. formatterstring:
  14130. description: 格式化字符
  14131. type: string
  14132. formattertype:
  14133. description: 格式化类型
  14134. type: string
  14135. groupname:
  14136. description: 表头分组名称
  14137. type: string
  14138. isshow:
  14139. description: 是否显示 - 0:不显示 1:显示
  14140. type: integer
  14141. needsummary:
  14142. description: 是否需要汇总 - 0:不需要 1:需要
  14143. type: integer
  14144. orderindex:
  14145. description: 顺序
  14146. type: integer
  14147. remark:
  14148. description: 备注
  14149. type: string
  14150. summarytype:
  14151. description: 汇总类型 - 1:加总 2:最后一个
  14152. type: integer
  14153. tablekey:
  14154. description: 列表Key
  14155. type: string
  14156. required:
  14157. - autoid
  14158. type: object
  14159. models.TjmdHolderDetailTradeInfo:
  14160. properties:
  14161. agreeunit:
  14162. description: 合约乘数
  14163. type: number
  14164. buyaccountid:
  14165. description: 买方账户
  14166. type: string
  14167. buyusername:
  14168. description: 买方
  14169. type: string
  14170. delistingdate:
  14171. description: 最后结算日
  14172. type: string
  14173. expiredate:
  14174. description: 到期结算价定价日
  14175. type: string
  14176. exprieprice:
  14177. description: 到期清算价格
  14178. type: string
  14179. goodscode:
  14180. description: 商品代码
  14181. type: string
  14182. goodsid:
  14183. description: 商品ID
  14184. type: integer
  14185. goodsname:
  14186. description: 商品名称(交易标的)
  14187. type: string
  14188. lasttradedate:
  14189. description: 最后交易日
  14190. type: string
  14191. listingdate:
  14192. description: 开始交易日
  14193. type: string
  14194. openprice:
  14195. description: 成交价
  14196. type: number
  14197. openqty:
  14198. description: 交易数量
  14199. type: integer
  14200. sellaccountid:
  14201. description: 卖方账户
  14202. type: string
  14203. sellusername:
  14204. description: 卖方
  14205. type: string
  14206. tradeamount:
  14207. description: 初始名义价值
  14208. type: number
  14209. tradedate:
  14210. description: 成交日期
  14211. type: string
  14212. tradeid:
  14213. description: 成交编号
  14214. type: string
  14215. type: object
  14216. models.TjmdMarketSection:
  14217. properties:
  14218. marketsectionid:
  14219. description: 市场版块ID(SEQ_MARKETSECTION)
  14220. type: integer
  14221. marketsectionname:
  14222. description: 市场版块名称
  14223. type: string
  14224. mlist:
  14225. description: 市场列表(板块下面有多少个市场)
  14226. items:
  14227. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  14228. type: array
  14229. orderindex:
  14230. description: 排序
  14231. type: integer
  14232. pictureurl:
  14233. description: 图片url, 规格(90*90)
  14234. type: string
  14235. remark:
  14236. description: 备注
  14237. type: string
  14238. type: object
  14239. models.TjmdMarketSectionConfig:
  14240. properties:
  14241. auctionwrtype:
  14242. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  14243. type: integer
  14244. canacceptquote:
  14245. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  14246. type: integer
  14247. cangoodsexercise:
  14248. description: '[期权]是否可现货行权- 0:否 1:是'
  14249. type: integer
  14250. cangoodsexercisetype:
  14251. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  14252. type: integer
  14253. canmanualquotestrike:
  14254. description: 是否可手动报行权价- 0:否 1:是 [期权]
  14255. type: integer
  14256. canmutistage:
  14257. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  14258. type: integer
  14259. canpreexercise:
  14260. description: '[期权]是否可预申报- 0:否 1:是'
  14261. type: integer
  14262. clearinterval:
  14263. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  14264. type: integer
  14265. contracttmp:
  14266. description: 合同模板[荷兰式][竞价式][仓单贸易]
  14267. type: string
  14268. exchareaid:
  14269. description: 所属交易所,可以没有
  14270. type: integer
  14271. financemarketid:
  14272. description: 融资回购市场ID [仓单贸易]
  14273. type: integer
  14274. goodstype:
  14275. description: 商品类型 - 1:交易商品 2:仓单商品
  14276. type: integer
  14277. hasrebate:
  14278. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  14279. type: integer
  14280. hastradecredit:
  14281. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  14282. type: integer
  14283. haswr:
  14284. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  14285. type: integer
  14286. isdeductmargin:
  14287. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  14288. type: integer
  14289. isrecordsource:
  14290. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  14291. type: integer
  14292. isreleasemargin:
  14293. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  14294. type: integer
  14295. isupdatereckonprice:
  14296. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  14297. type: integer
  14298. listingmode:
  14299. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  14300. type: integer
  14301. marginformula:
  14302. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  14303. type: integer
  14304. marginformula2:
  14305. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  14306. type: integer
  14307. marketid:
  14308. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  14309. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  14310. type: integer
  14311. marketname:
  14312. description: 市场名称
  14313. type: string
  14314. marketsectionid:
  14315. description: 市场版块ID(SEQ_MARKETSECTION)
  14316. type: integer
  14317. marketserviceid:
  14318. description: 市场服务ID
  14319. type: integer
  14320. marketstatus:
  14321. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  14322. type: integer
  14323. markettype:
  14324. description: 市场类型- 1:非交易服务 2:交易服务
  14325. type: integer
  14326. matchermode:
  14327. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  14328. type: integer
  14329. nowrquotaflag:
  14330. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  14331. type: integer
  14332. openmethod:
  14333. description: 开盘模式 - 0 自动 1手动
  14334. type: integer
  14335. orderindex:
  14336. description: 排序
  14337. type: integer
  14338. otcuserid:
  14339. description: 场外期权做市商[场外期权]
  14340. type: integer
  14341. outersynctime:
  14342. description: 外部同步时间点(h24:mi:ss)[场外期权]
  14343. type: string
  14344. paylaterflag:
  14345. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  14346. type: integer
  14347. pendingflag:
  14348. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  14349. type: integer
  14350. pendingtime:
  14351. description: 待开市时间[通道交易-对冲](HH:mm)
  14352. type: string
  14353. performancetempid:
  14354. description: 履约计划模板ID - 作废
  14355. type: integer
  14356. premiumquotemode:
  14357. description: 权利金报价方式 - 1:自动 2:手动
  14358. type: integer
  14359. rebateratio:
  14360. description: 返利比率[竞价式]
  14361. type: number
  14362. reckonorder:
  14363. description: 结算顺序
  14364. type: integer
  14365. reckonpricealgorithm:
  14366. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  14367. 6.卖一价 7.买一卖一均价 8.外部结算价'
  14368. type: integer
  14369. reckonpriceparam:
  14370. description: 结算价参数
  14371. type: integer
  14372. reckontime:
  14373. description: 结算时间[通道交易-对冲](HH:mm)
  14374. type: string
  14375. roleprioritytype:
  14376. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  14377. type: integer
  14378. selllistingauditflag:
  14379. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  14380. type: integer
  14381. trademarkettype:
  14382. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  14383. type: integer
  14384. trademode:
  14385. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  14386. 21:竞拍-大宗式 22:受托竞价
  14387. type: integer
  14388. tradeproperty:
  14389. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  14390. 8:场外期权
  14391. type: integer
  14392. tradetype:
  14393. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  14394. type: integer
  14395. updatereckonpriceinterval:
  14396. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  14397. type: integer
  14398. type: object
  14399. models.TjmdQuoteGoods:
  14400. properties:
  14401. buyqty:
  14402. description: 买量(暂不做, 无值, 保留字段)
  14403. type: number
  14404. decimalplace:
  14405. description: 报价小数位
  14406. type: integer
  14407. goodscode:
  14408. description: 合约代码
  14409. type: string
  14410. goodsgroupid:
  14411. description: 商品组ID(自增ID)
  14412. type: integer
  14413. goodsgroupname:
  14414. description: 商品组名称
  14415. type: string
  14416. goodsid:
  14417. description: 合约id
  14418. type: integer
  14419. goodsname:
  14420. description: 合约名称
  14421. type: string
  14422. refgoodscode:
  14423. description: 标的合约代码
  14424. type: string
  14425. refgoodsid:
  14426. description: 标的合约id
  14427. type: integer
  14428. refgoodsname:
  14429. description: 标的合约名称
  14430. type: string
  14431. sellqty:
  14432. description: 卖量(暂不做, 无值, 保留字段)
  14433. type: number
  14434. type: object
  14435. models.TjmdTodayAccountMargin:
  14436. properties:
  14437. accountid:
  14438. description: 账号ID
  14439. type: integer
  14440. goodsid:
  14441. description: 商品ID
  14442. type: integer
  14443. infoc:
  14444. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  14445. description: 配置参数
  14446. marketid:
  14447. description: 市场ID
  14448. type: integer
  14449. type: object
  14450. models.TjmdTradeOrderDetail:
  14451. properties:
  14452. buyorsell:
  14453. description: 买卖方向 0-买 1-卖
  14454. type: integer
  14455. goodsid:
  14456. description: 商品id
  14457. type: integer
  14458. marketmaxsub:
  14459. description: 市价最大偏移范围 [浮动价 - 点差]
  14460. type: number
  14461. orderid:
  14462. description: 委托单号
  14463. type: string
  14464. orderprice:
  14465. description: 委托价格
  14466. type: number
  14467. orderqty:
  14468. description: 委托数量
  14469. type: integer
  14470. pricemode:
  14471. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  14472. type: integer
  14473. userid:
  14474. description: 用户id
  14475. type: integer
  14476. username:
  14477. description: 用户名称(已脱敏)
  14478. type: string
  14479. type: object
  14480. models.TjmdTransferApply:
  14481. properties:
  14482. applyid:
  14483. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  14484. type: integer
  14485. applystatus:
  14486. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  14487. type: integer
  14488. applytime:
  14489. description: 申请时间(时间)
  14490. type: string
  14491. auditremark:
  14492. description: 审核备注(拒绝原因?)
  14493. type: string
  14494. begindate:
  14495. description: 开始交易日(yyyymmdd)
  14496. type: string
  14497. buyorsell:
  14498. description: 买卖 - 0:买 1:卖
  14499. type: integer
  14500. enddate:
  14501. description: 结束交易日(yyyymmdd)
  14502. type: string
  14503. goodscode:
  14504. description: 商品代码
  14505. type: string
  14506. goodsid:
  14507. description: 商品ID
  14508. type: integer
  14509. goodsname:
  14510. description: 商品名称
  14511. type: string
  14512. marketid:
  14513. description: 市场ID
  14514. type: integer
  14515. qty:
  14516. description: 转让数量(数量)
  14517. type: number
  14518. tradeid:
  14519. description: 成交单号(关联持仓)
  14520. type: string
  14521. transferamount:
  14522. description: 转让总金额(金额)
  14523. type: number
  14524. transferprice:
  14525. description: 转让价格(协议价格)
  14526. type: number
  14527. type: object
  14528. models.TradeHolderDetail:
  14529. properties:
  14530. accountid:
  14531. description: 账号ID
  14532. type: integer
  14533. agreeunit:
  14534. description: 合约乘数
  14535. type: number
  14536. buyorsell:
  14537. description: 方向 - 0:买 1:卖
  14538. type: integer
  14539. currencyid:
  14540. description: 商品币种id
  14541. type: integer
  14542. currencyname:
  14543. description: 币种名称
  14544. type: string
  14545. decimalplace:
  14546. description: 商品价格小数位
  14547. type: integer
  14548. enumdicname:
  14549. description: 商品单位名称
  14550. type: string
  14551. expirecycle:
  14552. description: 行权周期(天) - 1:滚动行权时填写
  14553. type: integer
  14554. expiredate:
  14555. description: 行权日(yyyyMMdd) - 到期日
  14556. type: string
  14557. expiretype:
  14558. description: 行权日类型 - 1:滚动行权 2:固定日行权
  14559. type: integer
  14560. freezeqty:
  14561. description: 冻结数量
  14562. type: number
  14563. goodscode:
  14564. description: 商品代码
  14565. type: string
  14566. goodsid:
  14567. description: 商品ID
  14568. type: integer
  14569. goodsname:
  14570. description: 商品名称
  14571. type: string
  14572. goodunitid:
  14573. description: 商品单位id
  14574. type: integer
  14575. holderamount:
  14576. description: 持仓金额
  14577. type: number
  14578. holdercredit:
  14579. description: 持仓授信金额
  14580. type: number
  14581. holderdays:
  14582. description: 剩余冻结天数
  14583. type: integer
  14584. holderprice:
  14585. description: 持仓价格
  14586. type: number
  14587. holderqty:
  14588. description: 持仓数量
  14589. type: number
  14590. isconfirmexercise:
  14591. description: 是否确认行权- 0:否 1:是
  14592. type: integer
  14593. ispreexercise:
  14594. description: 是否预申报- 0:否 1:是 2:不可行权
  14595. type: integer
  14596. marketid:
  14597. description: 市场id
  14598. type: integer
  14599. marketname:
  14600. description: 市场名称
  14601. type: string
  14602. openprice:
  14603. description: 建仓价格
  14604. type: number
  14605. openqty:
  14606. description: 建仓数量
  14607. type: number
  14608. optiontype:
  14609. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  14610. type: integer
  14611. preexerciseprice:
  14612. description: 预申报价格
  14613. type: number
  14614. premium:
  14615. description: 权利金
  14616. type: number
  14617. qtydecimalplace:
  14618. description: 商品成交量小数位
  14619. type: integer
  14620. refgoodscode:
  14621. description: 标的合约代码
  14622. type: string
  14623. refgoodsid:
  14624. description: 标的合约id
  14625. type: integer
  14626. releaseamount:
  14627. description: 释放持仓金额
  14628. type: number
  14629. releaseholdercredit:
  14630. description: 释放持仓授信金额
  14631. type: number
  14632. taname:
  14633. description: 资金账号名称
  14634. type: string
  14635. tradeamount:
  14636. description: 成交金额
  14637. type: number
  14638. tradedate:
  14639. description: 交易日(yyyyMMdd)
  14640. type: string
  14641. tradeid:
  14642. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14643. type: string
  14644. trademode:
  14645. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  14646. 21:竞拍-大宗式 22:受托竞价 46:掉期
  14647. type: integer
  14648. tradeproperty:
  14649. description: 交易属性
  14650. type: integer
  14651. tradetime:
  14652. description: 交易时间
  14653. type: string
  14654. userid:
  14655. description: 用户id
  14656. type: integer
  14657. username:
  14658. description: 用户名称
  14659. type: string
  14660. type: object
  14661. models.UserCollectConfig:
  14662. properties:
  14663. accountstatus:
  14664. description: 账户状态 - 1:正常 2:停用 3:注销
  14665. type: integer
  14666. collectaccountname:
  14667. description: 收款人账户名称
  14668. type: string
  14669. collectaccountno:
  14670. description: 收款人账户
  14671. type: string
  14672. collectbankname:
  14673. description: 收款人开户行
  14674. type: string
  14675. collectbranchbankname:
  14676. description: 收款人开户支行
  14677. type: string
  14678. collectconfigid:
  14679. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  14680. type: string
  14681. remark:
  14682. description: 备注
  14683. type: string
  14684. userid:
  14685. description: 收款人用户ID
  14686. type: integer
  14687. type: object
  14688. models.UserReceiveInfo:
  14689. properties:
  14690. address:
  14691. description: 提货人详细地址
  14692. type: string
  14693. autoid:
  14694. description: AutoID
  14695. type: integer
  14696. cardnum:
  14697. description: 证件号码(加密存储)
  14698. type: string
  14699. cardtypeid:
  14700. description: 证件类型
  14701. type: integer
  14702. cityid:
  14703. description: 市
  14704. type: integer
  14705. cityname:
  14706. description: 城市名称
  14707. type: string
  14708. countryid:
  14709. description: 国家
  14710. type: integer
  14711. countryname:
  14712. description: 国家名称
  14713. type: string
  14714. districtid:
  14715. description: 地区
  14716. type: integer
  14717. districtname:
  14718. description: 地区名称
  14719. type: string
  14720. hasencrypt:
  14721. description: 数据是否已加密 - 0:未加密 1:已加密
  14722. type: integer
  14723. isdefault:
  14724. description: 是否默认地址 - 0:否 1:是
  14725. type: integer
  14726. phonenum:
  14727. description: 提货人联系方式(加密存储)
  14728. type: string
  14729. provinceid:
  14730. description: 省
  14731. type: integer
  14732. provincename:
  14733. description: 省名称
  14734. type: string
  14735. receivername:
  14736. description: 提货人姓名
  14737. type: string
  14738. takeremark:
  14739. description: 提货备注
  14740. type: string
  14741. userid:
  14742. description: 用户ID
  14743. type: integer
  14744. type: object
  14745. models.Useraccount:
  14746. properties:
  14747. accountname:
  14748. description: 账户名称(机构名称)
  14749. type: string
  14750. accountstatus:
  14751. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  14752. type: integer
  14753. applysrc:
  14754. description: 申请来源 - 1:管理端 2:终端
  14755. type: integer
  14756. auditremark:
  14757. description: 审核备注
  14758. type: string
  14759. auditsrc:
  14760. description: 审核来源 - 1:管理端 2:终端
  14761. type: integer
  14762. audittime:
  14763. description: 审核时间
  14764. type: string
  14765. audituserid:
  14766. description: 审核人
  14767. type: integer
  14768. broker:
  14769. description: 所属经纪人ID
  14770. type: integer
  14771. canceltime:
  14772. description: 销户时间
  14773. type: string
  14774. canceluserid:
  14775. description: 销户人
  14776. type: integer
  14777. canrecommend:
  14778. description: 是否可推荐 - 0:不可 1;可
  14779. type: integer
  14780. createtime:
  14781. description: 创建时间
  14782. type: string
  14783. creatorid:
  14784. description: 创建人
  14785. type: integer
  14786. hasauth:
  14787. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  14788. type: integer
  14789. isanonymous:
  14790. description: 是否匿名下单 - 0:否 1:是
  14791. type: integer
  14792. maxinvestornum:
  14793. description: 最大用户数(经纪会员下投资者个数)
  14794. type: integer
  14795. memberuserid:
  14796. description: 所属会员ID
  14797. type: integer
  14798. modifierid:
  14799. description: 修改人
  14800. type: integer
  14801. modifyremark:
  14802. description: 变更备注
  14803. type: string
  14804. modifystatus:
  14805. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  14806. type: integer
  14807. modifytime:
  14808. description: 修改时间
  14809. type: string
  14810. parenttopuser:
  14811. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  14812. type: string
  14813. parentuserid:
  14814. description: 所属机构ID
  14815. type: integer
  14816. reckonaccountid:
  14817. description: 默认结算资金账号ID(机构分润使用) 作废
  14818. type: integer
  14819. refercount:
  14820. description: 推荐总人数
  14821. type: integer
  14822. refereeuserid:
  14823. description: 推荐人ID
  14824. type: integer
  14825. refernum:
  14826. description: 推荐码
  14827. type: string
  14828. rootuserid:
  14829. description: 根用户ID
  14830. type: integer
  14831. subaccountlevel:
  14832. description: 子账户层数
  14833. type: integer
  14834. subarealevelpath:
  14835. description: 子机构层级路径(逗号分隔,首尾加逗号)
  14836. type: string
  14837. userid:
  14838. description: 用户ID
  14839. type: integer
  14840. usertype:
  14841. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14842. type: integer
  14843. required:
  14844. - userid
  14845. type: object
  14846. models.Userfavoritegoods:
  14847. properties:
  14848. goodsid:
  14849. description: 商品ID
  14850. type: integer
  14851. required:
  14852. - goodsid
  14853. type: object
  14854. models.Userinfo:
  14855. properties:
  14856. address:
  14857. description: 地址
  14858. type: string
  14859. attachment1:
  14860. description: 附件1
  14861. type: string
  14862. attachment2:
  14863. description: 附件2
  14864. type: string
  14865. bankaccount:
  14866. description: 银行帐号 (加密存储)
  14867. type: string
  14868. bankaccountname:
  14869. description: 收款人名称
  14870. type: string
  14871. bankcardfrontphotourl:
  14872. description: 银行卡正面照地址
  14873. type: string
  14874. bankid:
  14875. description: 银行编码
  14876. type: string
  14877. bankname:
  14878. description: 银行名称
  14879. type: string
  14880. biznature:
  14881. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  14882. type: integer
  14883. bizscope:
  14884. description: 企业经营范围(企业)
  14885. type: string
  14886. cardbackphotourl:
  14887. description: 证件背面图片地址
  14888. type: string
  14889. cardfrontphotourl:
  14890. description: 证件正面图片地址
  14891. type: string
  14892. cardnum:
  14893. description: 证件号码(加密存储)
  14894. type: string
  14895. cardtypeid:
  14896. description: 证件类型ID
  14897. type: integer
  14898. cityid:
  14899. description: 市
  14900. type: integer
  14901. company:
  14902. description: 公司(个人)
  14903. type: string
  14904. contactname:
  14905. description: 联系人
  14906. type: string
  14907. countryid:
  14908. description: 国家
  14909. type: integer
  14910. createtime:
  14911. description: 创建时间
  14912. type: string
  14913. creatorid:
  14914. description: 创建人
  14915. type: integer
  14916. customername:
  14917. description: 客户名称(企业名称)
  14918. type: string
  14919. districtid:
  14920. description: 地区
  14921. type: integer
  14922. email:
  14923. description: 邮件(加密存储)
  14924. type: string
  14925. fax:
  14926. description: 传真(加密存储)
  14927. type: string
  14928. halfbodyphotourl:
  14929. description: 半身照地址
  14930. type: string
  14931. hasencrypt:
  14932. description: 数据是否已加密 - 0:未加密 1:已加密
  14933. type: integer
  14934. headurl:
  14935. description: 头像地址
  14936. type: string
  14937. legalcardbackphotourl:
  14938. description: 法人身份证背面照地址
  14939. type: string
  14940. legalcardfrontphotourl:
  14941. description: 法人身份证正面照地址
  14942. type: string
  14943. legalpersonname:
  14944. description: 法人姓名(企业)
  14945. type: string
  14946. mobile:
  14947. description: 手机号码(加密存储)
  14948. type: string
  14949. mobile2:
  14950. description: 手机号码[明文-尚志]
  14951. type: string
  14952. modifierid:
  14953. description: 修改人
  14954. type: integer
  14955. modifiertime:
  14956. description: 修改时间
  14957. type: string
  14958. needinvoice:
  14959. description: 是否需要发票 - 0:不需要 1:需要
  14960. type: integer
  14961. nickname:
  14962. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  14963. type: string
  14964. openmode:
  14965. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  14966. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  14967. type: integer
  14968. otherurl:
  14969. description: 其它图片地址[使用分号分隔]
  14970. type: string
  14971. postalcode:
  14972. description: 邮政编码
  14973. type: string
  14974. provinceid:
  14975. description: 省
  14976. type: integer
  14977. qq:
  14978. description: QQ(加密存储
  14979. type: string
  14980. remark:
  14981. description: 备注
  14982. type: string
  14983. sex:
  14984. description: '用户性别 0: 女 1: 男'
  14985. type: integer
  14986. signpdfurl:
  14987. description: 签约pdf文件
  14988. type: string
  14989. telphone:
  14990. description: 联系电话(加密存储)
  14991. type: string
  14992. userid:
  14993. description: 用户ID
  14994. type: integer
  14995. userinfotype:
  14996. description: 用户信息类型 - 1:个人 2:企业
  14997. type: integer
  14998. userstatus:
  14999. description: 用户状态 - 1:正常 2:注销
  15000. type: integer
  15001. usertype:
  15002. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  15003. type: integer
  15004. wechat:
  15005. description: 微信(加密存储)
  15006. type: string
  15007. wskhinfo:
  15008. description: 开户申请信息(JSON)
  15009. type: string
  15010. required:
  15011. - userid
  15012. type: object
  15013. models.WRSConverTDetail:
  15014. properties:
  15015. convertratio:
  15016. description: 套保系数
  15017. type: number
  15018. deliverygoodscode:
  15019. description: 现货商品代码
  15020. type: string
  15021. deliverygoodsid:
  15022. description: 现货品种ID
  15023. type: integer
  15024. deliverygoodsname:
  15025. description: 现货商品名称
  15026. type: string
  15027. enumdicname:
  15028. description: 单位名称
  15029. type: string
  15030. goodsunitid:
  15031. description: 套保品种单位id
  15032. type: integer
  15033. middlegoodscode:
  15034. description: 套保品种代码
  15035. type: string
  15036. middlegoodsid:
  15037. description: 套保品种ID
  15038. type: integer
  15039. middlegoodsname:
  15040. description: 套保品种名称
  15041. type: string
  15042. modifytime:
  15043. description: 修改时间
  15044. type: string
  15045. wrstandardid:
  15046. description: 品类ID
  15047. type: integer
  15048. type: object
  15049. models.WRStandardInfo:
  15050. properties:
  15051. areauserid:
  15052. description: 所属机构
  15053. type: integer
  15054. convertfactor:
  15055. description: 标仓系数
  15056. type: number
  15057. createtime:
  15058. description: 创建时间
  15059. type: string
  15060. creatorid:
  15061. description: 创建人
  15062. type: integer
  15063. deliverygoodsid:
  15064. description: 品种ID
  15065. type: integer
  15066. deliverygoodsname:
  15067. description: 交割商品名称
  15068. type: string
  15069. factoryitemjson:
  15070. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  15071. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  15072. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  15073. 逗号分隔'
  15074. type: string
  15075. isvalid:
  15076. description: 是否有效 - 0:无效 1:有效
  15077. type: integer
  15078. minivalue:
  15079. description: 最小变动值
  15080. type: integer
  15081. minivaluedp:
  15082. description: 最小变动值小数位
  15083. type: integer
  15084. realminivalue:
  15085. description: 实际最小变动值
  15086. type: integer
  15087. realminivaluedp:
  15088. description: 实际最小变动值小数位
  15089. type: integer
  15090. remark:
  15091. description: 备注
  15092. type: string
  15093. unitid:
  15094. description: 单位ID
  15095. type: integer
  15096. unitname:
  15097. description: 单位
  15098. type: string
  15099. updatetime:
  15100. description: 更新时间
  15101. type: string
  15102. updatorid:
  15103. description: 更新人
  15104. type: integer
  15105. wrsstatus:
  15106. description: 状态 - 作废 - 0:未激活 1:正常
  15107. type: integer
  15108. wrstandardcode:
  15109. description: 现货品类代码
  15110. type: string
  15111. wrstandardid:
  15112. description: 现货品类ID(SEQ_WRSTANDARD)
  15113. type: integer
  15114. wrstandardname:
  15115. description: 现货品类名称
  15116. type: string
  15117. required:
  15118. - wrstandardid
  15119. type: object
  15120. models.WRTradeBargainApply:
  15121. properties:
  15122. accountid:
  15123. description: 摘牌资金账号
  15124. type: integer
  15125. applyprice:
  15126. description: 申请价格(议价价格)
  15127. type: string
  15128. applyqty:
  15129. description: 摘牌数量(议价数量)
  15130. type: number
  15131. applyremark:
  15132. description: 申请备注
  15133. type: string
  15134. applystatus:
  15135. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  15136. type: integer
  15137. applytime:
  15138. description: 申请时间(议价时间)
  15139. type: string
  15140. begindate:
  15141. description: 开始交易日(yyyymmdd)
  15142. type: string
  15143. buyorsell:
  15144. description: 买卖(挂牌类型) - 0:买 1:卖
  15145. type: integer
  15146. confirmremark:
  15147. description: 确认备注
  15148. type: string
  15149. confirmtime:
  15150. description: 确认时间
  15151. type: string
  15152. confirmuserid:
  15153. description: 确认人
  15154. type: integer
  15155. deliverygoodscode:
  15156. description: 品种代码
  15157. type: string
  15158. deliverygoodsid:
  15159. description: 品种ID
  15160. type: integer
  15161. deliverygoodsname:
  15162. description: 品种名称
  15163. type: string
  15164. deliverymonth:
  15165. description: 交收月
  15166. type: string
  15167. enddate:
  15168. description: 结束交易日(yyyymmdd)
  15169. type: string
  15170. enumdicname:
  15171. description: 单位名称
  15172. type: string
  15173. fixedprice:
  15174. description: 挂牌价格
  15175. type: number
  15176. handlestatus:
  15177. description: 处理状态
  15178. type: integer
  15179. marginvalue:
  15180. description: 履约保证金比例
  15181. type: number
  15182. marketid:
  15183. description: 市场ID
  15184. type: integer
  15185. matchaccountid:
  15186. description: 挂牌方资金账号
  15187. type: integer
  15188. matchuserid:
  15189. description: 挂牌方用户id
  15190. type: integer
  15191. matchusername:
  15192. description: 挂牌方用户名称(已脱敏)
  15193. type: string
  15194. minivalue:
  15195. description: 现货商品最小变动值
  15196. type: integer
  15197. optioncompare:
  15198. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15199. type: string
  15200. orderqty:
  15201. description: 挂牌数量
  15202. type: integer
  15203. refprice:
  15204. description: 参考价格
  15205. type: string
  15206. retcode:
  15207. description: 委托返回代码
  15208. type: integer
  15209. templatename:
  15210. description: 履约方式(履约模板名称)
  15211. type: string
  15212. tradedate:
  15213. description: 交易日(yyyyMMdd)
  15214. type: string
  15215. userid:
  15216. description: 摘牌人用户ID(议价人ID)
  15217. type: integer
  15218. username:
  15219. description: 议价人名字(已脱敏)
  15220. type: string
  15221. validtime:
  15222. description: 有效期限
  15223. type: string
  15224. warehouseid:
  15225. description: 仓库ID
  15226. type: integer
  15227. warehousename:
  15228. description: 仓库名称
  15229. type: string
  15230. wrbargainid:
  15231. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  15232. type: string
  15233. wrfactortypeid:
  15234. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15235. type: string
  15236. wrfactortypename:
  15237. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15238. type: string
  15239. wrstandardcode:
  15240. description: 现货商品代码
  15241. type: string
  15242. wrstandardid:
  15243. description: 现货商品ID
  15244. type: integer
  15245. wrstandardname:
  15246. description: 商品名称
  15247. type: string
  15248. wrtradeorderid:
  15249. description: 关联委托单ID
  15250. type: string
  15251. wrtypename:
  15252. description: 商品
  15253. type: string
  15254. type: object
  15255. models.Warehouseinfo:
  15256. properties:
  15257. address:
  15258. description: 详细地址
  15259. type: string
  15260. areauserid:
  15261. description: 所属机构
  15262. type: integer
  15263. autoid:
  15264. description: 自增ID
  15265. type: integer
  15266. cityid:
  15267. description: 市
  15268. type: integer
  15269. contactname:
  15270. description: 联系人
  15271. type: string
  15272. contactnum:
  15273. description: 联系电话
  15274. type: string
  15275. countryid:
  15276. description: 国家
  15277. type: integer
  15278. createtime:
  15279. description: 创建时间
  15280. type: string
  15281. districtid:
  15282. description: 区
  15283. type: integer
  15284. hasvideo:
  15285. description: 是否有视频 - 0:无 1:有
  15286. type: integer
  15287. provinceid:
  15288. description: 省
  15289. type: integer
  15290. remark:
  15291. description: 审核备注
  15292. type: string
  15293. videourl:
  15294. description: 视频地址
  15295. type: string
  15296. warehousecode:
  15297. description: 仓库代码
  15298. type: string
  15299. warehousename:
  15300. description: 仓库名称
  15301. type: string
  15302. warehousestatus:
  15303. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  15304. type: integer
  15305. warehousetype:
  15306. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  15307. type: integer
  15308. required:
  15309. - autoid
  15310. - warehousecode
  15311. type: object
  15312. models.WrAverageTradePrice:
  15313. properties:
  15314. averageprice:
  15315. description: 成交均价
  15316. type: number
  15317. tradedate:
  15318. description: 交易日yyyymm
  15319. type: string
  15320. type: object
  15321. models.WrBrandAndYears:
  15322. properties:
  15323. brandlst:
  15324. description: 品牌列表
  15325. items:
  15326. $ref: '#/definitions/models.DgFactoryItem'
  15327. type: array
  15328. yearslst:
  15329. description: 年份列表
  15330. items:
  15331. $ref: '#/definitions/models.DgFactoryItem'
  15332. type: array
  15333. type: object
  15334. models.WrBsGoodsInfo:
  15335. properties:
  15336. buyorsell:
  15337. description: 买卖方向 0-买 1-卖
  15338. type: integer
  15339. goodsid:
  15340. description: 交易合约ID
  15341. type: integer
  15342. lstitem:
  15343. description: 商品信息项
  15344. items:
  15345. $ref: '#/definitions/models.WrTypeItem'
  15346. type: array
  15347. lststep:
  15348. description: 履约规则
  15349. items:
  15350. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15351. type: array
  15352. type: object
  15353. models.WrBuybackDetail:
  15354. properties:
  15355. buybackamount:
  15356. description: 回购金额
  15357. type: number
  15358. buybackqty:
  15359. description: 回购数量
  15360. type: number
  15361. buybackreleasemargin:
  15362. description: 回购释放保证金
  15363. type: number
  15364. buybacktime:
  15365. description: 回购时间
  15366. type: string
  15367. errordesc:
  15368. description: 错误描述
  15369. type: string
  15370. handlestatus:
  15371. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  15372. type: integer
  15373. relatedwrid:
  15374. description: 关联仓单ID
  15375. type: integer
  15376. scfcontractid:
  15377. description: SCF合同ID
  15378. type: string
  15379. scfwrbuybackid:
  15380. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  15381. type: integer
  15382. tradedate:
  15383. description: 交易日(yyyyMMdd)
  15384. type: string
  15385. type: object
  15386. models.WrClientAdSpaceConfig:
  15387. properties:
  15388. adspaceid:
  15389. description: 广告位ID
  15390. type: integer
  15391. adspacename:
  15392. description: 广告位名称
  15393. type: string
  15394. adspacetype:
  15395. description: 广告位类型 - 1:固定广告位
  15396. type: integer
  15397. areauserid:
  15398. description: 所属机构ID
  15399. type: integer
  15400. createdate:
  15401. description: 创建时间
  15402. type: string
  15403. imagepath:
  15404. description: 图片
  15405. type: string
  15406. modifierid:
  15407. description: 操作人
  15408. type: integer
  15409. recsize:
  15410. description: 推荐尺寸
  15411. type: string
  15412. title:
  15413. description: 标题
  15414. type: string
  15415. updatedate:
  15416. description: 更新时间
  15417. type: string
  15418. urlcontent:
  15419. description: 链接(地址\商品ID\功能菜单Key\appid)
  15420. type: string
  15421. urltype:
  15422. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  15423. type: integer
  15424. type: object
  15425. models.WrDeliveryAvalidHoldLB:
  15426. properties:
  15427. accountid:
  15428. description: 资金账号
  15429. type: integer
  15430. avalidqty:
  15431. description: 数量(可点选数量)
  15432. type: number
  15433. deliverygoodsid:
  15434. description: 品种id
  15435. type: integer
  15436. enumdicname:
  15437. description: 单位名称
  15438. type: string
  15439. goodsid:
  15440. description: x合约商品id
  15441. type: integer
  15442. ladingbillid:
  15443. description: 提单id
  15444. type: string
  15445. pgoodscode:
  15446. description: p商品代码(点价合约)
  15447. type: string
  15448. pgoodsid:
  15449. description: p商品id(点价合约)
  15450. type: integer
  15451. pgoodsname:
  15452. description: p商品名称(点价合约)
  15453. type: string
  15454. pricemove:
  15455. description: 升贴水
  15456. type: number
  15457. subnum:
  15458. description: 提单子id
  15459. type: integer
  15460. userid:
  15461. description: 用户id
  15462. type: integer
  15463. username:
  15464. description: 仓单持有人
  15465. type: string
  15466. warehousecode:
  15467. description: 仓库代码
  15468. type: string
  15469. warehouseid:
  15470. description: 仓库id
  15471. type: integer
  15472. warehousename:
  15473. description: 仓库名称
  15474. type: string
  15475. wrfactortypeid:
  15476. description: 仓单要素id
  15477. type: string
  15478. wrstandardcode:
  15479. description: 品代码
  15480. type: string
  15481. wrstandardid:
  15482. description: 品类d
  15483. type: integer
  15484. wrstandardname:
  15485. description: 品类名称
  15486. type: string
  15487. wrtypename:
  15488. description: 商品
  15489. type: string
  15490. xgoodscode:
  15491. description: x合约代码
  15492. type: string
  15493. xgoodsname:
  15494. description: x合约名称
  15495. type: string
  15496. type: object
  15497. models.WrDeliveryDetail:
  15498. properties:
  15499. accountid:
  15500. description: 账号ID
  15501. type: integer
  15502. averageprice:
  15503. description: 交割均价 = 交割金额 / 交割数量
  15504. type: number
  15505. begindate:
  15506. description: 开始交易日(yyyymmdd)
  15507. type: string
  15508. buyorsell:
  15509. description: 方向 - 0:买 1:卖
  15510. type: integer
  15511. deliveryamount:
  15512. description: 货款金额(X总货款+P总货款)
  15513. type: number
  15514. deliveryid:
  15515. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  15516. type: string
  15517. deliveryorderid:
  15518. description: 申报单号
  15519. type: string
  15520. deliverypricemove:
  15521. description: 升贴水(升贴水总额)
  15522. type: number
  15523. deliveryqty:
  15524. description: 交收数量(点选数量)
  15525. type: number
  15526. deliverystatus:
  15527. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  15528. type: integer
  15529. deliverytime:
  15530. description: 交割时间
  15531. type: string
  15532. deliverytotalamount:
  15533. description: 交收金额
  15534. type: number
  15535. enddate:
  15536. description: 结束交易日(yyyymmdd)
  15537. type: string
  15538. enumdicname:
  15539. description: 单位名称
  15540. type: string
  15541. matchaccountid:
  15542. description: 对手账号ID
  15543. type: integer
  15544. matchusername:
  15545. description: 对手方名称(仓单持有人)
  15546. type: string
  15547. p1goodsremainamount:
  15548. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  15549. type: number
  15550. pdeliverycloseqty:
  15551. description: p合约平仓数量
  15552. type: number
  15553. pdeliveryprice:
  15554. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  15555. type: number
  15556. pgoodscode:
  15557. description: 商品代码
  15558. type: string
  15559. pgoodsid:
  15560. description: p点选合约id
  15561. type: integer
  15562. pgoodsname:
  15563. description: 商品名称
  15564. type: string
  15565. ppricemode:
  15566. description: 点价价格方式 - 1:商品价 2:固定值
  15567. type: integer
  15568. tradedate:
  15569. description: 交易日(yyyymmdd)
  15570. type: string
  15571. userid:
  15572. description: 用户id
  15573. type: integer
  15574. username:
  15575. description: 用户名称
  15576. type: string
  15577. warehousename:
  15578. description: 仓库名称
  15579. type: string
  15580. wrfactortypeid:
  15581. description: 仓单要素类型ID
  15582. type: string
  15583. wrtypename:
  15584. description: 商品
  15585. type: string
  15586. xdeliverycloseqty:
  15587. description: 合约数量
  15588. type: number
  15589. xgoodsamount:
  15590. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  15591. type: number
  15592. xgoodscode:
  15593. description: 商品代码
  15594. type: string
  15595. xgoodsid:
  15596. description: x交易合约ID
  15597. type: integer
  15598. xgoodsname:
  15599. description: 商品名称
  15600. type: string
  15601. type: object
  15602. models.WrDeliveryGoodsSection:
  15603. properties:
  15604. dglst:
  15605. description: 板块商品列表
  15606. items:
  15607. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  15608. type: array
  15609. imagepath:
  15610. description: 图片地址
  15611. type: string
  15612. orderindex:
  15613. description: 排序
  15614. type: integer
  15615. sectionid:
  15616. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  15617. = 1的版块1 - 云融指数
  15618. type: integer
  15619. sectionname:
  15620. description: 版块名称
  15621. type: string
  15622. sectiontype:
  15623. description: 版块类型 - 1:指数版块 2:普通版块
  15624. type: integer
  15625. type: object
  15626. models.WrDeliveryGoodsSectionConfig:
  15627. properties:
  15628. deliverygoodscode:
  15629. description: 现货商品代码
  15630. type: string
  15631. deliverygoodsid:
  15632. description: 现货品种ID(SEQ_DELIVERYGOODS)
  15633. type: integer
  15634. deliverygoodsname:
  15635. description: 现货商品名称
  15636. type: string
  15637. orderindex:
  15638. description: 排序
  15639. type: integer
  15640. type: object
  15641. models.WrDraftUserInfo:
  15642. properties:
  15643. address:
  15644. description: 地址
  15645. type: string
  15646. attachment1:
  15647. description: 附件1
  15648. type: string
  15649. attachment2:
  15650. description: 附件2
  15651. type: string
  15652. attachment3:
  15653. description: 附件3
  15654. type: string
  15655. attachment4:
  15656. description: 附件4
  15657. type: string
  15658. attachment5:
  15659. description: 附件5
  15660. type: string
  15661. bankaccount:
  15662. description: 银行帐号 (加密存储)
  15663. type: string
  15664. bankaccountname:
  15665. description: 收款人名称
  15666. type: string
  15667. bankcardfrontphotourl:
  15668. description: 银行卡正面照地址
  15669. type: string
  15670. bankid:
  15671. description: 银行编码
  15672. type: string
  15673. bankname:
  15674. description: 银行名称
  15675. type: string
  15676. birthday:
  15677. description: 生日(个人:年月日)
  15678. type: string
  15679. biznature:
  15680. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  15681. type: integer
  15682. bizscope:
  15683. description: 企业经营范围(企业)
  15684. type: string
  15685. biztype:
  15686. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  15687. type: integer
  15688. cardbackphotourl:
  15689. description: 证件背面图片地址
  15690. type: string
  15691. cardfrontphotourl:
  15692. description: 证件正面图片地址
  15693. type: string
  15694. cardnum:
  15695. description: 证件号码(加密存储)
  15696. type: string
  15697. cardtypeid:
  15698. description: 证件类型ID
  15699. type: integer
  15700. cityid:
  15701. description: 市
  15702. type: integer
  15703. company:
  15704. description: 公司(个人)
  15705. type: string
  15706. contactcardbackphotourl:
  15707. description: 联系人证件背面图片地址
  15708. type: string
  15709. contactcardfrontphotourl:
  15710. description: 联系人证件正面图片地址
  15711. type: string
  15712. contactname:
  15713. description: 联系人
  15714. type: string
  15715. countryid:
  15716. description: 国家
  15717. type: integer
  15718. createtime:
  15719. description: 创建时间
  15720. type: string
  15721. creatorid:
  15722. description: 创建人
  15723. type: integer
  15724. creditquota:
  15725. description: 授信额度(金瑞)
  15726. type: number
  15727. customername:
  15728. description: 客户名称(企业名称)
  15729. type: string
  15730. districtid:
  15731. description: 地区
  15732. type: integer
  15733. email:
  15734. description: 邮件(加密存储)
  15735. type: string
  15736. fax:
  15737. description: 传真(加密存储)
  15738. type: string
  15739. halfbodyphotourl:
  15740. description: 半身照地址
  15741. type: string
  15742. hasencrypt:
  15743. description: 数据是否已加密 - 0:未加密 1:已加密
  15744. type: integer
  15745. headurl:
  15746. description: 头像地址
  15747. type: string
  15748. legalcardbackphotourl:
  15749. description: 法人身份证背面照地址
  15750. type: string
  15751. legalcardfrontphotourl:
  15752. description: 法人身份证正面照地址
  15753. type: string
  15754. legalpersonname:
  15755. description: 法人姓名(企业)
  15756. type: string
  15757. mobile:
  15758. description: 手机号码(加密存储)
  15759. type: string
  15760. mobile2:
  15761. description: 手机号码[明文-尚志]
  15762. type: string
  15763. modifierid:
  15764. description: 修改人
  15765. type: integer
  15766. modifiertime:
  15767. description: 修改时间
  15768. type: string
  15769. needinvoice:
  15770. description: 是否需要发票 - 0:不需要 1:需要
  15771. type: integer
  15772. nickname:
  15773. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  15774. type: string
  15775. openmode:
  15776. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  15777. 6:苹果手机端注册 7:PC交易端注册"
  15778. type: integer
  15779. otherurl:
  15780. description: 其它图片地址[使用分号分隔]
  15781. type: string
  15782. postalcode:
  15783. description: 邮政编码
  15784. type: string
  15785. provinceid:
  15786. description: 省
  15787. type: integer
  15788. proxystatementurl:
  15789. description: 授权委托书
  15790. type: string
  15791. qq:
  15792. description: QQ(加密存储
  15793. type: string
  15794. remark:
  15795. description: 备注
  15796. type: string
  15797. sex:
  15798. description: '用户性别 0: 女 1: 男'
  15799. type: integer
  15800. signpdfurl:
  15801. description: 签约pdf文件
  15802. type: string
  15803. taxpayernum:
  15804. description: 纳税人识别号
  15805. type: string
  15806. telphone:
  15807. description: 联系电话(加密存储)
  15808. type: string
  15809. userid:
  15810. description: 用户ID
  15811. type: integer
  15812. userinfotype:
  15813. description: 用户信息类型 - 1:个人 2:企业
  15814. type: integer
  15815. userstatus:
  15816. description: 用户状态 - 1:正常 2:注销
  15817. type: integer
  15818. usertype:
  15819. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  15820. type: integer
  15821. wechat:
  15822. description: 微信(加密存储)
  15823. type: string
  15824. wskhinfo:
  15825. description: 开户申请信息(JSON)
  15826. type: string
  15827. type: object
  15828. models.WrFAProductDetail:
  15829. properties:
  15830. accountid:
  15831. description: 资金账号
  15832. type: integer
  15833. areauserid:
  15834. description: 金融机构ID
  15835. type: integer
  15836. financingdays:
  15837. description: 天数(天)
  15838. type: integer
  15839. interestminlen:
  15840. description: 最小起息天数
  15841. type: integer
  15842. interestrate:
  15843. description: 利率
  15844. type: number
  15845. interestratemode:
  15846. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15847. type: integer
  15848. interestsettlemode:
  15849. description: 结息方式 - 1:按日结息 3:按月结息
  15850. type: integer
  15851. interestsettlevalue:
  15852. description: 结息方式值
  15853. type: integer
  15854. isautoloan:
  15855. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  15856. type: integer
  15857. loantag:
  15858. description: '放款标识: "放款快" 或者为空'
  15859. type: string
  15860. marginratio:
  15861. description: 保证金比率质押率 - [仓单质押]
  15862. type: number
  15863. productdetailid:
  15864. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  15865. type: integer
  15866. productid:
  15867. description: 金融产品ID
  15868. type: integer
  15869. productname:
  15870. description: 产品名称
  15871. type: string
  15872. updatetime:
  15873. description: 更新时间
  15874. type: string
  15875. username:
  15876. description: 融出方
  15877. type: string
  15878. type: object
  15879. models.WrFactorTypeInfo:
  15880. properties:
  15881. deliverygoodscode:
  15882. description: 品种代码
  15883. type: string
  15884. deliverygoodsname:
  15885. description: 品种名称
  15886. type: string
  15887. dgfactoryitemid:
  15888. description: 选择项id
  15889. type: integer
  15890. dgfactoryitemtypeid:
  15891. description: 要素选择项ID (1-仓库 2-品牌)
  15892. type: integer
  15893. dgfactoryitemvalue:
  15894. description: 要素项值
  15895. type: string
  15896. itemtypename:
  15897. description: 要素项名称
  15898. type: string
  15899. optioncompare:
  15900. description: 选择比较串
  15901. type: string
  15902. warehouseid:
  15903. description: 仓库id
  15904. type: integer
  15905. wrfactortypeid:
  15906. description: 仓单要素ID
  15907. type: string
  15908. wrfactortypename:
  15909. description: 要素名称
  15910. type: string
  15911. wrfactortypename2:
  15912. description: 要素名称(不含仓库)
  15913. type: string
  15914. wrstandardcode:
  15915. description: 品类代码
  15916. type: string
  15917. wrstandardid:
  15918. description: 品类id
  15919. type: integer
  15920. wrstandardname:
  15921. description: 品类名称
  15922. type: string
  15923. type: object
  15924. models.WrFilterItem:
  15925. properties:
  15926. itemcode:
  15927. description: 代码
  15928. type: string
  15929. itemid:
  15930. description: 项id
  15931. type: integer
  15932. itemname:
  15933. description: 名称
  15934. type: string
  15935. itemtype:
  15936. description: 类型 1-品种 2-品类(商品) 3-仓库
  15937. type: integer
  15938. type: object
  15939. models.WrFinanceBuyApply:
  15940. properties:
  15941. applydate:
  15942. description: 申请时间
  15943. type: string
  15944. applystatus:
  15945. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  15946. type: integer
  15947. applyuserid:
  15948. description: 申请人
  15949. type: integer
  15950. auditdate:
  15951. description: 审核时间
  15952. type: string
  15953. auditremark:
  15954. description: 审核备注
  15955. type: string
  15956. audituserid:
  15957. description: 审核人
  15958. type: integer
  15959. buyaccountid:
  15960. description: 买方资金账号
  15961. type: integer
  15962. buyorsell:
  15963. description: 买卖 - 0:买 1:卖
  15964. type: integer
  15965. buyuserid:
  15966. description: 买方用户ID
  15967. type: integer
  15968. buyusername:
  15969. description: 买方名称
  15970. type: string
  15971. buywrtradeorderid:
  15972. description: 融资方买委托单ID
  15973. type: string
  15974. deliverygoodscode:
  15975. description: 品种代码
  15976. type: string
  15977. deliverygoodsid:
  15978. description: 品种ID
  15979. type: integer
  15980. deliverygoodsname:
  15981. description: 品种名称
  15982. type: string
  15983. deliverymonth:
  15984. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  15985. type: string
  15986. enumdicname:
  15987. description: 单位名称
  15988. type: string
  15989. financeaccountid:
  15990. description: 融资方资金帐户ID
  15991. type: integer
  15992. financeapplyid:
  15993. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15994. type: string
  15995. financeareauserid:
  15996. description: 融资方用户ID
  15997. type: string
  15998. financename:
  15999. description: 融出方名称
  16000. type: string
  16001. financetype:
  16002. description: 融资类型 1-融资回购
  16003. type: integer
  16004. financingdays:
  16005. description: 天数(天)
  16006. type: integer
  16007. freezebuymargin:
  16008. description: 冻结融资保证金(买方)
  16009. type: number
  16010. handleremark:
  16011. description: 处理备注
  16012. type: string
  16013. handlestatus:
  16014. description: 处理状态
  16015. type: integer
  16016. interestminlen:
  16017. description: 最小起息天数
  16018. type: integer
  16019. interestrate:
  16020. description: 利率
  16021. type: number
  16022. interestratemode:
  16023. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  16024. type: integer
  16025. interestsettlemode:
  16026. description: 结息方式 - 1:按日结息 3:按月结息
  16027. type: integer
  16028. interestsettlevalue:
  16029. description: 结息方式值
  16030. type: integer
  16031. isautoloan:
  16032. description: 是否自动放款 - 0:手动 1:自动
  16033. type: integer
  16034. marginratio:
  16035. description: 保证金比率质押率 - [仓单质押]
  16036. type: number
  16037. marketid:
  16038. description: 市场ID
  16039. type: integer
  16040. minivalue:
  16041. description: 现货商品最小变动值
  16042. type: integer
  16043. optioncompare:
  16044. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16045. type: string
  16046. orderqty:
  16047. description: 委托数量(商品数量)
  16048. type: number
  16049. productdetailid:
  16050. description: 产品组合ID
  16051. type: integer
  16052. productid:
  16053. description: 金融产品ID
  16054. type: integer
  16055. productname:
  16056. description: 产品名称
  16057. type: string
  16058. remark:
  16059. description: 备注
  16060. type: string
  16061. scfcontractid:
  16062. description: 仓单回购合同ID
  16063. type: string
  16064. sellaccountid:
  16065. description: 卖方资金账号
  16066. type: integer
  16067. selluserid:
  16068. description: 卖方用户ID
  16069. type: integer
  16070. sellwrtradeorderid:
  16071. description: 卖方委托单ID
  16072. type: string
  16073. tradeamount:
  16074. description: 成交金额(借款金额)
  16075. type: number
  16076. tradedate:
  16077. description: 交易日(yyyyMMdd)
  16078. type: string
  16079. tradeprice:
  16080. description: 成交价格
  16081. type: number
  16082. warehouseid:
  16083. description: 仓库ID
  16084. type: integer
  16085. warehousename:
  16086. description: 仓库名称
  16087. type: string
  16088. wrfactortypeid:
  16089. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16090. type: string
  16091. wrfactortypename:
  16092. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16093. type: string
  16094. wrpricetype:
  16095. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  16096. type: integer
  16097. wrstandardcode:
  16098. description: 现货商品代码
  16099. type: string
  16100. wrstandardid:
  16101. description: 现货商品ID
  16102. type: integer
  16103. wrstandardname:
  16104. description: 商品名称
  16105. type: string
  16106. wrtypename:
  16107. description: 商品
  16108. type: string
  16109. type: object
  16110. models.WrFriendApply:
  16111. properties:
  16112. applicantid:
  16113. description: 申请人
  16114. type: integer
  16115. applyname:
  16116. description: 申请人名称
  16117. type: string
  16118. applysrc:
  16119. description: 申请来源 - 1:管理端 2:终端
  16120. type: integer
  16121. applystatus:
  16122. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  16123. type: integer
  16124. applytime:
  16125. description: 申请时间
  16126. type: string
  16127. auditname:
  16128. description: 审核人名称
  16129. type: string
  16130. auditorid:
  16131. description: 审核人
  16132. type: integer
  16133. auditremark:
  16134. description: 审核备注
  16135. type: string
  16136. auditsrc:
  16137. description: 审核来源 - 1:管理端 2:终端
  16138. type: integer
  16139. audittime:
  16140. description: 审核时间
  16141. type: string
  16142. friendapplyid:
  16143. description: 申请ID(SEQ_FRIENDAPPLY)
  16144. type: string
  16145. friendname:
  16146. description: 好友名字(已脱敏)
  16147. type: string
  16148. frienduserid:
  16149. description: 好友用户ID
  16150. type: string
  16151. remark:
  16152. description: 备注
  16153. type: string
  16154. userid:
  16155. description: 申请人用户ID
  16156. type: integer
  16157. type: object
  16158. models.WrFtDeliveryGoods:
  16159. properties:
  16160. deliverygoodscode:
  16161. description: 品种代码
  16162. type: string
  16163. deliverygoodsid:
  16164. description: 品种ID
  16165. type: integer
  16166. deliverygoodsname:
  16167. description: 品种名称
  16168. type: string
  16169. wdlst:
  16170. description: 商品列表
  16171. items:
  16172. $ref: '#/definitions/models.WrFtWrstandard'
  16173. type: array
  16174. type: object
  16175. models.WrFtWrstandard:
  16176. properties:
  16177. enumdicname:
  16178. description: 单位名称
  16179. type: string
  16180. minivalue:
  16181. description: 最小变动值
  16182. type: integer
  16183. wrstandardcode:
  16184. description: 现货商品代码
  16185. type: string
  16186. wrstandardid:
  16187. description: 现货商品ID
  16188. type: integer
  16189. wrstandardname:
  16190. description: 商品名称
  16191. type: string
  16192. type: object
  16193. models.WrGoodsInfo:
  16194. properties:
  16195. haswr:
  16196. description: 0:仓单预售 1:仓单贸易
  16197. type: integer
  16198. lstitem:
  16199. description: 商品信息项
  16200. items:
  16201. $ref: '#/definitions/models.WrTypeItem'
  16202. type: array
  16203. lststep:
  16204. description: 履约规则
  16205. items:
  16206. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  16207. type: array
  16208. marketid:
  16209. description: 市场id
  16210. type: integer
  16211. type: object
  16212. models.WrGoodsPerformanceStep:
  16213. properties:
  16214. autoid:
  16215. description: AutoID
  16216. type: integer
  16217. isauto:
  16218. description: 是否自动 - 0:不自动 1:自动
  16219. type: integer
  16220. remark:
  16221. description: 备注
  16222. type: string
  16223. stepdate:
  16224. description: 天数信息(T+N)
  16225. type: string
  16226. stepdays:
  16227. description: 距离上一步天数
  16228. type: integer
  16229. stepindex:
  16230. description: 步骤序号
  16231. type: integer
  16232. stepinfo:
  16233. description: 步骤信息(步骤名称+步骤值)
  16234. type: string
  16235. steptypeid:
  16236. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  16237. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16238. type: integer
  16239. steptypename:
  16240. description: 步骤名称
  16241. type: string
  16242. stepvalue:
  16243. description: 步骤值
  16244. type: number
  16245. templateid:
  16246. description: 履约计划模板ID
  16247. type: integer
  16248. type: object
  16249. models.WrHoldLB:
  16250. properties:
  16251. accountid:
  16252. description: 持有人帐户ID
  16253. type: integer
  16254. bannerpicurl:
  16255. description: Banner图
  16256. type: string
  16257. createtime:
  16258. description: 创建时间(过户时间)
  16259. type: string
  16260. deliverygoodscode:
  16261. description: 品种代码
  16262. type: string
  16263. deliverygoodsid:
  16264. description: 品种ID
  16265. type: integer
  16266. deliverygoodsname:
  16267. description: 品种名称
  16268. type: string
  16269. enableqty:
  16270. description: 可用数量
  16271. type: number
  16272. enumdicname:
  16273. description: 单位名称
  16274. type: string
  16275. freezerqty:
  16276. description: 冻结数量
  16277. type: number
  16278. ladingbillid:
  16279. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  16280. type: string
  16281. minivalue:
  16282. description: 现货商品最小变动值
  16283. type: integer
  16284. optioncompare:
  16285. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16286. type: string
  16287. parentsubnum:
  16288. description: 拆分父子单号
  16289. type: integer
  16290. pledgeqty:
  16291. description: 质押数量
  16292. type: number
  16293. qty:
  16294. description: 数量
  16295. type: number
  16296. subnum:
  16297. description: 提单子单号
  16298. type: integer
  16299. thumurls:
  16300. description: 缩略图
  16301. type: string
  16302. tradedate:
  16303. description: 交易日(yyyyMMdd)
  16304. type: string
  16305. userid:
  16306. description: 持有人ID
  16307. type: integer
  16308. warehouseid:
  16309. description: 仓库ID
  16310. type: integer
  16311. warehousename:
  16312. description: 仓库名称
  16313. type: string
  16314. wrfactortypeid:
  16315. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16316. type: string
  16317. wrfactortypename:
  16318. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16319. type: string
  16320. wrholdeno:
  16321. description: 仓单编号
  16322. type: string
  16323. wrid:
  16324. description: 仓单变更ID
  16325. type: string
  16326. wrstandardcode:
  16327. description: 现货商品代码
  16328. type: string
  16329. wrstandardid:
  16330. description: 现货商品ID
  16331. type: integer
  16332. wrstandardname:
  16333. description: 商品名称
  16334. type: string
  16335. wrtypename:
  16336. description: 商品
  16337. type: string
  16338. type: object
  16339. models.WrMarketTradeConfig:
  16340. properties:
  16341. basisdownratio:
  16342. description: 浮动价基差下限比例(仓单贸易)
  16343. type: number
  16344. basisupratio:
  16345. description: 浮动价基差上限比例(仓单贸易)
  16346. type: number
  16347. buychargealgorithm:
  16348. description: 买方手续费收取方式 1:比率 2:固定
  16349. type: integer
  16350. buychargealgorithm2:
  16351. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  16352. type: integer
  16353. buychargealgorithmvalue:
  16354. description: 买方手续费设置值(交易所部分)
  16355. type: number
  16356. buychargealgorithmvalue2:
  16357. description: 买方手续费设置值(会员部分)
  16358. type: number
  16359. buychargealgorithmvalue3:
  16360. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  16361. type: number
  16362. buychargealgorithmvalue4:
  16363. description: 回购买方手续费设置值(会员部分) --77:现货商城
  16364. type: number
  16365. buyfirstmarginalgorithm:
  16366. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  16367. type: integer
  16368. buyfirstmarginvalue:
  16369. description: 买方出价保证金设置值 - [竞拍]
  16370. type: number
  16371. buymarginalgorithm:
  16372. description: 买方保证金方式 - 1:比率 2:固定
  16373. type: integer
  16374. buymarginvalue:
  16375. description: 买方保证金设置值
  16376. type: number
  16377. buyreleaseratio:
  16378. description: 买方释放比率[2:分步履约]
  16379. type: number
  16380. executemode:
  16381. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  16382. type: integer
  16383. executeside:
  16384. description: 执行方[2:分步履约] - 1:买方 2:卖方
  16385. type: integer
  16386. failedchargealgorithm:
  16387. description: 流拍手续费收取方式 1:比率 2:固定
  16388. type: integer
  16389. failedchargevalue:
  16390. description: 流拍手续费设置值
  16391. type: number
  16392. failedchargevalue2:
  16393. description: 流拍卖方手续费设置值
  16394. type: number
  16395. holddays:
  16396. description: 合同期限[2:分步履约]
  16397. type: integer
  16398. listingmode:
  16399. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  16400. type: integer
  16401. marketid:
  16402. description: 市场ID-仓单贸易、竞拍、预售
  16403. type: integer
  16404. minqty:
  16405. description: 最小执行量[2:分步履约]
  16406. type: number
  16407. modifierid:
  16408. description: 修改人
  16409. type: integer
  16410. nowrquotaflag:
  16411. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  16412. type: integer
  16413. performancetempid:
  16414. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  16415. 立即执行(-1)
  16416. type: integer
  16417. performancetempid2:
  16418. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  16419. 立即执行
  16420. type: integer
  16421. performancetempid2s:
  16422. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  16423. - 履约方式: 立即执行
  16424. type: string
  16425. performancetempids:
  16426. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  16427. - 履约方式: 立即执行(-1)
  16428. type: string
  16429. performanceway:
  16430. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  16431. type: integer
  16432. sellchargealgorithm:
  16433. description: 卖方手续费收取方式 1:比率 2:固定
  16434. type: integer
  16435. sellchargealgorithm2:
  16436. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  16437. type: integer
  16438. sellchargealgorithmvalue:
  16439. description: 卖方手续费设置值(交易所部分)
  16440. type: number
  16441. sellchargealgorithmvalue2:
  16442. description: 卖方手续费设置值(会员部分)
  16443. type: number
  16444. sellchargealgorithmvalue3:
  16445. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  16446. type: number
  16447. sellchargealgorithmvalue4:
  16448. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  16449. type: number
  16450. sellmarginalgorithm:
  16451. description: 卖方保证金方式 - 1:比率 2:固定
  16452. type: integer
  16453. sellmarginvalue:
  16454. description: 卖方保证金设置值
  16455. type: number
  16456. sellmarginvalue2:
  16457. description: 卖方保证金设置值(无仓单)
  16458. type: number
  16459. sellreleaseratio:
  16460. description: 卖方释放比率[2:分步履约]
  16461. type: number
  16462. updatetime:
  16463. description: 更新时间
  16464. type: string
  16465. type: object
  16466. models.WrOrderDetail:
  16467. properties:
  16468. accountid:
  16469. description: 交易账号(资金账号)
  16470. type: integer
  16471. allfriendsflag:
  16472. description: 是否全好友可见 - 0:否 1:是
  16473. type: integer
  16474. amount:
  16475. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  16476. type: number
  16477. bannerpicurl:
  16478. description: Banner图
  16479. type: string
  16480. begindate:
  16481. description: 开始交易日(yyyymmdd)
  16482. type: string
  16483. buyorsell:
  16484. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16485. type: integer
  16486. canbargain:
  16487. description: 是否可议价 - 0:不可 1:可
  16488. type: integer
  16489. cancelqty:
  16490. description: 撤销数量
  16491. type: number
  16492. canpart:
  16493. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  16494. type: integer
  16495. delistminqty:
  16496. description: 起摘数量
  16497. type: integer
  16498. deliverygoodscode:
  16499. description: 品种代码
  16500. type: string
  16501. deliverygoodsid:
  16502. description: 品种ID
  16503. type: integer
  16504. deliverygoodsname:
  16505. description: 品种名称
  16506. type: string
  16507. deliverymonth:
  16508. description: 交收月
  16509. type: string
  16510. enddate:
  16511. description: 结束交易日(yyyymmdd)
  16512. type: string
  16513. enumdicname:
  16514. description: 单位名称
  16515. type: string
  16516. fixedprice:
  16517. description: 固定价格 - [挂牌]
  16518. type: number
  16519. freezecharge:
  16520. description: 冻结手续费
  16521. type: number
  16522. freezemargin:
  16523. description: 冻结保证金(保证金)
  16524. type: number
  16525. futupricemove:
  16526. description: 期货升贴水
  16527. type: number
  16528. futushow:
  16529. description: 期货合约/升贴水
  16530. type: string
  16531. goodscode:
  16532. description: 期货合约
  16533. type: string
  16534. goodsid:
  16535. description: 期货商品id
  16536. type: integer
  16537. goodsname:
  16538. description: 商品名称
  16539. type: string
  16540. haswr:
  16541. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16542. type: integer
  16543. isspecified:
  16544. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  16545. type: integer
  16546. ladingbillid:
  16547. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  16548. type: string
  16549. marginvalue:
  16550. description: 保证金设置值(履约保证金)
  16551. type: number
  16552. marketid:
  16553. description: 市场ID
  16554. type: integer
  16555. matchusername:
  16556. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  16557. type: string
  16558. minivalue:
  16559. description: 现货商品最小变动值
  16560. type: integer
  16561. optioncompare:
  16562. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16563. type: string
  16564. orderqty:
  16565. description: 委托数量
  16566. type: number
  16567. ordertime:
  16568. description: 委托时间(挂牌时间)
  16569. type: string
  16570. performancetemplateid:
  16571. description: 履约模板id
  16572. type: integer
  16573. pricemove:
  16574. description: 升贴水(浮动价时填写) - [挂牌]
  16575. type: number
  16576. taname:
  16577. description: 交易用户名称(资金账号名称)
  16578. type: string
  16579. thumurls:
  16580. description: 缩略图
  16581. type: string
  16582. tradedate:
  16583. description: 交易日(yyyyMMdd)
  16584. type: string
  16585. tradeprice:
  16586. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  16587. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  16588. type: number
  16589. tradeqty:
  16590. description: 成交数量
  16591. type: number
  16592. userid:
  16593. description: 用户ID
  16594. type: integer
  16595. validtime:
  16596. description: 挂牌有效期
  16597. type: string
  16598. validtype:
  16599. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  16600. type: integer
  16601. warehouseid:
  16602. description: 仓库ID
  16603. type: integer
  16604. warehousename:
  16605. description: 仓库名称
  16606. type: string
  16607. wrfactortypeid:
  16608. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16609. type: string
  16610. wrfactortypename:
  16611. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16612. type: string
  16613. wrpricetype:
  16614. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  16615. type: integer
  16616. wrstandardcode:
  16617. description: 现货商品代码
  16618. type: string
  16619. wrstandardid:
  16620. description: 现货商品ID
  16621. type: integer
  16622. wrstandardname:
  16623. description: 商品名称
  16624. type: string
  16625. wrtradeorderid:
  16626. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16627. type: string
  16628. wrtradeorderstatus:
  16629. 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:撤单解冻贷款失败
  16630. type: integer
  16631. wrtradetype:
  16632. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16633. type: integer
  16634. wrtypename:
  16635. description: 商品
  16636. type: string
  16637. type: object
  16638. models.WrOrderQuote:
  16639. properties:
  16640. bannerpicurl:
  16641. description: Banner图
  16642. type: string
  16643. buyprice:
  16644. description: 买价
  16645. type: number
  16646. buypricemove:
  16647. description: 买升贴水(基差)
  16648. type: number
  16649. buyqty:
  16650. description: 买量
  16651. type: number
  16652. deliverygoodscode:
  16653. description: 品种代码
  16654. type: string
  16655. deliverygoodsid:
  16656. description: 品种id
  16657. type: integer
  16658. deliverygoodsname:
  16659. description: 品种名称
  16660. type: string
  16661. deliverymonth:
  16662. description: 交收月
  16663. type: string
  16664. enumdicname:
  16665. description: 单位名称
  16666. type: string
  16667. goodscode:
  16668. description: 商品合约(浮动价列表才有)
  16669. type: string
  16670. goodsid:
  16671. description: 商品id(浮动价列表才有)
  16672. type: integer
  16673. minivalue:
  16674. description: 现货商品最小变动值
  16675. type: integer
  16676. pictureurls:
  16677. description: 详情图片(逗号分隔)
  16678. type: string
  16679. sellprice:
  16680. description: 卖价
  16681. type: number
  16682. sellpricemove:
  16683. description: 卖升贴水(基差)
  16684. type: number
  16685. sellqty:
  16686. description: 卖量
  16687. type: number
  16688. thumurls:
  16689. description: 缩略图片(1:1)(逗号分隔)
  16690. type: string
  16691. warehousecode:
  16692. description: 仓库代码
  16693. type: string
  16694. warehouseid:
  16695. description: 仓库id
  16696. type: integer
  16697. warehousename:
  16698. description: 仓库名称
  16699. type: string
  16700. wrfactortypeid:
  16701. description: 仓单要素id
  16702. type: string
  16703. wrfactortypename:
  16704. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16705. type: string
  16706. wrgoodsname:
  16707. description: 商品(商品名称+仓库要素名称 拼接)
  16708. type: string
  16709. wrstandardcode:
  16710. description: 商品代码
  16711. type: string
  16712. wrstandardid:
  16713. description: 商品id
  16714. type: integer
  16715. wrstandardname:
  16716. description: 商品名称
  16717. type: string
  16718. type: object
  16719. models.WrOrderQuoteDetail:
  16720. properties:
  16721. buyorsell:
  16722. description: 买卖 - 0:买 1:卖
  16723. type: integer
  16724. delistminqty:
  16725. description: 起摘数量
  16726. type: number
  16727. deliverymonth:
  16728. description: 交收月
  16729. type: string
  16730. enumdicname:
  16731. description: 单位名称
  16732. type: string
  16733. fixedprice:
  16734. description: 买(卖)价
  16735. type: number
  16736. marketid:
  16737. description: 市场id
  16738. type: integer
  16739. minivalue:
  16740. description: 现货商品最小变动值
  16741. type: integer
  16742. orderqty:
  16743. description: 买(卖)量(=委托量-成交量)
  16744. type: number
  16745. ordertime:
  16746. description: 委托时间
  16747. type: string
  16748. pricemove:
  16749. description: 买(卖)升贴水- 基差
  16750. type: number
  16751. userid:
  16752. description: 购买方(销售方)用户ID
  16753. type: integer
  16754. username:
  16755. description: 购买方(销售方)
  16756. type: string
  16757. wrtradeorderid:
  16758. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16759. type: string
  16760. type: object
  16761. models.WrOutInApply:
  16762. properties:
  16763. applyid:
  16764. description: 申请单id
  16765. type: string
  16766. applystatus:
  16767. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  16768. 8:已撤销
  16769. type: integer
  16770. applytime:
  16771. description: 申请时间
  16772. type: string
  16773. applytype:
  16774. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  16775. type: integer
  16776. bannerpicurl:
  16777. description: Banner图
  16778. type: string
  16779. begindate:
  16780. description: 开始交易日(yyyymmdd)
  16781. type: string
  16782. deliverygoodscode:
  16783. description: 品种代码
  16784. type: string
  16785. deliverygoodsid:
  16786. description: 品种ID
  16787. type: integer
  16788. deliverygoodsname:
  16789. description: 品种名称
  16790. type: string
  16791. enddate:
  16792. description: 结束交易日(yyyymmdd)
  16793. type: string
  16794. enumdicname:
  16795. description: 单位名称
  16796. type: string
  16797. expresscompany:
  16798. description: 物流公司
  16799. type: string
  16800. expressnum:
  16801. description: 物流单号
  16802. type: string
  16803. minivalue:
  16804. description: 现货商品最小变动值
  16805. type: integer
  16806. optioncompare:
  16807. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16808. type: string
  16809. qty:
  16810. description: 数量
  16811. type: integer
  16812. userid:
  16813. description: 用户id
  16814. type: integer
  16815. warehouseid:
  16816. description: 仓库ID
  16817. type: integer
  16818. warehousename:
  16819. description: 仓库名称
  16820. type: string
  16821. wrfactortypeid:
  16822. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16823. type: string
  16824. wrfactortypename:
  16825. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16826. type: string
  16827. wrstandardcode:
  16828. description: 现货商品代码
  16829. type: string
  16830. wrstandardid:
  16831. description: 现货商品ID
  16832. type: integer
  16833. wrstandardname:
  16834. description: 商品名称
  16835. type: string
  16836. wrtypename:
  16837. description: 商品
  16838. type: string
  16839. type: object
  16840. models.WrPerformancePlan:
  16841. properties:
  16842. activatemonth:
  16843. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  16844. type: string
  16845. amount:
  16846. description: 履约金额(总金额)
  16847. type: number
  16848. begindate:
  16849. description: 开始交易日(yyyymmdd)
  16850. type: string
  16851. buyaccountid:
  16852. description: 买方账号
  16853. type: integer
  16854. buyerfreezeamount:
  16855. description: 履约冻结(买履约)
  16856. type: number
  16857. buyerfreezeamountremain:
  16858. description: 履约冻结剩余(买履约)
  16859. type: number
  16860. buyorsell:
  16861. description: 买卖方向 0-买 1-卖
  16862. type: integer
  16863. buypaidamount:
  16864. description: 买方已冻/已扣金额 (已付金额)
  16865. type: number
  16866. buyusername:
  16867. description: 买方名字
  16868. type: string
  16869. contractid:
  16870. description: 合同ID
  16871. type: integer
  16872. createtime:
  16873. description: 创建时间
  16874. type: string
  16875. creatorid:
  16876. description: 创建人
  16877. type: integer
  16878. curstepdeadline:
  16879. description: 当前步骤到期时间
  16880. type: string
  16881. curstepid:
  16882. description: 当前步骤ID
  16883. type: string
  16884. curstepname:
  16885. description: 当前步骤名称
  16886. type: string
  16887. deliverygoodscode:
  16888. description: 品种代码
  16889. type: string
  16890. deliverygoodsid:
  16891. description: 品种ID
  16892. type: integer
  16893. deliverygoodsname:
  16894. description: 品种名称
  16895. type: string
  16896. enddate:
  16897. description: 结束交易日(yyyymmdd)
  16898. type: string
  16899. enumdicname:
  16900. description: 单位名称
  16901. type: string
  16902. expressfee:
  16903. description: 运费
  16904. type: number
  16905. expressfeeconfirmed:
  16906. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  16907. type: integer
  16908. hasovershort:
  16909. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  16910. type: integer
  16911. haswr:
  16912. description: 类型 0-仓单预售 1-仓单贸易
  16913. type: integer
  16914. marketid:
  16915. description: 市场ID
  16916. type: integer
  16917. middleaccountid:
  16918. description: 中间商资金账号ID
  16919. type: integer
  16920. middleuserid:
  16921. description: 中间商用户ID
  16922. type: integer
  16923. minivalue:
  16924. description: 现货商品最小变动值
  16925. type: integer
  16926. optioncompare:
  16927. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16928. type: string
  16929. overshortamount:
  16930. description: 溢短金额
  16931. type: number
  16932. overshortqty:
  16933. description: 溢短数量
  16934. type: number
  16935. paymenttype:
  16936. description: 付款方式 - 1:冻结 2:扣款
  16937. type: integer
  16938. performanceplanid:
  16939. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  16940. type: string
  16941. performancestatus:
  16942. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  16943. 9:超时待处理 10:超时关闭
  16944. type: integer
  16945. performancetype:
  16946. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  16947. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  16948. type: integer
  16949. qty:
  16950. description: 履约数量
  16951. type: number
  16952. relatedorderid:
  16953. description: 关联单号(履约类型的关联单号)
  16954. type: string
  16955. remark:
  16956. description: 备注
  16957. type: string
  16958. sellaccountid:
  16959. description: 卖方账号
  16960. type: integer
  16961. sellerfreezeamount:
  16962. description: 履约冻结(卖履约)
  16963. type: number
  16964. sellerfreezeamountremain:
  16965. description: 履约冻结剩余(卖履约)
  16966. type: number
  16967. sellreceivedamount:
  16968. description: 卖方已收金额
  16969. type: number
  16970. sellusername:
  16971. description: 卖方名字
  16972. type: string
  16973. shipremark:
  16974. description: 发货备注[物流单号]
  16975. type: string
  16976. starttime:
  16977. description: 开始时间
  16978. type: string
  16979. steptypeid:
  16980. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  16981. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16982. type: integer
  16983. typename:
  16984. description: 履约类型 名称
  16985. type: string
  16986. unpaidamount:
  16987. description: 剩余款(待支付金额)
  16988. type: number
  16989. userid:
  16990. description: 用户id
  16991. type: integer
  16992. warehouseid:
  16993. description: 仓库ID
  16994. type: integer
  16995. warehousename:
  16996. description: 仓库名称
  16997. type: string
  16998. wrfactortypeid:
  16999. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17000. type: string
  17001. wrfactortypename:
  17002. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17003. type: string
  17004. wrstandardcode:
  17005. description: 现货商品代码
  17006. type: string
  17007. wrstandardid:
  17008. description: 现货商品ID
  17009. type: integer
  17010. wrstandardname:
  17011. description: 商品名称
  17012. type: string
  17013. wrtransferuserid:
  17014. description: 仓单受让用户
  17015. type: integer
  17016. wrtypename:
  17017. description: 商品
  17018. type: string
  17019. required:
  17020. - userid
  17021. type: object
  17022. models.WrPerformancePlanStep:
  17023. properties:
  17024. delaydays:
  17025. description: 延期申请天数
  17026. type: integer
  17027. deliverygoodscode:
  17028. description: 品种代码
  17029. type: string
  17030. deliverygoodsid:
  17031. description: 品种ID
  17032. type: integer
  17033. deliverygoodsname:
  17034. description: 品种名称
  17035. type: string
  17036. endtime:
  17037. description: 结束日期
  17038. type: string
  17039. enumdicname:
  17040. description: 单位名称
  17041. type: string
  17042. executeside:
  17043. description: 步骤执行方 - 1:买方 2:卖方
  17044. type: integer
  17045. handlestatus:
  17046. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  17047. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  17048. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  17049. type: integer
  17050. isauto:
  17051. description: 是否自动 - 0:不自动 1:自动
  17052. type: integer
  17053. islastreceivestep:
  17054. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  17055. type: integer
  17056. minivalue:
  17057. description: 现货商品最小变动值
  17058. type: integer
  17059. optioncompare:
  17060. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17061. type: string
  17062. overdays:
  17063. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  17064. type: integer
  17065. performancestepid:
  17066. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  17067. type: string
  17068. planid:
  17069. description: 所属履约计划ID
  17070. type: string
  17071. realamount:
  17072. description: 实际完成金额
  17073. type: number
  17074. relatedorderid:
  17075. description: 关联单号
  17076. type: string
  17077. remaindays:
  17078. description: 剩余天数
  17079. type: integer
  17080. remark:
  17081. description: 错误备注
  17082. type: string
  17083. starttime:
  17084. description: 开始日期
  17085. type: string
  17086. stepamount:
  17087. description: 步骤金额
  17088. type: number
  17089. stepdays:
  17090. description: 距离上一步天数(分钟)
  17091. type: integer
  17092. stepindex:
  17093. description: 步骤序号
  17094. type: integer
  17095. steplanchtype:
  17096. description: 步骤启动类型 - 1:系统自动 2:手动
  17097. type: integer
  17098. stepremark:
  17099. description: 步骤备注
  17100. type: string
  17101. stepstatus:
  17102. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  17103. type: integer
  17104. steptypeid:
  17105. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  17106. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  17107. type: integer
  17108. steptypename:
  17109. description: 步骤名称
  17110. type: string
  17111. stepvalue:
  17112. description: 步骤值
  17113. type: number
  17114. warehouseid:
  17115. description: 仓库ID
  17116. type: integer
  17117. warehousename:
  17118. description: 仓库名称
  17119. type: string
  17120. wrfactortypeid:
  17121. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17122. type: string
  17123. wrfactortypename:
  17124. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17125. type: string
  17126. wrstandardcode:
  17127. description: 现货商品代码
  17128. type: string
  17129. wrstandardid:
  17130. description: 现货商品ID
  17131. type: integer
  17132. wrstandardname:
  17133. description: 商品名称
  17134. type: string
  17135. wrtypename:
  17136. description: 商品
  17137. type: string
  17138. type: object
  17139. models.WrPerformanceStepType:
  17140. properties:
  17141. canauto:
  17142. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  17143. type: integer
  17144. steptypeid:
  17145. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  17146. type: integer
  17147. steptypename:
  17148. description: 步骤类型名称
  17149. type: string
  17150. type: object
  17151. models.WrPerformanceTemplateEx:
  17152. properties:
  17153. autoid:
  17154. description: AutoID 模板id
  17155. type: integer
  17156. createtime:
  17157. description: 创建时间
  17158. type: string
  17159. creatorid:
  17160. description: 创建人
  17161. type: integer
  17162. lstStep:
  17163. description: 步骤信息列表
  17164. items:
  17165. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  17166. type: array
  17167. paymenttype:
  17168. description: 支付方式 - 1:冻结 2:扣款
  17169. type: integer
  17170. takemode:
  17171. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  17172. type: integer
  17173. templatename:
  17174. description: 模板名称
  17175. type: string
  17176. templatetype:
  17177. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  17178. (无仓单) 5:挂牌期权 6:竞拍-降价式
  17179. type: integer
  17180. userid:
  17181. description: 所属用户
  17182. type: integer
  17183. type: object
  17184. models.WrPosition:
  17185. properties:
  17186. accountid:
  17187. description: 帐户ID
  17188. type: integer
  17189. buyexcuteqty:
  17190. description: 采购履约中数量
  17191. type: number
  17192. creditcurqty:
  17193. description: 授信当前数量(预售仓单:预售当前量)
  17194. type: number
  17195. creditenableqty:
  17196. description: '授信可用数量(预售仓单: 可用数量)'
  17197. type: number
  17198. creditfreezeqty:
  17199. description: '授信冻结数量(预售仓单: 当前数量)'
  17200. type: number
  17201. credittotalqty:
  17202. description: 授信总数量(预售仓单:预售总量)
  17203. type: number
  17204. credittradeqty:
  17205. description: 授信成交数量(预售仓单:成交总量)
  17206. type: number
  17207. deliverygoodscode:
  17208. description: 品种代码
  17209. type: string
  17210. deliverygoodsid:
  17211. description: 品种ID
  17212. type: integer
  17213. deliverygoodsname:
  17214. description: 品种名称
  17215. type: string
  17216. enalbeqty:
  17217. description: 可用数量
  17218. type: number
  17219. enumdicname:
  17220. description: 单位名称
  17221. type: string
  17222. freezeqty:
  17223. description: 总冻结数量
  17224. type: number
  17225. haswr:
  17226. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  17227. type: integer
  17228. minivalue:
  17229. description: 现货商品最小变动值
  17230. type: integer
  17231. modifytime:
  17232. description: 修改时间(过户时间)
  17233. type: string
  17234. optioncompare:
  17235. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17236. type: string
  17237. pledgeqty:
  17238. description: 质押数量
  17239. type: number
  17240. querytype:
  17241. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  17242. type: integer
  17243. sellexcuteqty:
  17244. description: 销售履约中数量
  17245. type: number
  17246. totalqty:
  17247. description: 总数量(库存数量)
  17248. type: number
  17249. warehouseid:
  17250. description: 仓库ID
  17251. type: integer
  17252. warehousename:
  17253. description: 仓库名称
  17254. type: string
  17255. wrfactortypeid:
  17256. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17257. type: string
  17258. wrfactortypename:
  17259. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17260. type: string
  17261. wrpositionid:
  17262. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  17263. type: string
  17264. wrpositionno:
  17265. description: 仓单编号
  17266. type: string
  17267. wrstandardcode:
  17268. description: 现货商品代码
  17269. type: string
  17270. wrstandardid:
  17271. description: 现货商品ID
  17272. type: integer
  17273. wrstandardname:
  17274. description: 商品名称
  17275. type: string
  17276. wrtypename:
  17277. description: 商品
  17278. type: string
  17279. wruserid:
  17280. description: 持有人ID
  17281. type: integer
  17282. type: object
  17283. models.WrPreSaleInfo:
  17284. properties:
  17285. bannerpicurl:
  17286. description: Banner图
  17287. type: string
  17288. baseqty:
  17289. description: 中签基数
  17290. type: number
  17291. createtime:
  17292. description: 创建时间
  17293. type: string
  17294. deliverygoodsid:
  17295. description: 现货品种ID
  17296. type: integer
  17297. enddate:
  17298. description: 预售结束日期
  17299. type: string
  17300. enumdicname:
  17301. description: 单位名称
  17302. type: string
  17303. lotteryflag:
  17304. description: 摇号标识 - 0:未摇号 1:已摇号
  17305. type: integer
  17306. lotteryqty:
  17307. description: 摇号总量
  17308. type: number
  17309. luckyqty:
  17310. description: 已中签量
  17311. type: number
  17312. marketid:
  17313. description: 市场ID
  17314. type: integer
  17315. maxbuyqty:
  17316. description: 单人最大申购量
  17317. type: number
  17318. maxluckyqty:
  17319. description: 单人最大中签量
  17320. type: number
  17321. pictureurls:
  17322. description: 详情图片(逗号分隔)
  17323. type: string
  17324. placeqty:
  17325. description: 已配售量
  17326. type: number
  17327. presaleapplyid:
  17328. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  17329. example: "0"
  17330. type: string
  17331. presaleqty:
  17332. description: 预售总量
  17333. type: number
  17334. presalestatus:
  17335. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  17336. type: integer
  17337. sellaccountid:
  17338. description: 发行方资金账户ID
  17339. type: integer
  17340. selluserid:
  17341. description: 发行方用户ID
  17342. type: integer
  17343. sellwrtradeorderid:
  17344. description: 发行方卖委托单ID
  17345. type: string
  17346. startdate:
  17347. description: 预售开始日期
  17348. type: string
  17349. takestartdate:
  17350. description: 提货开始日期
  17351. type: string
  17352. thumurls:
  17353. description: 缩略图片(1:1)(逗号分隔)
  17354. type: string
  17355. tradedate:
  17356. description: 交易日
  17357. type: string
  17358. unitid:
  17359. description: 单位ID
  17360. type: integer
  17361. unitprice:
  17362. description: 商品单价
  17363. type: number
  17364. username:
  17365. description: 发行方用户名称
  17366. type: string
  17367. warehousecode:
  17368. description: 仓库代码(仓库简称)
  17369. type: string
  17370. warehouseid:
  17371. description: 仓库ID
  17372. type: integer
  17373. warehousename:
  17374. description: 仓库名称
  17375. type: string
  17376. wrfactortypeid:
  17377. description: 仓单要素类型ID - 根据现货商品\仓库生成
  17378. example: "0"
  17379. type: string
  17380. wrstandardid:
  17381. description: 现货商品ID
  17382. type: integer
  17383. wrstandardname:
  17384. description: 现货商品名称
  17385. type: string
  17386. type: object
  17387. models.WrQuoteOrderMyq:
  17388. properties:
  17389. buyorsell:
  17390. description: 买卖 - 0:买 1:卖
  17391. type: integer
  17392. canbargain:
  17393. description: 是否可议价 - 0:不可 1:可
  17394. type: integer
  17395. canpart:
  17396. description: 是否允许部份摘牌 - 0:不允许 1:允许
  17397. type: integer
  17398. delistminqty:
  17399. description: 起摘数量
  17400. type: number
  17401. deliverygoodscode:
  17402. description: 品种代码
  17403. type: string
  17404. deliverygoodsid:
  17405. description: 品种ID
  17406. type: integer
  17407. deliverygoodsname:
  17408. description: 品种名称
  17409. type: string
  17410. deliverymonth:
  17411. description: 交收月
  17412. type: string
  17413. enumdicname:
  17414. description: 单位名称
  17415. type: string
  17416. fixedprice:
  17417. description: 买(卖)价
  17418. type: number
  17419. goodscode:
  17420. description: 商品合约代码
  17421. type: string
  17422. marginflag:
  17423. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  17424. type: integer
  17425. marginvalue:
  17426. description: 保证金设置值
  17427. type: number
  17428. minivalue:
  17429. description: 现货商品最小变动值
  17430. type: integer
  17431. orderqty:
  17432. description: 买(卖)量(=委托量-成交量)
  17433. type: number
  17434. ordertime:
  17435. description: 委托时间
  17436. type: string
  17437. performancetemplateid:
  17438. description: 履约模板id
  17439. type: integer
  17440. pricemove:
  17441. description: 买(卖)升贴水- 基差
  17442. type: number
  17443. templatename:
  17444. description: 履约模板名称
  17445. type: string
  17446. userid:
  17447. description: 购买方(销售方)用户ID
  17448. type: integer
  17449. username:
  17450. description: 购买方(销售方)
  17451. type: string
  17452. validtime:
  17453. description: 有效期限
  17454. type: string
  17455. validtype:
  17456. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  17457. type: integer
  17458. warehousename:
  17459. description: 仓库名称
  17460. type: string
  17461. wrfactortypeid:
  17462. description: 仓单要素id
  17463. type: string
  17464. wrstandardcode:
  17465. description: 现货商品代码
  17466. type: string
  17467. wrstandardid:
  17468. description: 现货商品ID
  17469. type: integer
  17470. wrstandardname:
  17471. description: 商品名称
  17472. type: string
  17473. wrtradeorderid:
  17474. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  17475. type: string
  17476. wrtypename:
  17477. description: 商品
  17478. type: string
  17479. type: object
  17480. models.WrReckonSpotGoodsTradeSum:
  17481. properties:
  17482. begindate:
  17483. description: 开始日期(结果含开始日期) yyyymmdd
  17484. type: string
  17485. enddate:
  17486. description: 结束日期(结果含结束日期) yyyymmdd
  17487. type: string
  17488. istoday:
  17489. description: 是否当日
  17490. type: boolean
  17491. marketid:
  17492. description: 市场ID
  17493. type: integer
  17494. price:
  17495. description: 价格 = 日成交金额 / 日成交数量
  17496. type: string
  17497. reckondate:
  17498. description: 日期 格式 yyyymmdd
  17499. type: string
  17500. tradeamount:
  17501. description: 日成交金额(当日单方向成交金额)
  17502. type: number
  17503. tradeqty:
  17504. description: 日成交数量(当日单方向成交数量)
  17505. type: number
  17506. wrstandardid:
  17507. description: 现货商品ID
  17508. type: integer
  17509. type: object
  17510. models.WrScfContract:
  17511. properties:
  17512. borroweruserid:
  17513. description: 借款用户ID
  17514. type: integer
  17515. buybackwrpositionqty:
  17516. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  17517. type: number
  17518. closeinterest:
  17519. description: 已结利息 -> 已结费用
  17520. type: number
  17521. currisklevel:
  17522. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  17523. type: integer
  17524. deadline:
  17525. description: 截止日期(yyyyMMdd) -> 借款到期时间
  17526. type: string
  17527. deliverygoodscode:
  17528. description: 品种代码
  17529. type: string
  17530. deliverygoodsid:
  17531. description: 品种ID
  17532. type: integer
  17533. deliverygoodsname:
  17534. description: 品种名称
  17535. type: string
  17536. enumdicname:
  17537. description: 单位名称
  17538. type: string
  17539. financingdays:
  17540. description: 天数(天)
  17541. type: integer
  17542. initmargin:
  17543. description: 保证金 - [仓单回购]
  17544. type: number
  17545. interestamount:
  17546. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  17547. type: number
  17548. interestdebt:
  17549. description: 利息欠款(记录负数) -> 费用欠款
  17550. type: number
  17551. interestminlen:
  17552. description: 最小起息天数
  17553. type: integer
  17554. interestrate:
  17555. description: 利率
  17556. type: number
  17557. interestratemode:
  17558. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  17559. type: integer
  17560. interestsettlemode:
  17561. description: 结息方式 - 1:按日结息 3:按月结息
  17562. type: integer
  17563. interestsettlevalue:
  17564. description: 结息方式值
  17565. type: integer
  17566. isautoloan:
  17567. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  17568. type: integer
  17569. lastcloseinterestday:
  17570. description: 最近结息日(yyyyMMdd)
  17571. type: string
  17572. lenderamount:
  17573. description: 贷款金额 -> 借款金额
  17574. type: number
  17575. lenderuserid:
  17576. description: 贷款方用户ID -> 融出方用户ID
  17577. type: integer
  17578. lenderusername:
  17579. description: 融出方
  17580. type: string
  17581. marginratio:
  17582. description: 保证金比率质押率 - [仓单质押]
  17583. type: number
  17584. marketid:
  17585. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  17586. type: integer
  17587. minivalue:
  17588. description: 现货商品最小变动值
  17589. type: integer
  17590. optioncompare:
  17591. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17592. type: string
  17593. pricemove:
  17594. description: 估值升贴水值
  17595. type: number
  17596. productdetailid:
  17597. description: 产品组合ID
  17598. type: integer
  17599. productid:
  17600. description: 金融产品ID
  17601. type: integer
  17602. productname:
  17603. description: 产品名称
  17604. type: string
  17605. remainamount:
  17606. description: 合同剩余金额 -> 剩余金额
  17607. type: number
  17608. remainwrpositionqty:
  17609. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  17610. type: number
  17611. remark:
  17612. description: 备注
  17613. type: string
  17614. scfcontractid:
  17615. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  17616. type: string
  17617. scfcontractstatus:
  17618. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  17619. 9:违约结束 10:已注销 11:已关闭 99:未提交
  17620. type: integer
  17621. scfcontracttype:
  17622. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  17623. type: integer
  17624. startinterestday:
  17625. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  17626. type: string
  17627. totalinterest:
  17628. description: 已计利息 -> 已计费用
  17629. type: number
  17630. unpaidinterest:
  17631. description: 未结费用
  17632. type: number
  17633. updatetime:
  17634. description: 更新时间
  17635. type: string
  17636. warehouseid:
  17637. description: 仓库ID
  17638. type: integer
  17639. warehousename:
  17640. description: 仓库名称
  17641. type: string
  17642. wrfactortypeid:
  17643. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17644. type: string
  17645. wrfactortypename:
  17646. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17647. type: string
  17648. wrqty:
  17649. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  17650. type: number
  17651. wrstandardcode:
  17652. description: 现货商品代码
  17653. type: string
  17654. wrstandardid:
  17655. description: 现货商品ID
  17656. type: integer
  17657. wrstandardname:
  17658. description: 商品名称
  17659. type: string
  17660. wrtypename:
  17661. description: 商品
  17662. type: string
  17663. type: object
  17664. models.WrScfContractInterest:
  17665. properties:
  17666. closeinterest:
  17667. description: 已结利息
  17668. type: number
  17669. closeintereststatus:
  17670. description: 结息状态 - 1:未结 2:已结
  17671. type: integer
  17672. closetime:
  17673. description: 结息时间
  17674. type: string
  17675. closetradedate:
  17676. description: 结息交易日
  17677. type: string
  17678. creatorid:
  17679. description: 操作人ID
  17680. type: integer
  17681. dayrate:
  17682. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  17683. type: number
  17684. interest:
  17685. description: 利息
  17686. type: number
  17687. interestamount:
  17688. description: 计息金额
  17689. type: number
  17690. interestday:
  17691. description: 计息日(yyyyMMdd)
  17692. type: string
  17693. scfcontractid:
  17694. description: SCF合同ID
  17695. type: string
  17696. scfcontractinterestid:
  17697. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  17698. type: integer
  17699. updatetime:
  17700. description: 更新时间
  17701. type: string
  17702. type: object
  17703. models.WrSearchUser:
  17704. properties:
  17705. userid:
  17706. description: 用户ID
  17707. type: integer
  17708. username:
  17709. description: 用户名称(已脱敏)
  17710. type: string
  17711. username2:
  17712. description: 用户名称(未脱敏)
  17713. type: string
  17714. usertype:
  17715. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  17716. type: integer
  17717. required:
  17718. - username
  17719. type: object
  17720. models.WrSiteColumnDetail:
  17721. properties:
  17722. brief:
  17723. description: 简介
  17724. type: string
  17725. context:
  17726. description: 内容
  17727. type: string
  17728. coverimage:
  17729. description: 封面图片
  17730. type: string
  17731. creaedate:
  17732. description: 创建时间
  17733. type: string
  17734. id:
  17735. description: ID(SEQ_SITE_COLUMNDETAIL)
  17736. type: integer
  17737. istop:
  17738. description: 是否置顶 - 0:不置 1:置顶
  17739. type: integer
  17740. publishdate:
  17741. description: 发布日期
  17742. type: string
  17743. title:
  17744. description: 标题
  17745. type: string
  17746. updatedate:
  17747. description: 修改时间
  17748. type: string
  17749. type: object
  17750. models.WrSpecialMatchOrder:
  17751. properties:
  17752. amount:
  17753. description: 金额 = 数量 * 价格
  17754. type: number
  17755. buyorsell:
  17756. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  17757. type: integer
  17758. cancelqty:
  17759. description: 撤销数量
  17760. type: number
  17761. deliverygoodscode:
  17762. description: 品种代码
  17763. type: string
  17764. deliverygoodsid:
  17765. description: 品种ID
  17766. type: integer
  17767. deliverygoodsname:
  17768. description: 品种名称
  17769. type: string
  17770. enumdicname:
  17771. description: 单位名称
  17772. type: string
  17773. fixedprice:
  17774. description: 固定价格(价格)
  17775. type: number
  17776. haswr:
  17777. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  17778. type: integer
  17779. isspecified:
  17780. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  17781. type: integer
  17782. marketid:
  17783. description: 市场ID
  17784. type: integer
  17785. matchuserid:
  17786. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  17787. type: integer
  17788. matchusername:
  17789. description: 指定方
  17790. type: string
  17791. minivalue:
  17792. description: 现货商品最小变动值
  17793. type: integer
  17794. optioncompare:
  17795. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17796. type: string
  17797. orderqty:
  17798. description: 委托数量
  17799. type: number
  17800. ordertime:
  17801. description: 委托时间
  17802. type: string
  17803. pricemove:
  17804. description: 升贴水(浮动价时填写) - [挂牌]
  17805. type: number
  17806. tradedate:
  17807. description: 交易日(yyyyMMdd)
  17808. type: string
  17809. tradeprice:
  17810. description: 成交价格
  17811. type: number
  17812. tradeqty:
  17813. description: 成交数量
  17814. type: number
  17815. userid:
  17816. description: 用户ID
  17817. type: integer
  17818. username:
  17819. description: 发起方
  17820. type: string
  17821. warehouseid:
  17822. description: 仓库ID
  17823. type: integer
  17824. warehousename:
  17825. description: 仓库名称
  17826. type: string
  17827. wrfactortypeid:
  17828. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17829. type: string
  17830. wrfactortypename:
  17831. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17832. type: string
  17833. wrpricetype:
  17834. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  17835. type: integer
  17836. wrstandardcode:
  17837. description: 现货商品代码
  17838. type: string
  17839. wrstandardid:
  17840. description: 现货商品ID
  17841. type: integer
  17842. wrstandardname:
  17843. description: 商品名称
  17844. type: string
  17845. wrtradeorderid:
  17846. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  17847. type: string
  17848. wrtradeorderstatus:
  17849. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  17850. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  17851. type: integer
  17852. wrtradetype:
  17853. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  17854. type: integer
  17855. wrtypename:
  17856. description: 商品
  17857. type: string
  17858. type: object
  17859. models.WrSpotGroupTradeSum:
  17860. properties:
  17861. deliverygoodscode:
  17862. description: 现货品种代码
  17863. type: string
  17864. deliverygoodsid:
  17865. description: 现货品种ID(SEQ_DELIVERYGOODS)
  17866. type: integer
  17867. deliverygoodsname:
  17868. description: 现货品种名称
  17869. type: string
  17870. lastavgprice:
  17871. description: 上上个交易日价格(前2天价格)
  17872. type: string
  17873. lastreckondate:
  17874. description: 上上个交易日(前2天交易日)
  17875. type: string
  17876. reckondate:
  17877. description: 上个交易日(前1天交易日)
  17878. type: string
  17879. todayavgprice:
  17880. description: 上个交易日价格(前1天价格)
  17881. type: string
  17882. updown:
  17883. description: 涨跌
  17884. type: string
  17885. updownratio:
  17886. description: 涨幅(已格式化, 直接显示即可)
  17887. type: string
  17888. type: object
  17889. models.WrSpotGroupTradeSumDetail:
  17890. properties:
  17891. deliverygoodsid:
  17892. description: 现货商品id
  17893. type: integer
  17894. price:
  17895. description: 价格
  17896. type: number
  17897. reckondate:
  17898. description: 日期(yyymmdd, 如:20211031)
  17899. type: string
  17900. type: object
  17901. models.WrSpotGroupTradeSumEx:
  17902. properties:
  17903. lst:
  17904. description: 指数列表
  17905. items:
  17906. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  17907. type: array
  17908. prereckondate:
  17909. description: 上上个交易日(yyymmdd)
  17910. type: string
  17911. reckondate:
  17912. description: 上个交易日(yyyymmdd)
  17913. type: string
  17914. type: object
  17915. models.WrStandardFactoryItem:
  17916. properties:
  17917. dgfactoryitemid:
  17918. description: 选择项id
  17919. type: integer
  17920. dgfactoryitemvalue:
  17921. description: 要素项值
  17922. type: string
  17923. warehouseid:
  17924. description: 仓库id
  17925. type: integer
  17926. type: object
  17927. models.WrStandardFactoryItemEx:
  17928. properties:
  17929. dgfactoryitemtypeid:
  17930. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  17931. type: integer
  17932. itemlst:
  17933. description: 要素项列表
  17934. items:
  17935. $ref: '#/definitions/models.WrStandardFactoryItem'
  17936. type: array
  17937. itemtypename:
  17938. description: 要素项类型名称
  17939. type: string
  17940. wrstandardid:
  17941. description: 品类
  17942. type: integer
  17943. type: object
  17944. models.WrTradeDetail:
  17945. properties:
  17946. accountid:
  17947. description: 资金账号
  17948. type: integer
  17949. bannerpicurl:
  17950. description: Banner图
  17951. type: string
  17952. begindate:
  17953. description: 开始交易日(yyyymmdd)
  17954. type: string
  17955. buyorsell:
  17956. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  17957. type: integer
  17958. chargevalue:
  17959. description: 手续费
  17960. type: number
  17961. deliverygoodscode:
  17962. description: 品种代码
  17963. type: string
  17964. deliverygoodsid:
  17965. description: 品种ID
  17966. type: integer
  17967. deliverygoodsname:
  17968. description: 品种名称
  17969. type: string
  17970. deliverymonth:
  17971. description: 交收月
  17972. type: string
  17973. enddate:
  17974. description: 结束交易日(yyyymmdd)
  17975. type: string
  17976. enumdicname:
  17977. description: 单位名称
  17978. type: string
  17979. haswr:
  17980. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  17981. type: integer
  17982. marketid:
  17983. description: 市场ID
  17984. type: integer
  17985. matchaccountid:
  17986. description: 对手账号
  17987. type: integer
  17988. matchusername:
  17989. description: 对手方
  17990. type: string
  17991. minivalue:
  17992. description: 现货商品最小变动值
  17993. type: integer
  17994. optioncompare:
  17995. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17996. type: string
  17997. thumurls:
  17998. description: 缩略图
  17999. type: string
  18000. tradedate:
  18001. description: 交易日(yyyyMMdd)
  18002. type: string
  18003. tradeprice:
  18004. description: 成交价格
  18005. type: number
  18006. tradeqty:
  18007. description: 成交数量
  18008. type: number
  18009. tradetime:
  18010. description: 成交时间
  18011. type: string
  18012. userid:
  18013. description: 用户ID
  18014. type: integer
  18015. warehouseid:
  18016. description: 仓库ID
  18017. type: integer
  18018. warehousename:
  18019. description: 仓库名称
  18020. type: string
  18021. wrfactortypeid:
  18022. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18023. type: string
  18024. wrfactortypename:
  18025. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18026. type: string
  18027. wrstandardcode:
  18028. description: 现货商品代码
  18029. type: string
  18030. wrstandardid:
  18031. description: 现货商品ID
  18032. type: integer
  18033. wrstandardname:
  18034. description: 商品名称
  18035. type: string
  18036. wrtradedetailid:
  18037. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  18038. type: string
  18039. wrtradetype:
  18040. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  18041. type: integer
  18042. wrtypename:
  18043. description: 商品
  18044. type: string
  18045. type: object
  18046. models.WrTradeOrderDetail:
  18047. properties:
  18048. buyorsell:
  18049. description: 买卖方向 0-买 1-卖
  18050. type: integer
  18051. goodsid:
  18052. description: 商品id
  18053. type: integer
  18054. orderid:
  18055. description: 委托单号
  18056. type: string
  18057. orderprice:
  18058. description: 委托价格
  18059. type: number
  18060. orderqty:
  18061. description: 委托数量
  18062. type: integer
  18063. userid:
  18064. description: 用户id
  18065. type: integer
  18066. username:
  18067. description: 用户名称(已脱敏)
  18068. type: string
  18069. type: object
  18070. models.WrTypeItem:
  18071. properties:
  18072. name:
  18073. description: 名称
  18074. type: string
  18075. value:
  18076. description: 值
  18077. type: string
  18078. type: object
  18079. models.WrUserFriend:
  18080. properties:
  18081. friendname:
  18082. description: 朋友名称(已脱敏)
  18083. type: string
  18084. frienduserid:
  18085. description: 朋友id
  18086. type: integer
  18087. isfriend:
  18088. description: 是否好友 0-不是 1-是
  18089. type: integer
  18090. userid:
  18091. description: 用户id
  18092. type: integer
  18093. type: object
  18094. models.WrUserReceiptInfo:
  18095. properties:
  18096. address:
  18097. description: 地址[发票类型:企业]
  18098. type: string
  18099. autoid:
  18100. description: AutoID
  18101. type: integer
  18102. contactinfo:
  18103. description: 联系方式
  18104. type: string
  18105. idnum:
  18106. description: 身份证号码[发票类型:个人]
  18107. type: string
  18108. isdefault:
  18109. description: 是否默认地址 - 0:否 1:是
  18110. type: integer
  18111. receiptaccount:
  18112. description: 发票帐号[发票类型:企业]
  18113. type: string
  18114. receiptbank:
  18115. description: 发票开户行[发票类型:企业]
  18116. type: string
  18117. receipttype:
  18118. description: 发票类型 - 1:个人 2:企业
  18119. type: integer
  18120. taxpayerid:
  18121. description: 纳税人识别号
  18122. type: string
  18123. userid:
  18124. description: 用户ID
  18125. type: integer
  18126. username:
  18127. description: 户名(个人姓名或企业名称)
  18128. type: string
  18129. type: object
  18130. models.XHBRAND:
  18131. properties:
  18132. brandid:
  18133. description: 品牌id
  18134. type: integer
  18135. brandname:
  18136. description: 品牌名称
  18137. type: string
  18138. isvalid:
  18139. description: 是否有效 0-无效 1-有效
  18140. type: integer
  18141. type: object
  18142. models.XHDeliveryGoods:
  18143. properties:
  18144. areauserid:
  18145. description: 所属机构
  18146. type: integer
  18147. bdlst:
  18148. description: 品牌列表
  18149. items:
  18150. $ref: '#/definitions/models.XHBRAND'
  18151. type: array
  18152. deliverygoodscode:
  18153. description: 现货品种代码
  18154. type: string
  18155. deliverygoodsid:
  18156. description: 现货品种ID(SEQ_DELIVERYGOODS)
  18157. type: integer
  18158. deliverygoodsname:
  18159. description: 现货品种名称
  18160. type: string
  18161. dgstatus:
  18162. description: 品种状态 - 作废 - 0:未激活 1:正常
  18163. type: integer
  18164. filterSubEmpty:
  18165. description: 过滤下级为空的
  18166. type: integer
  18167. isvalid:
  18168. description: 是否有效 - 0:无效 1:有效
  18169. type: integer
  18170. remark:
  18171. description: 备注
  18172. type: string
  18173. unitid:
  18174. description: 单位id(目前看,数据库中是空值)
  18175. type: integer
  18176. wdlst:
  18177. description: 品类(现货商品)列表
  18178. items:
  18179. $ref: '#/definitions/models.XHWrstandard'
  18180. type: array
  18181. type: object
  18182. models.XHMiddleGoods:
  18183. properties:
  18184. GPLST:
  18185. description: 期货品种列表
  18186. items:
  18187. $ref: '#/definitions/models.TBGoodsGroup'
  18188. type: array
  18189. convertratio:
  18190. description: 拆算系数
  18191. type: number
  18192. costratio:
  18193. description: 成本权重
  18194. type: number
  18195. deliverygoodsid:
  18196. description: 现货商品id
  18197. type: integer
  18198. enumdicname:
  18199. description: 单位名称
  18200. type: string
  18201. middlegoodscode:
  18202. description: 套保品种代码
  18203. type: string
  18204. middlegoodsid:
  18205. description: 套保品种id
  18206. type: integer
  18207. middlegoodsname:
  18208. description: 套保品种名称
  18209. type: string
  18210. unitid:
  18211. description: 单位id
  18212. type: integer
  18213. type: object
  18214. models.XHWrstandard:
  18215. properties:
  18216. bannerpicurl:
  18217. description: banner图
  18218. type: string
  18219. deliverygoodsid:
  18220. description: 品种ID
  18221. type: integer
  18222. enumdicname:
  18223. description: 单位名称
  18224. type: string
  18225. mglst:
  18226. description: 套保品列表
  18227. items:
  18228. $ref: '#/definitions/models.XHMiddleGoods'
  18229. type: array
  18230. pictureurls:
  18231. description: 详情图片(逗号分隔)
  18232. type: string
  18233. thumurls:
  18234. description: 缩略图片(1:1)(逗号分隔)
  18235. type: string
  18236. unitid:
  18237. description: 单位id
  18238. type: integer
  18239. vatrate:
  18240. description: 增值税率
  18241. type: number
  18242. wrstandardcode:
  18243. description: 现货商品代码
  18244. type: string
  18245. wrstandardid:
  18246. description: 现货商品ID(SEQ_WRSTANDARD)
  18247. type: integer
  18248. wrstandardname:
  18249. description: 现货商品名称
  18250. type: string
  18251. type: object
  18252. models.XhcpSellBackApplyEx:
  18253. properties:
  18254. applyremark:
  18255. description: 申请备注
  18256. type: string
  18257. expirytype:
  18258. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  18259. type: integer
  18260. goodsspec:
  18261. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  18262. type: integer
  18263. holeflag:
  18264. description: 是否破洞[原封] - 1:无破洞 2:破洞
  18265. type: integer
  18266. isunopened:
  18267. description: 是否原封 - 1:否 2:是
  18268. type: integer
  18269. mpflag:
  18270. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  18271. type: integer
  18272. openflag:
  18273. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  18274. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  18275. type: integer
  18276. phonenum:
  18277. description: 联系电话
  18278. type: string
  18279. userid:
  18280. description: 所属用户ID
  18281. type: integer
  18282. zpflag:
  18283. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  18284. type: integer
  18285. required:
  18286. - userid
  18287. type: object
  18288. models.Xhcpsellbackapply:
  18289. properties:
  18290. applyid:
  18291. description: 申请人
  18292. type: integer
  18293. applyremark:
  18294. description: 申请备注
  18295. type: string
  18296. applysrc:
  18297. description: 申请来源 - 1:管理端 2:终端
  18298. type: integer
  18299. applystatus:
  18300. description: 申请状态 - 1:待确认 2:已处理
  18301. type: integer
  18302. applytime:
  18303. description: 申请时间
  18304. type: string
  18305. auditremark:
  18306. description: 审核备注
  18307. type: string
  18308. auditsrc:
  18309. description: 审核来源 - 1:管理端 2:终端
  18310. type: integer
  18311. expirytype:
  18312. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  18313. type: integer
  18314. goodsspec:
  18315. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  18316. type: integer
  18317. holeflag:
  18318. description: 是否破洞[原封] - 1:无破洞 2:破洞
  18319. type: integer
  18320. isunopened:
  18321. description: 是否原封 - 1:否 2:是
  18322. type: integer
  18323. mpflag:
  18324. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  18325. type: integer
  18326. openflag:
  18327. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  18328. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  18329. type: integer
  18330. phonenum:
  18331. description: 联系电话
  18332. type: string
  18333. sellbackapplyid:
  18334. description: 回收申请ID - SEQ_XHCP_SELLBACKAPPLY
  18335. type: string
  18336. userid:
  18337. description: 所属用户ID
  18338. type: integer
  18339. zpflag:
  18340. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  18341. type: integer
  18342. required:
  18343. - userid
  18344. type: object
  18345. order.QueryHisTradeDetailRsp:
  18346. properties:
  18347. accountid:
  18348. description: 账户ID[报价币种]
  18349. type: integer
  18350. advanceratio:
  18351. description: 首付比率
  18352. type: number
  18353. buildtype:
  18354. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  18355. type: integer
  18356. buyorsell:
  18357. description: 方向 - 0:买 1:卖
  18358. type: integer
  18359. charge:
  18360. description: 手续费
  18361. type: number
  18362. closecharge:
  18363. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  18364. type: number
  18365. closeexchagechargevalue:
  18366. description: 平仓交易所手续费设置值
  18367. type: number
  18368. closefeealgorithm:
  18369. description: 平仓手续费收取方式 1:比率 2:固定
  18370. type: integer
  18371. closememberchargevalue:
  18372. description: 平仓会员手续费设置值
  18373. type: number
  18374. closepl:
  18375. description: 平仓盈亏
  18376. type: number
  18377. closepl2:
  18378. description: 平仓盈亏[逐笔]
  18379. type: number
  18380. closeqty:
  18381. description: 平仓数量(先建后平操作 需要记录)
  18382. type: number
  18383. creditamount:
  18384. description: 授信金额
  18385. type: number
  18386. decimalplace:
  18387. description: 商品报价小数位
  18388. type: integer
  18389. enumdicname:
  18390. description: 单位名称
  18391. type: string
  18392. gcaccountid:
  18393. description: 账户ID[合约币种]
  18394. type: integer
  18395. goodscode:
  18396. description: 商品代码
  18397. type: string
  18398. goodsid:
  18399. description: 商品ID
  18400. type: integer
  18401. goodsname:
  18402. description: 商品名称
  18403. type: string
  18404. goodunitid:
  18405. description: 商品单位id
  18406. type: integer
  18407. histradedate:
  18408. description: 历史交易日
  18409. type: string
  18410. intclosepl:
  18411. description: 整型盈亏(用于交易结算试算平衡-收益权)
  18412. type: integer
  18413. isconfirmexercise:
  18414. description: 是否确认行权- 0:否 1:是
  18415. type: integer
  18416. ismain:
  18417. description: 是否主单 - 0:不是 1:是
  18418. type: integer
  18419. ispreexercise:
  18420. description: 是否预申报- 0:否 1:是
  18421. type: integer
  18422. isreckoned:
  18423. description: 是否结算 - 0:未结算 1:已结算
  18424. type: integer
  18425. isvaliddata:
  18426. description: 是否有效 - 0:无效 1:有效
  18427. type: integer
  18428. listingselecttype:
  18429. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  18430. type: integer
  18431. marketid:
  18432. description: 市场ID
  18433. type: integer
  18434. marketname:
  18435. description: 市场名称
  18436. type: string
  18437. matchaccountid:
  18438. description: 对手账号id
  18439. type: integer
  18440. memberuserid:
  18441. description: 会员id 个人投资者 需要填写
  18442. type: integer
  18443. opencharge:
  18444. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  18445. type: number
  18446. openexchagechargevalue:
  18447. description: 建仓交易所手续费设置值
  18448. type: number
  18449. openfeealgorithm:
  18450. description: 建仓手续费收取方式 1:比率 2:固定
  18451. type: integer
  18452. openmemberchargevalue:
  18453. description: 建仓会员手续费设置值
  18454. type: number
  18455. openqty:
  18456. description: 开仓数量(先建后平操作 需要记录)
  18457. type: number
  18458. optiontype:
  18459. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  18460. type: integer
  18461. orderid:
  18462. description: 委托单号
  18463. type: string
  18464. payamount:
  18465. description: 支付金额(付款金额)
  18466. type: number
  18467. performanceplanid:
  18468. description: 履约计划ID[期权]
  18469. type: integer
  18470. performancestatus:
  18471. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  18472. type: integer
  18473. preexerciseprice:
  18474. description: 预申报价格
  18475. type: number
  18476. premium:
  18477. description: 权利金 - [持仓单的权利金]
  18478. type: number
  18479. qtydecimalplace:
  18480. description: 商品报价小数位
  18481. type: integer
  18482. recvamount:
  18483. description: 到账金额 = 成交金额 - 手续费
  18484. type: number
  18485. relatedouttradeid:
  18486. description: 关联外部成交单ID
  18487. type: integer
  18488. status:
  18489. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  18490. type: integer
  18491. totalamount:
  18492. description: 订单总额 = 成交金额 + 手续费
  18493. type: number
  18494. tradeamount:
  18495. description: 成交金额[账户币种,用于所有权]
  18496. type: number
  18497. tradedate:
  18498. description: 交易日(yyyyMMdd)
  18499. type: string
  18500. tradeid:
  18501. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18502. type: string
  18503. trademode:
  18504. description: 交易模式
  18505. type: integer
  18506. tradeprice:
  18507. description: 成交价格
  18508. type: number
  18509. tradeproperty:
  18510. description: 交易属性
  18511. type: integer
  18512. tradeqty:
  18513. description: 成交数量
  18514. type: number
  18515. tradetime:
  18516. description: 成交时间
  18517. type: string
  18518. tradetype:
  18519. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  18520. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  18521. type: integer
  18522. required:
  18523. - accountid
  18524. - buyorsell
  18525. - goodsid
  18526. - histradedate
  18527. - marketid
  18528. - memberuserid
  18529. - orderid
  18530. - tradeamount
  18531. - tradedate
  18532. - tradeid
  18533. - tradeprice
  18534. - tradeqty
  18535. - tradetime
  18536. type: object
  18537. order.QueryHisTradeOrderDetailRsp:
  18538. properties:
  18539. accountid:
  18540. description: 账户ID[报价币种]
  18541. type: integer
  18542. buildtype:
  18543. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  18544. type: integer
  18545. buyorsell:
  18546. description: 买卖 - 0:买 1:卖
  18547. type: integer
  18548. cancelorderid:
  18549. description: 撤单单号(撤单时填写)
  18550. type: string
  18551. cancelqty:
  18552. description: 撤单数量
  18553. type: number
  18554. clientordertime:
  18555. description: 客户端委托时间
  18556. type: string
  18557. clientticket:
  18558. description: 客户端流水号
  18559. type: string
  18560. clienttype:
  18561. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  18562. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  18563. type: integer
  18564. closeexchagechargevalue:
  18565. description: 平仓交易所手续费设置值
  18566. type: number
  18567. closefeealgorithm:
  18568. description: 平仓手续费收取方式 1:比率 2:固定
  18569. type: integer
  18570. closefreezecharge:
  18571. description: 平仓冻结手续费(先建后平操作,需要记录)
  18572. type: number
  18573. closememberchargevalue:
  18574. description: 平仓会员手续费设置值
  18575. type: number
  18576. closeqty:
  18577. description: 平仓数量(先建后平操作 需要记录)
  18578. type: number
  18579. closetradeqty:
  18580. description: 平仓成交数量(先建后平操作,需要记录)
  18581. type: number
  18582. closeunfreezecharge:
  18583. description: 平仓解冻手续费(先建后平操作,需要记录)
  18584. type: number
  18585. decimalplace:
  18586. description: 商品报价小数位
  18587. type: integer
  18588. delistingtype:
  18589. description: 摘牌类型 - 1:价格最优 2:点选成交
  18590. type: integer
  18591. enumdicname:
  18592. description: 单位名称
  18593. type: string
  18594. freezecharge:
  18595. description: 冻结手续费
  18596. type: number
  18597. freezemargin:
  18598. description: 冻结保证金(冻结交易金额)
  18599. type: number
  18600. gcaccountid:
  18601. description: 账户ID[合约币种]
  18602. type: integer
  18603. goodscode:
  18604. description: 商品代码
  18605. type: string
  18606. goodsid:
  18607. description: 商品ID
  18608. type: integer
  18609. goodsname:
  18610. description: 商品名称
  18611. type: string
  18612. goodunitid:
  18613. description: 商品单位id
  18614. type: integer
  18615. histradedate:
  18616. description: 历史交易日
  18617. type: string
  18618. isconfirmexercise:
  18619. description: 是否确认行权- 0:否 1:是
  18620. type: integer
  18621. ispreexercise:
  18622. description: 是否预申报- 0:否 1:是
  18623. type: integer
  18624. isvaliddata:
  18625. description: 是否有效 - 0:无效 1:有效
  18626. type: integer
  18627. listingselecttype:
  18628. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  18629. type: integer
  18630. marginalgorithm:
  18631. description: 保证金收取方式 1:比率 2:固定
  18632. type: integer
  18633. marginvalue:
  18634. description: 即市保证金设置值
  18635. type: number
  18636. marketid:
  18637. description: 市场ID
  18638. type: integer
  18639. marketmaxsub:
  18640. description: 市价最大偏移范围
  18641. type: number
  18642. marketname:
  18643. description: 市场名称
  18644. type: string
  18645. memberuserid:
  18646. description: 所属会员UserID
  18647. type: integer
  18648. openexchagechargevalue:
  18649. description: 建仓交易所手续费设置值
  18650. type: number
  18651. openfeealgorithm:
  18652. description: 建仓手续费收取方式 1:比率 2:固定
  18653. type: integer
  18654. openfreezecharge:
  18655. description: 开仓冻结手续费(先建后平操作,需要记录)
  18656. type: number
  18657. openmemberchargevalue:
  18658. description: 建仓会员手续费设置值
  18659. type: number
  18660. openqty:
  18661. description: 开仓数量(先建后平操作,需要记录)
  18662. type: number
  18663. opentradeqty:
  18664. description: 开仓成交数量(先建后平操作,需要记录)
  18665. type: number
  18666. openunfreezecharge:
  18667. description: 开仓解冻手续费(先建后平操作,需要记录)
  18668. type: number
  18669. operatetype:
  18670. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  18671. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  18672. 15:管理端协议转让
  18673. type: integer
  18674. operatorid:
  18675. description: 登录账号(LoginID)
  18676. type: integer
  18677. optiontype:
  18678. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  18679. type: integer
  18680. orderid:
  18681. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18682. type: string
  18683. orderprice:
  18684. description: 委托价格
  18685. type: number
  18686. orderqty:
  18687. description: 委托数量
  18688. type: number
  18689. ordersrc:
  18690. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  18691. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  18692. type: integer
  18693. orderstatus:
  18694. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  18695. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  18696. 16:成交失败违约(荷兰式竞拍专用)
  18697. type: integer
  18698. ordertime:
  18699. description: 委托时间
  18700. type: string
  18701. preexerciseprice:
  18702. description: 预申报价格
  18703. type: number
  18704. premium:
  18705. description: 权利金
  18706. type: number
  18707. preorderid:
  18708. description: 关联预埋单号(止盈止损单时填写)
  18709. type: string
  18710. pricemode:
  18711. description: '取价方式 - 1:市价 2: 限价'
  18712. type: integer
  18713. qtydecimalplace:
  18714. description: 成交量小数位
  18715. type: integer
  18716. quoteid:
  18717. description: 报价单ID
  18718. type: integer
  18719. relatedid:
  18720. description: 关联单号(交割单)
  18721. type: string
  18722. retcode:
  18723. description: 错误代码
  18724. type: integer
  18725. sessionid:
  18726. description: 会话ID
  18727. type: integer
  18728. tradedate:
  18729. description: 交易日(yyyyMMdd)
  18730. type: string
  18731. trademode:
  18732. description: 交易模式
  18733. type: integer
  18734. tradeproperty:
  18735. description: 交易属性
  18736. type: integer
  18737. tradeqty:
  18738. description: 成交数量
  18739. type: number
  18740. unfreezecharge:
  18741. description: 解冻手续费
  18742. type: number
  18743. unfreezemargin:
  18744. description: 解冻保证金
  18745. type: number
  18746. updatetime:
  18747. description: 更新时间
  18748. type: string
  18749. uuid:
  18750. description: 发起端唯一id
  18751. type: string
  18752. validtime:
  18753. description: 有效期限
  18754. type: string
  18755. validtype:
  18756. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  18757. type: integer
  18758. volumetype:
  18759. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  18760. type: integer
  18761. required:
  18762. - accountid
  18763. - buildtype
  18764. - buyorsell
  18765. - goodsid
  18766. - histradedate
  18767. - marketid
  18768. - memberuserid
  18769. - operatetype
  18770. - orderid
  18771. - orderqty
  18772. - ordertime
  18773. - pricemode
  18774. - tradedate
  18775. - validtype
  18776. type: object
  18777. order.QueryTradeDetailRsp:
  18778. properties:
  18779. accountid:
  18780. description: 账户ID[报价币种]
  18781. type: integer
  18782. advanceratio:
  18783. description: 首付比率
  18784. type: number
  18785. buildtype:
  18786. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  18787. type: integer
  18788. buyorsell:
  18789. description: 方向 - 0:买 1:卖
  18790. type: integer
  18791. charge:
  18792. description: 手续费
  18793. type: number
  18794. closecharge:
  18795. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  18796. type: number
  18797. closeexchagechargevalue:
  18798. description: 平仓交易所手续费设置值
  18799. type: number
  18800. closefeealgorithm:
  18801. description: 平仓手续费收取方式 1:比率 2:固定
  18802. type: integer
  18803. closememberchargevalue:
  18804. description: 平仓会员手续费设置值
  18805. type: number
  18806. closepl:
  18807. description: 平仓盈亏
  18808. type: number
  18809. closepl2:
  18810. description: 平仓盈亏[逐笔]
  18811. type: number
  18812. closeqty:
  18813. description: 平仓数量(先建后平操作 需要记录)
  18814. type: number
  18815. creditamount:
  18816. description: 授信金额
  18817. type: number
  18818. decimalplace:
  18819. description: 商品报价小数位
  18820. type: integer
  18821. enumdicname:
  18822. description: 单位名称
  18823. type: string
  18824. gcaccountid:
  18825. description: 账户ID[合约币种]
  18826. type: integer
  18827. goodscode:
  18828. description: 商品代码
  18829. type: string
  18830. goodsid:
  18831. description: 商品ID
  18832. type: integer
  18833. goodsname:
  18834. description: 商品名称
  18835. type: string
  18836. goodunitid:
  18837. description: 商品单位id
  18838. type: integer
  18839. intclosepl:
  18840. description: 整型盈亏(用于交易结算试算平衡-收益权)
  18841. type: integer
  18842. isconfirmexercise:
  18843. description: 是否确认行权- 0:否 1:是
  18844. type: integer
  18845. ismain:
  18846. description: 是否主单 - 0:不是 1:是
  18847. type: integer
  18848. ispreexercise:
  18849. description: 是否预申报- 0:否 1:是
  18850. type: integer
  18851. isreckoned:
  18852. description: 是否结算 - 0:未结算 1:已结算
  18853. type: integer
  18854. listingselecttype:
  18855. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  18856. type: integer
  18857. marketid:
  18858. description: 市场ID
  18859. type: integer
  18860. marketname:
  18861. description: 市场名称
  18862. type: string
  18863. matchaccountid:
  18864. description: 对手账号id
  18865. type: integer
  18866. memberuserid:
  18867. description: 会员id 个人投资者 需要填写
  18868. type: integer
  18869. opencharge:
  18870. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  18871. type: number
  18872. openexchagechargevalue:
  18873. description: 建仓交易所手续费设置值
  18874. type: number
  18875. openfeealgorithm:
  18876. description: 建仓手续费收取方式 1:比率 2:固定
  18877. type: integer
  18878. openmemberchargevalue:
  18879. description: 建仓会员手续费设置值
  18880. type: number
  18881. openqty:
  18882. description: 开仓数量(先建后平操作 需要记录)
  18883. type: number
  18884. optiontype:
  18885. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  18886. type: integer
  18887. orderid:
  18888. description: 委托单号
  18889. type: string
  18890. payamount:
  18891. description: 支付金额(付款金额)
  18892. type: number
  18893. performanceplanid:
  18894. description: 履约计划ID[期权]
  18895. type: integer
  18896. performancestatus:
  18897. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  18898. type: integer
  18899. preexerciseprice:
  18900. description: 预申报价格
  18901. type: number
  18902. premium:
  18903. description: 权利金 - [持仓单的权利金]
  18904. type: number
  18905. qtydecimalplace:
  18906. description: 商品报价小数位
  18907. type: integer
  18908. recvamount:
  18909. description: 到账金额 = 成交金额 - 手续费
  18910. type: number
  18911. relatedouttradeid:
  18912. description: 关联外部成交单ID
  18913. type: integer
  18914. status:
  18915. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  18916. type: integer
  18917. totalamount:
  18918. description: 订单总额 = 成交金额 + 手续费
  18919. type: number
  18920. tradeamount:
  18921. description: 成交金额[账户币种,用于所有权]
  18922. type: number
  18923. tradedate:
  18924. description: 交易日(yyyyMMdd)
  18925. type: string
  18926. tradeid:
  18927. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18928. type: string
  18929. trademode:
  18930. description: 交易模式
  18931. type: integer
  18932. tradeprice:
  18933. description: 成交价格
  18934. type: number
  18935. tradeproperty:
  18936. description: 交易属性
  18937. type: integer
  18938. tradeqty:
  18939. description: 成交数量
  18940. type: number
  18941. tradetime:
  18942. description: 成交时间
  18943. type: string
  18944. tradetype:
  18945. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  18946. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  18947. type: integer
  18948. required:
  18949. - accountid
  18950. - buyorsell
  18951. - goodsid
  18952. - marketid
  18953. - memberuserid
  18954. - orderid
  18955. - tradeamount
  18956. - tradedate
  18957. - tradeid
  18958. - tradeprice
  18959. - tradeqty
  18960. - tradetime
  18961. type: object
  18962. order.QueryTradeOrderDetailRsp:
  18963. properties:
  18964. accountid:
  18965. description: 账户ID[报价币种]
  18966. type: integer
  18967. buildtype:
  18968. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  18969. type: integer
  18970. buyorsell:
  18971. description: 买卖 - 0:买 1:卖
  18972. type: integer
  18973. cancelorderid:
  18974. description: 撤单单号(撤单时填写)
  18975. type: string
  18976. cancelqty:
  18977. description: 撤单数量
  18978. type: number
  18979. clienttype:
  18980. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  18981. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  18982. type: integer
  18983. closefreezecharge:
  18984. description: 平仓冻结手续费(先建后平操作,需要记录)
  18985. type: number
  18986. closeqty:
  18987. description: 平仓数量(先建后平操作 需要记录)
  18988. type: number
  18989. closetradeqty:
  18990. description: 平仓成交数量(先建后平操作,需要记录)
  18991. type: number
  18992. closeunfreezecharge:
  18993. description: 平仓解冻手续费(先建后平操作,需要记录)
  18994. type: number
  18995. decimalplace:
  18996. description: 商品报价小数位
  18997. type: integer
  18998. delistingtype:
  18999. description: 摘牌类型 - 1:价格最优 2:点选成交
  19000. type: integer
  19001. enableqty:
  19002. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  19003. type: number
  19004. enumdicname:
  19005. description: 单位名称
  19006. type: string
  19007. freezecharge:
  19008. description: 冻结手续费
  19009. type: number
  19010. freezemargin:
  19011. description: 冻结保证金(冻结交易金额)
  19012. type: number
  19013. goodscode:
  19014. description: 商品代码
  19015. type: string
  19016. goodsid:
  19017. description: 商品ID
  19018. type: integer
  19019. goodsname:
  19020. description: 商品名称
  19021. type: string
  19022. goodunitid:
  19023. description: 商品单位id
  19024. type: integer
  19025. listingselecttype:
  19026. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  19027. type: integer
  19028. marketid:
  19029. description: 市场ID
  19030. type: integer
  19031. marketname:
  19032. description: 市场名称
  19033. type: string
  19034. openfreezecharge:
  19035. description: 开仓冻结手续费(先建后平操作,需要记录)
  19036. type: number
  19037. openqty:
  19038. description: 开仓数量(先建后平操作,需要记录)
  19039. type: number
  19040. opentradeqty:
  19041. description: 开仓成交数量(先建后平操作,需要记录)
  19042. type: number
  19043. openunfreezecharge:
  19044. description: 开仓解冻手续费(先建后平操作,需要记录)
  19045. type: number
  19046. operatetype:
  19047. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  19048. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  19049. 15:管理端协议转让
  19050. type: integer
  19051. operatorid:
  19052. description: 登录账号(LoginID)
  19053. type: integer
  19054. orderid:
  19055. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  19056. type: string
  19057. orderprice:
  19058. description: 委托价格
  19059. type: number
  19060. orderqty:
  19061. description: 委托数量
  19062. type: number
  19063. ordersrc:
  19064. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  19065. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  19066. type: integer
  19067. orderstatus:
  19068. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  19069. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  19070. 16:成交失败违约(荷兰式竞拍专用)
  19071. type: integer
  19072. ordertime:
  19073. description: 委托时间
  19074. type: string
  19075. preorderid:
  19076. description: 关联预埋单号(止盈止损单时填写)
  19077. type: string
  19078. pricemode:
  19079. description: '取价方式 - 1:市价 2: 限价'
  19080. type: integer
  19081. qtydecimalplace:
  19082. description: 商品报价小数位
  19083. type: integer
  19084. relatedid:
  19085. description: 关联单号(交割单)
  19086. type: string
  19087. tradedate:
  19088. description: 交易日(yyyyMMdd)
  19089. type: string
  19090. trademode:
  19091. description: 交易模式
  19092. type: integer
  19093. tradeqty:
  19094. description: 成交数量
  19095. type: number
  19096. unfreezecharge:
  19097. description: 解冻手续费
  19098. type: number
  19099. unfreezemargin:
  19100. description: 解冻保证金
  19101. type: number
  19102. validtime:
  19103. description: 有效期限
  19104. type: string
  19105. validtype:
  19106. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  19107. type: integer
  19108. volumetype:
  19109. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  19110. type: integer
  19111. required:
  19112. - accountid
  19113. - buildtype
  19114. - buyorsell
  19115. - goodsid
  19116. - marketid
  19117. - operatetype
  19118. - orderqty
  19119. - ordertime
  19120. - pricemode
  19121. - tradedate
  19122. - validtype
  19123. type: object
  19124. order.QueryTradePositionRsp:
  19125. properties:
  19126. accountid:
  19127. description: 资金账户
  19128. type: integer
  19129. agreeunit:
  19130. description: 合约单位
  19131. type: number
  19132. averageprice:
  19133. description: 持仓均价
  19134. type: number
  19135. buyorsell:
  19136. description: 方向 - 0:买 1:卖
  19137. type: integer
  19138. closetotalqty:
  19139. description: 平仓总数量
  19140. type: number
  19141. curholderamount:
  19142. description: 当前持仓总金额[商品币种]
  19143. type: number
  19144. curpositionqty:
  19145. description: 当前持仓总数量
  19146. type: number
  19147. currencyid:
  19148. description: 报价货币ID
  19149. type: integer
  19150. curtdposition:
  19151. description: 期末今日头寸
  19152. type: number
  19153. decimalplace:
  19154. description: 报价小数位
  19155. type: integer
  19156. enableqty:
  19157. description: 可用量
  19158. type: number
  19159. fretdposition:
  19160. description: 冻结今日头寸
  19161. type: number
  19162. frozenqty:
  19163. description: 持仓冻结数量
  19164. type: number
  19165. goodscode:
  19166. description: 商品代码
  19167. type: string
  19168. goodsid:
  19169. description: 商品Id
  19170. type: integer
  19171. goodsname:
  19172. description: 商品名称
  19173. type: string
  19174. goodunit:
  19175. description: 报价单位
  19176. type: string
  19177. goodunitid:
  19178. description: 报价单位ID
  19179. type: integer
  19180. holderamount:
  19181. description: 期初持仓总金额[商品币种]
  19182. type: number
  19183. lastprice:
  19184. description: 最新价
  19185. type: number
  19186. marketamount:
  19187. description: 市值
  19188. type: number
  19189. marketid:
  19190. description: 所属市场ID
  19191. type: integer
  19192. openreqqty:
  19193. description: 开仓申请数量(用于比较最大持仓数量)
  19194. type: number
  19195. opentotalqty:
  19196. description: 开仓总数量
  19197. type: number
  19198. otherfrozenqty:
  19199. description: 持仓其他冻结数量(交割冻结)
  19200. type: number
  19201. positionpl:
  19202. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  19203. * 合约单位
  19204. type: number
  19205. positionplrate:
  19206. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  19207. type: number
  19208. positionqty:
  19209. description: 期初持仓数量
  19210. type: number
  19211. qtydecimalplace:
  19212. description: 成交量小数位
  19213. type: integer
  19214. refgoodscode:
  19215. description: 参考商品代码
  19216. type: string
  19217. refgoodsid:
  19218. description: 参考商品ID
  19219. type: integer
  19220. tnqty:
  19221. description: T+N冻结总量
  19222. type: number
  19223. tnusedqty:
  19224. description: T+N使用量(可以使用T+N的冻结数量)
  19225. type: number
  19226. trademode:
  19227. description: 交易模式
  19228. type: integer
  19229. tradeproperty:
  19230. description: 交易属性
  19231. type: integer
  19232. usedmargin:
  19233. description: 占用保证金[商品币种]
  19234. type: number
  19235. required:
  19236. - goodsid
  19237. type: object
  19238. pb.GoodsMarginCfgStruct:
  19239. properties:
  19240. CustomerTypeID:
  19241. description: 投资者客户类型
  19242. type: integer
  19243. GoodsID:
  19244. description: 商品ID
  19245. type: integer
  19246. IsDefault:
  19247. description: 是否默认标志位
  19248. type: integer
  19249. LockMarginValue:
  19250. description: 锁仓保证金
  19251. type: number
  19252. MarginAlgorithm:
  19253. description: 保证金计算方式
  19254. type: integer
  19255. MarketMarginValue:
  19256. description: 即市保证金值
  19257. type: number
  19258. RealMarginAlgorithm:
  19259. description: 实付保证金计算方式
  19260. type: integer
  19261. RealMarginValue:
  19262. description: 实付比例
  19263. type: number
  19264. ReckonMarginValue:
  19265. description: 结算保证金值
  19266. type: number
  19267. type: object
  19268. quote.HistoryData:
  19269. properties:
  19270. c:
  19271. description: 收盘价
  19272. type: number
  19273. f:
  19274. description: 是否补充数据
  19275. type: boolean
  19276. h:
  19277. description: 最高价
  19278. type: number
  19279. hv:
  19280. description: 持仓量
  19281. type: integer
  19282. l:
  19283. description: 最低价
  19284. type: number
  19285. o:
  19286. description: 开盘价
  19287. type: number
  19288. s:
  19289. description: 结算价,日线周期(包括)以上才有
  19290. type: number
  19291. ts:
  19292. description: 时间
  19293. type: string
  19294. tt:
  19295. description: 总金额
  19296. type: number
  19297. tv:
  19298. description: 总量(成交量)
  19299. type: integer
  19300. type: object
  19301. quote.HistoryTikData:
  19302. properties:
  19303. AV:
  19304. description: 卖量
  19305. type: integer
  19306. Ask:
  19307. description: 卖价
  19308. type: number
  19309. BV:
  19310. description: 买量
  19311. type: integer
  19312. Bid:
  19313. description: 买价
  19314. type: number
  19315. HI:
  19316. description: 单笔持仓
  19317. type: integer
  19318. HV:
  19319. description: 持仓量
  19320. type: integer
  19321. PE:
  19322. description: 现价
  19323. type: number
  19324. TDR:
  19325. description: 交易方向,0:买 1:卖
  19326. type: integer
  19327. TK:
  19328. description: 交易类型
  19329. type: integer
  19330. TS:
  19331. description: 行情时间文本
  19332. type: string
  19333. TT:
  19334. description: 现金额
  19335. type: number
  19336. Vol:
  19337. description: 现量
  19338. type: integer
  19339. type: object
  19340. quote.QueryQuoteDayRsp:
  19341. properties:
  19342. ask:
  19343. description: 卖1
  19344. type: number
  19345. ask2:
  19346. description: 卖2
  19347. type: number
  19348. ask3:
  19349. description: 卖3
  19350. type: number
  19351. ask4:
  19352. description: 卖4
  19353. type: number
  19354. ask5:
  19355. description: 卖5
  19356. type: number
  19357. ask6:
  19358. description: 卖6
  19359. type: number
  19360. ask7:
  19361. description: 卖7
  19362. type: number
  19363. ask8:
  19364. description: 卖8
  19365. type: number
  19366. ask9:
  19367. description: 卖9
  19368. type: number
  19369. ask10:
  19370. description: 卖10
  19371. type: number
  19372. askorderid:
  19373. description: 卖单号1
  19374. type: integer
  19375. askorderid2:
  19376. description: 卖单号2
  19377. type: integer
  19378. askorderid3:
  19379. description: 卖单号3
  19380. type: integer
  19381. askorderid4:
  19382. description: 卖单号4
  19383. type: integer
  19384. askorderid5:
  19385. description: 卖单号5
  19386. type: integer
  19387. askordervolume:
  19388. description: 卖单量1
  19389. type: integer
  19390. askordervolume2:
  19391. description: 卖单量2
  19392. type: integer
  19393. askordervolume3:
  19394. description: 卖单量3
  19395. type: integer
  19396. askordervolume4:
  19397. description: 卖单量4
  19398. type: integer
  19399. askordervolume5:
  19400. description: 卖单量5
  19401. type: integer
  19402. askordervolume6:
  19403. description: 卖单量6
  19404. type: integer
  19405. askordervolume7:
  19406. description: 卖单量7
  19407. type: integer
  19408. askordervolume8:
  19409. description: 卖单量8
  19410. type: integer
  19411. askordervolume9:
  19412. description: 卖单量9
  19413. type: integer
  19414. askordervolume10:
  19415. description: 卖单量10
  19416. type: integer
  19417. askqueueinfo:
  19418. description: 大利市卖港股用
  19419. type: string
  19420. askvolume:
  19421. description: 卖量1
  19422. type: integer
  19423. askvolume2:
  19424. description: 卖量2
  19425. type: integer
  19426. askvolume3:
  19427. description: 卖量3
  19428. type: integer
  19429. askvolume4:
  19430. description: 卖量4
  19431. type: integer
  19432. askvolume5:
  19433. description: 卖量5
  19434. type: integer
  19435. askvolume6:
  19436. description: 卖量6
  19437. type: integer
  19438. askvolume7:
  19439. description: 卖量7
  19440. type: integer
  19441. askvolume8:
  19442. description: 卖量8
  19443. type: integer
  19444. askvolume9:
  19445. description: 卖量9
  19446. type: integer
  19447. askvolume10:
  19448. description: 卖量10
  19449. type: integer
  19450. averageprice:
  19451. description: 均价
  19452. type: number
  19453. bid:
  19454. description: 买1
  19455. type: number
  19456. bid2:
  19457. description: 买2
  19458. type: number
  19459. bid3:
  19460. description: 买3
  19461. type: number
  19462. bid4:
  19463. description: 买4
  19464. type: number
  19465. bid5:
  19466. description: 买5
  19467. type: number
  19468. bid6:
  19469. description: 买6
  19470. type: number
  19471. bid7:
  19472. description: 买7
  19473. type: number
  19474. bid8:
  19475. description: 买8
  19476. type: number
  19477. bid9:
  19478. description: 买9
  19479. type: number
  19480. bid10:
  19481. description: 买10
  19482. type: number
  19483. bidorderid:
  19484. description: 买单号1
  19485. type: integer
  19486. bidorderid2:
  19487. description: 买单号2
  19488. type: integer
  19489. bidorderid3:
  19490. description: 买单号3
  19491. type: integer
  19492. bidorderid4:
  19493. description: 买单号4
  19494. type: integer
  19495. bidorderid5:
  19496. description: 买单号5
  19497. type: integer
  19498. bidordervolume:
  19499. description: 买单量1
  19500. type: integer
  19501. bidordervolume2:
  19502. description: 买单量2
  19503. type: integer
  19504. bidordervolume3:
  19505. description: 买单量3
  19506. type: integer
  19507. bidordervolume4:
  19508. description: 买单量4
  19509. type: integer
  19510. bidordervolume5:
  19511. description: 买单量5
  19512. type: integer
  19513. bidordervolume6:
  19514. description: 买单量6
  19515. type: integer
  19516. bidordervolume7:
  19517. description: 买单量7
  19518. type: integer
  19519. bidordervolume8:
  19520. description: 买单量8
  19521. type: integer
  19522. bidordervolume9:
  19523. description: 买单量9
  19524. type: integer
  19525. bidordervolume10:
  19526. description: 买单量10
  19527. type: integer
  19528. bidqueueinfo:
  19529. description: 大利市买港股用
  19530. type: string
  19531. bidvolume:
  19532. description: 买量1
  19533. type: integer
  19534. bidvolume2:
  19535. description: 买量2
  19536. type: integer
  19537. bidvolume3:
  19538. description: 买量3
  19539. type: integer
  19540. bidvolume4:
  19541. description: 买量4
  19542. type: integer
  19543. bidvolume5:
  19544. description: 买量5
  19545. type: integer
  19546. bidvolume6:
  19547. description: 买量6
  19548. type: integer
  19549. bidvolume7:
  19550. description: 买量7
  19551. type: integer
  19552. bidvolume8:
  19553. description: 买量8
  19554. type: integer
  19555. bidvolume9:
  19556. description: 买量9
  19557. type: integer
  19558. bidvolume10:
  19559. description: 买量10
  19560. type: integer
  19561. calloptionpremiums:
  19562. description: 认购期权1
  19563. type: integer
  19564. calloptionpremiums2:
  19565. description: 认购期权2
  19566. type: integer
  19567. calloptionpremiums3:
  19568. description: 认购期权3
  19569. type: integer
  19570. calloptionpremiums4:
  19571. description: 认购期权4
  19572. type: integer
  19573. calloptionpremiums5:
  19574. description: 认购期权5
  19575. type: integer
  19576. cleartime:
  19577. description: 清盘时间
  19578. type: integer
  19579. exchangecode:
  19580. description: 交易所代码
  19581. type: integer
  19582. exchangedate:
  19583. description: 交易日
  19584. type: integer
  19585. goodscode:
  19586. description: 商品代码
  19587. type: string
  19588. grepmarketprice:
  19589. description: 暗盘价 港股专用
  19590. type: number
  19591. highest:
  19592. description: 最高价
  19593. type: number
  19594. holdincrement:
  19595. description: 单笔持仓
  19596. type: integer
  19597. holdvolume:
  19598. description: 持仓
  19599. type: integer
  19600. iep:
  19601. description: 平衡价 港股专用
  19602. type: number
  19603. iev:
  19604. description: 平衡量 港股专用
  19605. type: number
  19606. inventory:
  19607. description: 库存
  19608. type: integer
  19609. iscleared:
  19610. description: 是否清盘标志
  19611. type: integer
  19612. issettled:
  19613. description: 是否结算标志
  19614. type: integer
  19615. last:
  19616. description: 最新价
  19617. type: number
  19618. lastlot:
  19619. description: 最新成交手数
  19620. type: integer
  19621. lasttime:
  19622. description: 行情时间(只有现价变化行情时间才变化)
  19623. type: string
  19624. lastturnover:
  19625. description: 最新成交金额
  19626. type: number
  19627. lastvolume:
  19628. description: 最新成交量
  19629. type: integer
  19630. limitdown:
  19631. description: 跌停价
  19632. type: number
  19633. limitup:
  19634. description: 涨停价
  19635. type: number
  19636. lowest:
  19637. description: 最低价
  19638. type: number
  19639. nontotalholdervolume:
  19640. description: 非交易持仓量
  19641. type: integer
  19642. nontotallot:
  19643. description: 非交易总手数
  19644. type: integer
  19645. nontotalturnover:
  19646. description: 非交易总金额
  19647. type: integer
  19648. nontotalvolume:
  19649. description: 非交易总量
  19650. type: integer
  19651. opened:
  19652. description: 开盘价
  19653. type: number
  19654. opentime:
  19655. description: 开盘时间
  19656. type: string
  19657. orderid:
  19658. description: 序号
  19659. type: integer
  19660. preclose:
  19661. description: 昨收
  19662. type: number
  19663. preholdvolume:
  19664. description: 昨持仓
  19665. type: integer
  19666. presettle:
  19667. description: 昨结价
  19668. type: number
  19669. publictradetype:
  19670. description: 公共交易标志类型 港股专用
  19671. type: string
  19672. putoptionpremiums:
  19673. description: 认沽期权1
  19674. type: integer
  19675. putoptionpremiums2:
  19676. description: 认沽期权2
  19677. type: integer
  19678. putoptionpremiums3:
  19679. description: 认沽期权3
  19680. type: integer
  19681. putoptionpremiums4:
  19682. description: 认沽期权4
  19683. type: integer
  19684. putoptionpremiums5:
  19685. description: 认沽期权5
  19686. type: integer
  19687. settle:
  19688. description: 结算价
  19689. type: number
  19690. strikeprice:
  19691. description: 发行价
  19692. type: number
  19693. totalaskvolume:
  19694. description: 内盘
  19695. type: integer
  19696. totalbidvolume:
  19697. description: 外盘
  19698. type: integer
  19699. totallot:
  19700. description: 总手数
  19701. type: integer
  19702. totalturnover:
  19703. description: 总金额
  19704. type: number
  19705. totalvolume:
  19706. description: 总量
  19707. type: integer
  19708. utclasttime:
  19709. description: utc的行情时间
  19710. type: string
  19711. type: object
  19712. quote.QueryTSDataRsp:
  19713. properties:
  19714. Count:
  19715. description: 交易日应有数据个数
  19716. type: integer
  19717. decimalPlace:
  19718. description: 小数位
  19719. type: integer
  19720. endTime:
  19721. description: 结束时间
  19722. type: string
  19723. goodsCode:
  19724. description: 商品代码
  19725. type: string
  19726. historyDatas:
  19727. description: 历史数据
  19728. items:
  19729. $ref: '#/definitions/quote.HistoryData'
  19730. type: array
  19731. outGoodsCode:
  19732. description: 外部商品代码
  19733. type: string
  19734. preSettle:
  19735. description: 昨结价
  19736. type: number
  19737. runSteps:
  19738. description: 交易日开休市计划
  19739. items:
  19740. $ref: '#/definitions/quote.TSDataRunStep'
  19741. type: array
  19742. startTime:
  19743. description: 开始时间
  19744. type: string
  19745. tradeDate:
  19746. description: 交易日
  19747. type: string
  19748. type: object
  19749. quote.TSDataRunStep:
  19750. properties:
  19751. end:
  19752. description: 真实结束时间
  19753. type: string
  19754. endflag:
  19755. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  19756. type: integer
  19757. endtime:
  19758. description: 结束时间(HH:mm)
  19759. type: string
  19760. endweekday:
  19761. description: 结束周几
  19762. type: integer
  19763. groupid:
  19764. description: 分组ID
  19765. type: integer
  19766. runstep:
  19767. description: 运行阶段 - 2:连续交易
  19768. type: integer
  19769. sectionid:
  19770. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  19771. 结束时间=结算时间 结束周几=结算周几
  19772. type: integer
  19773. start:
  19774. description: 真实开始时间
  19775. type: string
  19776. startflag:
  19777. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  19778. type: integer
  19779. starttime:
  19780. description: 起始时间(HH:mm)
  19781. type: string
  19782. startweekday:
  19783. description: 起始周几
  19784. type: integer
  19785. tradeweekday:
  19786. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  19787. type: integer
  19788. type: object
  19789. szdz.QueryConvertLogRsp:
  19790. properties:
  19791. accountid:
  19792. description: 资金账户ID
  19793. type: integer
  19794. clientticket:
  19795. description: 客户端流水号
  19796. type: string
  19797. converttype:
  19798. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  19799. type: integer
  19800. createtime:
  19801. description: 记账时间
  19802. type: string
  19803. daymaxvalue:
  19804. description: 配置当日最大转入限制
  19805. type: number
  19806. daymaxvalue2:
  19807. description: 配置当日最大转入限制(转入)
  19808. type: number
  19809. goodscode:
  19810. description: 商品代码
  19811. type: string
  19812. goodsname:
  19813. description: 商品名称
  19814. type: string
  19815. handlestatus:
  19816. description: 处理状态
  19817. type: integer
  19818. innergoodsid:
  19819. description: 内部商品ID
  19820. type: integer
  19821. inratio:
  19822. description: 配置转入比值
  19823. type: integer
  19824. invalue:
  19825. description: 目标值
  19826. type: number
  19827. logid:
  19828. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  19829. type: integer
  19830. mobile:
  19831. description: 手机号码(加密存储)
  19832. type: string
  19833. outergoodscode:
  19834. description: 外部商品代码[JD\PD]
  19835. type: string
  19836. outratio:
  19837. description: 配置转出比值
  19838. type: integer
  19839. outvalue:
  19840. description: 源值
  19841. type: number
  19842. pddecimalplace:
  19843. description: PD小数位
  19844. type: integer
  19845. qty:
  19846. description: 数量
  19847. type: string
  19848. remark:
  19849. description: 备注
  19850. type: string
  19851. sessionid:
  19852. description: 会话ID
  19853. type: integer
  19854. timemaxvalue:
  19855. description: 配置单次最大转入限制
  19856. type: number
  19857. timemaxvalue2:
  19858. description: 配置单次最大转入限制(转入)
  19859. type: number
  19860. timeminvalue:
  19861. description: 配置单次最小数量限制
  19862. type: number
  19863. timeminvalue2:
  19864. description: 配置单次最小数量限制(转入)
  19865. type: number
  19866. tradedate:
  19867. description: 交易日(yyyyMMdd)
  19868. type: string
  19869. userid:
  19870. description: 用户ID
  19871. type: integer
  19872. required:
  19873. - logid
  19874. type: object
  19875. szdz.QueryGoodsPickupRsp:
  19876. properties:
  19877. accountid:
  19878. description: 账户ID
  19879. type: integer
  19880. address:
  19881. description: 提货人详细地址
  19882. type: string
  19883. auditer:
  19884. description: 审核人
  19885. type: integer
  19886. audittime:
  19887. description: 审核时间
  19888. type: string
  19889. cardnum:
  19890. description: 提货人证件号码
  19891. type: string
  19892. cardtypeid:
  19893. description: 提货人证件类型
  19894. type: integer
  19895. checkremark:
  19896. description: 审核备注
  19897. type: string
  19898. goodscode:
  19899. description: 商品代码
  19900. type: string
  19901. goodsid:
  19902. description: 商品ID
  19903. type: integer
  19904. goodsname:
  19905. description: 商品名称
  19906. type: string
  19907. handlestatus:
  19908. description: 处理状态
  19909. type: integer
  19910. marketid:
  19911. description: 市场ID
  19912. type: integer
  19913. phonenum:
  19914. description: 提货人联系方式
  19915. type: string
  19916. qty:
  19917. description: 提货数量
  19918. type: number
  19919. recivername:
  19920. description: 提货人姓名
  19921. type: string
  19922. reqtime:
  19923. description: 更新时间
  19924. type: string
  19925. takemode:
  19926. description: 提货方式 - 2:自提 3:配送
  19927. type: integer
  19928. takeorderid:
  19929. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  19930. type: string
  19931. takeorderstatus:
  19932. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  19933. type: integer
  19934. takeremark:
  19935. description: 提货备注
  19936. type: string
  19937. tradedate:
  19938. description: 交易日(yyyyMMdd)
  19939. type: string
  19940. userid:
  19941. description: 用户ID
  19942. type: integer
  19943. required:
  19944. - takeorderid
  19945. type: object
  19946. szdz.QueryRecieptOrderRsp:
  19947. properties:
  19948. accountName:
  19949. description: 所属账号名称(已脱敏)
  19950. type: string
  19951. accountid:
  19952. description: 资金账号
  19953. type: integer
  19954. buyorsell:
  19955. description: 方向 - 0:买 1:卖
  19956. type: integer
  19957. enableqty:
  19958. description: 可摘数量
  19959. type: integer
  19960. goodscode:
  19961. description: 商品代码
  19962. type: string
  19963. goodsid:
  19964. description: 商品ID
  19965. type: integer
  19966. goodsname:
  19967. description: 商品名称
  19968. type: string
  19969. orderid:
  19970. description: 委托单号
  19971. type: string
  19972. orderprice:
  19973. description: 委托价格
  19974. type: number
  19975. ordertime:
  19976. description: 委托时间
  19977. type: string
  19978. tradedate:
  19979. description: 交易日(yyyyMMdd)
  19980. type: string
  19981. required:
  19982. - ordertime
  19983. type: object
  19984. szdz.QuerySZDZTradePositionRsp:
  19985. properties:
  19986. accountid:
  19987. description: 账号Id
  19988. type: integer
  19989. agreeunit:
  19990. description: 合约单位
  19991. type: number
  19992. averageprice:
  19993. description: 持仓均价
  19994. type: number
  19995. buyorsell:
  19996. description: 方向 - 0:买 1:卖
  19997. type: integer
  19998. closetotalqty:
  19999. description: 平仓总数量
  20000. type: integer
  20001. curholderamount:
  20002. description: 当前持仓总金额
  20003. type: number
  20004. curpositionqty:
  20005. description: 当前持仓总数量
  20006. type: integer
  20007. currencyid:
  20008. description: 报价货币ID
  20009. type: integer
  20010. curtdposition:
  20011. description: 期末今日头寸
  20012. type: integer
  20013. decimalplace:
  20014. description: 报价小数位
  20015. type: integer
  20016. enableqty:
  20017. description: 可用量
  20018. type: integer
  20019. fretdposition:
  20020. description: 冻结今日头寸
  20021. type: integer
  20022. frozenqty:
  20023. description: 持仓冻结数量
  20024. type: integer
  20025. goodscode:
  20026. description: 商品代码(内部)
  20027. type: string
  20028. goodsid:
  20029. description: 商品Id
  20030. type: integer
  20031. goodsname:
  20032. description: 商品名称
  20033. type: string
  20034. goodunit:
  20035. description: 报价单位
  20036. type: string
  20037. goodunitid:
  20038. description: 报价单位ID
  20039. type: integer
  20040. holderamount:
  20041. description: 期初持仓总金额
  20042. type: number
  20043. marketid:
  20044. description: 市场ID
  20045. type: integer
  20046. openreqqty:
  20047. description: 开仓申请数量
  20048. type: integer
  20049. opentotalqty:
  20050. description: 开仓总数量
  20051. type: integer
  20052. otherfrozenqty:
  20053. description: 持仓其他冻结数量(交割冻结)
  20054. type: integer
  20055. positionqty:
  20056. description: 期初持仓数量
  20057. type: integer
  20058. szdz3freezqty:
  20059. description: 尚志大宗转换冻结总数量
  20060. type: integer
  20061. tnqty:
  20062. description: T+N冻结总量
  20063. type: integer
  20064. tnusedqty:
  20065. description: T+N使用量
  20066. type: integer
  20067. trademode:
  20068. description: 交易模式
  20069. type: integer
  20070. usedmargin:
  20071. description: 占用保证金
  20072. type: number
  20073. type: object
  20074. taaccount.QueryAmountLogRsp:
  20075. properties:
  20076. OPERATETYPENAME:
  20077. description: 资金操作类型名称
  20078. type: string
  20079. accountid:
  20080. description: 资金账户ID
  20081. type: integer
  20082. agoodscode:
  20083. description: 竞拍商品代码
  20084. type: string
  20085. agoodsname:
  20086. description: 竞拍商品名称
  20087. type: string
  20088. amount:
  20089. description: 资金金额
  20090. type: number
  20091. amountadjusttype:
  20092. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  20093. type: integer
  20094. autoid:
  20095. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  20096. type: integer
  20097. balance:
  20098. description: 期初余额
  20099. type: number
  20100. businesscode:
  20101. description: 业务编号
  20102. type: integer
  20103. createtime:
  20104. description: 发生时间
  20105. type: string
  20106. currencyid:
  20107. description: 币种ID
  20108. type: integer
  20109. currentbalance:
  20110. description: 期末余额(变动后金额)
  20111. type: number
  20112. dgoodscode:
  20113. description: 交割商品代码
  20114. type: string
  20115. dgoodsname:
  20116. description: 交割商品名称
  20117. type: string
  20118. goodscode:
  20119. description: 商品代码
  20120. type: string
  20121. goodsid:
  20122. description: 商品ID
  20123. type: integer
  20124. goodsname:
  20125. description: 商品名称
  20126. type: string
  20127. marketid:
  20128. description: 市场ID
  20129. type: integer
  20130. marketname:
  20131. description: 市场名称
  20132. type: string
  20133. moneyticket:
  20134. description: 资金流水号:银行端流水号
  20135. type: integer
  20136. operatetype:
  20137. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  20138. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  20139. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  20140. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  20141. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  20142. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  20143. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  20144. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  20145. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  20146. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  20147. type: integer
  20148. relationorderid:
  20149. description: 关联单号
  20150. type: string
  20151. remark:
  20152. description: 备注
  20153. type: string
  20154. trademode:
  20155. description: 交易模式
  20156. type: integer
  20157. required:
  20158. - accountid
  20159. - amount
  20160. - amountadjusttype
  20161. - autoid
  20162. - balance
  20163. - createtime
  20164. - currentbalance
  20165. - operatetype
  20166. type: object
  20167. taaccount.QueryHisAmountLogRsp:
  20168. properties:
  20169. OPERATETYPENAME:
  20170. description: 资金操作类型名称
  20171. type: string
  20172. accountid:
  20173. description: 资金账户ID
  20174. type: integer
  20175. agoodscode:
  20176. description: 竞拍商品代码
  20177. type: string
  20178. agoodsname:
  20179. description: 竞拍商品名称
  20180. type: string
  20181. amount:
  20182. description: 资金金额
  20183. type: number
  20184. amountadjusttype:
  20185. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  20186. type: integer
  20187. autoid:
  20188. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  20189. type: integer
  20190. balance:
  20191. description: 期初余额
  20192. type: number
  20193. businesscode:
  20194. description: 业务编号
  20195. type: integer
  20196. createtime:
  20197. description: 发生时间
  20198. type: string
  20199. currencyid:
  20200. description: 币种ID
  20201. type: integer
  20202. currentbalance:
  20203. description: 期末余额(变动后金额)
  20204. type: number
  20205. dgoodscode:
  20206. description: 交割商品代码
  20207. type: string
  20208. dgoodsname:
  20209. description: 交割商品名称
  20210. type: string
  20211. goodscode:
  20212. description: 商品代码
  20213. type: string
  20214. goodsid:
  20215. description: 商品ID
  20216. type: integer
  20217. goodsname:
  20218. description: 商品名称
  20219. type: string
  20220. histradedate:
  20221. description: 历史交易日
  20222. type: string
  20223. isvaliddata:
  20224. description: 是否有效 - 0:无效 1:有效
  20225. type: integer
  20226. marketid:
  20227. description: 市场ID
  20228. type: integer
  20229. marketname:
  20230. description: 市场名称
  20231. type: string
  20232. moneyticket:
  20233. description: 资金流水号:银行端流水号
  20234. type: integer
  20235. operatetype:
  20236. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  20237. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  20238. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  20239. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  20240. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  20241. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  20242. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  20243. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  20244. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  20245. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  20246. type: integer
  20247. relationorderid:
  20248. description: 关联单号
  20249. type: string
  20250. remark:
  20251. description: 备注
  20252. type: string
  20253. trademode:
  20254. description: 交易模式
  20255. type: integer
  20256. required:
  20257. - accountid
  20258. - amount
  20259. - amountadjusttype
  20260. - autoid
  20261. - balance
  20262. - createtime
  20263. - currentbalance
  20264. - histradedate
  20265. - operatetype
  20266. type: object
  20267. trade.QueryRecieptOrderRsp:
  20268. properties:
  20269. accountName:
  20270. description: 所属账号名称(已脱敏)
  20271. type: string
  20272. accountid:
  20273. description: 资金账号
  20274. type: integer
  20275. buyorsell:
  20276. description: 方向 - 0:买 1:卖
  20277. type: integer
  20278. enableqty:
  20279. description: 可摘数量
  20280. type: integer
  20281. goodscode:
  20282. description: 商品代码
  20283. type: string
  20284. goodsid:
  20285. description: 商品ID
  20286. type: integer
  20287. goodsname:
  20288. description: 商品名称
  20289. type: string
  20290. orderid:
  20291. description: 委托单号
  20292. type: string
  20293. orderprice:
  20294. description: 委托价格
  20295. type: number
  20296. ordertime:
  20297. description: 委托时间
  20298. type: string
  20299. tradedate:
  20300. description: 交易日(yyyyMMdd)
  20301. type: string
  20302. required:
  20303. - ordertime
  20304. type: object
  20305. user.LoginQueryRsp:
  20306. properties:
  20307. areaRoles:
  20308. description: 所属角色信息
  20309. items:
  20310. $ref: '#/definitions/models.Arearole'
  20311. type: array
  20312. externalExchanges:
  20313. description: 外部交易所
  20314. items:
  20315. $ref: '#/definitions/models.Externalexchange'
  20316. type: array
  20317. goodsgroups:
  20318. description: 商品组
  20319. items:
  20320. $ref: '#/definitions/models.Goodsgroup'
  20321. type: array
  20322. loginAccount:
  20323. $ref: '#/definitions/models.Loginaccount'
  20324. description: 登录账号
  20325. markets:
  20326. description: 市场
  20327. items:
  20328. $ref: '#/definitions/models.Market'
  20329. type: array
  20330. systemParams:
  20331. description: 系统参数
  20332. items:
  20333. $ref: '#/definitions/models.Systemparam'
  20334. type: array
  20335. userAccount:
  20336. $ref: '#/definitions/models.Useraccount'
  20337. description: 用户账号
  20338. userInfo:
  20339. $ref: '#/definitions/models.Userinfo'
  20340. description: 用户信息
  20341. username:
  20342. description: 用户姓名
  20343. type: string
  20344. type: object
  20345. info:
  20346. contact: {}
  20347. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  20348. termsOfService: http://www.muchinfo.cn
  20349. title: MTP2.0 查询服务 API
  20350. version: "1.0"
  20351. paths:
  20352. /CPTrade/QueryCPTradeMyBidInfos:
  20353. get:
  20354. parameters:
  20355. - description: 资金账户
  20356. in: query
  20357. name: accountid
  20358. required: true
  20359. type: integer
  20360. - description: 预售市场ID
  20361. in: query
  20362. name: marketid
  20363. type: integer
  20364. - description: 预售商品ID
  20365. in: query
  20366. name: goodsid
  20367. type: integer
  20368. produces:
  20369. - application/json
  20370. responses:
  20371. "200":
  20372. description: OK
  20373. schema:
  20374. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  20375. "500":
  20376. description: Internal Server Error
  20377. schema:
  20378. $ref: '#/definitions/app.Response'
  20379. security:
  20380. - ApiKeyAuth: []
  20381. summary: 查询产能预售我的出价信息
  20382. tags:
  20383. - 产能预售
  20384. /CPTrade/QueryCPTradeOrderDetail:
  20385. get:
  20386. parameters:
  20387. - description: 预售商品ID
  20388. in: query
  20389. name: goodsid
  20390. type: integer
  20391. - description: 预售市场ID
  20392. in: query
  20393. name: marketid
  20394. type: integer
  20395. - description: 预售商品ID列表 - 格式:1,2,3
  20396. in: query
  20397. name: goodsids
  20398. type: string
  20399. produces:
  20400. - application/json
  20401. responses:
  20402. "200":
  20403. description: OK
  20404. schema:
  20405. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  20406. "500":
  20407. description: Internal Server Error
  20408. schema:
  20409. $ref: '#/definitions/app.Response'
  20410. security:
  20411. - ApiKeyAuth: []
  20412. summary: 查询产能预售委托单信息
  20413. tags:
  20414. - 产能预售
  20415. /CPTrade/QueryMyCPTradeGoods:
  20416. get:
  20417. parameters:
  20418. - description: 资金账户
  20419. in: query
  20420. name: accountid
  20421. required: true
  20422. type: integer
  20423. produces:
  20424. - application/json
  20425. responses:
  20426. "200":
  20427. description: OK
  20428. schema:
  20429. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  20430. "500":
  20431. description: Internal Server Error
  20432. schema:
  20433. $ref: '#/definitions/app.Response'
  20434. security:
  20435. - ApiKeyAuth: []
  20436. summary: 查询我的预售信息
  20437. tags:
  20438. - 产能预售
  20439. /CPTrade/QueryPositionCancel:
  20440. get:
  20441. parameters:
  20442. - description: 账户ID
  20443. in: query
  20444. name: userid
  20445. required: true
  20446. type: integer
  20447. - description: 注销ID
  20448. in: query
  20449. name: cancelid
  20450. type: integer
  20451. - description: 资金账户ID
  20452. in: query
  20453. name: accountid
  20454. type: integer
  20455. produces:
  20456. - application/json
  20457. responses:
  20458. "200":
  20459. description: OK
  20460. schema:
  20461. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  20462. "500":
  20463. description: Internal Server Error
  20464. schema:
  20465. $ref: '#/definitions/app.Response'
  20466. security:
  20467. - ApiKeyAuth: []
  20468. summary: 查询远期订单注销申请信息
  20469. tags:
  20470. - 产能预售
  20471. /CPTrade/QueryPreasleApply:
  20472. get:
  20473. parameters:
  20474. - description: 账户ID
  20475. in: query
  20476. name: userid
  20477. required: true
  20478. type: integer
  20479. - description: 申请ID
  20480. in: query
  20481. name: applyid
  20482. type: integer
  20483. - description: 资金账户ID
  20484. in: query
  20485. name: accountid
  20486. type: integer
  20487. produces:
  20488. - application/json
  20489. responses:
  20490. "200":
  20491. description: OK
  20492. schema:
  20493. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  20494. "500":
  20495. description: Internal Server Error
  20496. schema:
  20497. $ref: '#/definitions/app.Response'
  20498. security:
  20499. - ApiKeyAuth: []
  20500. summary: 查询产能预售申请信息
  20501. tags:
  20502. - 产能预售
  20503. /CPTrade/QueryPresaleGoodsEx:
  20504. get:
  20505. parameters:
  20506. - description: 预售商品ID
  20507. in: query
  20508. name: goodsid
  20509. type: integer
  20510. - description: 预售市场ID
  20511. in: query
  20512. name: marketid
  20513. type: integer
  20514. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  20515. in: query
  20516. name: presalemode
  20517. type: integer
  20518. - description: 预售商品ID列表 - 格式:1,2,3
  20519. in: query
  20520. name: goodsids
  20521. type: string
  20522. - description: 预售商品代码
  20523. in: query
  20524. name: goodscode
  20525. type: string
  20526. produces:
  20527. - application/json
  20528. responses:
  20529. "200":
  20530. description: OK
  20531. schema:
  20532. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  20533. "500":
  20534. description: Internal Server Error
  20535. schema:
  20536. $ref: '#/definitions/app.Response'
  20537. security:
  20538. - ApiKeyAuth: []
  20539. summary: 查询产能预售商品扩展信息
  20540. tags:
  20541. - 产能预售
  20542. /CPTrade/QueryUserGoodsData:
  20543. get:
  20544. parameters:
  20545. - description: 资金账户ID
  20546. in: query
  20547. name: accountid
  20548. required: true
  20549. type: integer
  20550. produces:
  20551. - application/json
  20552. responses:
  20553. "200":
  20554. description: OK
  20555. schema:
  20556. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  20557. "500":
  20558. description: Internal Server Error
  20559. schema:
  20560. $ref: '#/definitions/app.Response'
  20561. security:
  20562. - ApiKeyAuth: []
  20563. summary: 查询远期订单信息
  20564. tags:
  20565. - 产能预售
  20566. /Common/GetAllEnums:
  20567. get:
  20568. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  20569. parameters:
  20570. - description: 起始自增ID
  20571. in: query
  20572. name: autoid
  20573. type: integer
  20574. produces:
  20575. - application/json
  20576. responses:
  20577. "200":
  20578. description: OK
  20579. schema:
  20580. $ref: '#/definitions/models.Enumdicitem'
  20581. "500":
  20582. description: Internal Server Error
  20583. schema:
  20584. $ref: '#/definitions/app.Response'
  20585. summary: 获取所有枚举信息
  20586. tags:
  20587. - 通用服务
  20588. /Common/GetClientMenus:
  20589. get:
  20590. parameters:
  20591. - description: 登录账号
  20592. in: query
  20593. name: loginID
  20594. required: true
  20595. type: integer
  20596. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  20597. in: query
  20598. name: clientType
  20599. type: integer
  20600. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  20601. in: query
  20602. name: name
  20603. type: string
  20604. produces:
  20605. - application/json
  20606. responses:
  20607. "200":
  20608. description: OK
  20609. schema:
  20610. items:
  20611. $ref: '#/definitions/common.ClientMenu'
  20612. type: array
  20613. "500":
  20614. description: Internal Server Error
  20615. schema:
  20616. $ref: '#/definitions/app.Response'
  20617. security:
  20618. - ApiKeyAuth: []
  20619. summary: 获取交易端菜单
  20620. tags:
  20621. - 通用服务
  20622. /Common/GetDivisions:
  20623. get:
  20624. produces:
  20625. - application/json
  20626. responses:
  20627. "200":
  20628. description: OK
  20629. schema:
  20630. $ref: '#/definitions/models.Division'
  20631. "500":
  20632. description: Internal Server Error
  20633. schema:
  20634. $ref: '#/definitions/app.Response'
  20635. summary: 查询区域信息
  20636. tags:
  20637. - 通用服务
  20638. /Common/GetPCWebMenus:
  20639. get:
  20640. parameters:
  20641. - description: 登录账号
  20642. in: query
  20643. name: loginID
  20644. required: true
  20645. type: integer
  20646. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  20647. in: query
  20648. name: name
  20649. type: string
  20650. produces:
  20651. - application/json
  20652. responses:
  20653. "200":
  20654. description: OK
  20655. schema:
  20656. items:
  20657. $ref: '#/definitions/common.PCWebMenu'
  20658. type: array
  20659. "500":
  20660. description: Internal Server Error
  20661. schema:
  20662. $ref: '#/definitions/app.Response'
  20663. security:
  20664. - ApiKeyAuth: []
  20665. summary: 获取PCWeb交易端菜单
  20666. tags:
  20667. - 通用服务
  20668. /Common/GetServerTime:
  20669. get:
  20670. produces:
  20671. - application/json
  20672. responses:
  20673. "200":
  20674. description: OK
  20675. schema:
  20676. $ref: '#/definitions/app.Response'
  20677. "500":
  20678. description: Internal Server Error
  20679. schema:
  20680. $ref: '#/definitions/app.Response'
  20681. summary: 获取服务器时间
  20682. tags:
  20683. - 通用服务
  20684. /Common/NoticeReaded:
  20685. post:
  20686. parameters:
  20687. - description: 登录账号
  20688. in: query
  20689. name: loginID
  20690. required: true
  20691. type: integer
  20692. - description: 通知公告ID
  20693. in: query
  20694. name: noticeID
  20695. required: true
  20696. type: integer
  20697. produces:
  20698. - application/json
  20699. responses:
  20700. "200":
  20701. description: OK
  20702. schema:
  20703. $ref: '#/definitions/app.Response'
  20704. "500":
  20705. description: Internal Server Error
  20706. schema:
  20707. $ref: '#/definitions/app.Response'
  20708. security:
  20709. - ApiKeyAuth: []
  20710. summary: 通知公告设置已读请求
  20711. tags:
  20712. - 通用服务
  20713. /Common/QueryErrorInfos:
  20714. get:
  20715. description: 如果传入rowNumber,则返回此rowNumber后的数据
  20716. parameters:
  20717. - description: 起始行号前索引
  20718. in: query
  20719. name: rowNumber
  20720. type: string
  20721. produces:
  20722. - application/json
  20723. responses:
  20724. "200":
  20725. description: OK
  20726. schema:
  20727. $ref: '#/definitions/models.QueryErrorInfosRsp'
  20728. "500":
  20729. description: Internal Server Error
  20730. schema:
  20731. $ref: '#/definitions/app.Response'
  20732. summary: 获取数据库错误信息
  20733. tags:
  20734. - 通用服务
  20735. /Common/QueryImageConfigs:
  20736. get:
  20737. parameters:
  20738. - description: 用户id
  20739. in: query
  20740. name: userId
  20741. type: integer
  20742. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  20743. in: query
  20744. name: imageType
  20745. type: integer
  20746. produces:
  20747. - application/json
  20748. responses:
  20749. "200":
  20750. description: OK
  20751. schema:
  20752. $ref: '#/definitions/common.QueryImageConfigsRsp'
  20753. "500":
  20754. description: Internal Server Error
  20755. schema:
  20756. $ref: '#/definitions/app.Response'
  20757. summary: 查询轮播图配置信息
  20758. tags:
  20759. - 通用服务
  20760. /Common/QueryNotice:
  20761. get:
  20762. parameters:
  20763. - description: 页码
  20764. in: query
  20765. name: page
  20766. type: integer
  20767. - description: 每页条数
  20768. in: query
  20769. name: pagesize
  20770. type: integer
  20771. - description: 登录账号
  20772. in: query
  20773. name: loginID
  20774. required: true
  20775. type: integer
  20776. - description: 消息类型 - 1:公告通知 2:系统消息
  20777. in: query
  20778. name: msgType
  20779. type: integer
  20780. - description: 是否只获取未读信息
  20781. in: query
  20782. name: onlyUnRead
  20783. type: boolean
  20784. - description: 自增ID,传入后会返回这个ID后面的记录
  20785. in: query
  20786. name: lastID
  20787. type: integer
  20788. produces:
  20789. - application/json
  20790. responses:
  20791. "200":
  20792. description: OK
  20793. schema:
  20794. $ref: '#/definitions/common.QueryNoticeRsp'
  20795. "500":
  20796. description: Internal Server Error
  20797. schema:
  20798. $ref: '#/definitions/app.Response'
  20799. security:
  20800. - ApiKeyAuth: []
  20801. summary: 通知公告系统消息查询
  20802. tags:
  20803. - 通用服务
  20804. /Common/QueryProvincesAndCities:
  20805. get:
  20806. parameters:
  20807. - description: 省ID
  20808. in: query
  20809. name: provinceID
  20810. type: integer
  20811. produces:
  20812. - application/json
  20813. responses:
  20814. "200":
  20815. description: OK
  20816. schema:
  20817. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  20818. "500":
  20819. description: Internal Server Error
  20820. schema:
  20821. $ref: '#/definitions/app.Response'
  20822. summary: 查询省市信息(不包括区)
  20823. tags:
  20824. - 通用服务
  20825. /Common/QueryTableDefine:
  20826. get:
  20827. parameters:
  20828. - description: 表key
  20829. in: query
  20830. name: tableKey
  20831. type: string
  20832. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  20833. in: query
  20834. name: tableType
  20835. type: integer
  20836. produces:
  20837. - application/json
  20838. responses:
  20839. "200":
  20840. description: OK
  20841. schema:
  20842. $ref: '#/definitions/common.QueryTableDefineRsp'
  20843. "500":
  20844. description: Internal Server Error
  20845. schema:
  20846. $ref: '#/definitions/app.Response'
  20847. summary: 查询交易端列表头信息
  20848. tags:
  20849. - 通用服务
  20850. /Common/QueryTraderMenu:
  20851. get:
  20852. parameters:
  20853. - description: 登录账号
  20854. in: query
  20855. name: loginid
  20856. required: true
  20857. type: integer
  20858. produces:
  20859. - application/json
  20860. responses:
  20861. "200":
  20862. description: OK
  20863. schema:
  20864. $ref: '#/definitions/common.QueryTraderMenuRsp'
  20865. "500":
  20866. description: Internal Server Error
  20867. schema:
  20868. $ref: '#/definitions/app.Response'
  20869. summary: 查询交易端菜单
  20870. tags:
  20871. - 通用服务
  20872. /Delivery/QueryDeliveryRelation:
  20873. get:
  20874. parameters:
  20875. - description: 商品ID
  20876. in: query
  20877. name: goodsid
  20878. type: integer
  20879. - description: 品种ID
  20880. in: query
  20881. name: deliverygoodsid
  20882. type: integer
  20883. - description: 市场ID
  20884. in: query
  20885. name: marketid
  20886. type: integer
  20887. produces:
  20888. - application/json
  20889. responses:
  20890. "200":
  20891. description: OK
  20892. schema:
  20893. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  20894. "500":
  20895. description: Internal Server Error
  20896. schema:
  20897. $ref: '#/definitions/app.Response'
  20898. security:
  20899. - ApiKeyAuth: []
  20900. summary: 查询商品交割关系表
  20901. tags:
  20902. - 交割服务
  20903. /Ermcp/GetErmcpGoods:
  20904. get:
  20905. parameters:
  20906. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  20907. in: query
  20908. name: userid
  20909. type: integer
  20910. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  20911. in: query
  20912. name: lastUpdateTime
  20913. type: string
  20914. produces:
  20915. - application/json
  20916. responses:
  20917. "200":
  20918. description: OK
  20919. schema:
  20920. $ref: '#/definitions/models.ErmcpGoods'
  20921. "500":
  20922. description: Internal Server Error
  20923. schema:
  20924. $ref: '#/definitions/app.Response'
  20925. security:
  20926. - ApiKeyAuth: []
  20927. summary: 查询企业风管期货商品信息
  20928. tags:
  20929. - 企业风险管理(app)
  20930. /Ermcp/GetErmcpGoodsSortByPosition:
  20931. get:
  20932. parameters:
  20933. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  20934. in: query
  20935. name: sortIndex
  20936. type: string
  20937. produces:
  20938. - application/json
  20939. responses:
  20940. "200":
  20941. description: OK
  20942. schema:
  20943. $ref: '#/definitions/models.Goodssortbypreposition'
  20944. "500":
  20945. description: Internal Server Error
  20946. schema:
  20947. $ref: '#/definitions/app.Response'
  20948. security:
  20949. - ApiKeyAuth: []
  20950. summary: 查询企业风管期货主力、次主力商品信息
  20951. tags:
  20952. - 企业风险管理(app)
  20953. /Ermcp/GetErmcpOutAccountStatus:
  20954. get:
  20955. parameters:
  20956. - description: 登录账号
  20957. in: query
  20958. name: loginID
  20959. required: true
  20960. type: integer
  20961. produces:
  20962. - application/json
  20963. responses:
  20964. "200":
  20965. description: OK
  20966. schema:
  20967. $ref: '#/definitions/models.Hedgemarketopenlog'
  20968. "500":
  20969. description: Internal Server Error
  20970. schema:
  20971. $ref: '#/definitions/app.Response'
  20972. security:
  20973. - ApiKeyAuth: []
  20974. summary: 获取目标登录账号当前对冲账号在线状态
  20975. tags:
  20976. - 企业风险管理(app)
  20977. /Ermcp/GetErmcpRoleFuncMenuLists:
  20978. get:
  20979. parameters:
  20980. - description: 登录账号
  20981. in: query
  20982. name: loginID
  20983. required: true
  20984. type: integer
  20985. produces:
  20986. - application/json
  20987. responses:
  20988. "200":
  20989. description: OK
  20990. schema:
  20991. $ref: '#/definitions/models.Funcmenulist'
  20992. "500":
  20993. description: Internal Server Error
  20994. schema:
  20995. $ref: '#/definitions/app.Response'
  20996. security:
  20997. - ApiKeyAuth: []
  20998. summary: 获取企业风管终端权限
  20999. tags:
  21000. - 企业风险管理(app)
  21001. /Ermcp/QueryAccMgrBizGroupSet:
  21002. get:
  21003. parameters:
  21004. - description: 用户ID
  21005. in: query
  21006. name: userid
  21007. required: true
  21008. type: integer
  21009. - description: 现货商品id
  21010. in: query
  21011. name: deliverygoodsid
  21012. type: integer
  21013. produces:
  21014. - application/json
  21015. responses:
  21016. "200":
  21017. description: OK
  21018. schema:
  21019. items:
  21020. $ref: '#/definitions/models.ErmcpBizGroupEx'
  21021. type: array
  21022. "500":
  21023. description: Internal Server Error
  21024. schema:
  21025. $ref: '#/definitions/app.Response'
  21026. security:
  21027. - ApiKeyAuth: []
  21028. summary: 查询业务类型分组(账户管理/账户设置)
  21029. tags:
  21030. - 企业风险管理(app)
  21031. /Ermcp/QueryAccMgrLoginUser:
  21032. get:
  21033. parameters:
  21034. - description: 用户ID
  21035. in: query
  21036. name: userid
  21037. required: true
  21038. type: integer
  21039. - description: 用户类型 2-机构 7-企业成员
  21040. in: query
  21041. name: usertype
  21042. type: integer
  21043. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  21044. in: query
  21045. name: querytype
  21046. required: true
  21047. type: integer
  21048. produces:
  21049. - application/json
  21050. responses:
  21051. "200":
  21052. description: OK
  21053. schema:
  21054. items:
  21055. $ref: '#/definitions/models.ErmcpLoginUserEx'
  21056. type: array
  21057. "500":
  21058. description: Internal Server Error
  21059. schema:
  21060. $ref: '#/definitions/app.Response'
  21061. security:
  21062. - ApiKeyAuth: []
  21063. summary: 查询账户管理登录账号(账户管理/登录账号)
  21064. tags:
  21065. - 企业风险管理(app)
  21066. /Ermcp/QueryAccMgrMainAccountInfo:
  21067. get:
  21068. parameters:
  21069. - description: 用户ID
  21070. in: query
  21071. name: userid
  21072. type: integer
  21073. - description: 主账号id
  21074. in: query
  21075. name: accountid
  21076. type: integer
  21077. produces:
  21078. - application/json
  21079. responses:
  21080. "200":
  21081. description: OK
  21082. schema:
  21083. items:
  21084. $ref: '#/definitions/models.MainAccountInfo'
  21085. type: array
  21086. "500":
  21087. description: Internal Server Error
  21088. schema:
  21089. $ref: '#/definitions/app.Response'
  21090. security:
  21091. - ApiKeyAuth: []
  21092. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  21093. tags:
  21094. - 企业风险管理(app)
  21095. /Ermcp/QueryAccMgrRole:
  21096. get:
  21097. parameters:
  21098. - description: 用户ID
  21099. in: query
  21100. name: userid
  21101. required: true
  21102. type: integer
  21103. produces:
  21104. - application/json
  21105. responses:
  21106. "200":
  21107. description: OK
  21108. schema:
  21109. items:
  21110. $ref: '#/definitions/models.ErmcpRole'
  21111. type: array
  21112. "500":
  21113. description: Internal Server Error
  21114. schema:
  21115. $ref: '#/definitions/app.Response'
  21116. security:
  21117. - ApiKeyAuth: []
  21118. summary: 查询账户管理角色设置(账户管理/角色设置)
  21119. tags:
  21120. - 企业风险管理(app)
  21121. /Ermcp/QueryAccMgrRoleMenu:
  21122. get:
  21123. parameters:
  21124. - description: 用户ID
  21125. in: query
  21126. name: userid
  21127. required: true
  21128. type: integer
  21129. - description: 角色id(可多个,逗号隔开)
  21130. in: query
  21131. name: roleid
  21132. type: string
  21133. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  21134. in: query
  21135. name: menutype
  21136. type: integer
  21137. produces:
  21138. - application/json
  21139. responses:
  21140. "200":
  21141. description: OK
  21142. schema:
  21143. items:
  21144. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  21145. type: array
  21146. "500":
  21147. description: Internal Server Error
  21148. schema:
  21149. $ref: '#/definitions/app.Response'
  21150. security:
  21151. - ApiKeyAuth: []
  21152. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  21153. tags:
  21154. - 企业风险管理(app)
  21155. /Ermcp/QueryAccMgrTaAccountInfo:
  21156. get:
  21157. parameters:
  21158. - description: 用户ID
  21159. in: query
  21160. name: userid
  21161. required: true
  21162. type: integer
  21163. - description: 账号id
  21164. in: query
  21165. name: accountid
  21166. type: integer
  21167. produces:
  21168. - application/json
  21169. responses:
  21170. "200":
  21171. description: OK
  21172. schema:
  21173. items:
  21174. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  21175. type: array
  21176. "500":
  21177. description: Internal Server Error
  21178. schema:
  21179. $ref: '#/definitions/app.Response'
  21180. security:
  21181. - ApiKeyAuth: []
  21182. summary: 查询账户管理授信(账户管理/账户设置/授信)
  21183. tags:
  21184. - 企业风险管理(app)
  21185. /Ermcp/QueryAccMgrTaaccount:
  21186. get:
  21187. parameters:
  21188. - description: 用户ID
  21189. in: query
  21190. name: userid
  21191. required: true
  21192. type: integer
  21193. produces:
  21194. - application/json
  21195. responses:
  21196. "200":
  21197. description: OK
  21198. schema:
  21199. items:
  21200. $ref: '#/definitions/models.ErmcpTaAccountEx'
  21201. type: array
  21202. "500":
  21203. description: Internal Server Error
  21204. schema:
  21205. $ref: '#/definitions/app.Response'
  21206. security:
  21207. - ApiKeyAuth: []
  21208. summary: 查询账户管理期货账号(账户管理/期货账号)
  21209. tags:
  21210. - 企业风险管理(app)
  21211. /Ermcp/QueryAvaildGoodsGroup:
  21212. get:
  21213. parameters:
  21214. - description: 所属机构ID
  21215. in: query
  21216. name: userid
  21217. required: true
  21218. type: integer
  21219. produces:
  21220. - application/json
  21221. responses:
  21222. "200":
  21223. description: OK
  21224. schema:
  21225. items:
  21226. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  21227. type: array
  21228. "500":
  21229. description: Internal Server Error
  21230. schema:
  21231. $ref: '#/definitions/app.Response'
  21232. security:
  21233. - ApiKeyAuth: []
  21234. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  21235. tags:
  21236. - 企业风险管理(app)
  21237. /Ermcp/QueryBusinessDj:
  21238. get:
  21239. parameters:
  21240. - description: 用户ID
  21241. in: query
  21242. name: UserId
  21243. required: true
  21244. type: integer
  21245. - description: 用户类型 2-机构 7-企业成员
  21246. in: query
  21247. name: usertype
  21248. type: integer
  21249. - description: 现货合同ID, 不填则查所有
  21250. in: query
  21251. name: relatedid
  21252. type: string
  21253. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21254. in: query
  21255. name: applystatus
  21256. type: string
  21257. produces:
  21258. - application/json
  21259. responses:
  21260. "200":
  21261. description: OK
  21262. schema:
  21263. items:
  21264. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  21265. type: array
  21266. "500":
  21267. description: Internal Server Error
  21268. schema:
  21269. $ref: '#/definitions/app.Response'
  21270. security:
  21271. - ApiKeyAuth: []
  21272. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  21273. tags:
  21274. - 企业风险管理(app)
  21275. /Ermcp/QueryBusinessFp:
  21276. get:
  21277. parameters:
  21278. - description: 用户ID
  21279. in: query
  21280. name: UserId
  21281. required: true
  21282. type: integer
  21283. - description: 用户类型 2-机构 7-企业成员
  21284. in: query
  21285. name: usertype
  21286. type: integer
  21287. - description: 现货合同ID, 不填则查所有
  21288. in: query
  21289. name: relatedid
  21290. type: string
  21291. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21292. in: query
  21293. name: applystatus
  21294. type: string
  21295. produces:
  21296. - application/json
  21297. responses:
  21298. "200":
  21299. description: OK
  21300. schema:
  21301. items:
  21302. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  21303. type: array
  21304. "500":
  21305. description: Internal Server Error
  21306. schema:
  21307. $ref: '#/definitions/app.Response'
  21308. security:
  21309. - ApiKeyAuth: []
  21310. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  21311. tags:
  21312. - 企业风险管理(app)
  21313. /Ermcp/QueryBusinessJs:
  21314. get:
  21315. parameters:
  21316. - description: 用户ID
  21317. in: query
  21318. name: UserId
  21319. required: true
  21320. type: integer
  21321. - description: 用户类型 2-机构 7-企业成员
  21322. in: query
  21323. name: usertype
  21324. type: integer
  21325. - description: 现货合同ID, 不填则查所有
  21326. in: query
  21327. name: relatedid
  21328. type: string
  21329. - description: 操作申请id
  21330. in: query
  21331. name: operateapplyid
  21332. type: string
  21333. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21334. in: query
  21335. name: applystatus
  21336. type: string
  21337. produces:
  21338. - application/json
  21339. responses:
  21340. "200":
  21341. description: OK
  21342. schema:
  21343. items:
  21344. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  21345. type: array
  21346. "500":
  21347. description: Internal Server Error
  21348. schema:
  21349. $ref: '#/definitions/app.Response'
  21350. security:
  21351. - ApiKeyAuth: []
  21352. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  21353. tags:
  21354. - 企业风险管理(app)
  21355. /Ermcp/QueryBusinessJsEx:
  21356. get:
  21357. parameters:
  21358. - description: 用户ID
  21359. in: query
  21360. name: UserId
  21361. required: true
  21362. type: integer
  21363. - description: 用户类型 2-机构 7-企业成员
  21364. in: query
  21365. name: usertype
  21366. type: integer
  21367. - description: 现货合同ID, 不填则查所有
  21368. in: query
  21369. name: relatedid
  21370. type: string
  21371. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21372. in: query
  21373. name: applystatus
  21374. type: string
  21375. produces:
  21376. - application/json
  21377. responses:
  21378. "200":
  21379. description: OK
  21380. schema:
  21381. items:
  21382. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  21383. type: array
  21384. "500":
  21385. description: Internal Server Error
  21386. schema:
  21387. $ref: '#/definitions/app.Response'
  21388. security:
  21389. - ApiKeyAuth: []
  21390. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  21391. tags:
  21392. - 企业风险管理(app)
  21393. /Ermcp/QueryBusinessKx:
  21394. get:
  21395. parameters:
  21396. - description: 用户ID
  21397. in: query
  21398. name: UserId
  21399. required: true
  21400. type: integer
  21401. - description: 用户类型 2-机构 7-企业成员
  21402. in: query
  21403. name: usertype
  21404. type: integer
  21405. - description: 现货合同ID, 不填则查所有
  21406. in: query
  21407. name: relatedid
  21408. type: string
  21409. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21410. in: query
  21411. name: applystatus
  21412. type: string
  21413. produces:
  21414. - application/json
  21415. responses:
  21416. "200":
  21417. description: OK
  21418. schema:
  21419. items:
  21420. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  21421. type: array
  21422. "500":
  21423. description: Internal Server Error
  21424. schema:
  21425. $ref: '#/definitions/app.Response'
  21426. security:
  21427. - ApiKeyAuth: []
  21428. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  21429. tags:
  21430. - 企业风险管理(app)
  21431. /Ermcp/QueryChangeLog:
  21432. get:
  21433. parameters:
  21434. - description: 合同ID
  21435. in: query
  21436. name: RelatedId
  21437. required: true
  21438. type: string
  21439. produces:
  21440. - application/json
  21441. responses:
  21442. "200":
  21443. description: OK
  21444. schema:
  21445. items:
  21446. $ref: '#/definitions/ermcp.QryOPLogRsp'
  21447. type: array
  21448. "500":
  21449. description: Internal Server Error
  21450. schema:
  21451. $ref: '#/definitions/app.Response'
  21452. security:
  21453. - ApiKeyAuth: []
  21454. summary: 查询变更记录
  21455. tags:
  21456. - 企业风险管理(app)
  21457. /Ermcp/QueryErmcpHisOrderDetails:
  21458. get:
  21459. parameters:
  21460. - description: 资金账户ID
  21461. in: query
  21462. name: accountID
  21463. required: true
  21464. type: integer
  21465. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  21466. in: query
  21467. name: startDate
  21468. type: string
  21469. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  21470. in: query
  21471. name: endDate
  21472. type: string
  21473. produces:
  21474. - application/json
  21475. responses:
  21476. "200":
  21477. description: OK
  21478. schema:
  21479. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  21480. "500":
  21481. description: Internal Server Error
  21482. schema:
  21483. $ref: '#/definitions/app.Response'
  21484. security:
  21485. - ApiKeyAuth: []
  21486. summary: 获取企业风管期货历史委托单信息
  21487. tags:
  21488. - 企业风险管理(app)
  21489. /Ermcp/QueryErmcpHisTradeDetails:
  21490. get:
  21491. parameters:
  21492. - description: 资金账户ID
  21493. in: query
  21494. name: accountID
  21495. required: true
  21496. type: integer
  21497. - description: 商品ID
  21498. in: query
  21499. name: goodsID
  21500. type: integer
  21501. - description: 买卖方向,0:买 1:卖
  21502. in: query
  21503. name: buyOrSell
  21504. type: integer
  21505. - description: 关联委托单号
  21506. in: query
  21507. name: orderID
  21508. type: integer
  21509. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  21510. in: query
  21511. name: startDate
  21512. type: string
  21513. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  21514. in: query
  21515. name: endDate
  21516. type: string
  21517. produces:
  21518. - application/json
  21519. responses:
  21520. "200":
  21521. description: OK
  21522. schema:
  21523. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  21524. "500":
  21525. description: Internal Server Error
  21526. schema:
  21527. $ref: '#/definitions/app.Response'
  21528. security:
  21529. - ApiKeyAuth: []
  21530. summary: 获取企业风管期货历史成交单信息
  21531. tags:
  21532. - 企业风险管理(app)
  21533. /Ermcp/QueryErmcpInnerHolderDetails:
  21534. get:
  21535. parameters:
  21536. - description: 资金账户ID
  21537. in: query
  21538. name: accountID
  21539. required: true
  21540. type: integer
  21541. - description: 商品ID
  21542. in: query
  21543. name: goodsID
  21544. type: integer
  21545. - description: 买卖方向,0:买 1:卖
  21546. in: query
  21547. name: buyOrSell
  21548. type: integer
  21549. produces:
  21550. - application/json
  21551. responses:
  21552. "200":
  21553. description: OK
  21554. schema:
  21555. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  21556. "500":
  21557. description: Internal Server Error
  21558. schema:
  21559. $ref: '#/definitions/app.Response'
  21560. security:
  21561. - ApiKeyAuth: []
  21562. summary: 获取企业风管期货内部持仓单信息
  21563. tags:
  21564. - 企业风险管理(app)
  21565. /Ermcp/QueryErmcpOrderDetails:
  21566. get:
  21567. parameters:
  21568. - description: 资金账户ID
  21569. in: query
  21570. name: accountID
  21571. required: true
  21572. type: integer
  21573. produces:
  21574. - application/json
  21575. responses:
  21576. "200":
  21577. description: OK
  21578. schema:
  21579. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  21580. "500":
  21581. description: Internal Server Error
  21582. schema:
  21583. $ref: '#/definitions/app.Response'
  21584. security:
  21585. - ApiKeyAuth: []
  21586. summary: 获取企业风管期货委托单信息
  21587. tags:
  21588. - 企业风险管理(app)
  21589. /Ermcp/QueryErmcpTradeDetails:
  21590. get:
  21591. parameters:
  21592. - description: 资金账户ID
  21593. in: query
  21594. name: accountID
  21595. required: true
  21596. type: integer
  21597. - description: 商品ID
  21598. in: query
  21599. name: goodsID
  21600. type: integer
  21601. - description: 买卖方向,0:买 1:卖
  21602. in: query
  21603. name: buyOrSell
  21604. type: integer
  21605. - description: 关联委托单号
  21606. in: query
  21607. name: orderID
  21608. type: integer
  21609. produces:
  21610. - application/json
  21611. responses:
  21612. "200":
  21613. description: OK
  21614. schema:
  21615. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  21616. "500":
  21617. description: Internal Server Error
  21618. schema:
  21619. $ref: '#/definitions/app.Response'
  21620. security:
  21621. - ApiKeyAuth: []
  21622. summary: 获取企业风管期货成交单信息
  21623. tags:
  21624. - 企业风险管理(app)
  21625. /Ermcp/QueryErmcpTradePosition:
  21626. get:
  21627. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  21628. parameters:
  21629. - description: 资金账户ID
  21630. in: query
  21631. name: accountID
  21632. required: true
  21633. type: integer
  21634. - description: 所属市场ID
  21635. in: query
  21636. name: marketID
  21637. type: integer
  21638. produces:
  21639. - application/json
  21640. responses:
  21641. "200":
  21642. description: OK
  21643. schema:
  21644. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  21645. "500":
  21646. description: Internal Server Error
  21647. schema:
  21648. $ref: '#/definitions/app.Response'
  21649. security:
  21650. - ApiKeyAuth: []
  21651. summary: 获取企业风管期货持仓头寸信息
  21652. tags:
  21653. - 企业风险管理(app)
  21654. /Ermcp/QueryExposureDetail:
  21655. get:
  21656. parameters:
  21657. - description: 所属机构ID
  21658. in: query
  21659. name: areaUserId
  21660. required: true
  21661. type: integer
  21662. - description: 套保商品
  21663. in: query
  21664. name: middleGoodsId
  21665. required: true
  21666. type: integer
  21667. produces:
  21668. - application/json
  21669. responses:
  21670. "200":
  21671. description: OK
  21672. schema:
  21673. items:
  21674. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  21675. type: array
  21676. "500":
  21677. description: Internal Server Error
  21678. schema:
  21679. $ref: '#/definitions/app.Response'
  21680. security:
  21681. - ApiKeyAuth: []
  21682. summary: 查询敞口现货明细
  21683. tags:
  21684. - 企业风险管理(app)
  21685. /Ermcp/QueryExposureGoods:
  21686. get:
  21687. parameters:
  21688. - description: 套保商品id
  21689. in: query
  21690. name: middlegoodsid
  21691. required: true
  21692. type: integer
  21693. produces:
  21694. - application/json
  21695. responses:
  21696. "200":
  21697. description: OK
  21698. schema:
  21699. items:
  21700. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  21701. type: array
  21702. "500":
  21703. description: Internal Server Error
  21704. schema:
  21705. $ref: '#/definitions/app.Response'
  21706. security:
  21707. - ApiKeyAuth: []
  21708. summary: 查询敞口主力合约
  21709. tags:
  21710. - 企业风险管理(app)
  21711. /Ermcp/QueryExposureHedgePosition:
  21712. get:
  21713. parameters:
  21714. - description: 用户id
  21715. in: query
  21716. name: userid
  21717. required: true
  21718. type: integer
  21719. produces:
  21720. - application/json
  21721. responses:
  21722. "200":
  21723. description: OK
  21724. schema:
  21725. items:
  21726. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  21727. type: array
  21728. "500":
  21729. description: Internal Server Error
  21730. schema:
  21731. $ref: '#/definitions/app.Response'
  21732. security:
  21733. - ApiKeyAuth: []
  21734. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  21735. tags:
  21736. - 企业风险管理(app)
  21737. /Ermcp/QueryExposureHedgePositionDetail:
  21738. get:
  21739. parameters:
  21740. - description: 所属机构ID
  21741. in: query
  21742. name: userid
  21743. required: true
  21744. type: integer
  21745. - description: 商品id
  21746. in: query
  21747. name: goodsId
  21748. required: true
  21749. type: integer
  21750. produces:
  21751. - application/json
  21752. responses:
  21753. "200":
  21754. description: OK
  21755. schema:
  21756. items:
  21757. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  21758. type: array
  21759. "500":
  21760. description: Internal Server Error
  21761. schema:
  21762. $ref: '#/definitions/app.Response'
  21763. security:
  21764. - ApiKeyAuth: []
  21765. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  21766. tags:
  21767. - 企业风险管理(app)
  21768. /Ermcp/QueryExposureSpot:
  21769. get:
  21770. parameters:
  21771. - description: 所属机构ID
  21772. in: query
  21773. name: areaUserId
  21774. required: true
  21775. type: integer
  21776. produces:
  21777. - application/json
  21778. responses:
  21779. "200":
  21780. description: OK
  21781. schema:
  21782. items:
  21783. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  21784. type: array
  21785. "500":
  21786. description: Internal Server Error
  21787. schema:
  21788. $ref: '#/definitions/app.Response'
  21789. security:
  21790. - ApiKeyAuth: []
  21791. summary: 查询敞口现货头寸(敞口/现货头寸)
  21792. tags:
  21793. - 企业风险管理(app)
  21794. /Ermcp/QueryExposureSpotDetail:
  21795. get:
  21796. parameters:
  21797. - description: 所属机构ID
  21798. in: query
  21799. name: areaUserId
  21800. required: true
  21801. type: integer
  21802. - description: 现货品种ID
  21803. in: query
  21804. name: wrstandardId
  21805. required: true
  21806. type: integer
  21807. produces:
  21808. - application/json
  21809. responses:
  21810. "200":
  21811. description: OK
  21812. schema:
  21813. items:
  21814. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  21815. type: array
  21816. "500":
  21817. description: Internal Server Error
  21818. schema:
  21819. $ref: '#/definitions/app.Response'
  21820. security:
  21821. - ApiKeyAuth: []
  21822. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  21823. tags:
  21824. - 企业风险管理(app)
  21825. /Ermcp/QueryFuturesCompany:
  21826. get:
  21827. produces:
  21828. - application/json
  21829. responses:
  21830. "200":
  21831. description: OK
  21832. schema:
  21833. items:
  21834. $ref: '#/definitions/models.ErmcpFuturesCompany'
  21835. type: array
  21836. "500":
  21837. description: Internal Server Error
  21838. schema:
  21839. $ref: '#/definitions/app.Response'
  21840. security:
  21841. - ApiKeyAuth: []
  21842. summary: 查询期货公司
  21843. tags:
  21844. - 企业风险管理(app)
  21845. /Ermcp/QueryGGConvertConfig:
  21846. get:
  21847. parameters:
  21848. - description: 品种id(不填则查所有)
  21849. in: query
  21850. name: goodsgroupid
  21851. type: integer
  21852. produces:
  21853. - application/json
  21854. responses:
  21855. "200":
  21856. description: OK
  21857. schema:
  21858. items:
  21859. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  21860. type: array
  21861. "500":
  21862. description: Internal Server Error
  21863. schema:
  21864. $ref: '#/definitions/app.Response'
  21865. security:
  21866. - ApiKeyAuth: []
  21867. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  21868. tags:
  21869. - 企业风险管理(app)
  21870. /Ermcp/QueryGoodsBrand:
  21871. get:
  21872. parameters:
  21873. - description: 用户ID
  21874. in: query
  21875. name: userid
  21876. required: true
  21877. type: integer
  21878. - description: 现货商品ID
  21879. in: query
  21880. name: wrstandardid
  21881. type: integer
  21882. produces:
  21883. - application/json
  21884. responses:
  21885. "200":
  21886. description: OK
  21887. schema:
  21888. items:
  21889. $ref: '#/definitions/models.ErmcpGoodsBrand'
  21890. type: array
  21891. "500":
  21892. description: Internal Server Error
  21893. schema:
  21894. $ref: '#/definitions/app.Response'
  21895. security:
  21896. - ApiKeyAuth: []
  21897. summary: 查询商品品牌
  21898. tags:
  21899. - 企业风险管理(app)
  21900. /Ermcp/QueryGoodsModel:
  21901. get:
  21902. parameters:
  21903. - description: 用户ID
  21904. in: query
  21905. name: userid
  21906. required: true
  21907. type: integer
  21908. produces:
  21909. - application/json
  21910. responses:
  21911. "200":
  21912. description: OK
  21913. schema:
  21914. items:
  21915. $ref: '#/definitions/models.ErmcpGoodsModel'
  21916. type: array
  21917. "500":
  21918. description: Internal Server Error
  21919. schema:
  21920. $ref: '#/definitions/app.Response'
  21921. security:
  21922. - ApiKeyAuth: []
  21923. summary: 查询商品型号
  21924. tags:
  21925. - 企业风险管理(app)
  21926. /Ermcp/QueryHisExposure:
  21927. get:
  21928. parameters:
  21929. - description: 用户id
  21930. in: query
  21931. name: userid
  21932. required: true
  21933. type: integer
  21934. - description: 每个品种记录数
  21935. in: query
  21936. name: lastNum
  21937. required: true
  21938. type: integer
  21939. produces:
  21940. - application/json
  21941. responses:
  21942. "200":
  21943. description: OK
  21944. schema:
  21945. items:
  21946. $ref: '#/definitions/ermcp.HisExposureRsp'
  21947. type: array
  21948. "500":
  21949. description: Internal Server Error
  21950. schema:
  21951. $ref: '#/definitions/app.Response'
  21952. security:
  21953. - ApiKeyAuth: []
  21954. summary: 查询历史敞口(菜单:敞口/历史敞口)
  21955. tags:
  21956. - 企业风险管理(app)
  21957. /Ermcp/QueryMiddleGoods:
  21958. get:
  21959. parameters:
  21960. - description: 所属机构ID
  21961. in: query
  21962. name: userid
  21963. required: true
  21964. type: integer
  21965. - description: 状态 0-停用 1-正常
  21966. in: query
  21967. name: status
  21968. required: true
  21969. type: integer
  21970. produces:
  21971. - application/json
  21972. responses:
  21973. "200":
  21974. description: OK
  21975. schema:
  21976. items:
  21977. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  21978. type: array
  21979. "500":
  21980. description: Internal Server Error
  21981. schema:
  21982. $ref: '#/definitions/app.Response'
  21983. security:
  21984. - ApiKeyAuth: []
  21985. summary: 查询套保品种(菜单:套保品种)
  21986. tags:
  21987. - 企业风险管理(app)
  21988. /Ermcp/QueryMiddleGoodsChangeLog:
  21989. get:
  21990. parameters:
  21991. - description: 所属机构ID
  21992. in: query
  21993. name: userid
  21994. required: true
  21995. type: integer
  21996. - description: 套保品种id
  21997. in: query
  21998. name: middlegoodsid
  21999. required: true
  22000. type: integer
  22001. produces:
  22002. - application/json
  22003. responses:
  22004. "200":
  22005. description: OK
  22006. schema:
  22007. items:
  22008. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  22009. type: array
  22010. "500":
  22011. description: Internal Server Error
  22012. schema:
  22013. $ref: '#/definitions/app.Response'
  22014. security:
  22015. - ApiKeyAuth: []
  22016. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  22017. tags:
  22018. - 企业风险管理(app)
  22019. /Ermcp/QueryMiddleGoodsDetail:
  22020. get:
  22021. parameters:
  22022. - description: 所属机构ID
  22023. in: query
  22024. name: userid
  22025. required: true
  22026. type: integer
  22027. - description: 套保品种id
  22028. in: query
  22029. name: middlegoodsid
  22030. type: integer
  22031. produces:
  22032. - application/json
  22033. responses:
  22034. "200":
  22035. description: OK
  22036. schema:
  22037. items:
  22038. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  22039. type: array
  22040. "500":
  22041. description: Internal Server Error
  22042. schema:
  22043. $ref: '#/definitions/app.Response'
  22044. security:
  22045. - ApiKeyAuth: []
  22046. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  22047. tags:
  22048. - 企业风险管理(app)
  22049. /Ermcp/QueryPendingAuditInfo:
  22050. get:
  22051. parameters:
  22052. - description: 用户ID
  22053. in: query
  22054. name: UserId
  22055. required: true
  22056. type: integer
  22057. produces:
  22058. - application/json
  22059. responses:
  22060. "200":
  22061. description: OK
  22062. schema:
  22063. items:
  22064. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  22065. type: array
  22066. "500":
  22067. description: Internal Server Error
  22068. schema:
  22069. $ref: '#/definitions/app.Response'
  22070. security:
  22071. - ApiKeyAuth: []
  22072. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  22073. tags:
  22074. - 企业风险管理(app)
  22075. /Ermcp/QueryRealtimeExposure:
  22076. get:
  22077. parameters:
  22078. - description: 所属机构ID
  22079. in: query
  22080. name: userid
  22081. required: true
  22082. type: integer
  22083. produces:
  22084. - application/json
  22085. responses:
  22086. "200":
  22087. description: OK
  22088. schema:
  22089. items:
  22090. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  22091. type: array
  22092. "500":
  22093. description: Internal Server Error
  22094. schema:
  22095. $ref: '#/definitions/app.Response'
  22096. security:
  22097. - ApiKeyAuth: []
  22098. summary: 查询实时敞口
  22099. tags:
  22100. - 企业风险管理(app)
  22101. /Ermcp/QueryRealtimeExposurePosition:
  22102. get:
  22103. parameters:
  22104. - description: 用户id
  22105. in: query
  22106. name: userid
  22107. required: true
  22108. type: integer
  22109. - description: 套保商品ID
  22110. in: query
  22111. name: middleGoodsId
  22112. required: true
  22113. type: integer
  22114. produces:
  22115. - application/json
  22116. responses:
  22117. "200":
  22118. description: OK
  22119. schema:
  22120. items:
  22121. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  22122. type: array
  22123. "500":
  22124. description: Internal Server Error
  22125. schema:
  22126. $ref: '#/definitions/app.Response'
  22127. security:
  22128. - ApiKeyAuth: []
  22129. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  22130. tags:
  22131. - 企业风险管理(app)
  22132. /Ermcp/QueryRoleMenu:
  22133. get:
  22134. parameters:
  22135. - description: 登录ID
  22136. in: query
  22137. name: loginid
  22138. required: true
  22139. type: integer
  22140. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  22141. in: query
  22142. name: menutype
  22143. type: integer
  22144. produces:
  22145. - application/json
  22146. responses:
  22147. "200":
  22148. description: OK
  22149. schema:
  22150. items:
  22151. $ref: '#/definitions/models.RoleMenu'
  22152. type: array
  22153. "500":
  22154. description: Internal Server Error
  22155. schema:
  22156. $ref: '#/definitions/app.Response'
  22157. security:
  22158. - ApiKeyAuth: []
  22159. summary: 查询角色菜单和权限
  22160. tags:
  22161. - 企业风险管理(app)
  22162. /Ermcp/QueryTradeConfigTMP:
  22163. get:
  22164. parameters:
  22165. - description: 所属机构id
  22166. in: query
  22167. name: areauserid
  22168. type: integer
  22169. produces:
  22170. - application/json
  22171. responses:
  22172. "200":
  22173. description: OK
  22174. schema:
  22175. items:
  22176. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  22177. type: array
  22178. "500":
  22179. description: Internal Server Error
  22180. schema:
  22181. $ref: '#/definitions/app.Response'
  22182. security:
  22183. - ApiKeyAuth: []
  22184. summary: 查询交易模板配置
  22185. tags:
  22186. - 企业风险管理(app)
  22187. /Ermcp/QueryUserInfo:
  22188. get:
  22189. parameters:
  22190. - description: 所属机构用户ID
  22191. in: query
  22192. name: MemberUserID
  22193. required: true
  22194. type: integer
  22195. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  22196. in: query
  22197. name: queryType
  22198. required: true
  22199. type: integer
  22200. produces:
  22201. - application/json
  22202. responses:
  22203. "200":
  22204. description: OK
  22205. schema:
  22206. items:
  22207. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  22208. type: array
  22209. "500":
  22210. description: Internal Server Error
  22211. schema:
  22212. $ref: '#/definitions/app.Response'
  22213. security:
  22214. - ApiKeyAuth: []
  22215. summary: 查询客户资料
  22216. tags:
  22217. - 企业风险管理(app)
  22218. /Ermcp/QueryWarehouseInfo:
  22219. get:
  22220. parameters:
  22221. - description: 用户ID
  22222. in: query
  22223. name: userid
  22224. required: true
  22225. type: integer
  22226. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  22227. in: query
  22228. name: status
  22229. type: string
  22230. produces:
  22231. - application/json
  22232. responses:
  22233. "200":
  22234. description: OK
  22235. schema:
  22236. items:
  22237. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  22238. type: array
  22239. "500":
  22240. description: Internal Server Error
  22241. schema:
  22242. $ref: '#/definitions/app.Response'
  22243. security:
  22244. - ApiKeyAuth: []
  22245. summary: 查询仓库信息
  22246. tags:
  22247. - 企业风险管理(app)
  22248. /Ermcp3/QryAreaExpourseContractDetail:
  22249. get:
  22250. parameters:
  22251. - description: 用户ID
  22252. in: query
  22253. name: userid
  22254. required: true
  22255. type: integer
  22256. - description: 套保商品id
  22257. in: query
  22258. name: middlegoodsid
  22259. required: true
  22260. type: integer
  22261. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22262. in: query
  22263. name: cycletype
  22264. required: true
  22265. type: integer
  22266. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22267. 全(0)【原值】
  22268. in: query
  22269. name: cycletime
  22270. required: true
  22271. type: string
  22272. produces:
  22273. - application/json
  22274. responses:
  22275. "200":
  22276. description: OK
  22277. schema:
  22278. items:
  22279. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  22280. type: array
  22281. "500":
  22282. description: Internal Server Error
  22283. schema:
  22284. $ref: '#/definitions/app.Response'
  22285. security:
  22286. - ApiKeyAuth: []
  22287. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  22288. tags:
  22289. - 企业风险管理v3(app)
  22290. /Ermcp3/QryAreaExpourseFutuDetail:
  22291. get:
  22292. parameters:
  22293. - description: 用户ID
  22294. in: query
  22295. name: userid
  22296. required: true
  22297. type: integer
  22298. - description: 套保商品id
  22299. in: query
  22300. name: middlegoodsid
  22301. required: true
  22302. type: integer
  22303. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22304. in: query
  22305. name: cycletype
  22306. required: true
  22307. type: integer
  22308. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22309. 全(0)【原值】
  22310. in: query
  22311. name: cycletime
  22312. required: true
  22313. type: string
  22314. produces:
  22315. - application/json
  22316. responses:
  22317. "200":
  22318. description: OK
  22319. schema:
  22320. items:
  22321. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  22322. type: array
  22323. "500":
  22324. description: Internal Server Error
  22325. schema:
  22326. $ref: '#/definitions/app.Response'
  22327. security:
  22328. - ApiKeyAuth: []
  22329. summary: 查询敞口期货明细(敞口报表/期货明细)
  22330. tags:
  22331. - 企业风险管理v3(app)
  22332. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  22333. get:
  22334. parameters:
  22335. - description: 用户ID
  22336. in: query
  22337. name: userid
  22338. required: true
  22339. type: integer
  22340. - description: 套保商品id
  22341. in: query
  22342. name: middlegoodsid
  22343. required: true
  22344. type: integer
  22345. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22346. in: query
  22347. name: cycletype
  22348. required: true
  22349. type: integer
  22350. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22351. 全(0)【原值】
  22352. in: query
  22353. name: cycletime
  22354. required: true
  22355. type: string
  22356. produces:
  22357. - application/json
  22358. responses:
  22359. "200":
  22360. description: OK
  22361. schema:
  22362. items:
  22363. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  22364. type: array
  22365. "500":
  22366. description: Internal Server Error
  22367. schema:
  22368. $ref: '#/definitions/app.Response'
  22369. security:
  22370. - ApiKeyAuth: []
  22371. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  22372. tags:
  22373. - 企业风险管理v3(app)
  22374. /Ermcp3/QryAreaExpourseParamChLogDetail:
  22375. get:
  22376. parameters:
  22377. - description: 用户ID
  22378. in: query
  22379. name: userid
  22380. required: true
  22381. type: integer
  22382. - description: 套保商品id
  22383. in: query
  22384. name: middlegoodsid
  22385. required: true
  22386. type: integer
  22387. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22388. in: query
  22389. name: cycletype
  22390. required: true
  22391. type: integer
  22392. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22393. 全(0)【原值】
  22394. in: query
  22395. name: cycletime
  22396. required: true
  22397. type: string
  22398. produces:
  22399. - application/json
  22400. responses:
  22401. "200":
  22402. description: OK
  22403. schema:
  22404. items:
  22405. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  22406. type: array
  22407. "500":
  22408. description: Internal Server Error
  22409. schema:
  22410. $ref: '#/definitions/app.Response'
  22411. security:
  22412. - ApiKeyAuth: []
  22413. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  22414. tags:
  22415. - 企业风险管理v3(app)
  22416. /Ermcp3/QryAreaExpourseReport:
  22417. get:
  22418. parameters:
  22419. - description: 用户ID
  22420. in: query
  22421. name: userid
  22422. required: true
  22423. type: integer
  22424. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  22425. in: query
  22426. name: querytype
  22427. required: true
  22428. type: integer
  22429. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22430. in: query
  22431. name: cycletype
  22432. required: true
  22433. type: integer
  22434. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22435. 全(0)【原值】
  22436. in: query
  22437. name: cycletime
  22438. required: true
  22439. type: string
  22440. produces:
  22441. - application/json
  22442. responses:
  22443. "200":
  22444. description: OK
  22445. schema:
  22446. items:
  22447. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  22448. type: array
  22449. "500":
  22450. description: Internal Server Error
  22451. schema:
  22452. $ref: '#/definitions/app.Response'
  22453. security:
  22454. - ApiKeyAuth: []
  22455. summary: 查询敞口报表
  22456. tags:
  22457. - 企业风险管理v3(app)
  22458. /Ermcp3/QryAreaSpotplReport:
  22459. get:
  22460. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  22461. parameters:
  22462. - description: 用户ID
  22463. in: query
  22464. name: userid
  22465. required: true
  22466. type: integer
  22467. - description: 查询类型 1-报表 2-报表明细
  22468. in: query
  22469. name: querytype
  22470. required: true
  22471. type: integer
  22472. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22473. in: query
  22474. name: cycletype
  22475. required: true
  22476. type: integer
  22477. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22478. 全(0)【原值】
  22479. in: query
  22480. name: cycletime
  22481. required: true
  22482. type: string
  22483. - description: 现货品种id(明细必填)
  22484. in: query
  22485. name: deliverygoodsid
  22486. type: integer
  22487. - description: 币种id(明细必填)
  22488. in: query
  22489. name: currencyid
  22490. type: integer
  22491. - description: 日/周/月报表汇总维度 1:品种+品类
  22492. in: query
  22493. name: sumflag
  22494. type: integer
  22495. produces:
  22496. - application/json
  22497. responses:
  22498. "200":
  22499. description: OK
  22500. schema:
  22501. items:
  22502. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  22503. type: array
  22504. "500":
  22505. description: Internal Server Error
  22506. schema:
  22507. $ref: '#/definitions/app.Response'
  22508. security:
  22509. - ApiKeyAuth: []
  22510. summary: 查询现货报表
  22511. tags:
  22512. - 企业风险管理v3(app)
  22513. /Ermcp3/QryAreaStockReport:
  22514. get:
  22515. parameters:
  22516. - description: 用户ID
  22517. in: query
  22518. name: userid
  22519. required: true
  22520. type: integer
  22521. - description: 查询类型 1-报表 2-报表明细
  22522. in: query
  22523. name: querytype
  22524. required: true
  22525. type: integer
  22526. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22527. in: query
  22528. name: cycletype
  22529. required: true
  22530. type: integer
  22531. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22532. 全(0)【原值】
  22533. in: query
  22534. name: cycletime
  22535. required: true
  22536. type: string
  22537. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  22538. in: query
  22539. name: sumfields
  22540. type: string
  22541. - description: 品种ID
  22542. in: query
  22543. name: deliverygoodsid
  22544. type: integer
  22545. - description: 品类ID
  22546. in: query
  22547. name: wrstandardid
  22548. type: integer
  22549. - description: 品牌ID
  22550. in: query
  22551. name: spotgoodsbrandid
  22552. type: integer
  22553. - description: 仓库ID
  22554. in: query
  22555. name: warehouseinfoid
  22556. type: integer
  22557. produces:
  22558. - application/json
  22559. responses:
  22560. "200":
  22561. description: OK
  22562. schema:
  22563. items:
  22564. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  22565. type: array
  22566. "500":
  22567. description: Internal Server Error
  22568. schema:
  22569. $ref: '#/definitions/app.Response'
  22570. security:
  22571. - ApiKeyAuth: []
  22572. summary: 查询库存报表
  22573. tags:
  22574. - 企业风险管理v3(app)
  22575. /Ermcp3/QryAreaSumPL:
  22576. get:
  22577. parameters:
  22578. - description: 用户ID
  22579. in: query
  22580. name: userid
  22581. required: true
  22582. type: integer
  22583. - description: 查询类型 1-报表 2-报表明细
  22584. in: query
  22585. name: querytype
  22586. required: true
  22587. type: integer
  22588. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22589. in: query
  22590. name: cycletype
  22591. required: true
  22592. type: integer
  22593. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22594. 全(0)【原值】
  22595. in: query
  22596. name: cycletime
  22597. required: true
  22598. type: string
  22599. - description: 币种id(明细必填)
  22600. in: query
  22601. name: currencyid
  22602. type: integer
  22603. produces:
  22604. - application/json
  22605. responses:
  22606. "200":
  22607. description: OK
  22608. schema:
  22609. items:
  22610. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  22611. type: array
  22612. "500":
  22613. description: Internal Server Error
  22614. schema:
  22615. $ref: '#/definitions/app.Response'
  22616. security:
  22617. - ApiKeyAuth: []
  22618. summary: 查询汇总损益表
  22619. tags:
  22620. - 企业风险管理v3(app)
  22621. /Ermcp3/QryFinanceReport:
  22622. get:
  22623. parameters:
  22624. - description: 用户ID
  22625. in: query
  22626. name: userid
  22627. required: true
  22628. type: integer
  22629. - description: 查询类型 1-报表 2-报表明细
  22630. in: query
  22631. name: querytype
  22632. required: true
  22633. type: integer
  22634. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22635. in: query
  22636. name: cycletype
  22637. required: true
  22638. type: integer
  22639. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22640. 全(0)【原值】
  22641. in: query
  22642. name: cycletime
  22643. required: true
  22644. type: string
  22645. - description: 币种id(报表明细必填)
  22646. in: query
  22647. name: currencyid
  22648. type: integer
  22649. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  22650. in: query
  22651. name: sumfields
  22652. type: string
  22653. produces:
  22654. - application/json
  22655. responses:
  22656. "200":
  22657. description: OK
  22658. schema:
  22659. items:
  22660. $ref: '#/definitions/models.Ermcp3FinanceReport'
  22661. type: array
  22662. "500":
  22663. description: Internal Server Error
  22664. schema:
  22665. $ref: '#/definitions/app.Response'
  22666. security:
  22667. - ApiKeyAuth: []
  22668. summary: 查询财务报表
  22669. tags:
  22670. - 企业风险管理v3(app)
  22671. /Ermcp3/QrySCMiddleGoodsReport:
  22672. get:
  22673. parameters:
  22674. - description: 用户ID
  22675. in: query
  22676. name: userid
  22677. required: true
  22678. type: integer
  22679. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22680. in: query
  22681. name: cycletype
  22682. required: true
  22683. type: integer
  22684. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22685. 全(0)【原值】
  22686. in: query
  22687. name: cycletime
  22688. required: true
  22689. type: string
  22690. - description: 合同id
  22691. in: query
  22692. name: spotcontractid
  22693. type: integer
  22694. - description: 套保品种id
  22695. in: query
  22696. name: middlegoodsid
  22697. type: integer
  22698. - description: 现货品种id
  22699. in: query
  22700. name: deliverygoodsid
  22701. type: integer
  22702. - description: 现货商品id
  22703. in: query
  22704. name: wrstandardid
  22705. type: integer
  22706. - description: 合同编号(模糊匹配)
  22707. in: query
  22708. name: contractno
  22709. type: string
  22710. produces:
  22711. - application/json
  22712. responses:
  22713. "200":
  22714. description: OK
  22715. schema:
  22716. items:
  22717. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  22718. type: array
  22719. "500":
  22720. description: Internal Server Error
  22721. schema:
  22722. $ref: '#/definitions/app.Response'
  22723. security:
  22724. - ApiKeyAuth: []
  22725. summary: 查询定价报表
  22726. tags:
  22727. - 企业风险管理v3(app)
  22728. /Ermcp3/QryTaFutureDataReport:
  22729. get:
  22730. parameters:
  22731. - description: 用户ID
  22732. in: query
  22733. name: userid
  22734. required: true
  22735. type: integer
  22736. - description: 查询类型 1-报表 2-报表明细
  22737. in: query
  22738. name: querytype
  22739. required: true
  22740. type: integer
  22741. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22742. in: query
  22743. name: cycletype
  22744. required: true
  22745. type: integer
  22746. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22747. 全(0)【原值】
  22748. in: query
  22749. name: cycletime
  22750. required: true
  22751. type: string
  22752. - description: 币种id(查明细必填)
  22753. in: query
  22754. name: currencyid
  22755. type: integer
  22756. - description: 品种id(查明细必填)
  22757. in: query
  22758. name: goodsgroupid
  22759. type: integer
  22760. - description: 商品id(查明细必填)
  22761. in: query
  22762. name: goodsid
  22763. type: integer
  22764. - description: 买卖方向(查明细必填)
  22765. in: query
  22766. name: buyorsell
  22767. type: integer
  22768. produces:
  22769. - application/json
  22770. responses:
  22771. "200":
  22772. description: OK
  22773. schema:
  22774. items:
  22775. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  22776. type: array
  22777. "500":
  22778. description: Internal Server Error
  22779. schema:
  22780. $ref: '#/definitions/app.Response'
  22781. security:
  22782. - ApiKeyAuth: []
  22783. summary: 查询期货报表
  22784. tags:
  22785. - 企业风险管理v3(app)
  22786. /Ermcp3/QueryAreaStock:
  22787. get:
  22788. parameters:
  22789. - description: 用户ID
  22790. in: query
  22791. name: userid
  22792. required: true
  22793. type: integer
  22794. produces:
  22795. - application/json
  22796. responses:
  22797. "200":
  22798. description: OK
  22799. schema:
  22800. items:
  22801. $ref: '#/definitions/models.Ermcp3AreaStock'
  22802. type: array
  22803. "500":
  22804. description: Internal Server Error
  22805. schema:
  22806. $ref: '#/definitions/app.Response'
  22807. security:
  22808. - ApiKeyAuth: []
  22809. summary: 查询机构库存(库存管理/当前库存)
  22810. tags:
  22811. - 企业风险管理v3(app)
  22812. /Ermcp3/QueryAreaStockApply:
  22813. get:
  22814. parameters:
  22815. - description: 用户ID
  22816. in: query
  22817. name: userid
  22818. required: true
  22819. type: integer
  22820. - description: 用户类型 2-机构 7-企业成员
  22821. in: query
  22822. name: usertype
  22823. type: integer
  22824. - description: 现货商品ID
  22825. in: query
  22826. name: deliverygoodsid
  22827. type: integer
  22828. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  22829. in: query
  22830. name: inouttype
  22831. type: string
  22832. - description: 合同ID
  22833. in: query
  22834. name: spotcontractid
  22835. type: integer
  22836. - description: 品类ID
  22837. in: query
  22838. name: wrstandardid
  22839. type: integer
  22840. - description: 品牌ID
  22841. in: query
  22842. name: spotgoodsbrandid
  22843. type: integer
  22844. - description: 仓库ID
  22845. in: query
  22846. name: warehouseinfoid
  22847. type: integer
  22848. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22849. in: query
  22850. name: applystatus
  22851. type: string
  22852. produces:
  22853. - application/json
  22854. responses:
  22855. "200":
  22856. description: OK
  22857. schema:
  22858. items:
  22859. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  22860. type: array
  22861. "500":
  22862. description: Internal Server Error
  22863. schema:
  22864. $ref: '#/definitions/app.Response'
  22865. security:
  22866. - ApiKeyAuth: []
  22867. summary: 查询库存申请(出入库记录|库存审核)
  22868. tags:
  22869. - 企业风险管理v3(app)
  22870. /Ermcp3/QueryAreaStockApplySum:
  22871. get:
  22872. parameters:
  22873. - description: 合同ID
  22874. in: query
  22875. name: spotcontractid
  22876. required: true
  22877. type: integer
  22878. produces:
  22879. - application/json
  22880. responses:
  22881. "200":
  22882. description: OK
  22883. schema:
  22884. items:
  22885. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  22886. type: array
  22887. "500":
  22888. description: Internal Server Error
  22889. schema:
  22890. $ref: '#/definitions/app.Response'
  22891. security:
  22892. - ApiKeyAuth: []
  22893. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  22894. tags:
  22895. - 企业风险管理v3(app)
  22896. /Ermcp3/QueryDGFactoryItem:
  22897. get:
  22898. parameters:
  22899. - description: 用户id
  22900. in: query
  22901. name: userid
  22902. type: integer
  22903. - description: 用户类型 2-机构 7-企业成员
  22904. in: query
  22905. name: usertype
  22906. type: integer
  22907. - description: 选择项ID(SEQ_DGFACTORYITEM)
  22908. in: query
  22909. name: dgfactoryitemid
  22910. type: integer
  22911. - description: 现货品种ID
  22912. in: query
  22913. name: deliverygoodsid
  22914. type: integer
  22915. - description: 要素项类型
  22916. in: query
  22917. name: dgfactoryitemtypeid
  22918. type: integer
  22919. - description: 顺序
  22920. in: query
  22921. name: orderindex
  22922. type: integer
  22923. produces:
  22924. - application/json
  22925. responses:
  22926. "200":
  22927. description: OK
  22928. schema:
  22929. items:
  22930. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  22931. type: array
  22932. "500":
  22933. description: Internal Server Error
  22934. schema:
  22935. $ref: '#/definitions/app.Response'
  22936. security:
  22937. - ApiKeyAuth: []
  22938. summary: 查询品种要素定义项
  22939. tags:
  22940. - 企业风险管理v3(app)
  22941. /Ermcp3/QueryDeliveryGoods:
  22942. get:
  22943. parameters:
  22944. - description: 用户id
  22945. in: query
  22946. name: userid
  22947. required: true
  22948. type: integer
  22949. - description: 用户类型 2-机构 7-企业成员
  22950. in: query
  22951. name: usertype
  22952. type: integer
  22953. - description: 排除已配置的业务类型商品 1-套保 2-套利
  22954. in: query
  22955. name: excludecfg
  22956. type: integer
  22957. produces:
  22958. - application/json
  22959. responses:
  22960. "200":
  22961. description: OK
  22962. schema:
  22963. items:
  22964. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  22965. type: array
  22966. "500":
  22967. description: Internal Server Error
  22968. schema:
  22969. $ref: '#/definitions/app.Response'
  22970. security:
  22971. - ApiKeyAuth: []
  22972. summary: 查询现货商品
  22973. tags:
  22974. - 企业风险管理v3(app)
  22975. /Ermcp3/QueryDeliveryGoodsDetail:
  22976. get:
  22977. parameters:
  22978. - description: 用户id
  22979. in: query
  22980. name: userid
  22981. required: true
  22982. type: integer
  22983. - description: 用户类型 2-机构 7-企业成员
  22984. in: query
  22985. name: usertype
  22986. type: integer
  22987. - description: 现货商品id
  22988. in: query
  22989. name: deliverygoodsid
  22990. type: integer
  22991. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  22992. in: query
  22993. name: filtersubempty
  22994. type: integer
  22995. produces:
  22996. - application/json
  22997. responses:
  22998. "200":
  22999. description: OK
  23000. schema:
  23001. items:
  23002. $ref: '#/definitions/models.XHDeliveryGoods'
  23003. type: array
  23004. "500":
  23005. description: Internal Server Error
  23006. schema:
  23007. $ref: '#/definitions/app.Response'
  23008. security:
  23009. - ApiKeyAuth: []
  23010. summary: 查询现货商品详情
  23011. tags:
  23012. - 企业风险管理v3(app)
  23013. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  23014. get:
  23015. parameters:
  23016. - description: 合同id
  23017. in: query
  23018. name: spotcontractid
  23019. required: true
  23020. type: string
  23021. produces:
  23022. - application/json
  23023. responses:
  23024. "200":
  23025. description: OK
  23026. schema:
  23027. items:
  23028. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  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(app)
  23039. /Ermcp3/QueryExposureDetail:
  23040. get:
  23041. parameters:
  23042. - description: 用户id
  23043. in: query
  23044. name: userid
  23045. required: true
  23046. type: integer
  23047. - description: 用户类型 2-机构 7-企业成员
  23048. in: query
  23049. name: usertype
  23050. type: integer
  23051. - description: 套保商品
  23052. in: query
  23053. name: middlegoodsid
  23054. required: true
  23055. type: integer
  23056. produces:
  23057. - application/json
  23058. responses:
  23059. "200":
  23060. description: OK
  23061. schema:
  23062. items:
  23063. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  23064. type: array
  23065. "500":
  23066. description: Internal Server Error
  23067. schema:
  23068. $ref: '#/definitions/app.Response'
  23069. security:
  23070. - ApiKeyAuth: []
  23071. summary: 查询敞口现货明细
  23072. tags:
  23073. - 企业风险管理v3(app)
  23074. /Ermcp3/QueryExposureSpot:
  23075. get:
  23076. parameters:
  23077. - description: 用户id
  23078. in: query
  23079. name: userid
  23080. required: true
  23081. type: integer
  23082. - description: 用户类型 2-机构 7-企业成员
  23083. in: query
  23084. name: usertype
  23085. type: integer
  23086. produces:
  23087. - application/json
  23088. responses:
  23089. "200":
  23090. description: OK
  23091. schema:
  23092. items:
  23093. $ref: '#/definitions/models.Ermcp3AreaSpot'
  23094. type: array
  23095. "500":
  23096. description: Internal Server Error
  23097. schema:
  23098. $ref: '#/definitions/app.Response'
  23099. security:
  23100. - ApiKeyAuth: []
  23101. summary: 查询敞口现货头寸(敞口/现货头寸)
  23102. tags:
  23103. - 企业风险管理v3(app)
  23104. /Ermcp3/QueryExposureSpotDetail:
  23105. get:
  23106. parameters:
  23107. - description: 用户id
  23108. in: query
  23109. name: userid
  23110. required: true
  23111. type: integer
  23112. - description: 用户类型 2-机构 7-企业成员
  23113. in: query
  23114. name: usertype
  23115. type: integer
  23116. - description: 现货商品ID
  23117. in: query
  23118. name: wrstandardid
  23119. required: true
  23120. type: integer
  23121. produces:
  23122. - application/json
  23123. responses:
  23124. "200":
  23125. description: OK
  23126. schema:
  23127. items:
  23128. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  23129. type: array
  23130. "500":
  23131. description: Internal Server Error
  23132. schema:
  23133. $ref: '#/definitions/app.Response'
  23134. security:
  23135. - ApiKeyAuth: []
  23136. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  23137. tags:
  23138. - 企业风险管理v3(app)
  23139. /Ermcp3/QueryGoodsGroup:
  23140. get:
  23141. parameters:
  23142. - description: 用户id
  23143. in: query
  23144. name: userid
  23145. required: true
  23146. type: integer
  23147. - description: 用户类型 2-机构 7-企业成员
  23148. in: query
  23149. name: usertype
  23150. type: integer
  23151. - description: 排除套保品中已关联的商品组 1-排除
  23152. in: query
  23153. name: excludecfg
  23154. type: integer
  23155. produces:
  23156. - application/json
  23157. responses:
  23158. "200":
  23159. description: OK
  23160. schema:
  23161. items:
  23162. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  23163. type: array
  23164. "500":
  23165. description: Internal Server Error
  23166. schema:
  23167. $ref: '#/definitions/app.Response'
  23168. security:
  23169. - ApiKeyAuth: []
  23170. summary: 查询期货商品组
  23171. tags:
  23172. - 企业风险管理v3(app)
  23173. /Ermcp3/QueryGoodsWrstandard:
  23174. get:
  23175. parameters:
  23176. - description: 用户id
  23177. in: query
  23178. name: userid
  23179. required: true
  23180. type: integer
  23181. - description: 用户类型 2-机构 7-企业成员
  23182. in: query
  23183. name: usertype
  23184. type: integer
  23185. - description: 现货商品id
  23186. in: query
  23187. name: deliverygoodsid
  23188. type: integer
  23189. produces:
  23190. - application/json
  23191. responses:
  23192. "200":
  23193. description: OK
  23194. schema:
  23195. items:
  23196. $ref: '#/definitions/models.Ermcp3Wrstandard'
  23197. type: array
  23198. "500":
  23199. description: Internal Server Error
  23200. schema:
  23201. $ref: '#/definitions/app.Response'
  23202. security:
  23203. - ApiKeyAuth: []
  23204. summary: 查询商品品类
  23205. tags:
  23206. - 企业风险管理v3(app)
  23207. /Ermcp3/QueryGoodsbrand:
  23208. get:
  23209. parameters:
  23210. - description: 用户id
  23211. in: query
  23212. name: userid
  23213. required: true
  23214. type: integer
  23215. - description: 用户类型 2-机构 7-企业成员
  23216. in: query
  23217. name: usertype
  23218. type: integer
  23219. produces:
  23220. - application/json
  23221. responses:
  23222. "200":
  23223. description: OK
  23224. schema:
  23225. items:
  23226. $ref: '#/definitions/models.Ermcp3Brand'
  23227. type: array
  23228. "500":
  23229. description: Internal Server Error
  23230. schema:
  23231. $ref: '#/definitions/app.Response'
  23232. security:
  23233. - ApiKeyAuth: []
  23234. summary: 查询商品品牌
  23235. tags:
  23236. - 企业风险管理v3(app)
  23237. /Ermcp3/QueryHPMiddleGoods:
  23238. get:
  23239. parameters:
  23240. - description: 用户ID(填登录用户的userid)
  23241. in: query
  23242. name: userid
  23243. required: true
  23244. type: integer
  23245. - description: 买卖方向 0-买 1-卖
  23246. in: query
  23247. name: buyorsell
  23248. required: true
  23249. type: integer
  23250. - description: 商品组id
  23251. in: query
  23252. name: goodsgroupid
  23253. required: true
  23254. type: integer
  23255. - description: 套保计划编号(模糊匹配)
  23256. in: query
  23257. name: hedgeplanno
  23258. type: string
  23259. - description: 现货商品名称(模糊匹配)
  23260. in: query
  23261. name: wrstandardname
  23262. type: string
  23263. produces:
  23264. - application/json
  23265. responses:
  23266. "200":
  23267. description: OK
  23268. schema:
  23269. items:
  23270. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  23271. type: array
  23272. "500":
  23273. description: Internal Server Error
  23274. schema:
  23275. $ref: '#/definitions/app.Response'
  23276. security:
  23277. - ApiKeyAuth: []
  23278. summary: 查询可关联套保计划
  23279. tags:
  23280. - 企业风险管理v3(app)
  23281. /Ermcp3/QueryHedgePlan:
  23282. get:
  23283. parameters:
  23284. - description: 用户ID
  23285. in: query
  23286. name: userid
  23287. required: true
  23288. type: integer
  23289. - description: 用户类型 2-机构 7-企业成员
  23290. in: query
  23291. name: usertype
  23292. type: integer
  23293. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  23294. in: query
  23295. name: hedgeplanstatus
  23296. required: true
  23297. type: string
  23298. produces:
  23299. - application/json
  23300. responses:
  23301. "200":
  23302. description: OK
  23303. schema:
  23304. items:
  23305. $ref: '#/definitions/models.Ermcp3HedgePlan'
  23306. type: array
  23307. "500":
  23308. description: Internal Server Error
  23309. schema:
  23310. $ref: '#/definitions/app.Response'
  23311. security:
  23312. - ApiKeyAuth: []
  23313. summary: 查询套保计划
  23314. tags:
  23315. - 企业风险管理v3(app)
  23316. /Ermcp3/QueryInnerTradeLink:
  23317. get:
  23318. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  23319. parameters:
  23320. - description: 外部成交单号
  23321. in: query
  23322. name: outtradeid
  23323. required: true
  23324. type: integer
  23325. produces:
  23326. - application/json
  23327. responses:
  23328. "200":
  23329. description: OK
  23330. schema:
  23331. items:
  23332. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  23333. type: array
  23334. "500":
  23335. description: Internal Server Error
  23336. schema:
  23337. $ref: '#/definitions/app.Response'
  23338. security:
  23339. - ApiKeyAuth: []
  23340. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  23341. tags:
  23342. - 企业风险管理v3(app)
  23343. /Ermcp3/QueryMiddleGoodsDetail:
  23344. get:
  23345. parameters:
  23346. - description: 用户id
  23347. in: query
  23348. name: userid
  23349. required: true
  23350. type: integer
  23351. - description: 用户类型 2-机构 7-企业成员
  23352. in: query
  23353. name: usertype
  23354. type: integer
  23355. - description: 套保品种id
  23356. in: query
  23357. name: middlegoodsid
  23358. type: integer
  23359. produces:
  23360. - application/json
  23361. responses:
  23362. "200":
  23363. description: OK
  23364. schema:
  23365. items:
  23366. $ref: '#/definitions/models.TBMiddleGoods'
  23367. type: array
  23368. "500":
  23369. description: Internal Server Error
  23370. schema:
  23371. $ref: '#/definitions/app.Response'
  23372. security:
  23373. - ApiKeyAuth: []
  23374. summary: 查询套保品种详情(套保品种/商品详情)
  23375. tags:
  23376. - 企业风险管理v3(app)
  23377. /Ermcp3/QueryOutTradeLink:
  23378. get:
  23379. description: 页面 app 现货->期现关联->外部成交单关联
  23380. parameters:
  23381. - description: 用户ID(填登录用户的userid)
  23382. in: query
  23383. name: userid
  23384. required: true
  23385. type: integer
  23386. - description: 外部订单号(模糊匹配)
  23387. in: query
  23388. name: outtradeid
  23389. type: string
  23390. - description: 合约名称/代码(模糊匹配)
  23391. in: query
  23392. name: goodsname
  23393. type: string
  23394. - description: 关联状态 0-未关联 1-已关联
  23395. in: query
  23396. name: hasinnerorder
  23397. type: integer
  23398. produces:
  23399. - application/json
  23400. responses:
  23401. "200":
  23402. description: OK
  23403. schema:
  23404. items:
  23405. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  23406. type: array
  23407. "500":
  23408. description: Internal Server Error
  23409. schema:
  23410. $ref: '#/definitions/app.Response'
  23411. security:
  23412. - ApiKeyAuth: []
  23413. summary: 查询外部成交单关联
  23414. tags:
  23415. - 企业风险管理v3(app)
  23416. /Ermcp3/QueryPaAreaAuditCfg:
  23417. get:
  23418. parameters:
  23419. - description: 用户id
  23420. in: query
  23421. name: userid
  23422. required: true
  23423. type: integer
  23424. produces:
  23425. - application/json
  23426. responses:
  23427. "200":
  23428. description: OK
  23429. schema:
  23430. items:
  23431. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  23432. type: array
  23433. "500":
  23434. description: Internal Server Error
  23435. schema:
  23436. $ref: '#/definitions/app.Response'
  23437. security:
  23438. - ApiKeyAuth: []
  23439. summary: 查询审核设置
  23440. tags:
  23441. - 企业风险管理v3(app)
  23442. /Ermcp3/QueryPaAreaSubject:
  23443. get:
  23444. parameters:
  23445. - description: 用户id
  23446. in: query
  23447. name: userid
  23448. required: true
  23449. type: integer
  23450. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  23451. in: query
  23452. name: subjectid
  23453. type: integer
  23454. - description: 主体类型 - 1:交易主体 2:业务部门
  23455. in: query
  23456. name: subjecttype
  23457. type: integer
  23458. - description: '主体状态 - 1:正常 2: 停用'
  23459. in: query
  23460. name: subjectstatus
  23461. type: integer
  23462. produces:
  23463. - application/json
  23464. responses:
  23465. "200":
  23466. description: OK
  23467. schema:
  23468. items:
  23469. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  23470. type: array
  23471. "500":
  23472. description: Internal Server Error
  23473. schema:
  23474. $ref: '#/definitions/app.Response'
  23475. security:
  23476. - ApiKeyAuth: []
  23477. summary: 查询交易主体
  23478. tags:
  23479. - 企业风险管理v3(app)
  23480. /Ermcp3/QueryPaTradeLink:
  23481. get:
  23482. description: 页面 app 现货->期现关联->期现单据关联
  23483. parameters:
  23484. - description: 用户ID
  23485. in: query
  23486. name: userid
  23487. required: true
  23488. type: integer
  23489. produces:
  23490. - application/json
  23491. responses:
  23492. "200":
  23493. description: OK
  23494. schema:
  23495. items:
  23496. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  23497. type: array
  23498. "500":
  23499. description: Internal Server Error
  23500. schema:
  23501. $ref: '#/definitions/app.Response'
  23502. security:
  23503. - ApiKeyAuth: []
  23504. summary: 查询期现单据关联
  23505. tags:
  23506. - 企业风险管理v3(app)
  23507. /Ermcp3/QueryPaTradeLinkDetail:
  23508. get:
  23509. description: 页面 app 现货->期现关联->关联记录
  23510. parameters:
  23511. - description: 用户ID(填登录用户的userid)
  23512. in: query
  23513. name: userid
  23514. required: true
  23515. type: integer
  23516. - description: 关联状态 1:成功 2:失败 3:解绑
  23517. in: query
  23518. name: linkstatus
  23519. type: integer
  23520. - description: 期货订单号(模糊匹配)
  23521. in: query
  23522. name: tradeid
  23523. type: string
  23524. - description: 现货编号(模糊匹配)
  23525. in: query
  23526. name: contractno
  23527. type: string
  23528. - description: 期货账户(模糊匹配)
  23529. in: query
  23530. name: taname
  23531. type: string
  23532. produces:
  23533. - application/json
  23534. responses:
  23535. "200":
  23536. description: OK
  23537. schema:
  23538. items:
  23539. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  23540. type: array
  23541. "500":
  23542. description: Internal Server Error
  23543. schema:
  23544. $ref: '#/definitions/app.Response'
  23545. security:
  23546. - ApiKeyAuth: []
  23547. summary: 查询期现关联记录
  23548. tags:
  23549. - 企业风险管理v3(app)
  23550. /Ermcp3/QueryParamChangeApp:
  23551. get:
  23552. description: |-
  23553. 原型页面:
  23554. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  23555. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  23556. parameters:
  23557. - description: 用户ID
  23558. in: query
  23559. name: userid
  23560. required: true
  23561. type: integer
  23562. - description: 现货品种id
  23563. in: query
  23564. name: deliverygoodsid
  23565. type: integer
  23566. - description: 现货商品id
  23567. in: query
  23568. name: wrstandardid
  23569. type: integer
  23570. - description: 套保商品id
  23571. in: query
  23572. name: middlegoodsid
  23573. type: integer
  23574. - description: 操作类型 1:新增 2:修改
  23575. in: query
  23576. name: operatetype
  23577. type: integer
  23578. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  23579. in: query
  23580. name: paramchangetype
  23581. type: integer
  23582. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23583. in: query
  23584. name: ftstatus
  23585. type: string
  23586. produces:
  23587. - application/json
  23588. responses:
  23589. "200":
  23590. description: OK
  23591. schema:
  23592. items:
  23593. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  23594. type: array
  23595. "500":
  23596. description: Internal Server Error
  23597. schema:
  23598. $ref: '#/definitions/app.Response'
  23599. security:
  23600. - ApiKeyAuth: []
  23601. summary: 查询现货商品参数变更申请(流水)
  23602. tags:
  23603. - 企业风险管理v3(app)
  23604. /Ermcp3/QueryRootUserAccount:
  23605. get:
  23606. parameters:
  23607. - description: 用户ID
  23608. in: query
  23609. name: userid
  23610. required: true
  23611. type: integer
  23612. produces:
  23613. - application/json
  23614. responses:
  23615. "200":
  23616. description: OK
  23617. schema:
  23618. items:
  23619. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  23620. type: array
  23621. "500":
  23622. description: Internal Server Error
  23623. schema:
  23624. $ref: '#/definitions/app.Response'
  23625. security:
  23626. - ApiKeyAuth: []
  23627. summary: 查询顶级用户信息
  23628. tags:
  23629. - 企业风险管理v3(app)
  23630. /Ermcp3/QuerySCMiddleGoods:
  23631. get:
  23632. description: |-
  23633. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  23634. 现货编号 即 合同编号
  23635. parameters:
  23636. - description: 用户ID(填登录用户的userid)
  23637. in: query
  23638. name: userid
  23639. required: true
  23640. type: integer
  23641. - description: 买卖方向 0-买 1-卖
  23642. in: query
  23643. name: buyorsell
  23644. required: true
  23645. type: integer
  23646. - description: 商品组id
  23647. in: query
  23648. name: goodsgroupid
  23649. required: true
  23650. type: integer
  23651. - description: 业务类型 1:套保 2:套利
  23652. in: query
  23653. name: biztype
  23654. type: integer
  23655. - description: 现货编号(模糊匹配)
  23656. in: query
  23657. name: contractno
  23658. type: string
  23659. - description: 对手方(模糊匹配)
  23660. in: query
  23661. name: customername
  23662. type: string
  23663. - description: 现货商品名称(模糊匹配)
  23664. in: query
  23665. name: wrstandardname
  23666. type: string
  23667. produces:
  23668. - application/json
  23669. responses:
  23670. "200":
  23671. description: OK
  23672. schema:
  23673. items:
  23674. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  23675. type: array
  23676. "500":
  23677. description: Internal Server Error
  23678. schema:
  23679. $ref: '#/definitions/app.Response'
  23680. security:
  23681. - ApiKeyAuth: []
  23682. summary: 查询现货订单
  23683. tags:
  23684. - 企业风险管理v3(app)
  23685. /Ermcp3/QuerySpotContract:
  23686. get:
  23687. parameters:
  23688. - description: 用户id(当指定contractid, userid可不填)
  23689. in: query
  23690. name: userid
  23691. required: true
  23692. type: integer
  23693. - description: 用户类型 2-机构 7-企业成员
  23694. in: query
  23695. name: usertype
  23696. type: integer
  23697. - description: 合同类型 1-采购, -1-销售
  23698. in: query
  23699. name: contracttype
  23700. type: integer
  23701. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  23702. in: query
  23703. name: querytype
  23704. type: string
  23705. - description: 合同ID(SpotContractId)
  23706. in: query
  23707. name: contractid
  23708. type: string
  23709. - description: 合同编号(模糊匹配)
  23710. in: query
  23711. name: contractno
  23712. type: string
  23713. - description: 商品名称(模糊匹配)
  23714. in: query
  23715. name: wrstandardname
  23716. type: string
  23717. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  23718. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  23719. in: query
  23720. name: status
  23721. type: string
  23722. - description: 是否只查今日的合同 1-查今日合同
  23723. in: query
  23724. name: istoday
  23725. type: integer
  23726. produces:
  23727. - application/json
  23728. responses:
  23729. "200":
  23730. description: OK
  23731. schema:
  23732. items:
  23733. $ref: '#/definitions/models.Ermcp3Contract'
  23734. type: array
  23735. "500":
  23736. description: Internal Server Error
  23737. schema:
  23738. $ref: '#/definitions/app.Response'
  23739. security:
  23740. - ApiKeyAuth: []
  23741. summary: 查询现货合同
  23742. tags:
  23743. - 企业风险管理v3(app)
  23744. /Ermcp3/QuerySpotContractBS:
  23745. get:
  23746. parameters:
  23747. - description: 用户id
  23748. in: query
  23749. name: userid
  23750. required: true
  23751. type: integer
  23752. - description: 用户类型 2-机构 7-企业成员
  23753. in: query
  23754. name: usertype
  23755. type: integer
  23756. - description: 合同类型 1-采购, -1-销售
  23757. in: query
  23758. name: contracttype
  23759. required: true
  23760. type: integer
  23761. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  23762. in: query
  23763. name: querytype
  23764. type: integer
  23765. - description: 合同ID(SpotContractId)
  23766. in: query
  23767. name: contractid
  23768. type: string
  23769. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  23770. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  23771. in: query
  23772. name: status
  23773. type: string
  23774. - description: 是否只查今日的合同 1-查今日合同
  23775. in: query
  23776. name: istoday
  23777. type: integer
  23778. produces:
  23779. - application/json
  23780. responses:
  23781. "200":
  23782. description: OK
  23783. schema:
  23784. items:
  23785. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  23786. type: array
  23787. "500":
  23788. description: Internal Server Error
  23789. schema:
  23790. $ref: '#/definitions/app.Response'
  23791. security:
  23792. - ApiKeyAuth: []
  23793. summary: 查询合同(采购/销售)
  23794. tags:
  23795. - 企业风险管理v3(app)
  23796. /Ermcp3/QuerySpotGoodsPrice:
  23797. get:
  23798. parameters:
  23799. - description: 用户ID
  23800. in: query
  23801. name: userid
  23802. required: true
  23803. type: integer
  23804. produces:
  23805. - application/json
  23806. responses:
  23807. "200":
  23808. description: OK
  23809. schema:
  23810. items:
  23811. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  23812. type: array
  23813. "500":
  23814. description: Internal Server Error
  23815. schema:
  23816. $ref: '#/definitions/app.Response'
  23817. security:
  23818. - ApiKeyAuth: []
  23819. summary: 查询现货市价(现货市价)
  23820. tags:
  23821. - 企业风险管理v3(app)
  23822. /Ermcp3/QuerySpotGoodsPriceLog:
  23823. get:
  23824. parameters:
  23825. - description: 用户ID
  23826. in: query
  23827. name: userid
  23828. required: true
  23829. type: integer
  23830. - description: 现货商品ID
  23831. in: query
  23832. name: deliverygoodsid
  23833. required: true
  23834. type: integer
  23835. - description: 品牌ID
  23836. in: query
  23837. name: brandid
  23838. type: integer
  23839. - description: 品类ID
  23840. in: query
  23841. name: wrstandardid
  23842. type: integer
  23843. produces:
  23844. - application/json
  23845. responses:
  23846. "200":
  23847. description: OK
  23848. schema:
  23849. items:
  23850. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  23851. type: array
  23852. "500":
  23853. description: Internal Server Error
  23854. schema:
  23855. $ref: '#/definitions/app.Response'
  23856. security:
  23857. - ApiKeyAuth: []
  23858. summary: 查询现货市价详情(现货市价/详情)
  23859. tags:
  23860. - 企业风险管理v3(app)
  23861. /Ermcp3/QuerySubTaaccount:
  23862. get:
  23863. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  23864. parameters:
  23865. - description: 母账号id
  23866. in: query
  23867. name: parentaccountid
  23868. type: integer
  23869. - description: 母账号代码
  23870. in: query
  23871. name: parentaccountcode
  23872. type: string
  23873. produces:
  23874. - application/json
  23875. responses:
  23876. "200":
  23877. description: OK
  23878. schema:
  23879. items:
  23880. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  23881. type: array
  23882. "500":
  23883. description: Internal Server Error
  23884. schema:
  23885. $ref: '#/definitions/app.Response'
  23886. security:
  23887. - ApiKeyAuth: []
  23888. summary: 查询期货子账户
  23889. tags:
  23890. - 企业风险管理v3(app)
  23891. /Ermcp8/QueryERMCPJRLinkPos:
  23892. get:
  23893. parameters:
  23894. - description: 套期项目ID
  23895. in: query
  23896. name: spotcontractid
  23897. required: true
  23898. type: integer
  23899. produces:
  23900. - application/json
  23901. responses:
  23902. "200":
  23903. description: OK
  23904. schema:
  23905. items:
  23906. $ref: '#/definitions/models.Ermcpjrlinkpos'
  23907. type: array
  23908. "500":
  23909. description: Internal Server Error
  23910. schema:
  23911. $ref: '#/definitions/app.Response'
  23912. security:
  23913. - ApiKeyAuth: []
  23914. summary: 期货持仓明细查询
  23915. tags:
  23916. - 企业风险管理v8
  23917. /Ermcp8/QueryErmcp2HedgedItem:
  23918. get:
  23919. description: 已完成项目查询 -> 项目状态 = 3:正常完结 or 5:异常完结
  23920. parameters:
  23921. - description: 用户ID
  23922. in: query
  23923. name: userid
  23924. required: true
  23925. type: string
  23926. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  23927. in: query
  23928. name: hedgedtype
  23929. type: integer
  23930. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  23931. in: query
  23932. name: hedgeditemstatus
  23933. type: integer
  23934. produces:
  23935. - application/json
  23936. responses:
  23937. "200":
  23938. description: OK
  23939. schema:
  23940. items:
  23941. $ref: '#/definitions/models.Ermcp2hedgeditem'
  23942. type: array
  23943. "500":
  23944. description: Internal Server Error
  23945. schema:
  23946. $ref: '#/definitions/app.Response'
  23947. security:
  23948. - ApiKeyAuth: []
  23949. summary: 查询被套期项目信息
  23950. tags:
  23951. - 企业风险管理v8
  23952. /Erms2/QueryArbitrageStrategy:
  23953. get:
  23954. parameters:
  23955. - description: 账户ID
  23956. in: query
  23957. name: userid
  23958. required: true
  23959. type: integer
  23960. - description: 商品组ID(品种ID)
  23961. in: query
  23962. name: goodsgroupid
  23963. type: string
  23964. produces:
  23965. - application/json
  23966. responses:
  23967. "200":
  23968. description: OK
  23969. schema:
  23970. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  23971. "500":
  23972. description: Internal Server Error
  23973. schema:
  23974. $ref: '#/definitions/app.Response'
  23975. security:
  23976. - ApiKeyAuth: []
  23977. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  23978. tags:
  23979. - 风险管理
  23980. /Erms2/QueryInnerTradeDetail:
  23981. get:
  23982. parameters:
  23983. - description: 资金账户
  23984. in: query
  23985. name: accountid
  23986. required: true
  23987. type: integer
  23988. produces:
  23989. - application/json
  23990. responses:
  23991. "200":
  23992. description: OK
  23993. schema:
  23994. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  23995. "500":
  23996. description: Internal Server Error
  23997. schema:
  23998. $ref: '#/definitions/app.Response'
  23999. security:
  24000. - ApiKeyAuth: []
  24001. summary: 查询内部成交单信息
  24002. tags:
  24003. - 风险管理
  24004. /Erms2/QuerySpotContract:
  24005. get:
  24006. parameters:
  24007. - description: 策略申请ID
  24008. in: query
  24009. name: asapplyid
  24010. required: true
  24011. type: integer
  24012. - description: 现货合同ID
  24013. in: query
  24014. name: spotcontractid
  24015. type: integer
  24016. produces:
  24017. - application/json
  24018. responses:
  24019. "200":
  24020. description: OK
  24021. schema:
  24022. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  24023. "500":
  24024. description: Internal Server Error
  24025. schema:
  24026. $ref: '#/definitions/app.Response'
  24027. security:
  24028. - ApiKeyAuth: []
  24029. summary: 查询现货合同表信息(指定策略ID、未结束的)
  24030. tags:
  24031. - 风险管理
  24032. /Erms3/AddErms2ASApply:
  24033. post:
  24034. parameters:
  24035. - description: 申请参数
  24036. in: body
  24037. name: jsonBody
  24038. required: true
  24039. schema:
  24040. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  24041. produces:
  24042. - application/json
  24043. responses:
  24044. "200":
  24045. description: OK
  24046. schema:
  24047. $ref: '#/definitions/app.Response'
  24048. "500":
  24049. description: Internal Server Error
  24050. schema:
  24051. $ref: '#/definitions/app.Response'
  24052. security:
  24053. - ApiKeyAuth: []
  24054. summary: 新增期现套利业务申请
  24055. tags:
  24056. - 风险管理v3
  24057. /Erms3/AddErms2SpotTradeApply:
  24058. post:
  24059. parameters:
  24060. - description: 申请参数
  24061. in: body
  24062. name: jsonBody
  24063. required: true
  24064. schema:
  24065. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  24066. produces:
  24067. - application/json
  24068. responses:
  24069. "200":
  24070. description: OK
  24071. schema:
  24072. $ref: '#/definitions/app.Response'
  24073. "500":
  24074. description: Internal Server Error
  24075. schema:
  24076. $ref: '#/definitions/app.Response'
  24077. security:
  24078. - ApiKeyAuth: []
  24079. summary: 新增现货贸易业务申请
  24080. tags:
  24081. - 风险管理v3
  24082. /Erms3/AddSpotContractApply:
  24083. post:
  24084. parameters:
  24085. - description: 申请参数
  24086. in: body
  24087. name: jsonBody
  24088. required: true
  24089. schema:
  24090. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  24091. produces:
  24092. - application/json
  24093. responses:
  24094. "200":
  24095. description: OK
  24096. schema:
  24097. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  24098. "500":
  24099. description: Internal Server Error
  24100. schema:
  24101. $ref: '#/definitions/app.Response'
  24102. security:
  24103. - ApiKeyAuth: []
  24104. summary: 新增现货合同申请
  24105. tags:
  24106. - 风险管理v3
  24107. /Erms3/AddUserInfoApply:
  24108. post:
  24109. parameters:
  24110. - description: 用户信息
  24111. in: body
  24112. name: jsonBody
  24113. required: true
  24114. schema:
  24115. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  24116. produces:
  24117. - application/json
  24118. responses:
  24119. "200":
  24120. description: OK
  24121. schema:
  24122. $ref: '#/definitions/app.Response'
  24123. "500":
  24124. description: Internal Server Error
  24125. schema:
  24126. $ref: '#/definitions/app.Response'
  24127. security:
  24128. - ApiKeyAuth: []
  24129. summary: 新增客户申请
  24130. tags:
  24131. - 风险管理v3
  24132. /Erms3/DeleteUserInfoApply:
  24133. get:
  24134. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  24135. parameters:
  24136. - description: 用户ID
  24137. in: query
  24138. name: userID
  24139. required: true
  24140. type: integer
  24141. produces:
  24142. - application/json
  24143. responses:
  24144. "200":
  24145. description: OK
  24146. schema:
  24147. $ref: '#/definitions/app.Response'
  24148. "500":
  24149. description: Internal Server Error
  24150. schema:
  24151. $ref: '#/definitions/app.Response'
  24152. security:
  24153. - ApiKeyAuth: []
  24154. summary: 删除客户申请
  24155. tags:
  24156. - 风险管理v3
  24157. /Erms3/ModifyUserInfoApply:
  24158. post:
  24159. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  24160. int, "userstate": 2 }'
  24161. parameters:
  24162. - description: 用户信息
  24163. in: body
  24164. name: jsonBody
  24165. required: true
  24166. schema:
  24167. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  24168. produces:
  24169. - application/json
  24170. responses:
  24171. "200":
  24172. description: OK
  24173. schema:
  24174. $ref: '#/definitions/app.Response'
  24175. "500":
  24176. description: Internal Server Error
  24177. schema:
  24178. $ref: '#/definitions/app.Response'
  24179. security:
  24180. - ApiKeyAuth: []
  24181. summary: 修改客户申请
  24182. tags:
  24183. - 风险管理v3
  24184. /Erms3/QueryBusinessInfo:
  24185. get:
  24186. parameters:
  24187. - description: 资金账号ID列表,用逗号分隔
  24188. in: query
  24189. name: accountids
  24190. required: true
  24191. type: string
  24192. - description: 状态,0为未结束 1为已结束
  24193. in: query
  24194. name: status
  24195. required: true
  24196. type: integer
  24197. produces:
  24198. - application/json
  24199. responses:
  24200. "200":
  24201. description: OK
  24202. schema:
  24203. items:
  24204. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  24205. type: array
  24206. "500":
  24207. description: Internal Server Error
  24208. schema:
  24209. $ref: '#/definitions/app.Response'
  24210. security:
  24211. - ApiKeyAuth: []
  24212. summary: 查询业务表单数据
  24213. tags:
  24214. - 风险管理v3
  24215. /Erms3/QueryPendingAuditContract:
  24216. get:
  24217. parameters:
  24218. - description: 资金账号ID列表,逗号隔开
  24219. in: query
  24220. name: accountids
  24221. required: true
  24222. type: string
  24223. - description: 合同类型 1-采购 -1-销售
  24224. in: query
  24225. name: contracttype
  24226. required: true
  24227. type: integer
  24228. - description: 合同模式 1-普通 2-回购
  24229. in: query
  24230. name: contractmode
  24231. required: true
  24232. type: integer
  24233. produces:
  24234. - application/json
  24235. responses:
  24236. "200":
  24237. description: OK
  24238. schema:
  24239. items:
  24240. $ref: '#/definitions/erms3.QryAuditContractRsp'
  24241. type: array
  24242. "500":
  24243. description: Internal Server Error
  24244. schema:
  24245. $ref: '#/definitions/app.Response'
  24246. security:
  24247. - ApiKeyAuth: []
  24248. summary: 查询待审核合同
  24249. tags:
  24250. - 风险管理v3
  24251. /Erms3/QueryPendingBusiness:
  24252. get:
  24253. parameters:
  24254. - description: 资金账号ID列表,逗号隔开
  24255. in: query
  24256. name: accountids
  24257. required: true
  24258. type: string
  24259. produces:
  24260. - application/json
  24261. responses:
  24262. "200":
  24263. description: OK
  24264. schema:
  24265. items:
  24266. $ref: '#/definitions/erms3.QryPendingBizRsp'
  24267. type: array
  24268. "500":
  24269. description: Internal Server Error
  24270. schema:
  24271. $ref: '#/definitions/app.Response'
  24272. security:
  24273. - ApiKeyAuth: []
  24274. summary: 查询待审核基差贸易业务
  24275. tags:
  24276. - 风险管理v3
  24277. /Erms3/QuerySpotContractAppleForm:
  24278. get:
  24279. parameters:
  24280. - description: 登录账号
  24281. in: query
  24282. name: loginID
  24283. required: true
  24284. type: integer
  24285. produces:
  24286. - application/json
  24287. responses:
  24288. "200":
  24289. description: OK
  24290. schema:
  24291. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  24292. "500":
  24293. description: Internal Server Error
  24294. schema:
  24295. $ref: '#/definitions/app.Response'
  24296. security:
  24297. - ApiKeyAuth: []
  24298. summary: 查询合同申请表单数据
  24299. tags:
  24300. - 风险管理v3
  24301. /Erms3/QuerySpotContractDetail:
  24302. get:
  24303. parameters:
  24304. - description: 资金账号ID列表,用逗号分隔
  24305. in: query
  24306. name: accountids
  24307. required: true
  24308. type: string
  24309. - description: 合同类型,1为采购合同 -1为销售合同
  24310. in: query
  24311. name: contracttype
  24312. required: true
  24313. type: integer
  24314. - description: 合同模式,1为普通合同 2为回购销售合同
  24315. in: query
  24316. name: contractmode
  24317. required: true
  24318. type: integer
  24319. - description: 状态,0为履约中 1为已完成
  24320. in: query
  24321. name: status
  24322. required: true
  24323. type: integer
  24324. produces:
  24325. - application/json
  24326. responses:
  24327. "200":
  24328. description: OK
  24329. schema:
  24330. items:
  24331. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  24332. type: array
  24333. "500":
  24334. description: Internal Server Error
  24335. schema:
  24336. $ref: '#/definitions/app.Response'
  24337. security:
  24338. - ApiKeyAuth: []
  24339. summary: 查询合同详细信息
  24340. tags:
  24341. - 风险管理v3
  24342. /Erms3/QueryUserInfoApplies:
  24343. get:
  24344. parameters:
  24345. - description: 页码
  24346. in: query
  24347. name: page
  24348. type: integer
  24349. - description: 每页条数
  24350. in: query
  24351. name: pagesize
  24352. type: integer
  24353. - description: 客户名称,支持模糊查询
  24354. in: query
  24355. name: userName
  24356. type: string
  24357. produces:
  24358. - application/json
  24359. responses:
  24360. "200":
  24361. description: OK
  24362. schema:
  24363. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  24364. "500":
  24365. description: Internal Server Error
  24366. schema:
  24367. $ref: '#/definitions/app.Response'
  24368. security:
  24369. - ApiKeyAuth: []
  24370. summary: 客户申请信息查询
  24371. tags:
  24372. - 风险管理v3
  24373. /Erms3/QueryUserInfos:
  24374. get:
  24375. parameters:
  24376. - description: 页码
  24377. in: query
  24378. name: page
  24379. type: integer
  24380. - description: 每页条数
  24381. in: query
  24382. name: pagesize
  24383. type: integer
  24384. - description: 客户名称,支持模糊查询
  24385. in: query
  24386. name: userName
  24387. type: string
  24388. produces:
  24389. - application/json
  24390. responses:
  24391. "200":
  24392. description: OK
  24393. schema:
  24394. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  24395. "500":
  24396. description: Internal Server Error
  24397. schema:
  24398. $ref: '#/definitions/app.Response'
  24399. security:
  24400. - ApiKeyAuth: []
  24401. summary: 客户信息查询
  24402. tags:
  24403. - 风险管理v3
  24404. /HSBY/GetHsbyMyCount:
  24405. get:
  24406. description: 说明: 不包括已完成的数量。
  24407. parameters:
  24408. - description: 资金账户列表,格式:1,2,3
  24409. in: query
  24410. name: accountIDs
  24411. required: true
  24412. type: string
  24413. produces:
  24414. - application/json
  24415. responses:
  24416. "200":
  24417. description: OK
  24418. schema:
  24419. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  24420. "500":
  24421. description: Internal Server Error
  24422. schema:
  24423. $ref: '#/definitions/app.Response'
  24424. security:
  24425. - ApiKeyAuth: []
  24426. summary: 获取我的订单与包裹数量
  24427. tags:
  24428. - 定制【海商报业】
  24429. /HSBY/QueryClientFixedADConfigs:
  24430. get:
  24431. produces:
  24432. - application/json
  24433. responses:
  24434. "200":
  24435. description: OK
  24436. schema:
  24437. $ref: '#/definitions/models.Clientfixedadconfig'
  24438. "500":
  24439. description: Internal Server Error
  24440. schema:
  24441. $ref: '#/definitions/app.Response'
  24442. security:
  24443. - ApiKeyAuth: []
  24444. summary: 获取终端固定广告配置
  24445. tags:
  24446. - 定制【海商报业】
  24447. /HSBY/QueryHsbyBuyMyTradeDetail:
  24448. get:
  24449. parameters:
  24450. - description: 页码
  24451. in: query
  24452. name: page
  24453. type: integer
  24454. - description: 每页条数
  24455. in: query
  24456. name: pagesize
  24457. type: integer
  24458. - description: 资金账户列表,格式:1,2,3
  24459. in: query
  24460. name: accountIDs
  24461. required: true
  24462. type: string
  24463. produces:
  24464. - application/json
  24465. responses:
  24466. "200":
  24467. description: OK
  24468. schema:
  24469. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  24470. "500":
  24471. description: Internal Server Error
  24472. schema:
  24473. $ref: '#/definitions/app.Response'
  24474. security:
  24475. - ApiKeyAuth: []
  24476. summary: 查询"我的订单 - 已完成"单据信息
  24477. tags:
  24478. - 定制【海商报业】
  24479. /HSBY/QueryHsbyGoodsOrderDetails:
  24480. get:
  24481. description: 说明:查询结果已按委托价格和委托时间排序
  24482. parameters:
  24483. - description: 商品ID
  24484. in: query
  24485. name: goodsID
  24486. required: true
  24487. type: integer
  24488. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  24489. in: query
  24490. name: accountIDs
  24491. type: string
  24492. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  24493. in: query
  24494. name: buyOrSell
  24495. type: integer
  24496. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  24497. in: query
  24498. name: price
  24499. type: number
  24500. - description: 档位,不传则默认为3档
  24501. in: query
  24502. name: speed
  24503. type: integer
  24504. produces:
  24505. - application/json
  24506. responses:
  24507. "200":
  24508. description: OK
  24509. schema:
  24510. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  24511. "500":
  24512. description: Internal Server Error
  24513. schema:
  24514. $ref: '#/definitions/app.Response'
  24515. security:
  24516. - ApiKeyAuth: []
  24517. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  24518. tags:
  24519. - 定制【海商报业】
  24520. /HSBY/QueryHsbyListingGoodsDetail:
  24521. get:
  24522. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  24523. parameters:
  24524. - description: 商品ID
  24525. in: query
  24526. name: goodsID
  24527. required: true
  24528. type: integer
  24529. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  24530. in: query
  24531. name: accountID
  24532. type: integer
  24533. produces:
  24534. - application/json
  24535. responses:
  24536. "200":
  24537. description: OK
  24538. schema:
  24539. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  24540. "500":
  24541. description: Internal Server Error
  24542. schema:
  24543. $ref: '#/definitions/app.Response'
  24544. security:
  24545. - ApiKeyAuth: []
  24546. summary: 查询二级市场(挂牌点选)商品信息详情
  24547. tags:
  24548. - 定制【海商报业】
  24549. /HSBY/QueryHsbyMarketGoodsDetail:
  24550. get:
  24551. parameters:
  24552. - description: 委托单号
  24553. in: query
  24554. name: orderID
  24555. required: true
  24556. type: integer
  24557. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  24558. in: query
  24559. name: accountID
  24560. type: integer
  24561. produces:
  24562. - application/json
  24563. responses:
  24564. "200":
  24565. description: OK
  24566. schema:
  24567. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  24568. "500":
  24569. description: Internal Server Error
  24570. schema:
  24571. $ref: '#/definitions/app.Response'
  24572. security:
  24573. - ApiKeyAuth: []
  24574. summary: 查询三级市场(商城)商品信息详情
  24575. tags:
  24576. - 定制【海商报业】
  24577. /HSBY/QueryHsbyMarketGoodses:
  24578. get:
  24579. parameters:
  24580. - description: 页码
  24581. in: query
  24582. name: page
  24583. type: integer
  24584. - description: 每页条数
  24585. in: query
  24586. name: pagesize
  24587. type: integer
  24588. - description: 市场ID列表,格式:1,2,3
  24589. in: query
  24590. name: marketIDs
  24591. required: true
  24592. type: string
  24593. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  24594. in: query
  24595. name: accountID
  24596. required: true
  24597. type: integer
  24598. - description: 类别ID
  24599. in: query
  24600. name: categoryID
  24601. type: integer
  24602. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  24603. in: query
  24604. name: goodsIDs
  24605. type: string
  24606. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  24607. in: query
  24608. name: couponTypeID
  24609. type: integer
  24610. produces:
  24611. - application/json
  24612. responses:
  24613. "200":
  24614. description: OK
  24615. schema:
  24616. $ref: '#/definitions/models.HsbyMarketGoods'
  24617. "500":
  24618. description: Internal Server Error
  24619. schema:
  24620. $ref: '#/definitions/app.Response'
  24621. security:
  24622. - ApiKeyAuth: []
  24623. summary: 查询特卖商品列表(三级商城)
  24624. tags:
  24625. - 定制【海商报业】
  24626. /HSBY/QueryHsbyMarkets:
  24627. get:
  24628. produces:
  24629. - application/json
  24630. responses:
  24631. "200":
  24632. description: OK
  24633. schema:
  24634. $ref: '#/definitions/models.HsbyMarketInfo'
  24635. "500":
  24636. description: Internal Server Error
  24637. schema:
  24638. $ref: '#/definitions/app.Response'
  24639. security:
  24640. - ApiKeyAuth: []
  24641. summary: 查询海商报业相关市场信息
  24642. tags:
  24643. - 定制【海商报业】
  24644. /HSBY/QueryHsbyMyBuyOrderDetails:
  24645. get:
  24646. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  24647. parameters:
  24648. - description: 资金账户列表,格式:1,2,3
  24649. in: query
  24650. name: accountIDs
  24651. required: true
  24652. type: string
  24653. produces:
  24654. - application/json
  24655. responses:
  24656. "200":
  24657. description: OK
  24658. schema:
  24659. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  24660. "500":
  24661. description: Internal Server Error
  24662. schema:
  24663. $ref: '#/definitions/app.Response'
  24664. security:
  24665. - ApiKeyAuth: []
  24666. summary: 查询“我的订单”信息
  24667. tags:
  24668. - 定制【海商报业】
  24669. /HSBY/QueryHsbyMyGoods:
  24670. get:
  24671. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  24672. parameters:
  24673. - description: 资金账户列表,格式:1,2,3
  24674. in: query
  24675. name: accountIDs
  24676. required: true
  24677. type: string
  24678. produces:
  24679. - application/json
  24680. responses:
  24681. "200":
  24682. description: OK
  24683. schema:
  24684. $ref: '#/definitions/models.HsbyMyGoods'
  24685. "500":
  24686. description: Internal Server Error
  24687. schema:
  24688. $ref: '#/definitions/app.Response'
  24689. security:
  24690. - ApiKeyAuth: []
  24691. summary: 查询“我的商品”信息
  24692. tags:
  24693. - 定制【海商报业】
  24694. /HSBY/QueryHsbyMyPackages:
  24695. get:
  24696. parameters:
  24697. - description: 资金账户列表,格式:1,2,3
  24698. in: query
  24699. name: accountIDs
  24700. required: true
  24701. type: string
  24702. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  24703. in: query
  24704. name: takeOrderStatus
  24705. type: integer
  24706. produces:
  24707. - application/json
  24708. responses:
  24709. "200":
  24710. description: OK
  24711. schema:
  24712. $ref: '#/definitions/models.HsbyMyPackage'
  24713. "500":
  24714. description: Internal Server Error
  24715. schema:
  24716. $ref: '#/definitions/app.Response'
  24717. security:
  24718. - ApiKeyAuth: []
  24719. summary: 查询我的包裹信息
  24720. tags:
  24721. - 定制【海商报业】
  24722. /HSBY/QueryHsbyPreGoodsDetail:
  24723. get:
  24724. parameters:
  24725. - description: 商品ID
  24726. in: query
  24727. name: goodsID
  24728. required: true
  24729. type: integer
  24730. - description: 资金账户,主要用于获取预售商品购买上限
  24731. in: query
  24732. name: accountID
  24733. type: integer
  24734. produces:
  24735. - application/json
  24736. responses:
  24737. "200":
  24738. description: OK
  24739. schema:
  24740. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  24741. "500":
  24742. description: Internal Server Error
  24743. schema:
  24744. $ref: '#/definitions/app.Response'
  24745. security:
  24746. - ApiKeyAuth: []
  24747. summary: 查询一级市场(预售)商品信息详情
  24748. tags:
  24749. - 定制【海商报业】
  24750. /HSBY/QueryHsbyPreGoodses:
  24751. get:
  24752. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  24753. parameters:
  24754. - description: 页码
  24755. in: query
  24756. name: page
  24757. type: integer
  24758. - description: 每页条数
  24759. in: query
  24760. name: pagesize
  24761. type: integer
  24762. - description: 市场ID列表,格式:1,2,3
  24763. in: query
  24764. name: marketIDs
  24765. required: true
  24766. type: string
  24767. - description: 目的地(省)ID
  24768. in: query
  24769. name: descProvinceID
  24770. type: integer
  24771. - description: 目的地(市)ID
  24772. in: query
  24773. name: descCityID
  24774. type: integer
  24775. produces:
  24776. - application/json
  24777. responses:
  24778. "200":
  24779. description: OK
  24780. schema:
  24781. $ref: '#/definitions/models.HsbyPreGoods'
  24782. "500":
  24783. description: Internal Server Error
  24784. schema:
  24785. $ref: '#/definitions/app.Response'
  24786. security:
  24787. - ApiKeyAuth: []
  24788. summary: 查询新品上市商品列表(一级市场预售)
  24789. tags:
  24790. - 定制【海商报业】
  24791. /HSBY/QueryHsbySellMyDetails:
  24792. get:
  24793. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  24794. parameters:
  24795. - description: 页码
  24796. in: query
  24797. name: page
  24798. type: integer
  24799. - description: 每页条数
  24800. in: query
  24801. name: pagesize
  24802. type: integer
  24803. - description: 资金账户列表,格式:1,2,3
  24804. in: query
  24805. name: accountIDs
  24806. required: true
  24807. type: string
  24808. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  24809. in: query
  24810. name: orderType
  24811. type: integer
  24812. produces:
  24813. - application/json
  24814. responses:
  24815. "200":
  24816. description: OK
  24817. schema:
  24818. $ref: '#/definitions/models.HsbySellMyDetail'
  24819. "500":
  24820. description: Internal Server Error
  24821. schema:
  24822. $ref: '#/definitions/app.Response'
  24823. security:
  24824. - ApiKeyAuth: []
  24825. summary: 查询"我的闲置"单据信息
  24826. tags:
  24827. - 定制【海商报业】
  24828. /HSBY/QueryHsbyTopGoodses:
  24829. get:
  24830. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  24831. parameters:
  24832. - description: 页码
  24833. in: query
  24834. name: page
  24835. type: integer
  24836. - description: 每页条数
  24837. in: query
  24838. name: pagesize
  24839. type: integer
  24840. - description: 市场ID列表,格式:1,2,3
  24841. in: query
  24842. name: marketIDs
  24843. required: true
  24844. type: string
  24845. - description: 目的地(省)ID
  24846. in: query
  24847. name: descProvinceID
  24848. type: integer
  24849. - description: 目的地(市)ID
  24850. in: query
  24851. name: descCityID
  24852. type: integer
  24853. produces:
  24854. - application/json
  24855. responses:
  24856. "200":
  24857. description: OK
  24858. schema:
  24859. $ref: '#/definitions/models.HsbyTopGoods'
  24860. "500":
  24861. description: Internal Server Error
  24862. schema:
  24863. $ref: '#/definitions/app.Response'
  24864. security:
  24865. - ApiKeyAuth: []
  24866. summary: 查询热卖商品列表(二级市场挂牌点选)
  24867. tags:
  24868. - 定制【海商报业】
  24869. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  24870. get:
  24871. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  24872. parameters:
  24873. - description: 商品ID
  24874. in: query
  24875. name: goodsID
  24876. required: true
  24877. type: integer
  24878. produces:
  24879. - application/json
  24880. responses:
  24881. "200":
  24882. description: OK
  24883. schema:
  24884. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  24885. "500":
  24886. description: Internal Server Error
  24887. schema:
  24888. $ref: '#/definitions/app.Response'
  24889. security:
  24890. - ApiKeyAuth: []
  24891. summary: 查询游客三级市场(商城)商品信息详情
  24892. tags:
  24893. - 定制【海商报业】
  24894. /HSBY/QueryHsbyVisitorMarketGoodses:
  24895. get:
  24896. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  24897. parameters:
  24898. - description: 页码
  24899. in: query
  24900. name: page
  24901. type: integer
  24902. - description: 每页条数
  24903. in: query
  24904. name: pagesize
  24905. type: integer
  24906. - description: 市场ID列表,格式:1,2,3
  24907. in: query
  24908. name: marketIDs
  24909. required: true
  24910. type: string
  24911. - description: 类别ID
  24912. in: query
  24913. name: categoryID
  24914. type: integer
  24915. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  24916. in: query
  24917. name: goodsIDs
  24918. type: string
  24919. produces:
  24920. - application/json
  24921. responses:
  24922. "200":
  24923. description: OK
  24924. schema:
  24925. $ref: '#/definitions/models.HsbyMarketGoods'
  24926. "500":
  24927. description: Internal Server Error
  24928. schema:
  24929. $ref: '#/definitions/app.Response'
  24930. security:
  24931. - ApiKeyAuth: []
  24932. summary: 查询游客特卖商品列表(三级商城)
  24933. tags:
  24934. - 定制【海商报业】
  24935. /HSBY/QueryMyCollectionOrders:
  24936. get:
  24937. parameters:
  24938. - description: 页码
  24939. in: query
  24940. name: page
  24941. type: integer
  24942. - description: 每页条数
  24943. in: query
  24944. name: pagesize
  24945. type: integer
  24946. - description: 资金账户,格式:1,2,3
  24947. in: query
  24948. name: accountIDs
  24949. required: true
  24950. type: string
  24951. produces:
  24952. - application/json
  24953. responses:
  24954. "200":
  24955. description: OK
  24956. schema:
  24957. $ref: '#/definitions/models.HsbySellCollectionOrder'
  24958. "500":
  24959. description: Internal Server Error
  24960. schema:
  24961. $ref: '#/definitions/app.Response'
  24962. security:
  24963. - ApiKeyAuth: []
  24964. summary: 我的闲置中收款信息查询
  24965. tags:
  24966. - 定制【海商报业】
  24967. /HSBY/QueryMyCouponHolds:
  24968. get:
  24969. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  24970. parameters:
  24971. - description: 资金账户列表,格式:1,2,3
  24972. in: query
  24973. name: accountIDs
  24974. required: true
  24975. type: string
  24976. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  24977. in: query
  24978. name: holdStatus
  24979. type: string
  24980. produces:
  24981. - application/json
  24982. responses:
  24983. "200":
  24984. description: OK
  24985. schema:
  24986. $ref: '#/definitions/models.MyCouponHold'
  24987. "500":
  24988. description: Internal Server Error
  24989. schema:
  24990. $ref: '#/definitions/app.Response'
  24991. security:
  24992. - ApiKeyAuth: []
  24993. summary: 我的优惠卷持仓查询
  24994. tags:
  24995. - 定制【海商报业】
  24996. /HSBY/QueryMyCoupons:
  24997. get:
  24998. parameters:
  24999. - description: 资金账户列表,格式:1,2,3
  25000. in: query
  25001. name: accountIDs
  25002. required: true
  25003. type: string
  25004. - description: 商品ID, 一般与sellUserID配套传入
  25005. in: query
  25006. name: goodsID
  25007. type: integer
  25008. - description: 卖方UserID
  25009. in: query
  25010. name: sellUserID
  25011. type: integer
  25012. produces:
  25013. - application/json
  25014. responses:
  25015. "200":
  25016. description: OK
  25017. schema:
  25018. $ref: '#/definitions/models.MyCoupon'
  25019. "500":
  25020. description: Internal Server Error
  25021. schema:
  25022. $ref: '#/definitions/app.Response'
  25023. security:
  25024. - ApiKeyAuth: []
  25025. summary: 我的优惠卷查询
  25026. tags:
  25027. - 定制【海商报业】
  25028. /HSBY/QueryMyPayOrders:
  25029. get:
  25030. parameters:
  25031. - description: 页码
  25032. in: query
  25033. name: page
  25034. type: integer
  25035. - description: 每页条数
  25036. in: query
  25037. name: pagesize
  25038. type: integer
  25039. - description: 资金账户列表,格式:1,2,3
  25040. in: query
  25041. name: accountIDs
  25042. required: true
  25043. type: string
  25044. - description: 买方委托单号
  25045. in: query
  25046. name: buyOrderID
  25047. type: integer
  25048. - description: 卖方委托单号
  25049. in: query
  25050. name: sellOrderID
  25051. type: integer
  25052. produces:
  25053. - application/json
  25054. responses:
  25055. "200":
  25056. description: OK
  25057. schema:
  25058. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  25059. "500":
  25060. description: Internal Server Error
  25061. schema:
  25062. $ref: '#/definitions/app.Response'
  25063. security:
  25064. - ApiKeyAuth: []
  25065. summary: 获取我的订单中待付款信息
  25066. tags:
  25067. - 定制【海商报业】
  25068. /HSBY/QueryMyUsedCoupon:
  25069. get:
  25070. parameters:
  25071. - description: 资金账户列表,格式:1,2,3
  25072. in: query
  25073. name: accountIDs
  25074. required: true
  25075. type: string
  25076. produces:
  25077. - application/json
  25078. responses:
  25079. "200":
  25080. description: OK
  25081. schema:
  25082. $ref: '#/definitions/models.MyUsedCoupon'
  25083. "500":
  25084. description: Internal Server Error
  25085. schema:
  25086. $ref: '#/definitions/app.Response'
  25087. security:
  25088. - ApiKeyAuth: []
  25089. summary: 已使用优惠卷查询
  25090. tags:
  25091. - 定制【海商报业】
  25092. /HSBY/QueryProvincesAndCities:
  25093. get:
  25094. description: 查询结果只包括二级市场商品已关连的省市信息。
  25095. parameters:
  25096. - description: 省ID
  25097. in: query
  25098. name: provinceID
  25099. type: integer
  25100. produces:
  25101. - application/json
  25102. responses:
  25103. "200":
  25104. description: OK
  25105. schema:
  25106. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  25107. "500":
  25108. description: Internal Server Error
  25109. schema:
  25110. $ref: '#/definitions/app.Response'
  25111. security:
  25112. - ApiKeyAuth: []
  25113. summary: 查询省市信息(不包括区)
  25114. tags:
  25115. - 定制【海商报业】
  25116. /HSBY/SetHsbyMyPackagesStatus:
  25117. post:
  25118. parameters:
  25119. - description: 提货单号
  25120. in: query
  25121. name: takeOrderID
  25122. required: true
  25123. type: string
  25124. - description: 资金账号
  25125. in: query
  25126. name: accountID
  25127. required: true
  25128. type: integer
  25129. produces:
  25130. - application/json
  25131. responses:
  25132. "200":
  25133. description: OK
  25134. schema:
  25135. $ref: '#/definitions/app.Response'
  25136. "500":
  25137. description: Internal Server Error
  25138. schema:
  25139. $ref: '#/definitions/app.Response'
  25140. security:
  25141. - ApiKeyAuth: []
  25142. summary: 设置我的包裹已收货状态
  25143. tags:
  25144. - 定制【海商报业】
  25145. /Market/GetAllExExchanges:
  25146. get:
  25147. produces:
  25148. - application/json
  25149. responses:
  25150. "200":
  25151. description: OK
  25152. schema:
  25153. $ref: '#/definitions/models.Goods'
  25154. "500":
  25155. description: Internal Server Error
  25156. schema:
  25157. $ref: '#/definitions/app.Response'
  25158. security:
  25159. - ApiKeyAuth: []
  25160. summary: 获取所有外部交易所信息
  25161. tags:
  25162. - 通用市场
  25163. /Market/QueryGoodsesByLoginID:
  25164. get:
  25165. parameters:
  25166. - description: 登录账号
  25167. in: query
  25168. name: loginID
  25169. required: true
  25170. type: integer
  25171. - description: 市场ID列表,格式:1,2,3
  25172. in: query
  25173. name: marketIDs
  25174. type: string
  25175. produces:
  25176. - application/json
  25177. responses:
  25178. "200":
  25179. description: OK
  25180. schema:
  25181. $ref: '#/definitions/models.Goods'
  25182. "500":
  25183. description: Internal Server Error
  25184. schema:
  25185. $ref: '#/definitions/app.Response'
  25186. security:
  25187. - ApiKeyAuth: []
  25188. summary: 获取登录账号有权限的商品信息
  25189. tags:
  25190. - 通用市场
  25191. /Market/QueryMarketRun:
  25192. get:
  25193. parameters:
  25194. - description: 市场ID,不传返回所有
  25195. in: query
  25196. name: marketID
  25197. type: integer
  25198. produces:
  25199. - application/json
  25200. responses:
  25201. "200":
  25202. description: OK
  25203. schema:
  25204. $ref: '#/definitions/models.Marketrun'
  25205. "500":
  25206. description: Internal Server Error
  25207. schema:
  25208. $ref: '#/definitions/app.Response'
  25209. security:
  25210. - ApiKeyAuth: []
  25211. summary: 查询市场运行信息
  25212. tags:
  25213. - 通用市场
  25214. /Market/QueryMarketsByLoginID:
  25215. get:
  25216. parameters:
  25217. - description: 登录账号
  25218. in: query
  25219. name: loginID
  25220. required: true
  25221. type: integer
  25222. produces:
  25223. - application/json
  25224. responses:
  25225. "200":
  25226. description: OK
  25227. schema:
  25228. $ref: '#/definitions/models.Market'
  25229. "500":
  25230. description: Internal Server Error
  25231. schema:
  25232. $ref: '#/definitions/app.Response'
  25233. security:
  25234. - ApiKeyAuth: []
  25235. summary: 获取登录账号有权限的市场信息
  25236. tags:
  25237. - 通用市场
  25238. /Order/QueryHisTradeDetail:
  25239. get:
  25240. parameters:
  25241. - description: 资金账户 - 格式:1,2,3
  25242. in: query
  25243. name: accountID
  25244. required: true
  25245. type: string
  25246. - description: 成交单号
  25247. in: query
  25248. name: tradeID
  25249. type: integer
  25250. - description: 委托单号
  25251. in: query
  25252. name: orderID
  25253. type: integer
  25254. - description: 商品ID
  25255. in: query
  25256. name: goodsID
  25257. type: integer
  25258. - description: 交易模式 - 格式:1,2,3
  25259. in: query
  25260. name: tradeMode
  25261. type: string
  25262. - description: 委托单据类型
  25263. in: query
  25264. name: buildType
  25265. type: integer
  25266. - description: 成交类别 - 格式:1,2,3
  25267. in: query
  25268. name: tradeType
  25269. type: string
  25270. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  25271. in: query
  25272. name: startDate
  25273. type: string
  25274. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  25275. in: query
  25276. name: endDate
  25277. type: string
  25278. produces:
  25279. - application/json
  25280. responses:
  25281. "200":
  25282. description: OK
  25283. schema:
  25284. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  25285. "500":
  25286. description: Internal Server Error
  25287. schema:
  25288. $ref: '#/definitions/app.Response'
  25289. security:
  25290. - ApiKeyAuth: []
  25291. summary: 历史成交单查询(合约市场)
  25292. tags:
  25293. - 通用单据
  25294. /Order/QueryHisTradeOrderDetail:
  25295. get:
  25296. parameters:
  25297. - description: 资金账户 - 格式:1,2,3
  25298. in: query
  25299. name: accountID
  25300. required: true
  25301. type: string
  25302. - description: 交易模式 - 格式:1,2,3
  25303. in: query
  25304. name: tradeMode
  25305. type: string
  25306. - description: 委托状态 - 格式:1,2,3
  25307. in: query
  25308. name: orderStatus
  25309. type: string
  25310. - description: 委托单号
  25311. in: query
  25312. name: orderID
  25313. type: integer
  25314. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  25315. in: query
  25316. name: startDate
  25317. type: string
  25318. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  25319. in: query
  25320. name: endDate
  25321. type: string
  25322. produces:
  25323. - application/json
  25324. responses:
  25325. "200":
  25326. description: OK
  25327. schema:
  25328. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  25329. "500":
  25330. description: Internal Server Error
  25331. schema:
  25332. $ref: '#/definitions/app.Response'
  25333. security:
  25334. - ApiKeyAuth: []
  25335. summary: 历史委托单查询请求(合约市场)
  25336. tags:
  25337. - 通用单据
  25338. /Order/QueryTradeDetail:
  25339. get:
  25340. parameters:
  25341. - description: 资金账户 - 格式:1,2,3
  25342. in: query
  25343. name: accountID
  25344. required: true
  25345. type: string
  25346. - description: 成交单号
  25347. in: query
  25348. name: tradeID
  25349. type: integer
  25350. - description: 委托单号
  25351. in: query
  25352. name: orderID
  25353. type: integer
  25354. - description: 交易模式 - 格式:1,2,3
  25355. in: query
  25356. name: tradeMode
  25357. type: string
  25358. - description: 委托单据类型
  25359. in: query
  25360. name: buildType
  25361. type: integer
  25362. - description: 成交类别 - 格式:1,2,3
  25363. in: query
  25364. name: tradeType
  25365. type: string
  25366. - description: 商品ID
  25367. in: query
  25368. name: goodsID
  25369. type: integer
  25370. produces:
  25371. - application/json
  25372. responses:
  25373. "200":
  25374. description: OK
  25375. schema:
  25376. $ref: '#/definitions/order.QueryTradeDetailRsp'
  25377. "500":
  25378. description: Internal Server Error
  25379. schema:
  25380. $ref: '#/definitions/app.Response'
  25381. security:
  25382. - ApiKeyAuth: []
  25383. summary: 成交单查询(合约市场)
  25384. tags:
  25385. - 通用单据
  25386. /Order/QueryTradeHolderDetail:
  25387. get:
  25388. parameters:
  25389. - description: 用户id
  25390. in: query
  25391. name: userid
  25392. type: integer
  25393. - description: 资金账号, 格式 1,2,3
  25394. in: query
  25395. name: accids
  25396. type: string
  25397. - description: 交易模式, 格式 1,2,3
  25398. in: query
  25399. name: trademodes
  25400. type: string
  25401. - description: 市场id, 格式 1,2,3
  25402. in: query
  25403. name: marketids
  25404. type: string
  25405. - description: 商品id
  25406. in: query
  25407. name: goodsid
  25408. type: integer
  25409. - description: 买卖方向 0-买 1-卖
  25410. in: query
  25411. name: buyorsell
  25412. type: integer
  25413. produces:
  25414. - application/json
  25415. responses:
  25416. "200":
  25417. description: OK
  25418. schema:
  25419. items:
  25420. $ref: '#/definitions/models.TradeHolderDetail'
  25421. type: array
  25422. "500":
  25423. description: Internal Server Error
  25424. schema:
  25425. $ref: '#/definitions/app.Response'
  25426. security:
  25427. - ApiKeyAuth: []
  25428. summary: 查询持仓明细
  25429. tags:
  25430. - 通用单据
  25431. /Order/QueryTradeOrderDetail:
  25432. get:
  25433. parameters:
  25434. - description: 资金账户 - 格式:1,2,3
  25435. in: query
  25436. name: accountID
  25437. required: true
  25438. type: string
  25439. - description: 交易模式 - 格式:1,2,3
  25440. in: query
  25441. name: tradeMode
  25442. type: string
  25443. - description: 委托状态 - 格式:1,2,3
  25444. in: query
  25445. name: orderStatus
  25446. type: string
  25447. - description: 委托单号
  25448. in: query
  25449. name: orderID
  25450. type: integer
  25451. produces:
  25452. - application/json
  25453. responses:
  25454. "200":
  25455. description: OK
  25456. schema:
  25457. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  25458. "500":
  25459. description: Internal Server Error
  25460. schema:
  25461. $ref: '#/definitions/app.Response'
  25462. security:
  25463. - ApiKeyAuth: []
  25464. summary: 委托单查询请求(合约市场)
  25465. tags:
  25466. - 通用单据
  25467. /Order/QueryTradePosition:
  25468. get:
  25469. parameters:
  25470. - description: 资金账户 - 格式:1,2,3
  25471. in: query
  25472. name: accountID
  25473. required: true
  25474. type: string
  25475. - description: 交易模式 - 格式:1,2,3
  25476. in: query
  25477. name: tradeMode
  25478. type: string
  25479. produces:
  25480. - application/json
  25481. responses:
  25482. "200":
  25483. description: OK
  25484. schema:
  25485. $ref: '#/definitions/order.QueryTradePositionRsp'
  25486. "500":
  25487. description: Internal Server Error
  25488. schema:
  25489. $ref: '#/definitions/app.Response'
  25490. security:
  25491. - ApiKeyAuth: []
  25492. summary: 持仓汇总查询(合约市场)
  25493. tags:
  25494. - 通用单据
  25495. /Qhj/QueryAccountInOutApply:
  25496. get:
  25497. parameters:
  25498. - description: 用户ID
  25499. in: query
  25500. name: userid
  25501. required: true
  25502. type: integer
  25503. - description: 申请起始日期(格式yyyymmdd)
  25504. in: query
  25505. name: begindate
  25506. type: string
  25507. - description: 申请截止日期(格式yyyymmdd)
  25508. in: query
  25509. name: enddate
  25510. type: string
  25511. - description: 模糊搜索名称
  25512. in: query
  25513. name: likename
  25514. type: string
  25515. produces:
  25516. - application/json
  25517. responses:
  25518. "200":
  25519. description: OK
  25520. schema:
  25521. items:
  25522. $ref: '#/definitions/models.QhjAccountOutInApply'
  25523. type: array
  25524. "500":
  25525. description: Internal Server Error
  25526. schema:
  25527. $ref: '#/definitions/app.Response'
  25528. security:
  25529. - ApiKeyAuth: []
  25530. summary: 查询充值提现
  25531. tags:
  25532. - 大连千海金
  25533. /Qhj/QueryAreaFinanceConfig:
  25534. get:
  25535. parameters:
  25536. - description: 机构用户ID 其他做市关系,都设置为 1
  25537. in: query
  25538. name: userid
  25539. type: integer
  25540. produces:
  25541. - application/json
  25542. responses:
  25543. "200":
  25544. description: OK
  25545. schema:
  25546. items:
  25547. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  25548. type: array
  25549. "500":
  25550. description: Internal Server Error
  25551. schema:
  25552. $ref: '#/definitions/app.Response'
  25553. security:
  25554. - ApiKeyAuth: []
  25555. summary: 查询企业配置表
  25556. tags:
  25557. - 大连千海金
  25558. /Qhj/QueryBankAccountSign:
  25559. get:
  25560. parameters:
  25561. - description: 用户ID
  25562. in: query
  25563. name: userid
  25564. required: true
  25565. type: integer
  25566. produces:
  25567. - application/json
  25568. responses:
  25569. "200":
  25570. description: OK
  25571. schema:
  25572. items:
  25573. $ref: '#/definitions/models.QhjBankAccountSign'
  25574. type: array
  25575. "500":
  25576. description: Internal Server Error
  25577. schema:
  25578. $ref: '#/definitions/app.Response'
  25579. security:
  25580. - ApiKeyAuth: []
  25581. summary: 查询签约银行信息(提现账户管理)
  25582. tags:
  25583. - 大连千海金
  25584. /Qhj/QueryBankInfo:
  25585. get:
  25586. produces:
  25587. - application/json
  25588. responses:
  25589. "200":
  25590. description: OK
  25591. schema:
  25592. items:
  25593. $ref: '#/definitions/models.QhjBankInfo'
  25594. type: array
  25595. "500":
  25596. description: Internal Server Error
  25597. schema:
  25598. $ref: '#/definitions/app.Response'
  25599. security:
  25600. - ApiKeyAuth: []
  25601. summary: 查询开户行
  25602. tags:
  25603. - 大连千海金
  25604. /Qhj/QueryBrokerApply:
  25605. get:
  25606. parameters:
  25607. - description: 所属机构ID
  25608. in: query
  25609. name: userid
  25610. type: integer
  25611. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25612. in: query
  25613. name: filterstatus
  25614. type: string
  25615. produces:
  25616. - application/json
  25617. responses:
  25618. "200":
  25619. description: OK
  25620. schema:
  25621. items:
  25622. $ref: '#/definitions/models.QhjBrokerApply'
  25623. type: array
  25624. "500":
  25625. description: Internal Server Error
  25626. schema:
  25627. $ref: '#/definitions/app.Response'
  25628. security:
  25629. - ApiKeyAuth: []
  25630. summary: 查询经纪人申请
  25631. tags:
  25632. - 大连千海金
  25633. /Qhj/QueryBrokerApplyEx:
  25634. get:
  25635. parameters:
  25636. - description: 所属机构ID
  25637. in: query
  25638. name: userid
  25639. type: integer
  25640. produces:
  25641. - application/json
  25642. responses:
  25643. "200":
  25644. description: OK
  25645. schema:
  25646. items:
  25647. $ref: '#/definitions/models.QhjBrokerApplyEx'
  25648. type: array
  25649. "500":
  25650. description: Internal Server Error
  25651. schema:
  25652. $ref: '#/definitions/app.Response'
  25653. security:
  25654. - ApiKeyAuth: []
  25655. summary: 查询经纪人信息和申请记录
  25656. tags:
  25657. - 大连千海金
  25658. /Qhj/QueryBrokerRewardLog:
  25659. get:
  25660. parameters:
  25661. - description: 用户ID
  25662. in: query
  25663. name: userid
  25664. required: true
  25665. type: integer
  25666. - description: 开始交易日(yyyymmdd)
  25667. in: query
  25668. name: begindate
  25669. type: string
  25670. - description: 结束交易日(yyyymmdd)
  25671. in: query
  25672. name: enddate
  25673. type: string
  25674. produces:
  25675. - application/json
  25676. responses:
  25677. "200":
  25678. description: OK
  25679. schema:
  25680. items:
  25681. $ref: '#/definitions/models.QhjBrokerRewardLog'
  25682. type: array
  25683. "500":
  25684. description: Internal Server Error
  25685. schema:
  25686. $ref: '#/definitions/app.Response'
  25687. security:
  25688. - ApiKeyAuth: []
  25689. summary: 查询奖励流水(我的奖励)
  25690. tags:
  25691. - 大连千海金
  25692. /Qhj/QueryContract:
  25693. get:
  25694. parameters:
  25695. - description: 用户ID
  25696. in: query
  25697. name: userid
  25698. type: integer
  25699. - description: scf合同id
  25700. in: query
  25701. name: scfcontractid
  25702. type: integer
  25703. produces:
  25704. - application/json
  25705. responses:
  25706. "200":
  25707. description: OK
  25708. schema:
  25709. items:
  25710. $ref: '#/definitions/models.QhjContract'
  25711. type: array
  25712. "500":
  25713. description: Internal Server Error
  25714. schema:
  25715. $ref: '#/definitions/app.Response'
  25716. security:
  25717. - ApiKeyAuth: []
  25718. summary: 查询融资明细(合同)
  25719. tags:
  25720. - 大连千海金
  25721. /Qhj/QueryContractLog:
  25722. get:
  25723. parameters:
  25724. - description: scf合同id
  25725. in: query
  25726. name: scfcontractid
  25727. required: true
  25728. type: integer
  25729. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  25730. in: query
  25731. name: amounttype
  25732. type: string
  25733. produces:
  25734. - application/json
  25735. responses:
  25736. "200":
  25737. description: OK
  25738. schema:
  25739. items:
  25740. $ref: '#/definitions/models.QhjContractLog'
  25741. type: array
  25742. "500":
  25743. description: Internal Server Error
  25744. schema:
  25745. $ref: '#/definitions/app.Response'
  25746. security:
  25747. - ApiKeyAuth: []
  25748. summary: 查询融资明细流水(融资明细详情页中的流水)
  25749. tags:
  25750. - 大连千海金
  25751. /Qhj/QueryCusBankSignBank:
  25752. get:
  25753. produces:
  25754. - application/json
  25755. responses:
  25756. "200":
  25757. description: OK
  25758. schema:
  25759. items:
  25760. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  25761. type: array
  25762. "500":
  25763. description: Internal Server Error
  25764. schema:
  25765. $ref: '#/definitions/app.Response'
  25766. security:
  25767. - ApiKeyAuth: []
  25768. summary: 查询托管银行
  25769. tags:
  25770. - 大连千海金
  25771. /Qhj/QueryCustomerInfo:
  25772. get:
  25773. parameters:
  25774. - description: 用户ID
  25775. in: query
  25776. name: userid
  25777. required: true
  25778. type: integer
  25779. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  25780. in: query
  25781. name: querytype
  25782. required: true
  25783. type: integer
  25784. - description: 客户类型 1-个人 2-企业
  25785. in: query
  25786. name: userinfotype
  25787. type: integer
  25788. - description: 客户名称(模糊匹配)
  25789. in: query
  25790. name: customername
  25791. type: string
  25792. - description: 昵称(模糊匹配)
  25793. in: query
  25794. name: nickname
  25795. type: string
  25796. - description: 是否包含子级 1-包含
  25797. in: query
  25798. name: includesub
  25799. type: integer
  25800. produces:
  25801. - application/json
  25802. responses:
  25803. "200":
  25804. description: OK
  25805. schema:
  25806. items:
  25807. $ref: '#/definitions/models.QhjCustomer'
  25808. type: array
  25809. "500":
  25810. description: Internal Server Error
  25811. schema:
  25812. $ref: '#/definitions/app.Response'
  25813. security:
  25814. - ApiKeyAuth: []
  25815. summary: 查询客户资料
  25816. tags:
  25817. - 大连千海金
  25818. /Qhj/QueryGoodsEx:
  25819. get:
  25820. parameters:
  25821. - description: 商品id
  25822. in: query
  25823. name: goodsid
  25824. type: integer
  25825. produces:
  25826. - application/json
  25827. responses:
  25828. "200":
  25829. description: OK
  25830. schema:
  25831. items:
  25832. $ref: '#/definitions/models.Qhjgoodsex'
  25833. type: array
  25834. "500":
  25835. description: Internal Server Error
  25836. schema:
  25837. $ref: '#/definitions/app.Response'
  25838. security:
  25839. - ApiKeyAuth: []
  25840. summary: 交易商品扩展表
  25841. tags:
  25842. - 大连千海金
  25843. /Qhj/QueryMyTeam:
  25844. get:
  25845. parameters:
  25846. - description: 用户ID
  25847. in: query
  25848. name: userid
  25849. required: true
  25850. type: integer
  25851. produces:
  25852. - application/json
  25853. responses:
  25854. "200":
  25855. description: OK
  25856. schema:
  25857. items:
  25858. $ref: '#/definitions/models.QhjMyTeamEx'
  25859. type: array
  25860. "500":
  25861. description: Internal Server Error
  25862. schema:
  25863. $ref: '#/definitions/app.Response'
  25864. security:
  25865. - ApiKeyAuth: []
  25866. summary: 查询我的团队
  25867. tags:
  25868. - 大连千海金
  25869. /Qhj/QueryMyTeamOrder:
  25870. get:
  25871. parameters:
  25872. - description: 页码
  25873. in: query
  25874. name: page
  25875. type: integer
  25876. - description: 每页条数
  25877. in: query
  25878. name: pagesize
  25879. type: integer
  25880. - description: 用户ID
  25881. in: query
  25882. name: userid
  25883. required: true
  25884. type: integer
  25885. - description: 交易模式
  25886. in: query
  25887. name: trademode
  25888. type: integer
  25889. - description: 名称(模糊搜索账户)
  25890. in: query
  25891. name: filtername
  25892. type: string
  25893. produces:
  25894. - application/json
  25895. responses:
  25896. "200":
  25897. description: OK
  25898. schema:
  25899. items:
  25900. $ref: '#/definitions/models.QhjTeamOrder'
  25901. type: array
  25902. "500":
  25903. description: Internal Server Error
  25904. schema:
  25905. $ref: '#/definitions/app.Response'
  25906. security:
  25907. - ApiKeyAuth: []
  25908. summary: 查询团队订单(我的团队/团队订单)
  25909. tags:
  25910. - 大连千海金
  25911. /Qhj/QueryParentAreaList:
  25912. get:
  25913. parameters:
  25914. - description: 用户ID
  25915. in: query
  25916. name: userid
  25917. required: true
  25918. type: integer
  25919. produces:
  25920. - application/json
  25921. responses:
  25922. "200":
  25923. description: OK
  25924. schema:
  25925. items:
  25926. $ref: '#/definitions/models.QhjParentAreaList'
  25927. type: array
  25928. "500":
  25929. description: Internal Server Error
  25930. schema:
  25931. $ref: '#/definitions/app.Response'
  25932. security:
  25933. - ApiKeyAuth: []
  25934. summary: 查询所属机构列表
  25935. tags:
  25936. - 大连千海金
  25937. /Qhj/QueryPayOrder:
  25938. get:
  25939. parameters:
  25940. - description: 资金账号id
  25941. in: query
  25942. name: accountid
  25943. required: true
  25944. type: integer
  25945. - description: 成交单号
  25946. in: query
  25947. name: tradeid
  25948. type: integer
  25949. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  25950. in: query
  25951. name: payflag
  25952. type: string
  25953. produces:
  25954. - application/json
  25955. responses:
  25956. "200":
  25957. description: OK
  25958. schema:
  25959. items:
  25960. $ref: '#/definitions/models.QhjPayOrder'
  25961. type: array
  25962. "500":
  25963. description: Internal Server Error
  25964. schema:
  25965. $ref: '#/definitions/app.Response'
  25966. security:
  25967. - ApiKeyAuth: []
  25968. summary: 查询待付款单据
  25969. tags:
  25970. - 大连千海金
  25971. /Qhj/QueryPickArea:
  25972. get:
  25973. parameters:
  25974. - description: 用户ID
  25975. in: query
  25976. name: userid
  25977. type: integer
  25978. produces:
  25979. - application/json
  25980. responses:
  25981. "200":
  25982. description: OK
  25983. schema:
  25984. items:
  25985. $ref: '#/definitions/models.QhjPickArea'
  25986. type: array
  25987. "500":
  25988. description: Internal Server Error
  25989. schema:
  25990. $ref: '#/definitions/app.Response'
  25991. security:
  25992. - ApiKeyAuth: []
  25993. summary: 查询提货门店
  25994. tags:
  25995. - 大连千海金
  25996. /Qhj/QueryPickGoods:
  25997. get:
  25998. parameters:
  25999. - description: 交易商品id
  26000. in: query
  26001. name: goodsid
  26002. required: true
  26003. type: integer
  26004. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  26005. in: query
  26006. name: status
  26007. type: string
  26008. produces:
  26009. - application/json
  26010. responses:
  26011. "200":
  26012. description: OK
  26013. schema:
  26014. items:
  26015. $ref: '#/definitions/models.QhjPickGoods'
  26016. type: array
  26017. "500":
  26018. description: Internal Server Error
  26019. schema:
  26020. $ref: '#/definitions/app.Response'
  26021. security:
  26022. - ApiKeyAuth: []
  26023. summary: 查询提货商品
  26024. tags:
  26025. - 大连千海金
  26026. /Qhj/QueryRSTriggerLog:
  26027. get:
  26028. parameters:
  26029. - description: 用户ID
  26030. in: query
  26031. name: userid
  26032. type: integer
  26033. - description: 定投策略id
  26034. in: query
  26035. name: regularlystrategyid
  26036. type: integer
  26037. - description: 商品id
  26038. in: query
  26039. name: goodsid
  26040. type: integer
  26041. - description: 开始交易日(yyyymmdd)
  26042. in: query
  26043. name: begindate
  26044. type: string
  26045. - description: 结束交易日(yyyymmdd)
  26046. in: query
  26047. name: enddate
  26048. type: string
  26049. - description: 名称(模糊搜索账户)
  26050. in: query
  26051. name: filtername
  26052. type: string
  26053. produces:
  26054. - application/json
  26055. responses:
  26056. "200":
  26057. description: OK
  26058. schema:
  26059. items:
  26060. $ref: '#/definitions/models.QhjRSTriggerLog'
  26061. type: array
  26062. "500":
  26063. description: Internal Server Error
  26064. schema:
  26065. $ref: '#/definitions/app.Response'
  26066. security:
  26067. - ApiKeyAuth: []
  26068. summary: 查询定投记录(定投管理/详情/定投记录)
  26069. tags:
  26070. - 大连千海金
  26071. /Qhj/QueryRStrategy:
  26072. get:
  26073. parameters:
  26074. - description: 用户ID
  26075. in: query
  26076. name: userid
  26077. type: integer
  26078. - description: 商品id
  26079. in: query
  26080. name: goodsid
  26081. type: integer
  26082. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  26083. in: query
  26084. name: status
  26085. type: string
  26086. - description: 名称(模糊搜索账户)
  26087. in: query
  26088. name: filtername
  26089. type: string
  26090. produces:
  26091. - application/json
  26092. responses:
  26093. "200":
  26094. description: OK
  26095. schema:
  26096. items:
  26097. $ref: '#/definitions/models.QhjRStrategy'
  26098. type: array
  26099. "500":
  26100. description: Internal Server Error
  26101. schema:
  26102. $ref: '#/definitions/app.Response'
  26103. security:
  26104. - ApiKeyAuth: []
  26105. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  26106. tags:
  26107. - 大连千海金
  26108. /Qhj/QueryReckonPriceLog:
  26109. get:
  26110. parameters:
  26111. - description: 商品ID
  26112. in: query
  26113. name: goodsid
  26114. type: integer
  26115. - description: 交易日 格式(yyyymmdd)
  26116. in: query
  26117. name: tradedate
  26118. type: string
  26119. produces:
  26120. - application/json
  26121. responses:
  26122. "200":
  26123. description: OK
  26124. schema:
  26125. items:
  26126. $ref: '#/definitions/models.QhjReckonPriceLog'
  26127. type: array
  26128. "500":
  26129. description: Internal Server Error
  26130. schema:
  26131. $ref: '#/definitions/app.Response'
  26132. security:
  26133. - ApiKeyAuth: []
  26134. summary: 查询定投价(结算价)
  26135. tags:
  26136. - 大连千海金
  26137. /Qhj/QueryScoreLog:
  26138. get:
  26139. parameters:
  26140. - description: 用户ID
  26141. in: query
  26142. name: userid
  26143. required: true
  26144. type: integer
  26145. - description: 开始交易日(yyyymmdd)
  26146. in: query
  26147. name: begindate
  26148. type: string
  26149. - description: 结束交易日(yyyymmdd)
  26150. in: query
  26151. name: enddate
  26152. type: string
  26153. - description: 最近多少条
  26154. in: query
  26155. name: lastnum
  26156. type: integer
  26157. produces:
  26158. - application/json
  26159. responses:
  26160. "200":
  26161. description: OK
  26162. schema:
  26163. items:
  26164. $ref: '#/definitions/models.QhjScoreLog'
  26165. type: array
  26166. "500":
  26167. description: Internal Server Error
  26168. schema:
  26169. $ref: '#/definitions/app.Response'
  26170. security:
  26171. - ApiKeyAuth: []
  26172. summary: 查询积分流水(我的积分)
  26173. tags:
  26174. - 大连千海金
  26175. /Qhj/QuerySiteColumnDetail:
  26176. get:
  26177. parameters:
  26178. - description: 用户ID
  26179. in: query
  26180. name: userid
  26181. required: true
  26182. type: integer
  26183. produces:
  26184. - application/json
  26185. responses:
  26186. "200":
  26187. description: OK
  26188. schema:
  26189. items:
  26190. $ref: '#/definitions/models.QhjSiteColumnDetail'
  26191. type: array
  26192. "500":
  26193. description: Internal Server Error
  26194. schema:
  26195. $ref: '#/definitions/app.Response'
  26196. security:
  26197. - ApiKeyAuth: []
  26198. summary: 查询资讯
  26199. tags:
  26200. - 大连千海金
  26201. /Qhj/QueryTradeGoodsPickup:
  26202. get:
  26203. parameters:
  26204. - description: 用户ID
  26205. in: query
  26206. name: userid
  26207. required: true
  26208. type: integer
  26209. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  26210. 7:已拒绝 8:已撤销
  26211. in: query
  26212. name: takeorderstatus
  26213. type: integer
  26214. produces:
  26215. - application/json
  26216. responses:
  26217. "200":
  26218. description: OK
  26219. schema:
  26220. items:
  26221. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  26222. type: array
  26223. "500":
  26224. description: Internal Server Error
  26225. schema:
  26226. $ref: '#/definitions/app.Response'
  26227. security:
  26228. - ApiKeyAuth: []
  26229. summary: 查询提货
  26230. tags:
  26231. - 大连千海金
  26232. /Qhj/QueryUserCollectConfig:
  26233. get:
  26234. parameters:
  26235. - description: 用户ID
  26236. in: query
  26237. name: userid
  26238. required: true
  26239. type: integer
  26240. produces:
  26241. - application/json
  26242. responses:
  26243. "200":
  26244. description: OK
  26245. schema:
  26246. items:
  26247. $ref: '#/definitions/models.UserCollectConfig'
  26248. type: array
  26249. "500":
  26250. description: Internal Server Error
  26251. schema:
  26252. $ref: '#/definitions/app.Response'
  26253. security:
  26254. - ApiKeyAuth: []
  26255. summary: 查询提现账户设置
  26256. tags:
  26257. - 大连千海金
  26258. /Qhj/QueryUserReceiveInfo:
  26259. get:
  26260. parameters:
  26261. - description: 用户ID
  26262. in: query
  26263. name: userid
  26264. required: true
  26265. type: integer
  26266. produces:
  26267. - application/json
  26268. responses:
  26269. "200":
  26270. description: OK
  26271. schema:
  26272. items:
  26273. $ref: '#/definitions/models.UserReceiveInfo'
  26274. type: array
  26275. "500":
  26276. description: Internal Server Error
  26277. schema:
  26278. $ref: '#/definitions/app.Response'
  26279. security:
  26280. - ApiKeyAuth: []
  26281. summary: 查询收货地址信息
  26282. tags:
  26283. - 大连千海金
  26284. /QhjMgr/QueryAccountInOutApply:
  26285. get:
  26286. parameters:
  26287. - description: 查询类型 1-提现(出金) 2-充值(出金)
  26288. in: query
  26289. name: querytype
  26290. required: true
  26291. type: integer
  26292. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  26293. in: query
  26294. name: applystatus
  26295. type: integer
  26296. - description: 申请起始日期(格式yyyymmdd)
  26297. in: query
  26298. name: begindate
  26299. type: string
  26300. - description: 申请截止日期(格式yyyymmdd)
  26301. in: query
  26302. name: enddate
  26303. type: string
  26304. - description: 模糊搜索名称
  26305. in: query
  26306. name: likename
  26307. type: string
  26308. produces:
  26309. - application/json
  26310. responses:
  26311. "200":
  26312. description: OK
  26313. schema:
  26314. items:
  26315. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  26316. type: array
  26317. "500":
  26318. description: Internal Server Error
  26319. schema:
  26320. $ref: '#/definitions/app.Response'
  26321. security:
  26322. - ApiKeyAuth: []
  26323. summary: 查询充值提现
  26324. tags:
  26325. - 大连千海金(PCWeb)
  26326. /QhjMgr/QueryBrokerApply:
  26327. get:
  26328. parameters:
  26329. - description: 所属机构ID
  26330. in: query
  26331. name: userid
  26332. type: integer
  26333. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  26334. in: query
  26335. name: filterstatus
  26336. type: string
  26337. - description: 名称(模糊匹配)
  26338. in: query
  26339. name: filtername
  26340. type: string
  26341. - description: 是否包含子级 1-包含
  26342. in: query
  26343. name: includesub
  26344. type: integer
  26345. produces:
  26346. - application/json
  26347. responses:
  26348. "200":
  26349. description: OK
  26350. schema:
  26351. items:
  26352. $ref: '#/definitions/models.QhjMgrBrokerApply'
  26353. type: array
  26354. "500":
  26355. description: Internal Server Error
  26356. schema:
  26357. $ref: '#/definitions/app.Response'
  26358. security:
  26359. - ApiKeyAuth: []
  26360. summary: 查询经纪人申请
  26361. tags:
  26362. - 大连千海金(PCWeb)
  26363. /QhjMgr/QueryBrokerRewardReport:
  26364. get:
  26365. parameters:
  26366. - description: 所属机构ID
  26367. in: query
  26368. name: userid
  26369. required: true
  26370. type: integer
  26371. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26372. in: query
  26373. name: cycletype
  26374. required: true
  26375. type: integer
  26376. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  26377. in: query
  26378. name: cycletime
  26379. required: true
  26380. type: string
  26381. - description: 名称(模糊匹配)
  26382. in: query
  26383. name: filtername
  26384. type: string
  26385. - description: 是否包含子级 1-包含
  26386. in: query
  26387. name: includesub
  26388. type: integer
  26389. produces:
  26390. - application/json
  26391. responses:
  26392. "200":
  26393. description: OK
  26394. schema:
  26395. items:
  26396. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  26397. type: array
  26398. "500":
  26399. description: Internal Server Error
  26400. schema:
  26401. $ref: '#/definitions/app.Response'
  26402. security:
  26403. - ApiKeyAuth: []
  26404. summary: 查询经纪人奖励报表(废弃)
  26405. tags:
  26406. - 大连千海金(PCWeb)
  26407. /QhjMgr/QueryContract:
  26408. get:
  26409. parameters:
  26410. - description: 用户ID
  26411. in: query
  26412. name: userid
  26413. type: integer
  26414. - description: 商品id
  26415. in: query
  26416. name: goodsid
  26417. type: integer
  26418. - description: 名称(模糊搜索账户)
  26419. in: query
  26420. name: filtername
  26421. type: string
  26422. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  26423. in: query
  26424. name: risklevel
  26425. type: string
  26426. - description: 开始交易日(yyyymmdd)
  26427. in: query
  26428. name: begindate
  26429. type: string
  26430. - description: 结束交易日(yyyymmdd)
  26431. in: query
  26432. name: enddate
  26433. type: string
  26434. produces:
  26435. - application/json
  26436. responses:
  26437. "200":
  26438. description: OK
  26439. schema:
  26440. items:
  26441. $ref: '#/definitions/models.QhjMgrContract'
  26442. type: array
  26443. "500":
  26444. description: Internal Server Error
  26445. schema:
  26446. $ref: '#/definitions/app.Response'
  26447. security:
  26448. - ApiKeyAuth: []
  26449. summary: 查询融资信息(合同)
  26450. tags:
  26451. - 大连千海金(PCWeb)
  26452. /QhjMgr/QueryCustomerInfo:
  26453. get:
  26454. parameters:
  26455. - description: 用户ID
  26456. in: query
  26457. name: userid
  26458. required: true
  26459. type: integer
  26460. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  26461. in: query
  26462. name: querytype
  26463. required: true
  26464. type: integer
  26465. - description: 客户类型 1-个人 2-企业
  26466. in: query
  26467. name: userinfotype
  26468. type: integer
  26469. - description: 客户名称(模糊匹配)
  26470. in: query
  26471. name: customername
  26472. type: string
  26473. - description: 昵称(模糊匹配)
  26474. in: query
  26475. name: nickname
  26476. type: string
  26477. - description: 所属客户经理(模糊匹配)
  26478. in: query
  26479. name: brokername
  26480. type: string
  26481. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  26482. 如0503 -5月3日)
  26483. in: query
  26484. name: birthday
  26485. type: string
  26486. - description: 是否包含子级 1-包含
  26487. in: query
  26488. name: includesub
  26489. type: integer
  26490. produces:
  26491. - application/json
  26492. responses:
  26493. "200":
  26494. description: OK
  26495. schema:
  26496. items:
  26497. $ref: '#/definitions/models.QhjMgrCustomer'
  26498. type: array
  26499. "500":
  26500. description: Internal Server Error
  26501. schema:
  26502. $ref: '#/definitions/app.Response'
  26503. security:
  26504. - ApiKeyAuth: []
  26505. summary: 查询客户资料
  26506. tags:
  26507. - 大连千海金(PCWeb)
  26508. /QhjMgr/QueryPickGoods:
  26509. get:
  26510. parameters:
  26511. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  26512. in: query
  26513. name: status
  26514. type: string
  26515. produces:
  26516. - application/json
  26517. responses:
  26518. "200":
  26519. description: OK
  26520. schema:
  26521. items:
  26522. $ref: '#/definitions/models.QhjMgrPickGoods'
  26523. type: array
  26524. "500":
  26525. description: Internal Server Error
  26526. schema:
  26527. $ref: '#/definitions/app.Response'
  26528. security:
  26529. - ApiKeyAuth: []
  26530. summary: 查询提货商品
  26531. tags:
  26532. - 大连千海金(PCWeb)
  26533. /QhjMgr/QuerySubArea:
  26534. get:
  26535. parameters:
  26536. - description: 用户ID
  26537. in: query
  26538. name: userid
  26539. required: true
  26540. type: integer
  26541. produces:
  26542. - application/json
  26543. responses:
  26544. "200":
  26545. description: OK
  26546. schema:
  26547. items:
  26548. $ref: '#/definitions/models.QhjMgrSubArea'
  26549. type: array
  26550. "500":
  26551. description: Internal Server Error
  26552. schema:
  26553. $ref: '#/definitions/app.Response'
  26554. security:
  26555. - ApiKeyAuth: []
  26556. summary: 查询子机构列表
  26557. tags:
  26558. - 大连千海金(PCWeb)
  26559. /QhjMgr/QueryTradeDetail:
  26560. get:
  26561. parameters:
  26562. - description: 用户ID
  26563. in: query
  26564. name: userid
  26565. required: true
  26566. type: integer
  26567. - description: 用户类型 1-个人 2-企业
  26568. in: query
  26569. name: userinfotype
  26570. type: integer
  26571. - description: 交易模式
  26572. in: query
  26573. name: trademode
  26574. type: integer
  26575. - description: 商品id
  26576. in: query
  26577. name: goodsid
  26578. type: integer
  26579. - description: 名称(模糊搜索账户)
  26580. in: query
  26581. name: filtername
  26582. type: string
  26583. - description: 开始交易日(yyyymmdd)
  26584. in: query
  26585. name: begindate
  26586. type: string
  26587. - description: 结束交易日(yyyymmdd)
  26588. in: query
  26589. name: enddate
  26590. type: string
  26591. - description: 是否包含子级 1-包含
  26592. in: query
  26593. name: includesub
  26594. type: integer
  26595. produces:
  26596. - application/json
  26597. responses:
  26598. "200":
  26599. description: OK
  26600. schema:
  26601. items:
  26602. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  26603. type: array
  26604. "500":
  26605. description: Internal Server Error
  26606. schema:
  26607. $ref: '#/definitions/app.Response'
  26608. security:
  26609. - ApiKeyAuth: []
  26610. summary: 查询成交明细
  26611. tags:
  26612. - 大连千海金(PCWeb)
  26613. /QhjMgr/QueryTradeOrderDetail:
  26614. get:
  26615. parameters:
  26616. - description: 用户ID
  26617. in: query
  26618. name: userid
  26619. required: true
  26620. type: integer
  26621. - description: 用户类型 1-个人 2-企业
  26622. in: query
  26623. name: userinfotype
  26624. type: integer
  26625. - description: 交易模式
  26626. in: query
  26627. name: trademode
  26628. type: integer
  26629. - description: 商品id
  26630. in: query
  26631. name: goodsid
  26632. type: integer
  26633. - description: 名称(模糊搜索账户)
  26634. in: query
  26635. name: filtername
  26636. type: string
  26637. - description: 开始交易日(yyyymmdd)
  26638. in: query
  26639. name: begindate
  26640. type: string
  26641. - description: 结束交易日(yyyymmdd)
  26642. in: query
  26643. name: enddate
  26644. type: string
  26645. - description: 是否包含子级 1-包含
  26646. in: query
  26647. name: includesub
  26648. type: integer
  26649. produces:
  26650. - application/json
  26651. responses:
  26652. "200":
  26653. description: OK
  26654. schema:
  26655. items:
  26656. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  26657. type: array
  26658. "500":
  26659. description: Internal Server Error
  26660. schema:
  26661. $ref: '#/definitions/app.Response'
  26662. security:
  26663. - ApiKeyAuth: []
  26664. summary: 查询委托明细
  26665. tags:
  26666. - 大连千海金(PCWeb)
  26667. /QhjMgr/QueryTradePayOrder:
  26668. get:
  26669. parameters:
  26670. - description: 用户ID
  26671. in: query
  26672. name: userid
  26673. required: true
  26674. type: integer
  26675. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  26676. in: query
  26677. name: payflag
  26678. type: string
  26679. - description: 用户类型 1-个人 2-企业
  26680. in: query
  26681. name: userinfotype
  26682. type: integer
  26683. - description: 交易模式
  26684. in: query
  26685. name: trademode
  26686. type: integer
  26687. - description: 商品id
  26688. in: query
  26689. name: goodsid
  26690. type: integer
  26691. - description: 名称(模糊搜索账户)
  26692. in: query
  26693. name: filtername
  26694. type: string
  26695. - description: 开始交易日(yyyymmdd)
  26696. in: query
  26697. name: begindate
  26698. type: string
  26699. - description: 结束交易日(yyyymmdd)
  26700. in: query
  26701. name: enddate
  26702. type: string
  26703. - description: 是否包含子级 1-包含
  26704. in: query
  26705. name: includesub
  26706. type: integer
  26707. produces:
  26708. - application/json
  26709. responses:
  26710. "200":
  26711. description: OK
  26712. schema:
  26713. items:
  26714. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  26715. type: array
  26716. "500":
  26717. description: Internal Server Error
  26718. schema:
  26719. $ref: '#/definitions/app.Response'
  26720. security:
  26721. - ApiKeyAuth: []
  26722. summary: 查询待付款单
  26723. tags:
  26724. - 大连千海金(PCWeb)
  26725. /QhjMgr/QueryTradePosition:
  26726. get:
  26727. parameters:
  26728. - description: 用户ID
  26729. in: query
  26730. name: userid
  26731. required: true
  26732. type: integer
  26733. - description: 用户类型 1-个人 2-企业
  26734. in: query
  26735. name: userinfotype
  26736. type: integer
  26737. - description: 交易模式
  26738. in: query
  26739. name: trademode
  26740. type: integer
  26741. - description: 商品id
  26742. in: query
  26743. name: goodsid
  26744. type: integer
  26745. - description: 名称(模糊搜索账户)
  26746. in: query
  26747. name: filtername
  26748. type: string
  26749. - description: 是否包含子级 1-包含
  26750. in: query
  26751. name: includesub
  26752. type: integer
  26753. produces:
  26754. - application/json
  26755. responses:
  26756. "200":
  26757. description: OK
  26758. schema:
  26759. items:
  26760. $ref: '#/definitions/models.QhjMgrPositionRsp'
  26761. type: array
  26762. "500":
  26763. description: Internal Server Error
  26764. schema:
  26765. $ref: '#/definitions/app.Response'
  26766. security:
  26767. - ApiKeyAuth: []
  26768. summary: 查询持仓汇总
  26769. tags:
  26770. - 大连千海金(PCWeb)
  26771. /QhjSys/QueryAgreementChangeLog:
  26772. get:
  26773. parameters:
  26774. - description: 协议ID
  26775. in: query
  26776. name: agreementid
  26777. type: integer
  26778. - description: 协议版本号
  26779. in: query
  26780. name: agreementversion
  26781. type: integer
  26782. - description: 协议类型 - 1:注册 2:登录 3:交易
  26783. in: query
  26784. name: agreementtype
  26785. type: integer
  26786. - description: 协议编号(模糊匹配)
  26787. in: query
  26788. name: agreementno
  26789. type: string
  26790. - description: 协议名称(模糊匹配)
  26791. in: query
  26792. name: agreementname
  26793. type: string
  26794. produces:
  26795. - application/json
  26796. responses:
  26797. "200":
  26798. description: OK
  26799. schema:
  26800. items:
  26801. $ref: '#/definitions/models.QhjAgreementChangeLog'
  26802. type: array
  26803. "500":
  26804. description: Internal Server Error
  26805. schema:
  26806. $ref: '#/definitions/app.Response'
  26807. security:
  26808. - ApiKeyAuth: []
  26809. summary: 查询协议配置变更流水
  26810. tags:
  26811. - 大连千海金(协议和签约信息)
  26812. /QhjSys/QueryAgreementConfig:
  26813. get:
  26814. parameters:
  26815. - description: 协议ID
  26816. in: query
  26817. name: agreementid
  26818. type: integer
  26819. - description: 协议版本号
  26820. in: query
  26821. name: agreementversion
  26822. type: integer
  26823. - description: 协议类型 - 1:注册 2:登录 3:交易
  26824. in: query
  26825. name: agreementtype
  26826. type: integer
  26827. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  26828. in: query
  26829. name: isvalid
  26830. type: integer
  26831. - description: 协议编号(模糊匹配)
  26832. in: query
  26833. name: agreementno
  26834. type: string
  26835. - description: 协议名称(模糊匹配)
  26836. in: query
  26837. name: agreementname
  26838. type: string
  26839. produces:
  26840. - application/json
  26841. responses:
  26842. "200":
  26843. description: OK
  26844. schema:
  26845. items:
  26846. $ref: '#/definitions/models.QhjAgreementConfig'
  26847. type: array
  26848. "500":
  26849. description: Internal Server Error
  26850. schema:
  26851. $ref: '#/definitions/app.Response'
  26852. security:
  26853. - ApiKeyAuth: []
  26854. summary: 查询协议配置
  26855. tags:
  26856. - 大连千海金(协议和签约信息)
  26857. /QhjSys/QueryCustomerSignStatus:
  26858. get:
  26859. parameters:
  26860. - description: 客户ID
  26861. in: query
  26862. name: userid
  26863. type: integer
  26864. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  26865. in: query
  26866. name: nodetype
  26867. type: integer
  26868. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  26869. in: query
  26870. name: goodsid
  26871. type: integer
  26872. - description: 创建交易日(yyyyMMdd)
  26873. in: query
  26874. name: tradedate
  26875. type: string
  26876. - description: 用户名称(模糊匹配)
  26877. in: query
  26878. name: username
  26879. type: string
  26880. produces:
  26881. - application/json
  26882. responses:
  26883. "200":
  26884. description: OK
  26885. schema:
  26886. items:
  26887. $ref: '#/definitions/models.QhjCustomerSignStatus'
  26888. type: array
  26889. "500":
  26890. description: Internal Server Error
  26891. schema:
  26892. $ref: '#/definitions/app.Response'
  26893. security:
  26894. - ApiKeyAuth: []
  26895. summary: 查询客户协议签约状态
  26896. tags:
  26897. - 大连千海金(协议和签约信息)
  26898. /QhjSys/QueryNodeAgreementConfig:
  26899. get:
  26900. parameters:
  26901. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  26902. in: query
  26903. name: configid
  26904. type: integer
  26905. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  26906. in: query
  26907. name: nodetype
  26908. type: integer
  26909. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  26910. in: query
  26911. name: goodsid
  26912. type: integer
  26913. - description: 协议ID
  26914. in: query
  26915. name: agreementid
  26916. type: integer
  26917. - description: 协议类型 - 1:注册 2:登录 3:交易
  26918. in: query
  26919. name: agreementtype
  26920. type: integer
  26921. - description: 协议版本号
  26922. in: query
  26923. name: agreementversion
  26924. type: integer
  26925. - description: 协议编号(模糊匹配)
  26926. in: query
  26927. name: agreementno
  26928. type: string
  26929. - description: 协议名称(模糊匹配)
  26930. in: query
  26931. name: agreementname
  26932. type: string
  26933. produces:
  26934. - application/json
  26935. responses:
  26936. "200":
  26937. description: OK
  26938. schema:
  26939. items:
  26940. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  26941. type: array
  26942. "500":
  26943. description: Internal Server Error
  26944. schema:
  26945. $ref: '#/definitions/app.Response'
  26946. security:
  26947. - ApiKeyAuth: []
  26948. summary: 查询协议节点配置
  26949. tags:
  26950. - 大连千海金(协议和签约信息)
  26951. /QhjSys/QueryQhjCustomerSignLog:
  26952. get:
  26953. parameters:
  26954. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  26955. in: query
  26956. name: logid
  26957. type: integer
  26958. - description: 客户ID
  26959. in: query
  26960. name: userid
  26961. type: integer
  26962. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  26963. in: query
  26964. name: nodetype
  26965. type: integer
  26966. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  26967. in: query
  26968. name: goodsid
  26969. type: integer
  26970. - description: 协议ID
  26971. in: query
  26972. name: agreementid
  26973. type: integer
  26974. - description: 用户名称(模糊匹配)
  26975. in: query
  26976. name: username
  26977. type: string
  26978. - description: 协议编号(模糊匹配)
  26979. in: query
  26980. name: agreementno
  26981. type: string
  26982. - description: 协议名称(模糊匹配)
  26983. in: query
  26984. name: agreementname
  26985. type: string
  26986. produces:
  26987. - application/json
  26988. responses:
  26989. "200":
  26990. description: OK
  26991. schema:
  26992. items:
  26993. $ref: '#/definitions/models.QhjCustomerSignLog'
  26994. type: array
  26995. "500":
  26996. description: Internal Server Error
  26997. schema:
  26998. $ref: '#/definitions/app.Response'
  26999. security:
  27000. - ApiKeyAuth: []
  27001. summary: 查询客户协议签约流水
  27002. tags:
  27003. - 大连千海金(协议和签约信息)
  27004. /QhjSys/QueryUserNodeCfgAndStatus:
  27005. get:
  27006. parameters:
  27007. - description: 客户ID
  27008. in: query
  27009. name: userid
  27010. type: integer
  27011. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  27012. in: query
  27013. name: configid
  27014. type: integer
  27015. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  27016. in: query
  27017. name: nodetype
  27018. type: string
  27019. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  27020. in: query
  27021. name: goodsid
  27022. type: integer
  27023. - description: 协议ID
  27024. in: query
  27025. name: agreementid
  27026. type: integer
  27027. - description: 协议类型 - 1:注册 2:登录 3:交易
  27028. in: query
  27029. name: agreementtype
  27030. type: integer
  27031. - description: 协议版本号
  27032. in: query
  27033. name: agreementversion
  27034. type: integer
  27035. - description: 协议编号(模糊匹配)
  27036. in: query
  27037. name: agreementno
  27038. type: string
  27039. - description: 协议名称(模糊匹配)
  27040. in: query
  27041. name: agreementname
  27042. type: string
  27043. produces:
  27044. - application/json
  27045. responses:
  27046. "200":
  27047. description: OK
  27048. schema:
  27049. items:
  27050. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  27051. type: array
  27052. "500":
  27053. description: Internal Server Error
  27054. schema:
  27055. $ref: '#/definitions/app.Response'
  27056. security:
  27057. - ApiKeyAuth: []
  27058. summary: 查询用户协议节点配置和状态
  27059. tags:
  27060. - 大连千海金(协议和签约信息)
  27061. /Quote/QueryHistoryDatas:
  27062. get:
  27063. parameters:
  27064. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  27065. 日线 12:周线 13:月线 14:年线'
  27066. in: query
  27067. name: cycleType
  27068. required: true
  27069. type: integer
  27070. - description: 商品代码
  27071. in: query
  27072. name: goodsCode
  27073. required: true
  27074. type: string
  27075. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  27076. in: query
  27077. name: startTime
  27078. type: string
  27079. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  27080. in: query
  27081. name: endTime
  27082. type: string
  27083. - description: 条数
  27084. in: query
  27085. name: count
  27086. type: integer
  27087. - description: 是否按时间顺序排序(默认为时间倒序排序)
  27088. in: query
  27089. name: isAsc
  27090. type: boolean
  27091. produces:
  27092. - application/json
  27093. responses:
  27094. "200":
  27095. description: OK
  27096. schema:
  27097. $ref: '#/definitions/quote.HistoryData'
  27098. "500":
  27099. description: Internal Server Error
  27100. schema:
  27101. $ref: '#/definitions/app.Response'
  27102. security:
  27103. - ApiKeyAuth: []
  27104. summary: 查询行情历史数据
  27105. tags:
  27106. - 行情服务
  27107. /Quote/QueryHistoryTikDatas:
  27108. get:
  27109. parameters:
  27110. - description: 商品代码
  27111. in: query
  27112. name: goodsCode
  27113. required: true
  27114. type: string
  27115. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  27116. in: query
  27117. name: startTime
  27118. type: string
  27119. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  27120. in: query
  27121. name: endTime
  27122. type: string
  27123. - description: 条数
  27124. in: query
  27125. name: count
  27126. type: integer
  27127. - description: 是否按时间顺序排序(默认为时间倒序排序)
  27128. in: query
  27129. name: isAsc
  27130. type: boolean
  27131. produces:
  27132. - application/json
  27133. responses:
  27134. "200":
  27135. description: OK
  27136. schema:
  27137. $ref: '#/definitions/quote.HistoryTikData'
  27138. "500":
  27139. description: Internal Server Error
  27140. schema:
  27141. $ref: '#/definitions/app.Response'
  27142. security:
  27143. - ApiKeyAuth: []
  27144. summary: 查询行情Tik数据
  27145. tags:
  27146. - 行情服务
  27147. /Quote/QueryQuoteDay:
  27148. get:
  27149. parameters:
  27150. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  27151. in: query
  27152. name: goodsCodes
  27153. type: string
  27154. produces:
  27155. - application/json
  27156. responses:
  27157. "200":
  27158. description: OK
  27159. schema:
  27160. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  27161. "500":
  27162. description: Internal Server Error
  27163. schema:
  27164. $ref: '#/definitions/app.Response'
  27165. security:
  27166. - ApiKeyAuth: []
  27167. summary: 获取商品盘面信息
  27168. tags:
  27169. - 行情服务
  27170. /Quote/QueryTSData:
  27171. get:
  27172. parameters:
  27173. - description: 商品代码
  27174. in: query
  27175. name: goodsCode
  27176. required: true
  27177. type: string
  27178. produces:
  27179. - application/json
  27180. responses:
  27181. "200":
  27182. description: OK
  27183. schema:
  27184. $ref: '#/definitions/quote.QueryTSDataRsp'
  27185. "500":
  27186. description: Internal Server Error
  27187. schema:
  27188. $ref: '#/definitions/app.Response'
  27189. security:
  27190. - ApiKeyAuth: []
  27191. summary: 分时图数据查询
  27192. tags:
  27193. - 行情服务
  27194. /SZDZ/QueryConvertConfig:
  27195. get:
  27196. parameters:
  27197. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  27198. 6:交易转花生米(不设置)
  27199. in: query
  27200. name: convertType
  27201. type: integer
  27202. - description: 外部商品代码[JD\PD]
  27203. in: query
  27204. name: outerGoodsCode
  27205. type: string
  27206. - description: 内部商品ID列表[交易],格式:1,2,3
  27207. in: query
  27208. name: innerGoodsIDs
  27209. type: string
  27210. produces:
  27211. - application/json
  27212. responses:
  27213. "200":
  27214. description: OK
  27215. schema:
  27216. $ref: '#/definitions/models.Szdz3convertconfig'
  27217. "500":
  27218. description: Internal Server Error
  27219. schema:
  27220. $ref: '#/definitions/app.Response'
  27221. security:
  27222. - ApiKeyAuth: []
  27223. summary: 查询交易系统转换设置
  27224. tags:
  27225. - 定制【尚志大宗】
  27226. /SZDZ/QueryConvertLog:
  27227. get:
  27228. parameters:
  27229. - description: 资金账户 - 格式:1,2,3
  27230. in: query
  27231. name: accountID
  27232. required: true
  27233. type: string
  27234. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  27235. in: query
  27236. name: startDate
  27237. type: string
  27238. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  27239. in: query
  27240. name: endDate
  27241. type: string
  27242. produces:
  27243. - application/json
  27244. responses:
  27245. "200":
  27246. description: OK
  27247. schema:
  27248. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  27249. "500":
  27250. description: Internal Server Error
  27251. schema:
  27252. $ref: '#/definitions/app.Response'
  27253. security:
  27254. - ApiKeyAuth: []
  27255. summary: 交易系统转换流水查询
  27256. tags:
  27257. - 定制【尚志大宗】
  27258. /SZDZ/QueryGoodsPickup:
  27259. get:
  27260. parameters:
  27261. - description: 资金账户 - 格式:1,2,3
  27262. in: query
  27263. name: accountID
  27264. required: true
  27265. type: string
  27266. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  27267. in: query
  27268. name: takeOrderStatus
  27269. type: integer
  27270. produces:
  27271. - application/json
  27272. responses:
  27273. "200":
  27274. description: OK
  27275. schema:
  27276. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  27277. "500":
  27278. description: Internal Server Error
  27279. schema:
  27280. $ref: '#/definitions/app.Response'
  27281. security:
  27282. - ApiKeyAuth: []
  27283. summary: 商品提货单查询
  27284. tags:
  27285. - 定制【尚志大宗】
  27286. /SZDZ/QueryRecieptOrder:
  27287. get:
  27288. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  27289. parameters:
  27290. - description: 页码
  27291. in: query
  27292. name: page
  27293. type: integer
  27294. - description: 每页条数
  27295. in: query
  27296. name: pagesize
  27297. type: integer
  27298. - description: 商品ID
  27299. in: query
  27300. name: goodsID
  27301. required: true
  27302. type: integer
  27303. - description: 所属账户名称
  27304. in: query
  27305. name: accountName
  27306. type: string
  27307. - description: 市场ID
  27308. in: query
  27309. name: marketID
  27310. type: integer
  27311. - description: 方向 - 0:买 1:卖
  27312. in: query
  27313. name: buyorsell
  27314. required: true
  27315. type: integer
  27316. produces:
  27317. - application/json
  27318. responses:
  27319. "200":
  27320. description: OK
  27321. schema:
  27322. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  27323. "500":
  27324. description: Internal Server Error
  27325. schema:
  27326. $ref: '#/definitions/app.Response'
  27327. security:
  27328. - ApiKeyAuth: []
  27329. summary: 点选挂牌委托单据查询(摘牌大厅)
  27330. tags:
  27331. - 定制【尚志大宗】
  27332. /SZDZ/QuerySZDZTradePosition:
  27333. get:
  27334. parameters:
  27335. - description: 资金账户
  27336. in: query
  27337. name: accountID
  27338. required: true
  27339. type: integer
  27340. produces:
  27341. - application/json
  27342. responses:
  27343. "200":
  27344. description: OK
  27345. schema:
  27346. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  27347. "500":
  27348. description: Internal Server Error
  27349. schema:
  27350. $ref: '#/definitions/app.Response'
  27351. security:
  27352. - ApiKeyAuth: []
  27353. summary: 持仓汇总查询(尚志大宗)
  27354. tags:
  27355. - 定制【尚志大宗】
  27356. /SZDZ/SearchWhite:
  27357. get:
  27358. parameters:
  27359. - description: 用户ID
  27360. in: query
  27361. name: userID
  27362. required: true
  27363. type: integer
  27364. produces:
  27365. - application/json
  27366. responses:
  27367. "200":
  27368. description: OK
  27369. schema:
  27370. $ref: '#/definitions/models.Szdz3searchwhitelist'
  27371. "500":
  27372. description: Internal Server Error
  27373. schema:
  27374. $ref: '#/definitions/app.Response'
  27375. security:
  27376. - ApiKeyAuth: []
  27377. summary: 搜索白名单
  27378. tags:
  27379. - 定制【尚志大宗】
  27380. /Search/SearchGoodses:
  27381. get:
  27382. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  27383. parameters:
  27384. - description: 检索内容
  27385. in: query
  27386. name: content
  27387. required: true
  27388. type: string
  27389. - description: 交易模式,格式:1,2,3
  27390. in: query
  27391. name: tradeModes
  27392. type: string
  27393. produces:
  27394. - application/json
  27395. responses:
  27396. "200":
  27397. description: OK
  27398. schema:
  27399. $ref: '#/definitions/models.SearchGoods'
  27400. "500":
  27401. description: Internal Server Error
  27402. schema:
  27403. $ref: '#/definitions/app.Response'
  27404. summary: 检索商品信息
  27405. tags:
  27406. - 检索服务
  27407. /TaAccount/GetTaAccounts:
  27408. get:
  27409. parameters:
  27410. - description: 登录账户
  27411. in: query
  27412. name: loginID
  27413. required: true
  27414. type: integer
  27415. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  27416. in: query
  27417. name: taAccountType
  27418. type: integer
  27419. produces:
  27420. - application/json
  27421. responses:
  27422. "200":
  27423. description: OK
  27424. schema:
  27425. $ref: '#/definitions/models.Taaccount'
  27426. "500":
  27427. description: Internal Server Error
  27428. schema:
  27429. $ref: '#/definitions/app.Response'
  27430. security:
  27431. - ApiKeyAuth: []
  27432. summary: 获取资金账户信息
  27433. tags:
  27434. - 资金账户
  27435. /TaAccount/QueryAmountLog:
  27436. get:
  27437. parameters:
  27438. - description: 页码
  27439. in: query
  27440. name: page
  27441. type: integer
  27442. - description: 每页条数
  27443. in: query
  27444. name: pagesize
  27445. type: integer
  27446. - description: 资金账户 - 格式:1,2,3
  27447. in: query
  27448. name: accountID
  27449. required: true
  27450. type: string
  27451. - description: 资金操作类型 - 格式:1,2,3
  27452. in: query
  27453. name: OperateType
  27454. type: string
  27455. produces:
  27456. - application/json
  27457. responses:
  27458. "200":
  27459. description: OK
  27460. schema:
  27461. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  27462. "500":
  27463. description: Internal Server Error
  27464. schema:
  27465. $ref: '#/definitions/app.Response'
  27466. security:
  27467. - ApiKeyAuth: []
  27468. summary: 资金流水查询(当前)
  27469. tags:
  27470. - 资金账户
  27471. /TaAccount/QueryHisAmountLog:
  27472. get:
  27473. parameters:
  27474. - description: 页码
  27475. in: query
  27476. name: page
  27477. type: integer
  27478. - description: 每页条数
  27479. in: query
  27480. name: pagesize
  27481. type: integer
  27482. - description: 资金账户 - 格式:1,2,3
  27483. in: query
  27484. name: accountID
  27485. required: true
  27486. type: string
  27487. - description: 资金操作类型 - 格式:1,2,3
  27488. in: query
  27489. name: OperateType
  27490. type: string
  27491. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  27492. in: query
  27493. name: startDate
  27494. type: string
  27495. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  27496. in: query
  27497. name: endDate
  27498. type: string
  27499. produces:
  27500. - application/json
  27501. responses:
  27502. "200":
  27503. description: OK
  27504. schema:
  27505. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  27506. "500":
  27507. description: Internal Server Error
  27508. schema:
  27509. $ref: '#/definitions/app.Response'
  27510. security:
  27511. - ApiKeyAuth: []
  27512. summary: 资金流水查询(历史)
  27513. tags:
  27514. - 资金账户
  27515. /TaAccount/QueryRelatedTaAccount:
  27516. get:
  27517. parameters:
  27518. - description: 关联UserID
  27519. in: query
  27520. name: relateduserid
  27521. required: true
  27522. type: integer
  27523. produces:
  27524. - application/json
  27525. responses:
  27526. "200":
  27527. description: OK
  27528. schema:
  27529. items:
  27530. $ref: '#/definitions/models.RelatedTaAccount'
  27531. type: array
  27532. "500":
  27533. description: Internal Server Error
  27534. schema:
  27535. $ref: '#/definitions/app.Response'
  27536. security:
  27537. - ApiKeyAuth: []
  27538. summary: 查询关联资金账户信息
  27539. tags:
  27540. - 资金账户
  27541. /Tjmd/QueryQuoteGoodsList:
  27542. get:
  27543. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  27544. parameters:
  27545. - description: 用户类型
  27546. in: query
  27547. name: usertype
  27548. required: true
  27549. type: integer
  27550. - description: 市场id, 格式 1,2,3
  27551. in: query
  27552. name: marketids
  27553. type: string
  27554. - description: 商品组id
  27555. in: query
  27556. name: goodsgroupid
  27557. type: integer
  27558. - description: 商品id
  27559. in: query
  27560. name: goodsid
  27561. type: integer
  27562. produces:
  27563. - application/json
  27564. responses:
  27565. "200":
  27566. description: OK
  27567. schema:
  27568. items:
  27569. $ref: '#/definitions/models.TjmdQuoteGoods'
  27570. type: array
  27571. "500":
  27572. description: Internal Server Error
  27573. schema:
  27574. $ref: '#/definitions/app.Response'
  27575. security:
  27576. - ApiKeyAuth: []
  27577. summary: 查询掉期报价列表
  27578. tags:
  27579. - 天津麦顿
  27580. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  27581. get:
  27582. parameters:
  27583. - description: 成交单号
  27584. in: query
  27585. name: tradeid
  27586. required: true
  27587. type: string
  27588. produces:
  27589. - application/json
  27590. responses:
  27591. "200":
  27592. description: OK
  27593. schema:
  27594. items:
  27595. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  27596. type: array
  27597. "500":
  27598. description: Internal Server Error
  27599. schema:
  27600. $ref: '#/definitions/app.Response'
  27601. security:
  27602. - ApiKeyAuth: []
  27603. summary: 掉期商品订单详情(交易确认书)
  27604. tags:
  27605. - 天津麦顿
  27606. /Tjmd/QueryTjmdMarketSection:
  27607. get:
  27608. produces:
  27609. - application/json
  27610. responses:
  27611. "200":
  27612. description: OK
  27613. schema:
  27614. items:
  27615. $ref: '#/definitions/models.TjmdMarketSection'
  27616. type: array
  27617. "500":
  27618. description: Internal Server Error
  27619. schema:
  27620. $ref: '#/definitions/app.Response'
  27621. security:
  27622. - ApiKeyAuth: []
  27623. summary: 查询市场板块
  27624. tags:
  27625. - 天津麦顿
  27626. /Tjmd/QueryTjmdTodayAccountMargin:
  27627. get:
  27628. parameters:
  27629. - description: 市场id
  27630. in: query
  27631. name: marketid
  27632. type: string
  27633. - description: 商品id
  27634. in: query
  27635. name: goodsid
  27636. type: string
  27637. - description: 资金账号
  27638. in: query
  27639. name: accountid
  27640. type: string
  27641. produces:
  27642. - application/json
  27643. responses:
  27644. "200":
  27645. description: OK
  27646. schema:
  27647. items:
  27648. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  27649. type: array
  27650. "500":
  27651. description: Internal Server Error
  27652. schema:
  27653. $ref: '#/definitions/app.Response'
  27654. security:
  27655. - ApiKeyAuth: []
  27656. summary: 查询今日账户保证金配置
  27657. tags:
  27658. - 天津麦顿
  27659. /Tjmd/QueryTjmdTradeOrderDetail:
  27660. get:
  27661. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  27662. parameters:
  27663. - description: 页码
  27664. in: query
  27665. name: page
  27666. type: integer
  27667. - description: 每页条数
  27668. in: query
  27669. name: pagesize
  27670. type: integer
  27671. - description: 用户id
  27672. in: query
  27673. name: userid
  27674. required: true
  27675. type: integer
  27676. - description: 用户类型
  27677. in: query
  27678. name: usertype
  27679. required: true
  27680. type: integer
  27681. - description: 市场id, 格式 1,2,3
  27682. in: query
  27683. name: marketids
  27684. type: string
  27685. - description: 商品id
  27686. in: query
  27687. name: goodsid
  27688. required: true
  27689. type: integer
  27690. - description: 买卖方向 0-买 1-卖
  27691. in: query
  27692. name: buyorsell
  27693. required: true
  27694. type: integer
  27695. produces:
  27696. - application/json
  27697. responses:
  27698. "200":
  27699. description: OK
  27700. schema:
  27701. items:
  27702. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  27703. type: array
  27704. "500":
  27705. description: Internal Server Error
  27706. schema:
  27707. $ref: '#/definitions/app.Response'
  27708. security:
  27709. - ApiKeyAuth: []
  27710. summary: 查询掉期买卖大厅
  27711. tags:
  27712. - 天津麦顿
  27713. /Tjmd/QueryTjmdTransferApply:
  27714. get:
  27715. parameters:
  27716. - description: 类型 1-我的申请 2-对方申请
  27717. in: query
  27718. name: applytype
  27719. required: true
  27720. type: integer
  27721. - description: 市场id, 格式 1,2,3
  27722. in: query
  27723. name: marketids
  27724. type: string
  27725. - description: 资金账号, 格式 25000000001,25000000003
  27726. in: query
  27727. name: accountids
  27728. type: string
  27729. - description: 开始交易日(yyyymmdd)
  27730. in: query
  27731. name: begindate
  27732. type: string
  27733. - description: 结束交易日(yyyymmdd)
  27734. in: query
  27735. name: enddate
  27736. type: string
  27737. produces:
  27738. - application/json
  27739. responses:
  27740. "200":
  27741. description: OK
  27742. schema:
  27743. items:
  27744. $ref: '#/definitions/models.TjmdTransferApply'
  27745. type: array
  27746. "500":
  27747. description: Internal Server Error
  27748. schema:
  27749. $ref: '#/definitions/app.Response'
  27750. security:
  27751. - ApiKeyAuth: []
  27752. summary: 查询掉期协议单
  27753. tags:
  27754. - 天津麦顿
  27755. /Trade/QueryRecieptOrder:
  27756. get:
  27757. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  27758. parameters:
  27759. - description: 页码
  27760. in: query
  27761. name: page
  27762. type: integer
  27763. - description: 每页条数
  27764. in: query
  27765. name: pagesize
  27766. type: integer
  27767. - description: 商品ID
  27768. in: query
  27769. name: goodsID
  27770. required: true
  27771. type: integer
  27772. - description: 所属账户名称
  27773. in: query
  27774. name: accountName
  27775. type: string
  27776. - description: 市场ID
  27777. in: query
  27778. name: marketID
  27779. type: integer
  27780. - description: 方向 - 0:买 1:卖
  27781. in: query
  27782. name: buyorsell
  27783. required: true
  27784. type: integer
  27785. produces:
  27786. - application/json
  27787. responses:
  27788. "200":
  27789. description: OK
  27790. schema:
  27791. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  27792. "500":
  27793. description: Internal Server Error
  27794. schema:
  27795. $ref: '#/definitions/app.Response'
  27796. security:
  27797. - ApiKeyAuth: []
  27798. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  27799. tags:
  27800. - 通用交易
  27801. /User/AddMessageBoard:
  27802. post:
  27803. parameters:
  27804. - description: 用户ID
  27805. in: query
  27806. name: userID
  27807. required: true
  27808. type: integer
  27809. - description: 留言信息
  27810. in: query
  27811. name: message
  27812. required: true
  27813. type: string
  27814. - description: 联系电话
  27815. in: query
  27816. name: contactNum
  27817. required: true
  27818. type: string
  27819. produces:
  27820. - application/json
  27821. responses:
  27822. "200":
  27823. description: OK
  27824. schema:
  27825. $ref: '#/definitions/app.Response'
  27826. "500":
  27827. description: Internal Server Error
  27828. schema:
  27829. $ref: '#/definitions/app.Response'
  27830. security:
  27831. - ApiKeyAuth: []
  27832. summary: 添加用户留言板信息
  27833. tags:
  27834. - 用户信息
  27835. /User/AddUserFavoriteGoods:
  27836. post:
  27837. parameters:
  27838. - description: 用户ID
  27839. in: query
  27840. name: userID
  27841. required: true
  27842. type: integer
  27843. - description: 商品ID
  27844. in: query
  27845. name: goodsID
  27846. required: true
  27847. type: integer
  27848. produces:
  27849. - application/json
  27850. responses:
  27851. "200":
  27852. description: OK
  27853. schema:
  27854. $ref: '#/definitions/app.Response'
  27855. "500":
  27856. description: Internal Server Error
  27857. schema:
  27858. $ref: '#/definitions/app.Response'
  27859. security:
  27860. - ApiKeyAuth: []
  27861. summary: 添加用户商品收藏信息
  27862. tags:
  27863. - 用户信息
  27864. /User/GetLoginID:
  27865. get:
  27866. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  27867. parameters:
  27868. - description: 登录代码
  27869. in: query
  27870. name: username
  27871. required: true
  27872. type: string
  27873. produces:
  27874. - application/json
  27875. responses:
  27876. "200":
  27877. description: OK
  27878. schema:
  27879. $ref: '#/definitions/app.Response'
  27880. "500":
  27881. description: Internal Server Error
  27882. schema:
  27883. $ref: '#/definitions/app.Response'
  27884. summary: 获取登录ID
  27885. tags:
  27886. - 用户信息
  27887. /User/GetUserAccount:
  27888. get:
  27889. parameters:
  27890. - description: 用户ID
  27891. in: query
  27892. name: userID
  27893. required: true
  27894. type: integer
  27895. produces:
  27896. - application/json
  27897. responses:
  27898. "200":
  27899. description: OK
  27900. schema:
  27901. $ref: '#/definitions/models.Useraccount'
  27902. "500":
  27903. description: Internal Server Error
  27904. schema:
  27905. $ref: '#/definitions/app.Response'
  27906. security:
  27907. - ApiKeyAuth: []
  27908. summary: 获取用户账号信息
  27909. tags:
  27910. - 用户信息
  27911. /User/GetUserAuthStatus:
  27912. get:
  27913. parameters:
  27914. - description: 用户ID
  27915. in: query
  27916. name: userID
  27917. required: true
  27918. type: integer
  27919. produces:
  27920. - application/json
  27921. responses:
  27922. "200":
  27923. description: OK
  27924. schema:
  27925. $ref: '#/definitions/app.Response'
  27926. "500":
  27927. description: Internal Server Error
  27928. schema:
  27929. $ref: '#/definitions/app.Response'
  27930. security:
  27931. - ApiKeyAuth: []
  27932. summary: 获取用户实名认证状态
  27933. tags:
  27934. - 用户信息
  27935. /User/LoginQuery:
  27936. get:
  27937. parameters:
  27938. - description: 登录账号
  27939. in: query
  27940. name: loginID
  27941. required: true
  27942. type: integer
  27943. produces:
  27944. - application/json
  27945. responses:
  27946. "200":
  27947. description: OK
  27948. schema:
  27949. $ref: '#/definitions/user.LoginQueryRsp'
  27950. "500":
  27951. description: Internal Server Error
  27952. schema:
  27953. $ref: '#/definitions/app.Response'
  27954. security:
  27955. - ApiKeyAuth: []
  27956. summary: 账户登录后信息查询
  27957. tags:
  27958. - 用户信息
  27959. /User/QueryMessageBoard:
  27960. get:
  27961. parameters:
  27962. - description: 用户ID
  27963. in: query
  27964. name: userID
  27965. required: true
  27966. type: integer
  27967. produces:
  27968. - application/json
  27969. responses:
  27970. "200":
  27971. description: OK
  27972. schema:
  27973. $ref: '#/definitions/models.Messageboard'
  27974. "500":
  27975. description: Internal Server Error
  27976. schema:
  27977. $ref: '#/definitions/app.Response'
  27978. security:
  27979. - ApiKeyAuth: []
  27980. summary: 获取用户留言板信息
  27981. tags:
  27982. - 用户信息
  27983. /User/QueryUserFavoriteGoodses:
  27984. get:
  27985. parameters:
  27986. - description: 用户ID
  27987. in: query
  27988. name: userID
  27989. required: true
  27990. type: integer
  27991. produces:
  27992. - application/json
  27993. responses:
  27994. "200":
  27995. description: OK
  27996. schema:
  27997. $ref: '#/definitions/models.Userfavoritegoods'
  27998. "500":
  27999. description: Internal Server Error
  28000. schema:
  28001. $ref: '#/definitions/app.Response'
  28002. security:
  28003. - ApiKeyAuth: []
  28004. summary: 获取用户商品收藏信息
  28005. tags:
  28006. - 用户信息
  28007. /User/QueryUserInfo:
  28008. get:
  28009. parameters:
  28010. - description: 用户ID
  28011. in: query
  28012. name: userID
  28013. required: true
  28014. type: integer
  28015. - description: 是否解密
  28016. in: query
  28017. name: isDecrypt
  28018. type: boolean
  28019. produces:
  28020. - application/json
  28021. responses:
  28022. "200":
  28023. description: OK
  28024. schema:
  28025. $ref: '#/definitions/models.Userinfo'
  28026. "500":
  28027. description: Internal Server Error
  28028. schema:
  28029. $ref: '#/definitions/app.Response'
  28030. security:
  28031. - ApiKeyAuth: []
  28032. summary: 获取用户信息
  28033. tags:
  28034. - 用户信息
  28035. /User/QueryUserReferNum:
  28036. get:
  28037. parameters:
  28038. - description: 用户ID
  28039. in: query
  28040. name: userID
  28041. required: true
  28042. type: integer
  28043. produces:
  28044. - application/json
  28045. responses:
  28046. "200":
  28047. description: OK
  28048. schema:
  28049. $ref: '#/definitions/app.Response'
  28050. "500":
  28051. description: Internal Server Error
  28052. schema:
  28053. $ref: '#/definitions/app.Response'
  28054. summary: 获取用户邀请码
  28055. tags:
  28056. - 用户信息
  28057. /User/RemoveUserFavoriteGoods:
  28058. post:
  28059. parameters:
  28060. - description: 用户ID
  28061. in: query
  28062. name: userID
  28063. required: true
  28064. type: integer
  28065. - description: 商品ID
  28066. in: query
  28067. name: goodsID
  28068. required: true
  28069. type: integer
  28070. produces:
  28071. - application/json
  28072. responses:
  28073. "200":
  28074. description: OK
  28075. schema:
  28076. $ref: '#/definitions/app.Response'
  28077. "500":
  28078. description: Internal Server Error
  28079. schema:
  28080. $ref: '#/definitions/app.Response'
  28081. security:
  28082. - ApiKeyAuth: []
  28083. summary: 移除用户商品收藏信息
  28084. tags:
  28085. - 用户信息
  28086. /User/UpdateUserAccountStatus:
  28087. post:
  28088. parameters:
  28089. - description: 用户ID
  28090. in: query
  28091. name: userID
  28092. required: true
  28093. type: integer
  28094. - description: 账户状态 - 4:正常 6:注销(停用)
  28095. in: query
  28096. name: accountStatus
  28097. required: true
  28098. type: integer
  28099. produces:
  28100. - application/json
  28101. responses:
  28102. "200":
  28103. description: OK
  28104. schema:
  28105. $ref: '#/definitions/app.Response'
  28106. "500":
  28107. description: Internal Server Error
  28108. schema:
  28109. $ref: '#/definitions/app.Response'
  28110. security:
  28111. - ApiKeyAuth: []
  28112. summary: 更新用户状态
  28113. tags:
  28114. - 用户信息
  28115. /WRTrade/GetAllDeliveryGoods:
  28116. get:
  28117. produces:
  28118. - application/json
  28119. responses:
  28120. "200":
  28121. description: OK
  28122. schema:
  28123. $ref: '#/definitions/app.Response'
  28124. "500":
  28125. description: Internal Server Error
  28126. schema:
  28127. $ref: '#/definitions/app.Response'
  28128. security:
  28129. - ApiKeyAuth: []
  28130. summary: 获取带仓单分类的种类信息
  28131. tags:
  28132. - 仓单贸易
  28133. - 仓单贸易
  28134. /WrTrade2/InsertXhcpSellBackApply:
  28135. post:
  28136. parameters:
  28137. - description: 回收申请
  28138. in: body
  28139. name: jsonBody
  28140. required: true
  28141. schema:
  28142. $ref: '#/definitions/models.XhcpSellBackApplyEx'
  28143. produces:
  28144. - application/json
  28145. responses:
  28146. "200":
  28147. description: OK
  28148. schema:
  28149. $ref: '#/definitions/app.Response'
  28150. "500":
  28151. description: Internal Server Error
  28152. schema:
  28153. $ref: '#/definitions/app.Response'
  28154. security:
  28155. - ApiKeyAuth: []
  28156. summary: 新增回收申请(新会陈皮)
  28157. tags:
  28158. - 仓单贸易v2
  28159. /WrTrade2/QueryDeliveryGoodsSection:
  28160. get:
  28161. produces:
  28162. - application/json
  28163. responses:
  28164. "200":
  28165. description: OK
  28166. schema:
  28167. items:
  28168. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  28169. type: array
  28170. "500":
  28171. description: Internal Server Error
  28172. schema:
  28173. $ref: '#/definitions/app.Response'
  28174. security:
  28175. - ApiKeyAuth: []
  28176. summary: 查询板块(分类)
  28177. tags:
  28178. - 仓单贸易v2
  28179. /WrTrade2/QueryFaProductDetail:
  28180. get:
  28181. description: 页面 买卖大厅 -> 选择融资方案
  28182. parameters:
  28183. - description: 仓单要素id
  28184. in: query
  28185. name: wrfactortypeid
  28186. required: true
  28187. type: integer
  28188. produces:
  28189. - application/json
  28190. responses:
  28191. "200":
  28192. description: OK
  28193. schema:
  28194. items:
  28195. $ref: '#/definitions/models.WrFAProductDetail'
  28196. type: array
  28197. "500":
  28198. description: Internal Server Error
  28199. schema:
  28200. $ref: '#/definitions/app.Response'
  28201. security:
  28202. - ApiKeyAuth: []
  28203. summary: 查询融资产品列表
  28204. tags:
  28205. - 仓单贸易v2
  28206. /WrTrade2/QueryFilterItem:
  28207. get:
  28208. parameters:
  28209. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  28210. in: query
  28211. name: itype
  28212. required: true
  28213. type: string
  28214. produces:
  28215. - application/json
  28216. responses:
  28217. "200":
  28218. description: OK
  28219. schema:
  28220. items:
  28221. $ref: '#/definitions/models.WrFilterItem'
  28222. type: array
  28223. "500":
  28224. description: Internal Server Error
  28225. schema:
  28226. $ref: '#/definitions/app.Response'
  28227. security:
  28228. - ApiKeyAuth: []
  28229. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  28230. tags:
  28231. - 仓单贸易v2
  28232. /WrTrade2/QueryFtDeliveryGoods:
  28233. get:
  28234. produces:
  28235. - application/json
  28236. responses:
  28237. "200":
  28238. description: OK
  28239. schema:
  28240. items:
  28241. $ref: '#/definitions/models.WrFtDeliveryGoods'
  28242. type: array
  28243. "500":
  28244. description: Internal Server Error
  28245. schema:
  28246. $ref: '#/definitions/app.Response'
  28247. security:
  28248. - ApiKeyAuth: []
  28249. summary: 查询品种品类筛选框列表
  28250. tags:
  28251. - 仓单贸易v2
  28252. /WrTrade2/QueryHoldLB:
  28253. get:
  28254. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  28255. parameters:
  28256. - description: 资金账号
  28257. in: query
  28258. name: accountid
  28259. required: true
  28260. type: integer
  28261. - description: 仓库id
  28262. in: query
  28263. name: warehouseid
  28264. type: integer
  28265. - description: 品种id
  28266. in: query
  28267. name: deliverygoodsid
  28268. type: integer
  28269. - description: 品类id
  28270. in: query
  28271. name: wrstandardid
  28272. type: integer
  28273. - description: 仓单要素id
  28274. in: query
  28275. name: wrfactortypeid
  28276. type: integer
  28277. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  28278. in: query
  28279. name: dgitemname
  28280. type: string
  28281. produces:
  28282. - application/json
  28283. responses:
  28284. "200":
  28285. description: OK
  28286. schema:
  28287. items:
  28288. $ref: '#/definitions/models.WrHoldLB'
  28289. type: array
  28290. "500":
  28291. description: Internal Server Error
  28292. schema:
  28293. $ref: '#/definitions/app.Response'
  28294. security:
  28295. - ApiKeyAuth: []
  28296. summary: 查询仓单持有记录
  28297. tags:
  28298. - 仓单贸易v2
  28299. /WrTrade2/QueryOrderQuote:
  28300. get:
  28301. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  28302. 唯一确定1条记录
  28303. parameters:
  28304. - description: 页码
  28305. in: query
  28306. name: page
  28307. type: integer
  28308. - description: 每页条数
  28309. in: query
  28310. name: pagesize
  28311. type: integer
  28312. - description: 仓单贸易市场id
  28313. in: query
  28314. name: marketid
  28315. type: integer
  28316. - description: 价格方式 - 1:固定价 2-浮动价
  28317. in: query
  28318. name: wrpricetype
  28319. required: true
  28320. type: integer
  28321. - description: 0:仓单预售 1:仓单贸易
  28322. in: query
  28323. name: haswr
  28324. type: integer
  28325. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  28326. in: query
  28327. name: dgitemname
  28328. type: string
  28329. - description: 仓库id(筛选条件)
  28330. in: query
  28331. name: warehouseid
  28332. type: integer
  28333. - description: 品种id
  28334. in: query
  28335. name: deliverygoodsid
  28336. type: integer
  28337. - description: 品类id
  28338. in: query
  28339. name: wrstandardid
  28340. type: integer
  28341. - description: 品牌id(dgfactoryitemid)
  28342. in: query
  28343. name: brandid
  28344. type: integer
  28345. - description: 年份id(dgfactoryitemid)
  28346. in: query
  28347. name: yearsid
  28348. type: integer
  28349. - description: 仓单要素id
  28350. in: query
  28351. name: wrfactortypeid
  28352. type: integer
  28353. - description: 交收月(yyyy-mm) 仓单预售填写
  28354. in: query
  28355. name: deliverymonth
  28356. type: string
  28357. produces:
  28358. - application/json
  28359. responses:
  28360. "200":
  28361. description: OK
  28362. schema:
  28363. items:
  28364. $ref: '#/definitions/models.WrOrderQuote'
  28365. type: array
  28366. "500":
  28367. description: Internal Server Error
  28368. schema:
  28369. $ref: '#/definitions/app.Response'
  28370. security:
  28371. - ApiKeyAuth: []
  28372. summary: 查询大厅行情列表
  28373. tags:
  28374. - 仓单贸易v2
  28375. /WrTrade2/QueryOrderQuoteDetail:
  28376. get:
  28377. parameters:
  28378. - description: 页码
  28379. in: query
  28380. name: page
  28381. type: integer
  28382. - description: 每页条数
  28383. in: query
  28384. name: pagesize
  28385. type: integer
  28386. - description: 仓单贸易市场id
  28387. in: query
  28388. name: marketid
  28389. type: integer
  28390. - description: 价格方式 - 1:固定价 2-浮动价
  28391. in: query
  28392. name: wrpricetype
  28393. required: true
  28394. type: integer
  28395. - description: 0:仓单预售 1:仓单贸易
  28396. in: query
  28397. name: haswr
  28398. type: integer
  28399. - description: 仓单要素id
  28400. in: query
  28401. name: wrfactortypeid
  28402. required: true
  28403. type: integer
  28404. - description: 期货商品id(浮动价方式时填)
  28405. in: query
  28406. name: goodsid
  28407. type: integer
  28408. - description: 买卖方向 0-买 1-卖
  28409. in: query
  28410. name: buyorsell
  28411. required: true
  28412. type: integer
  28413. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  28414. in: query
  28415. name: deliverymonth
  28416. type: string
  28417. produces:
  28418. - application/json
  28419. responses:
  28420. "200":
  28421. description: OK
  28422. schema:
  28423. items:
  28424. $ref: '#/definitions/models.WrOrderQuoteDetail'
  28425. type: array
  28426. "500":
  28427. description: Internal Server Error
  28428. schema:
  28429. $ref: '#/definitions/app.Response'
  28430. security:
  28431. - ApiKeyAuth: []
  28432. summary: 查询买卖大厅
  28433. tags:
  28434. - 仓单贸易v2
  28435. /WrTrade2/QueryOrderQuoteMyq:
  28436. get:
  28437. parameters:
  28438. - description: 页码
  28439. in: query
  28440. name: page
  28441. type: integer
  28442. - description: 每页条数
  28443. in: query
  28444. name: pagesize
  28445. type: integer
  28446. - description: 用户id
  28447. in: query
  28448. name: userid
  28449. required: true
  28450. type: integer
  28451. - description: 仓单贸易市场id
  28452. in: query
  28453. name: marketid
  28454. type: integer
  28455. - description: 0:仓单预售 1:仓单贸易
  28456. in: query
  28457. name: haswr
  28458. type: integer
  28459. - description: 买卖方向 0-买 1-卖
  28460. in: query
  28461. name: buyorsell
  28462. required: true
  28463. type: integer
  28464. - description: 品种id
  28465. in: query
  28466. name: deliverygoodsid
  28467. type: integer
  28468. - description: 品类id
  28469. in: query
  28470. name: wrstandardid
  28471. type: integer
  28472. - description: 交收月(yyyy-mm) 仓单预售填写
  28473. in: query
  28474. name: deliverymonth
  28475. type: string
  28476. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  28477. in: query
  28478. name: dgitemname
  28479. type: string
  28480. produces:
  28481. - application/json
  28482. responses:
  28483. "200":
  28484. description: OK
  28485. schema:
  28486. items:
  28487. $ref: '#/definitions/models.WrQuoteOrderMyq'
  28488. type: array
  28489. "500":
  28490. description: Internal Server Error
  28491. schema:
  28492. $ref: '#/definitions/app.Response'
  28493. security:
  28494. - ApiKeyAuth: []
  28495. summary: 查询贸易圈挂牌大厅
  28496. tags:
  28497. - 仓单贸易v2
  28498. /WrTrade2/QueryPerformancePlan:
  28499. get:
  28500. parameters:
  28501. - description: 用户id
  28502. in: query
  28503. name: userid
  28504. required: true
  28505. type: integer
  28506. - description: 买卖方向 0-买 1-卖
  28507. in: query
  28508. name: buyorsell
  28509. required: true
  28510. type: integer
  28511. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  28512. 8:释放冻结失败 9:超时待处理 10:超时关闭
  28513. in: query
  28514. name: status
  28515. type: string
  28516. - description: 开始交易日(yyyymmdd)
  28517. in: query
  28518. name: begindate
  28519. type: string
  28520. - description: 结束交易日(yyyymmdd)
  28521. in: query
  28522. name: enddate
  28523. type: string
  28524. produces:
  28525. - application/json
  28526. responses:
  28527. "200":
  28528. description: OK
  28529. schema:
  28530. items:
  28531. $ref: '#/definitions/models.WrPerformancePlan'
  28532. type: array
  28533. "500":
  28534. description: Internal Server Error
  28535. schema:
  28536. $ref: '#/definitions/app.Response'
  28537. security:
  28538. - ApiKeyAuth: []
  28539. summary: 查询履约信息
  28540. tags:
  28541. - 仓单贸易v2
  28542. /WrTrade2/QueryPermancePlanTmp:
  28543. get:
  28544. description: |-
  28545. 返回指定用户的模板和公共模板(用户id为空)
  28546. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  28547. parameters:
  28548. - description: 用户id
  28549. in: query
  28550. name: userid
  28551. type: integer
  28552. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  28553. (无仓单) 5:挂牌期权 6:竞拍-降价式
  28554. in: query
  28555. name: tmptype
  28556. type: string
  28557. - description: 是否包含公共模板(用户id为空的) 1-包含
  28558. in: query
  28559. name: includepub
  28560. type: integer
  28561. - description: 市场id(天津麦顿指定此参数,其它不用)
  28562. in: query
  28563. name: marketid
  28564. type: integer
  28565. produces:
  28566. - application/json
  28567. responses:
  28568. "200":
  28569. description: OK
  28570. schema:
  28571. items:
  28572. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  28573. type: array
  28574. "500":
  28575. description: Internal Server Error
  28576. schema:
  28577. $ref: '#/definitions/app.Response'
  28578. security:
  28579. - ApiKeyAuth: []
  28580. summary: 查询履约模板
  28581. tags:
  28582. - 仓单贸易v2
  28583. /WrTrade2/QuerySiteColumnDetail:
  28584. get:
  28585. parameters:
  28586. - description: 页码
  28587. in: query
  28588. name: page
  28589. type: integer
  28590. - description: 每页条数
  28591. in: query
  28592. name: pagesize
  28593. type: integer
  28594. - description: 所属栏目id
  28595. in: query
  28596. name: columnid
  28597. type: integer
  28598. produces:
  28599. - application/json
  28600. responses:
  28601. "200":
  28602. description: OK
  28603. schema:
  28604. items:
  28605. $ref: '#/definitions/models.WrSiteColumnDetail'
  28606. type: array
  28607. "500":
  28608. description: Internal Server Error
  28609. schema:
  28610. $ref: '#/definitions/app.Response'
  28611. security:
  28612. - ApiKeyAuth: []
  28613. summary: 查询资讯
  28614. tags:
  28615. - 仓单贸易v2
  28616. /WrTrade2/QuerySpotGroupTradeSum:
  28617. get:
  28618. produces:
  28619. - application/json
  28620. responses:
  28621. "200":
  28622. description: OK
  28623. schema:
  28624. items:
  28625. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  28626. type: array
  28627. "500":
  28628. description: Internal Server Error
  28629. schema:
  28630. $ref: '#/definitions/app.Response'
  28631. security:
  28632. - ApiKeyAuth: []
  28633. summary: 查询指数
  28634. tags:
  28635. - 仓单贸易v2
  28636. /WrTrade2/QuerySpotGroupTradeSumDetail:
  28637. get:
  28638. description: 查询的结果将会按日期 从小到大 排序
  28639. parameters:
  28640. - description: 现货商品id
  28641. in: query
  28642. name: deliverygoodsid
  28643. required: true
  28644. type: integer
  28645. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  28646. in: query
  28647. name: lastnum
  28648. type: integer
  28649. produces:
  28650. - application/json
  28651. responses:
  28652. "200":
  28653. description: OK
  28654. schema:
  28655. items:
  28656. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  28657. type: array
  28658. "500":
  28659. description: Internal Server Error
  28660. schema:
  28661. $ref: '#/definitions/app.Response'
  28662. security:
  28663. - ApiKeyAuth: []
  28664. summary: 查询指数详细(价格走势图)
  28665. tags:
  28666. - 仓单贸易v2
  28667. /WrTrade2/QueryWrAverageTradePrice:
  28668. get:
  28669. parameters:
  28670. - description: 页码
  28671. in: query
  28672. name: page
  28673. type: integer
  28674. - description: 每页条数
  28675. in: query
  28676. name: pagesize
  28677. type: integer
  28678. - description: 0:仓单预售 1:仓单贸易
  28679. in: query
  28680. name: haswr
  28681. required: true
  28682. type: integer
  28683. - description: 仓单要素id
  28684. in: query
  28685. name: wrfactortypeid
  28686. required: true
  28687. type: integer
  28688. produces:
  28689. - application/json
  28690. responses:
  28691. "200":
  28692. description: OK
  28693. schema:
  28694. items:
  28695. $ref: '#/definitions/models.WrAverageTradePrice'
  28696. type: array
  28697. "500":
  28698. description: Internal Server Error
  28699. schema:
  28700. $ref: '#/definitions/app.Response'
  28701. security:
  28702. - ApiKeyAuth: []
  28703. summary: 查询成交价(历史走势)
  28704. tags:
  28705. - 仓单贸易v2
  28706. /WrTrade2/QueryWrBrandAndYears:
  28707. get:
  28708. produces:
  28709. - application/json
  28710. responses:
  28711. "200":
  28712. description: OK
  28713. schema:
  28714. items:
  28715. $ref: '#/definitions/models.WrBrandAndYears'
  28716. type: array
  28717. "500":
  28718. description: Internal Server Error
  28719. schema:
  28720. $ref: '#/definitions/app.Response'
  28721. security:
  28722. - ApiKeyAuth: []
  28723. summary: 查询品牌和年份
  28724. tags:
  28725. - 仓单贸易v2
  28726. /WrTrade2/QueryWrBsGoodsInfo:
  28727. get:
  28728. description: 合约交易/买卖大厅/详情
  28729. parameters:
  28730. - description: 商品id
  28731. in: query
  28732. name: goodsid
  28733. required: true
  28734. type: integer
  28735. produces:
  28736. - application/json
  28737. responses:
  28738. "200":
  28739. description: OK
  28740. schema:
  28741. items:
  28742. $ref: '#/definitions/models.WrBsGoodsInfo'
  28743. type: array
  28744. "500":
  28745. description: Internal Server Error
  28746. schema:
  28747. $ref: '#/definitions/app.Response'
  28748. security:
  28749. - ApiKeyAuth: []
  28750. summary: 查询合约交易买卖大厅详情
  28751. tags:
  28752. - 仓单贸易v2
  28753. /WrTrade2/QueryWrBuybackDetail:
  28754. get:
  28755. parameters:
  28756. - description: 融资合同id
  28757. in: query
  28758. name: scfcontractid
  28759. type: integer
  28760. produces:
  28761. - application/json
  28762. responses:
  28763. "200":
  28764. description: OK
  28765. schema:
  28766. items:
  28767. $ref: '#/definitions/models.WrBuybackDetail'
  28768. type: array
  28769. "500":
  28770. description: Internal Server Error
  28771. schema:
  28772. $ref: '#/definitions/app.Response'
  28773. security:
  28774. - ApiKeyAuth: []
  28775. summary: 查询仓单回购明细
  28776. tags:
  28777. - 仓单贸易v2
  28778. /WrTrade2/QueryWrClientAdSpaceConfig:
  28779. get:
  28780. produces:
  28781. - application/json
  28782. responses:
  28783. "200":
  28784. description: OK
  28785. schema:
  28786. items:
  28787. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  28788. type: array
  28789. "500":
  28790. description: Internal Server Error
  28791. schema:
  28792. $ref: '#/definitions/app.Response'
  28793. security:
  28794. - ApiKeyAuth: []
  28795. summary: 查询固定广告配置
  28796. tags:
  28797. - 仓单贸易v2
  28798. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  28799. get:
  28800. parameters:
  28801. - description: 资金账号
  28802. in: query
  28803. name: accountid
  28804. required: true
  28805. type: integer
  28806. - description: 商品id
  28807. in: query
  28808. name: goodsid
  28809. required: true
  28810. type: integer
  28811. produces:
  28812. - application/json
  28813. responses:
  28814. "200":
  28815. description: OK
  28816. schema:
  28817. items:
  28818. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  28819. type: array
  28820. "500":
  28821. description: Internal Server Error
  28822. schema:
  28823. $ref: '#/definitions/app.Response'
  28824. security:
  28825. - ApiKeyAuth: []
  28826. summary: 查询合约交收可点选仓单
  28827. tags:
  28828. - 仓单贸易v2
  28829. /WrTrade2/QueryWrDeliveryDetail:
  28830. get:
  28831. parameters:
  28832. - description: 用户id
  28833. in: query
  28834. name: userid
  28835. required: true
  28836. type: integer
  28837. - description: 资金账号id
  28838. in: query
  28839. name: accountid
  28840. type: integer
  28841. - description: 开始交易日(yyyymmdd)
  28842. in: query
  28843. name: begindate
  28844. type: string
  28845. - description: 结束交易日(yyyymmdd)
  28846. in: query
  28847. name: enddate
  28848. type: string
  28849. produces:
  28850. - application/json
  28851. responses:
  28852. "200":
  28853. description: OK
  28854. schema:
  28855. items:
  28856. $ref: '#/definitions/models.WrDeliveryDetail'
  28857. type: array
  28858. "500":
  28859. description: Internal Server Error
  28860. schema:
  28861. $ref: '#/definitions/app.Response'
  28862. security:
  28863. - ApiKeyAuth: []
  28864. summary: 查询交收
  28865. tags:
  28866. - 仓单贸易v2
  28867. /WrTrade2/QueryWrDraftUserInfo:
  28868. get:
  28869. parameters:
  28870. - description: 用户ID
  28871. in: query
  28872. name: userid
  28873. required: true
  28874. type: integer
  28875. - description: 用户状态 1:正常 2:注销
  28876. in: query
  28877. name: userstatus
  28878. type: integer
  28879. produces:
  28880. - application/json
  28881. responses:
  28882. "200":
  28883. description: OK
  28884. schema:
  28885. items:
  28886. $ref: '#/definitions/models.WrDraftUserInfo'
  28887. type: array
  28888. "500":
  28889. description: Internal Server Error
  28890. schema:
  28891. $ref: '#/definitions/app.Response'
  28892. security:
  28893. - ApiKeyAuth: []
  28894. summary: 查询实名认证信息
  28895. tags:
  28896. - 仓单贸易v2
  28897. /WrTrade2/QueryWrFactorTypeInfo:
  28898. get:
  28899. parameters:
  28900. - description: 仓单要素id
  28901. in: query
  28902. name: wrfactortypeid
  28903. required: true
  28904. type: integer
  28905. produces:
  28906. - application/json
  28907. responses:
  28908. "200":
  28909. description: OK
  28910. schema:
  28911. items:
  28912. $ref: '#/definitions/models.WrFactorTypeInfo'
  28913. type: array
  28914. "500":
  28915. description: Internal Server Error
  28916. schema:
  28917. $ref: '#/definitions/app.Response'
  28918. security:
  28919. - ApiKeyAuth: []
  28920. summary: 查询仓单要素详细信息
  28921. tags:
  28922. - 仓单贸易v2
  28923. /WrTrade2/QueryWrFactorTypeInfoEx:
  28924. get:
  28925. parameters:
  28926. - description: 仓单要素id
  28927. in: query
  28928. name: wrfactortypeid
  28929. required: true
  28930. type: integer
  28931. produces:
  28932. - application/json
  28933. responses:
  28934. "200":
  28935. description: OK
  28936. schema:
  28937. items:
  28938. $ref: '#/definitions/models.WrTypeItem'
  28939. type: array
  28940. "500":
  28941. description: Internal Server Error
  28942. schema:
  28943. $ref: '#/definitions/app.Response'
  28944. security:
  28945. - ApiKeyAuth: []
  28946. summary: 查询仓单要素详细信息列表项
  28947. tags:
  28948. - 仓单贸易v2
  28949. /WrTrade2/QueryWrFinanceBuyApply:
  28950. get:
  28951. description: 页面 融资信息+ / 申请单
  28952. parameters:
  28953. - description: 用户id
  28954. in: query
  28955. name: userid
  28956. required: true
  28957. type: integer
  28958. produces:
  28959. - application/json
  28960. responses:
  28961. "200":
  28962. description: OK
  28963. schema:
  28964. items:
  28965. $ref: '#/definitions/models.WrFinanceBuyApply'
  28966. type: array
  28967. "500":
  28968. description: Internal Server Error
  28969. schema:
  28970. $ref: '#/definitions/app.Response'
  28971. security:
  28972. - ApiKeyAuth: []
  28973. summary: 查询融资购买申请
  28974. tags:
  28975. - 仓单贸易v2
  28976. /WrTrade2/QueryWrFriendApply:
  28977. get:
  28978. parameters:
  28979. - description: 用户id
  28980. in: query
  28981. name: userid
  28982. required: true
  28983. type: integer
  28984. produces:
  28985. - application/json
  28986. responses:
  28987. "200":
  28988. description: OK
  28989. schema:
  28990. items:
  28991. $ref: '#/definitions/models.WrFriendApply'
  28992. type: array
  28993. "500":
  28994. description: Internal Server Error
  28995. schema:
  28996. $ref: '#/definitions/app.Response'
  28997. security:
  28998. - ApiKeyAuth: []
  28999. summary: 查询好友申请记录
  29000. tags:
  29001. - 仓单贸易v2
  29002. /WrTrade2/QueryWrGoodsInfo:
  29003. get:
  29004. parameters:
  29005. - description: 仓单贸易市场id
  29006. in: query
  29007. name: marketid
  29008. type: integer
  29009. - description: 0:仓单预售 1:仓单贸易
  29010. in: query
  29011. name: haswr
  29012. required: true
  29013. type: integer
  29014. - description: 仓单要素id
  29015. in: query
  29016. name: wrfactortypeid
  29017. required: true
  29018. type: integer
  29019. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  29020. in: query
  29021. name: tmplateid
  29022. type: integer
  29023. produces:
  29024. - application/json
  29025. responses:
  29026. "200":
  29027. description: OK
  29028. schema:
  29029. items:
  29030. $ref: '#/definitions/models.WrGoodsInfo'
  29031. type: array
  29032. "500":
  29033. description: Internal Server Error
  29034. schema:
  29035. $ref: '#/definitions/app.Response'
  29036. security:
  29037. - ApiKeyAuth: []
  29038. summary: 查询仓单商品信息
  29039. tags:
  29040. - 仓单贸易v2
  29041. /WrTrade2/QueryWrMarketTradeConfig:
  29042. get:
  29043. parameters:
  29044. - description: 市场id
  29045. in: query
  29046. name: marketid
  29047. type: integer
  29048. produces:
  29049. - application/json
  29050. responses:
  29051. "200":
  29052. description: OK
  29053. schema:
  29054. items:
  29055. $ref: '#/definitions/models.WrMarketTradeConfig'
  29056. type: array
  29057. "500":
  29058. description: Internal Server Error
  29059. schema:
  29060. $ref: '#/definitions/app.Response'
  29061. security:
  29062. - ApiKeyAuth: []
  29063. summary: 查询市场交易参数配置
  29064. tags:
  29065. - 仓单贸易v2
  29066. /WrTrade2/QueryWrOrderDetail:
  29067. get:
  29068. description: 页面 现货仓单 | 预售仓单 -> 委托单
  29069. parameters:
  29070. - description: 页码
  29071. in: query
  29072. name: page
  29073. type: integer
  29074. - description: 每页条数
  29075. in: query
  29076. name: pagesize
  29077. type: integer
  29078. - description: 用户id
  29079. in: query
  29080. name: userid
  29081. required: true
  29082. type: integer
  29083. - description: 仓单贸易市场id
  29084. in: query
  29085. name: marketid
  29086. type: integer
  29087. - description: 0:仓单预售 1:仓单贸易
  29088. in: query
  29089. name: haswr
  29090. required: true
  29091. type: integer
  29092. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  29093. in: query
  29094. name: bcancel
  29095. type: integer
  29096. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  29097. in: query
  29098. name: wrtradetype
  29099. type: integer
  29100. - description: 开始交易日(yyyymmdd)
  29101. in: query
  29102. name: begindate
  29103. type: string
  29104. - description: 结束交易日(yyyymmdd)
  29105. in: query
  29106. name: enddate
  29107. type: string
  29108. produces:
  29109. - application/json
  29110. responses:
  29111. "200":
  29112. description: OK
  29113. schema:
  29114. items:
  29115. $ref: '#/definitions/models.WrOrderDetail'
  29116. type: array
  29117. "500":
  29118. description: Internal Server Error
  29119. schema:
  29120. $ref: '#/definitions/app.Response'
  29121. security:
  29122. - ApiKeyAuth: []
  29123. summary: 查询仓单委托单
  29124. tags:
  29125. - 仓单贸易v2
  29126. /WrTrade2/QueryWrOutInApply:
  29127. get:
  29128. parameters:
  29129. - description: 用户id
  29130. in: query
  29131. name: userid
  29132. required: true
  29133. type: integer
  29134. - description: 开始交易日(yyyymmdd)
  29135. in: query
  29136. name: begindate
  29137. type: string
  29138. - description: 结束交易日(yyyymmdd)
  29139. in: query
  29140. name: enddate
  29141. type: string
  29142. produces:
  29143. - application/json
  29144. responses:
  29145. "200":
  29146. description: OK
  29147. schema:
  29148. items:
  29149. $ref: '#/definitions/models.WrOutInApply'
  29150. type: array
  29151. "500":
  29152. description: Internal Server Error
  29153. schema:
  29154. $ref: '#/definitions/app.Response'
  29155. security:
  29156. - ApiKeyAuth: []
  29157. summary: 查询提货申请
  29158. tags:
  29159. - 仓单贸易v2
  29160. /WrTrade2/QueryWrPerformancePlanStep:
  29161. get:
  29162. parameters:
  29163. - description: 履约计划id(performanceplanid)
  29164. in: query
  29165. name: planid
  29166. required: true
  29167. type: integer
  29168. - description: 当前步骤id
  29169. in: query
  29170. name: curstepid
  29171. type: integer
  29172. produces:
  29173. - application/json
  29174. responses:
  29175. "200":
  29176. description: OK
  29177. schema:
  29178. items:
  29179. $ref: '#/definitions/models.WrPerformancePlanStep'
  29180. type: array
  29181. "500":
  29182. description: Internal Server Error
  29183. schema:
  29184. $ref: '#/definitions/app.Response'
  29185. security:
  29186. - ApiKeyAuth: []
  29187. summary: 查询履约信息详情
  29188. tags:
  29189. - 仓单贸易v2
  29190. /WrTrade2/QueryWrPerformanceStepType:
  29191. get:
  29192. produces:
  29193. - application/json
  29194. responses:
  29195. "200":
  29196. description: OK
  29197. schema:
  29198. items:
  29199. $ref: '#/definitions/models.WrPerformanceStepType'
  29200. type: array
  29201. "500":
  29202. description: Internal Server Error
  29203. schema:
  29204. $ref: '#/definitions/app.Response'
  29205. security:
  29206. - ApiKeyAuth: []
  29207. summary: 查询履约步骤枚举
  29208. tags:
  29209. - 仓单贸易v2
  29210. /WrTrade2/QueryWrPosition:
  29211. get:
  29212. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  29213. parameters:
  29214. - description: 用户id
  29215. in: query
  29216. name: userid
  29217. required: true
  29218. type: integer
  29219. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  29220. in: query
  29221. name: querytype
  29222. required: true
  29223. type: integer
  29224. - description: 0:仓单预售 1:仓单贸易
  29225. in: query
  29226. name: haswr
  29227. required: true
  29228. type: integer
  29229. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  29230. in: query
  29231. name: dgitemname
  29232. type: string
  29233. - description: 仓库id(筛选条件)
  29234. in: query
  29235. name: warehouseid
  29236. type: integer
  29237. - description: 品种id
  29238. in: query
  29239. name: deliverygoodsid
  29240. type: integer
  29241. - description: 品类id
  29242. in: query
  29243. name: wrstandardid
  29244. type: integer
  29245. produces:
  29246. - application/json
  29247. responses:
  29248. "200":
  29249. description: OK
  29250. schema:
  29251. items:
  29252. $ref: '#/definitions/models.WrPosition'
  29253. type: array
  29254. "500":
  29255. description: Internal Server Error
  29256. schema:
  29257. $ref: '#/definitions/app.Response'
  29258. security:
  29259. - ApiKeyAuth: []
  29260. summary: 查询现货(预售)仓单持仓
  29261. tags:
  29262. - 仓单贸易v2
  29263. /WrTrade2/QueryWrPreSaleInfo:
  29264. get:
  29265. parameters:
  29266. - description: 市场id
  29267. in: query
  29268. name: marketid
  29269. type: integer
  29270. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  29271. in: query
  29272. name: presalestatus
  29273. type: string
  29274. - description: 摇号标识 - 0:未摇号 1:已摇号
  29275. in: query
  29276. name: lotteryflag
  29277. type: integer
  29278. - description: 最近多少条记录(按创建时间倒序)
  29279. in: query
  29280. name: lastnum
  29281. type: integer
  29282. produces:
  29283. - application/json
  29284. responses:
  29285. "200":
  29286. description: OK
  29287. schema:
  29288. items:
  29289. $ref: '#/definitions/models.WrPreSaleInfo'
  29290. type: array
  29291. "500":
  29292. description: Internal Server Error
  29293. schema:
  29294. $ref: '#/definitions/app.Response'
  29295. security:
  29296. - ApiKeyAuth: []
  29297. summary: 查询新品发布
  29298. tags:
  29299. - 仓单贸易v2
  29300. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  29301. get:
  29302. parameters:
  29303. - description: 市场id
  29304. in: query
  29305. name: marketid
  29306. required: true
  29307. type: integer
  29308. - description: 现货商品id
  29309. in: query
  29310. name: wrstandardid
  29311. required: true
  29312. type: integer
  29313. - description: 开始交易日(yyyymmdd)
  29314. in: query
  29315. name: begindate
  29316. type: string
  29317. - description: 结束交易日(yyyymmdd)
  29318. in: query
  29319. name: enddate
  29320. type: string
  29321. - description: 最近多少条记录(按交易日倒序)
  29322. in: query
  29323. name: lastnum
  29324. type: integer
  29325. - description: 是否今日
  29326. in: query
  29327. name: istoday
  29328. type: boolean
  29329. produces:
  29330. - application/json
  29331. responses:
  29332. "200":
  29333. description: OK
  29334. schema:
  29335. items:
  29336. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  29337. type: array
  29338. "500":
  29339. description: Internal Server Error
  29340. schema:
  29341. $ref: '#/definitions/app.Response'
  29342. security:
  29343. - ApiKeyAuth: []
  29344. summary: 查询价格走势
  29345. tags:
  29346. - 仓单贸易v2
  29347. /WrTrade2/QueryWrScfContract:
  29348. get:
  29349. parameters:
  29350. - description: 用户id
  29351. in: query
  29352. name: userid
  29353. required: true
  29354. type: integer
  29355. - description: 融资合同id
  29356. in: query
  29357. name: scfcontractid
  29358. type: integer
  29359. produces:
  29360. - application/json
  29361. responses:
  29362. "200":
  29363. description: OK
  29364. schema:
  29365. items:
  29366. $ref: '#/definitions/models.WrScfContract'
  29367. type: array
  29368. "500":
  29369. description: Internal Server Error
  29370. schema:
  29371. $ref: '#/definitions/app.Response'
  29372. security:
  29373. - ApiKeyAuth: []
  29374. summary: 查询仓单贸易融资合同
  29375. tags:
  29376. - 仓单贸易v2
  29377. /WrTrade2/QueryWrScfContractInterest:
  29378. get:
  29379. parameters:
  29380. - description: 融资合同id
  29381. in: query
  29382. name: scfcontractid
  29383. type: integer
  29384. produces:
  29385. - application/json
  29386. responses:
  29387. "200":
  29388. description: OK
  29389. schema:
  29390. items:
  29391. $ref: '#/definitions/models.WrScfContractInterest'
  29392. type: array
  29393. "500":
  29394. description: Internal Server Error
  29395. schema:
  29396. $ref: '#/definitions/app.Response'
  29397. security:
  29398. - ApiKeyAuth: []
  29399. summary: 查询融资合同费用明细
  29400. tags:
  29401. - 仓单贸易v2
  29402. /WrTrade2/QueryWrSearchUser:
  29403. get:
  29404. parameters:
  29405. - description: 用户名称(模糊匹配)
  29406. in: query
  29407. name: username
  29408. required: true
  29409. type: string
  29410. produces:
  29411. - application/json
  29412. responses:
  29413. "200":
  29414. description: OK
  29415. schema:
  29416. items:
  29417. $ref: '#/definitions/models.WrSearchUser'
  29418. type: array
  29419. "500":
  29420. description: Internal Server Error
  29421. schema:
  29422. $ref: '#/definitions/app.Response'
  29423. security:
  29424. - ApiKeyAuth: []
  29425. summary: 查询用户
  29426. tags:
  29427. - 仓单贸易v2
  29428. /WrTrade2/QueryWrSpecialMatchOrder:
  29429. get:
  29430. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  29431. parameters:
  29432. - description: 页码
  29433. in: query
  29434. name: page
  29435. type: integer
  29436. - description: 每页条数
  29437. in: query
  29438. name: pagesize
  29439. type: integer
  29440. - description: 用户id
  29441. in: query
  29442. name: userid
  29443. required: true
  29444. type: integer
  29445. - description: 仓单贸易市场id
  29446. in: query
  29447. name: marketid
  29448. type: integer
  29449. - description: 0:仓单预售 1:仓单贸易
  29450. in: query
  29451. name: haswr
  29452. required: true
  29453. type: integer
  29454. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  29455. in: query
  29456. name: isspecified
  29457. type: integer
  29458. produces:
  29459. - application/json
  29460. responses:
  29461. "200":
  29462. description: OK
  29463. schema:
  29464. items:
  29465. $ref: '#/definitions/models.WrSpecialMatchOrder'
  29466. type: array
  29467. "500":
  29468. description: Internal Server Error
  29469. schema:
  29470. $ref: '#/definitions/app.Response'
  29471. security:
  29472. - ApiKeyAuth: []
  29473. summary: 查询指定成交
  29474. tags:
  29475. - 仓单贸易v2
  29476. /WrTrade2/QueryWrStandardFactoryItem:
  29477. get:
  29478. parameters:
  29479. - description: 品类id
  29480. in: query
  29481. name: wrstandardid
  29482. required: true
  29483. type: integer
  29484. produces:
  29485. - application/json
  29486. responses:
  29487. "200":
  29488. description: OK
  29489. schema:
  29490. items:
  29491. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  29492. type: array
  29493. "500":
  29494. description: Internal Server Error
  29495. schema:
  29496. $ref: '#/definitions/app.Response'
  29497. security:
  29498. - ApiKeyAuth: []
  29499. summary: 查询品类要素定义项
  29500. tags:
  29501. - 仓单贸易v2
  29502. /WrTrade2/QueryWrTradeBargainApply:
  29503. get:
  29504. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  29505. 议价->对方议价 填写matchuserid=登录用户id
  29506. parameters:
  29507. - description: 议价人id(摘牌方)
  29508. in: query
  29509. name: userid
  29510. type: integer
  29511. - description: 挂牌方id(查对方议价时,填写此项)
  29512. in: query
  29513. name: matchuserid
  29514. type: integer
  29515. - description: 关联委托单id
  29516. in: query
  29517. name: wrtradeorderid
  29518. type: integer
  29519. - description: 0:仓单预售 1:仓单贸易
  29520. in: query
  29521. name: haswr
  29522. required: true
  29523. type: integer
  29524. - description: 开始交易日(yyyymmdd)
  29525. in: query
  29526. name: begindate
  29527. type: string
  29528. - description: 结束交易日(yyyymmdd)
  29529. in: query
  29530. name: enddate
  29531. type: string
  29532. produces:
  29533. - application/json
  29534. responses:
  29535. "200":
  29536. description: OK
  29537. schema:
  29538. items:
  29539. $ref: '#/definitions/models.WRTradeBargainApply'
  29540. type: array
  29541. "500":
  29542. description: Internal Server Error
  29543. schema:
  29544. $ref: '#/definitions/app.Response'
  29545. security:
  29546. - ApiKeyAuth: []
  29547. summary: 查询议价单
  29548. tags:
  29549. - 仓单贸易v2
  29550. /WrTrade2/QueryWrTradeDetail:
  29551. get:
  29552. parameters:
  29553. - description: 页码
  29554. in: query
  29555. name: page
  29556. type: integer
  29557. - description: 每页条数
  29558. in: query
  29559. name: pagesize
  29560. type: integer
  29561. - description: 用户id
  29562. in: query
  29563. name: userid
  29564. required: true
  29565. type: integer
  29566. - description: 仓单贸易市场id
  29567. in: query
  29568. name: marketid
  29569. type: integer
  29570. - description: 0:仓单预售 1:仓单贸易
  29571. in: query
  29572. name: haswr
  29573. required: true
  29574. type: integer
  29575. - description: 开始交易日(yyyymmdd)
  29576. in: query
  29577. name: begindate
  29578. type: string
  29579. - description: 结束交易日(yyyymmdd)
  29580. in: query
  29581. name: enddate
  29582. type: string
  29583. produces:
  29584. - application/json
  29585. responses:
  29586. "200":
  29587. description: OK
  29588. schema:
  29589. items:
  29590. $ref: '#/definitions/models.WrTradeDetail'
  29591. type: array
  29592. "500":
  29593. description: Internal Server Error
  29594. schema:
  29595. $ref: '#/definitions/app.Response'
  29596. security:
  29597. - ApiKeyAuth: []
  29598. summary: 查询仓单成交明细
  29599. tags:
  29600. - 仓单贸易v2
  29601. /WrTrade2/QueryWrTradeOrderDetail:
  29602. get:
  29603. parameters:
  29604. - description: 页码
  29605. in: query
  29606. name: page
  29607. type: integer
  29608. - description: 每页条数
  29609. in: query
  29610. name: pagesize
  29611. type: integer
  29612. - description: 商品id
  29613. in: query
  29614. name: goodsid
  29615. required: true
  29616. type: integer
  29617. - description: 买卖方向 0-买 1-卖
  29618. in: query
  29619. name: buyorsell
  29620. required: true
  29621. type: integer
  29622. produces:
  29623. - application/json
  29624. responses:
  29625. "200":
  29626. description: OK
  29627. schema:
  29628. items:
  29629. $ref: '#/definitions/models.WrTradeOrderDetail'
  29630. type: array
  29631. "500":
  29632. description: Internal Server Error
  29633. schema:
  29634. $ref: '#/definitions/app.Response'
  29635. security:
  29636. - ApiKeyAuth: []
  29637. summary: 查询合约交易买卖大厅
  29638. tags:
  29639. - 仓单贸易v2
  29640. /WrTrade2/QueryWrUserFriend:
  29641. get:
  29642. parameters:
  29643. - description: 用户id
  29644. in: query
  29645. name: userid
  29646. required: true
  29647. type: integer
  29648. - description: 新朋友userid, 如果填写了此项则查找新朋友
  29649. in: query
  29650. name: newuserid
  29651. type: integer
  29652. produces:
  29653. - application/json
  29654. responses:
  29655. "200":
  29656. description: OK
  29657. schema:
  29658. items:
  29659. $ref: '#/definitions/models.WrUserFriend'
  29660. type: array
  29661. "500":
  29662. description: Internal Server Error
  29663. schema:
  29664. $ref: '#/definitions/app.Response'
  29665. security:
  29666. - ApiKeyAuth: []
  29667. summary: 查询我的朋友
  29668. tags:
  29669. - 仓单贸易v2
  29670. /WrTrade2/QueryWrUserReceiptInfo:
  29671. get:
  29672. parameters:
  29673. - description: 用户id
  29674. in: query
  29675. name: userid
  29676. type: integer
  29677. - description: 发票类型 - 1:个人 2:企业
  29678. in: query
  29679. name: receipttype
  29680. type: integer
  29681. produces:
  29682. - application/json
  29683. responses:
  29684. "200":
  29685. description: OK
  29686. schema:
  29687. items:
  29688. $ref: '#/definitions/models.WrUserReceiptInfo'
  29689. type: array
  29690. "500":
  29691. description: Internal Server Error
  29692. schema:
  29693. $ref: '#/definitions/app.Response'
  29694. security:
  29695. - ApiKeyAuth: []
  29696. summary: 查询发票信息
  29697. tags:
  29698. - 仓单贸易v2
  29699. /WrTrade2/QueryXhcpSellBackApply:
  29700. get:
  29701. parameters:
  29702. - description: 用户ID
  29703. in: query
  29704. name: userid
  29705. required: true
  29706. type: integer
  29707. produces:
  29708. - application/json
  29709. responses:
  29710. "200":
  29711. description: OK
  29712. schema:
  29713. items:
  29714. $ref: '#/definitions/models.Xhcpsellbackapply'
  29715. type: array
  29716. "500":
  29717. description: Internal Server Error
  29718. schema:
  29719. $ref: '#/definitions/app.Response'
  29720. security:
  29721. - ApiKeyAuth: []
  29722. summary: 查询我的回收申请(新会陈皮)
  29723. tags:
  29724. - 仓单贸易v2
  29725. /ZJ/GetBankTip:
  29726. get:
  29727. produces:
  29728. - application/json
  29729. responses:
  29730. "200":
  29731. description: OK
  29732. schema:
  29733. type: string
  29734. "500":
  29735. description: Internal Server Error
  29736. schema:
  29737. $ref: '#/definitions/app.Response'
  29738. summary: 获取中江网银端出入金提示信息
  29739. tags:
  29740. - 中江
  29741. /ZJ/GetCusBankChannels:
  29742. get:
  29743. produces:
  29744. - application/json
  29745. responses:
  29746. "200":
  29747. description: OK
  29748. schema:
  29749. items:
  29750. type: string
  29751. type: array
  29752. "500":
  29753. description: Internal Server Error
  29754. schema:
  29755. $ref: '#/definitions/app.Response'
  29756. summary: 获取中江出入金渠道显示列表
  29757. tags:
  29758. - 中江
  29759. securityDefinitions:
  29760. ApiKeyAuth:
  29761. in: header
  29762. name: Authorization
  29763. type: apiKey
  29764. swagger: "2.0"