swagger.yaml 810 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data: {}
  8. msg:
  9. type: string
  10. page:
  11. description: 页码
  12. type: integer
  13. pagesize:
  14. description: 每页条数
  15. type: integer
  16. total:
  17. description: 总条数
  18. type: integer
  19. type: object
  20. common.ClientMenu:
  21. properties:
  22. children:
  23. description: 子菜单列表
  24. items:
  25. $ref: '#/definitions/common.ClientMenu'
  26. type: array
  27. code:
  28. description: ID
  29. type: string
  30. isshow:
  31. description: 是否显示
  32. type: boolean
  33. remark:
  34. description: 备注
  35. type: string
  36. rulekey:
  37. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  38. type: string
  39. sort:
  40. description: 排序
  41. type: integer
  42. title:
  43. description: 标题
  44. type: string
  45. type:
  46. description: 类型,1:菜单 2:按钮
  47. type: integer
  48. url:
  49. description: URL
  50. type: string
  51. type: object
  52. common.PCWebMenu:
  53. properties:
  54. auth:
  55. description: 页面权限列表
  56. items:
  57. $ref: '#/definitions/common.PCWebMenuAuth'
  58. type: array
  59. children:
  60. description: 子菜单列表
  61. items:
  62. $ref: '#/definitions/common.PCWebMenu'
  63. type: array
  64. code:
  65. description: ID,新版本中权限KEY也是这个字段
  66. type: string
  67. component:
  68. description: 路由组件
  69. type: string
  70. isshow:
  71. description: 是否显示
  72. type: boolean
  73. path:
  74. description: 路由路径
  75. type: string
  76. remark:
  77. description: 备注
  78. type: string
  79. rulekey:
  80. description: 权限主键,非空表示需要判断控制,非空值不可重复
  81. type: string
  82. sort:
  83. description: 排序
  84. type: integer
  85. title:
  86. description: 标题
  87. type: string
  88. url:
  89. description: URL
  90. type: string
  91. type: object
  92. common.PCWebMenuAuth:
  93. properties:
  94. code:
  95. description: ID,新版本中权限KEY也是这个字段
  96. type: string
  97. isshow:
  98. description: 是否显示
  99. type: boolean
  100. label:
  101. description: 标题
  102. type: string
  103. remark:
  104. description: 备注
  105. type: string
  106. rulekey:
  107. description: 权限主键,非空表示需要判断控制,非空值不可重复
  108. type: string
  109. type: object
  110. common.QueryImageConfigsRsp:
  111. properties:
  112. areauserid:
  113. description: 所属机构ID
  114. type: integer
  115. configid:
  116. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  117. type: integer
  118. createdate:
  119. description: 创建时间
  120. type: string
  121. creatorid:
  122. description: 创建人
  123. type: integer
  124. imagedetailpath:
  125. description: 详情图片 [UrlType = 3时 有且必填,其它类型不需要]
  126. type: string
  127. imagepath:
  128. description: 图片
  129. type: string
  130. imagetype:
  131. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  132. type: integer
  133. isshow:
  134. description: 是否展示 - 0:不展示 1:展示
  135. type: integer
  136. marketid:
  137. description: 市场ID
  138. type: integer
  139. modifierid:
  140. description: 操作人
  141. type: integer
  142. sort:
  143. description: 排序
  144. type: integer
  145. title:
  146. description: 标题
  147. type: string
  148. trademode:
  149. description: 交易模式
  150. type: integer
  151. updatedate:
  152. description: 修改时间
  153. type: string
  154. url:
  155. description: 链接(地址或商品ID)
  156. type: string
  157. urltype:
  158. description: 链接类型 - 1:直接地址 2:商品ID
  159. type: integer
  160. required:
  161. - configid
  162. type: object
  163. common.QueryNoticeRsp:
  164. properties:
  165. auditoruserid:
  166. description: 审核人
  167. type: integer
  168. auditremark:
  169. description: 审核备注
  170. type: string
  171. audittime:
  172. description: 审核日期
  173. type: string
  174. autoid:
  175. description: 自增ID
  176. type: integer
  177. content:
  178. description: 内容
  179. type: string
  180. createtime:
  181. description: 创建时间
  182. type: string
  183. creatorid:
  184. description: 建仓人
  185. type: integer
  186. endtime:
  187. description: 结束时间
  188. type: string
  189. istop:
  190. description: 是否置顶 - 0:不置顶 1:置顶
  191. type: integer
  192. msgiconurl:
  193. description: 消息图标Url
  194. type: string
  195. msgtype:
  196. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  197. type: integer
  198. publisher:
  199. description: 消息发布者
  200. type: string
  201. readed:
  202. description: 是否已读
  203. type: boolean
  204. scheduletime:
  205. description: 计划发送时间
  206. type: string
  207. sendtype:
  208. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  209. type: integer
  210. sentstatus:
  211. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  212. type: integer
  213. title:
  214. description: 标题
  215. type: string
  216. userid:
  217. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  218. type: integer
  219. required:
  220. - autoid
  221. type: object
  222. common.QueryProvincesAndCitiesRsp:
  223. properties:
  224. cities:
  225. description: 市
  226. items:
  227. $ref: '#/definitions/models.Division'
  228. type: array
  229. province:
  230. $ref: '#/definitions/models.Division'
  231. description: 省
  232. type: object
  233. common.QueryTableDefineRsp:
  234. properties:
  235. columns:
  236. description: 列头信息数组
  237. items:
  238. $ref: '#/definitions/models.Tablecolumnconfig'
  239. type: array
  240. remark:
  241. description: Remark
  242. type: string
  243. tabelmenu:
  244. description: 列表菜单
  245. type: string
  246. tablekey:
  247. description: 列表Key
  248. type: string
  249. tablename:
  250. description: 列表名称
  251. type: string
  252. tabletype:
  253. description: 列表类型 - 1:管理端 2:终端
  254. type: integer
  255. required:
  256. - tablekey
  257. type: object
  258. common.QueryTraderMenuRsp:
  259. properties:
  260. OperationMenu:
  261. description: 功能菜单
  262. items:
  263. $ref: '#/definitions/models.OperationPrimaryMenu'
  264. type: array
  265. QuoteMenu:
  266. description: 报价牌分类菜单
  267. items:
  268. $ref: '#/definitions/models.QuotePrimaryMenu'
  269. type: array
  270. type: object
  271. cptrade.Cptradepositioncancel:
  272. properties:
  273. accountid:
  274. description: 申请人账户ID
  275. type: integer
  276. applystatus:
  277. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  278. type: integer
  279. applytime:
  280. description: 申请时间
  281. type: string
  282. cancelid:
  283. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  284. type: integer
  285. cancelqty:
  286. description: 注销数量
  287. type: integer
  288. createtime:
  289. description: 创建时间
  290. type: string
  291. creatorid:
  292. description: 创建人ID
  293. type: integer
  294. creatorname:
  295. description: 创建人
  296. type: string
  297. goodscode:
  298. description: 订单商品代码
  299. type: string
  300. goodsid:
  301. description: 商品ID
  302. type: integer
  303. goodsname:
  304. description: 订单商品名称
  305. type: string
  306. goodunit:
  307. description: 报价单位
  308. type: string
  309. handlestatus:
  310. description: 处理状态
  311. type: integer
  312. marketid:
  313. description: 市场ID
  314. type: integer
  315. marketname:
  316. description: 市场名称
  317. type: string
  318. tradedate:
  319. description: 交易日(yyyyMMdd)
  320. type: string
  321. userid:
  322. description: 申请人ID
  323. type: integer
  324. required:
  325. - cancelid
  326. type: object
  327. cptrade.Cptradepresaleapply:
  328. properties:
  329. accountid:
  330. description: 申请人账户ID
  331. type: integer
  332. applyid:
  333. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  334. type: integer
  335. applyremark:
  336. description: 申请备注
  337. type: string
  338. applystatus:
  339. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  340. type: integer
  341. applytime:
  342. description: 申请时间
  343. type: string
  344. attachmenturl:
  345. description: 附件地址
  346. type: string
  347. endtime:
  348. description: 预售结束时间
  349. type: string
  350. goodscode:
  351. description: 商品代码
  352. type: string
  353. goodsid:
  354. description: 商品ID
  355. type: integer
  356. goodsname:
  357. description: 商品名称
  358. type: string
  359. goodunit:
  360. description: 报价单位
  361. type: string
  362. handlestatus:
  363. description: 处理状态
  364. type: integer
  365. marketid:
  366. description: 预售市场ID
  367. type: integer
  368. marketname:
  369. description: 预售市场名称
  370. type: string
  371. presaleqty:
  372. description: 预售数量
  373. type: integer
  374. relatedgoodscode:
  375. description: 关联交易合约代码
  376. type: string
  377. relatedgoodsid:
  378. description: 关联交易合约ID
  379. type: integer
  380. relatedgoodsname:
  381. description: 关联交易合约名称
  382. type: string
  383. starttime:
  384. description: 预售开始时间
  385. type: string
  386. tradedate:
  387. description: 交易日(yyyyMMdd)
  388. type: string
  389. trademode:
  390. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  391. type: integer
  392. userid:
  393. description: 申请人ID
  394. type: integer
  395. required:
  396. - applyid
  397. type: object
  398. cptrade.Cptradeusergoodsdata:
  399. properties:
  400. EnabledQty:
  401. description: 可用量
  402. type: integer
  403. GoodsCode:
  404. description: 订单商品代码
  405. type: string
  406. GoodsName:
  407. description: 订单商品名称
  408. type: string
  409. WRStandardCode:
  410. description: 仓单标准代码
  411. type: string
  412. WRStandardName:
  413. description: 仓单标准名称
  414. type: string
  415. accountid:
  416. description: 账户ID
  417. type: integer
  418. cancelqty:
  419. description: 注销量
  420. type: integer
  421. curpresaleqty:
  422. description: 当前预售量
  423. type: integer
  424. deliveryqty:
  425. description: 交割量
  426. type: integer
  427. freezeamount:
  428. description: 冻结金额
  429. type: number
  430. goodsid:
  431. description: 商品ID
  432. type: integer
  433. goodunit:
  434. description: 报价单位
  435. type: string
  436. hasspotfreeze:
  437. description: 是否有现货冻结 - 0:否 1:有
  438. type: integer
  439. inqty:
  440. description: 转入量(总数量)
  441. type: integer
  442. marketid:
  443. description: 市场ID
  444. type: integer
  445. presaledamount:
  446. description: 已预售总金额
  447. type: integer
  448. presaledqty:
  449. description: 已预售量
  450. type: integer
  451. userid:
  452. description: 用户ID
  453. type: integer
  454. wrstandardid:
  455. description: 仓单标准ID
  456. type: integer
  457. required:
  458. - accountid
  459. - goodsid
  460. type: object
  461. cptrade.QueryCPTradeMyBidRsp:
  462. properties:
  463. accountid:
  464. description: 账户ID[报价币种]
  465. type: integer
  466. goodsid:
  467. description: 商品ID
  468. type: integer
  469. goodunit:
  470. description: 报价单位
  471. type: string
  472. marketid:
  473. description: 市场ID
  474. type: integer
  475. orderid:
  476. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  477. type: integer
  478. orderprice:
  479. description: 委托价格
  480. type: number
  481. orderqty:
  482. description: 委托数量
  483. type: integer
  484. ordertime:
  485. description: 委托时间
  486. type: string
  487. ordertotalprice:
  488. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  489. type: number
  490. ordertotalweight:
  491. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  492. type: integer
  493. totaltotalprice:
  494. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  495. type: number
  496. tradeprice:
  497. description: 成交价格
  498. type: number
  499. tradeqty:
  500. description: 成交数量
  501. type: integer
  502. required:
  503. - accountid
  504. - goodsid
  505. - marketid
  506. - orderid
  507. - orderqty
  508. - ordertime
  509. - tradeprice
  510. - tradeqty
  511. type: object
  512. cptrade.QueryCPTradeOrderDetailRsq:
  513. properties:
  514. accountid:
  515. description: 账户ID[报价币种]
  516. type: integer
  517. buildtype:
  518. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  519. type: integer
  520. buyorsell:
  521. description: 买卖 - 0:买 1:卖
  522. type: integer
  523. cancelorderid:
  524. description: 撤单单号(撤单时填写)
  525. type: integer
  526. cancelqty:
  527. description: 撤单数量
  528. type: integer
  529. clientordertime:
  530. description: 客户端委托时间
  531. type: string
  532. clientticket:
  533. description: 客户端流水号
  534. type: string
  535. clienttype:
  536. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  537. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  538. type: integer
  539. closeexchagechargevalue:
  540. description: 平仓交易所手续费设置值
  541. type: number
  542. closefeealgorithm:
  543. description: 平仓手续费收取方式 1:比率 2:固定
  544. type: integer
  545. closefreezecharge:
  546. description: 平仓冻结手续费(先建后平操作,需要记录)
  547. type: number
  548. closememberchargevalue:
  549. description: 平仓会员手续费设置值
  550. type: number
  551. closeqty:
  552. description: 平仓数量(先建后平操作 需要记录)
  553. type: integer
  554. closetradeqty:
  555. description: 平仓成交数量(先建后平操作,需要记录)
  556. type: integer
  557. closeunfreezecharge:
  558. description: 平仓解冻手续费(先建后平操作,需要记录)
  559. type: number
  560. delistingtype:
  561. description: 摘牌类型 - 1:价格最优 2:点选成交
  562. type: integer
  563. freezecharge:
  564. description: 冻结手续费
  565. type: number
  566. freezemargin:
  567. description: 冻结保证金(冻结交易金额)
  568. type: number
  569. gcaccountid:
  570. description: 账户ID[合约币种]
  571. type: integer
  572. goodsid:
  573. description: 商品ID
  574. type: integer
  575. isconfirmexercise:
  576. description: 是否确认行权- 0:否 1:是
  577. type: integer
  578. ispreexercise:
  579. description: 是否预申报- 0:否 1:是
  580. type: integer
  581. listingselecttype:
  582. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  583. type: integer
  584. marginalgorithm:
  585. description: 保证金收取方式 1:比率 2:固定
  586. type: integer
  587. marginvalue:
  588. description: 即市保证金设置值
  589. type: number
  590. marketid:
  591. description: 市场ID
  592. type: integer
  593. marketmaxsub:
  594. description: 市价最大偏移范围
  595. type: number
  596. memberuserid:
  597. description: 所属会员UserID
  598. type: integer
  599. openexchagechargevalue:
  600. description: 建仓交易所手续费设置值
  601. type: number
  602. openfeealgorithm:
  603. description: 建仓手续费收取方式 1:比率 2:固定
  604. type: integer
  605. openfreezecharge:
  606. description: 开仓冻结手续费(先建后平操作,需要记录)
  607. type: number
  608. openmemberchargevalue:
  609. description: 建仓会员手续费设置值
  610. type: number
  611. openqty:
  612. description: 开仓数量(先建后平操作,需要记录)
  613. type: integer
  614. opentradeqty:
  615. description: 开仓成交数量(先建后平操作,需要记录)
  616. type: integer
  617. openunfreezecharge:
  618. description: 开仓解冻手续费(先建后平操作,需要记录)
  619. type: number
  620. operatetype:
  621. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  622. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  623. 15:管理端协议转让
  624. type: integer
  625. operatorid:
  626. description: 登录账号(LoginID)
  627. type: integer
  628. optiontype:
  629. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  630. type: integer
  631. orderprice:
  632. description: 委托价格
  633. type: number
  634. orderqty:
  635. description: 委托数量
  636. type: integer
  637. ordersrc:
  638. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  639. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  640. type: integer
  641. orderstatus:
  642. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  643. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  644. 16:成交失败违约(荷兰式竞拍专用)
  645. type: integer
  646. ordertime:
  647. description: 委托时间
  648. type: string
  649. preexerciseprice:
  650. description: 预申报价格
  651. type: number
  652. premium:
  653. description: 权利金
  654. type: number
  655. preorderid:
  656. description: 关联预埋单号(止盈止损单时填写)
  657. type: integer
  658. pricemode:
  659. description: '取价方式 - 1:市价 2: 限价'
  660. type: integer
  661. quoteid:
  662. description: 报价单ID
  663. type: integer
  664. relatedid:
  665. description: 关联单号(交割单)
  666. type: integer
  667. retcode:
  668. description: 错误代码
  669. type: integer
  670. sessionid:
  671. description: 会话ID
  672. type: integer
  673. strorderid:
  674. description: 委托单号
  675. type: string
  676. tradedate:
  677. description: 交易日(yyyyMMdd)
  678. type: string
  679. tradeproperty:
  680. description: 交易属性
  681. type: integer
  682. tradeqty:
  683. description: 成交数量
  684. type: integer
  685. unfreezecharge:
  686. description: 解冻手续费
  687. type: number
  688. unfreezemargin:
  689. description: 解冻保证金
  690. type: number
  691. updatetime:
  692. description: 更新时间
  693. type: string
  694. uuid:
  695. description: 发起端唯一id
  696. type: string
  697. validtime:
  698. description: 有效期限
  699. type: string
  700. validtype:
  701. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  702. type: integer
  703. volumetype:
  704. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  705. type: integer
  706. required:
  707. - accountid
  708. - buildtype
  709. - buyorsell
  710. - goodsid
  711. - marketid
  712. - memberuserid
  713. - operatetype
  714. - orderqty
  715. - ordertime
  716. - pricemode
  717. - strorderid
  718. - tradedate
  719. - validtype
  720. type: object
  721. cptrade.QueryMyCPTradeGoodsRsp:
  722. properties:
  723. accountid:
  724. description: 卖方账户ID
  725. type: integer
  726. agreeunit:
  727. description: 合约单位
  728. type: number
  729. applyid:
  730. description: 关联申请ID
  731. type: integer
  732. attachmenturl:
  733. description: 附件地址
  734. type: string
  735. createtime:
  736. description: 创建时间
  737. type: string
  738. currencyid:
  739. description: 报价货币ID
  740. type: integer
  741. decimalplace:
  742. description: 报价小数位
  743. type: integer
  744. endtime:
  745. description: 预售结束时间
  746. type: string
  747. floorprice:
  748. description: 底价[大宗式竞拍]
  749. type: number
  750. goodscode:
  751. description: 商品代码(预售)
  752. type: string
  753. goodsdetail:
  754. description: 详情[大宗]
  755. type: string
  756. goodsid:
  757. description: 商品ID(自增ID SEQ_GOODS)
  758. type: integer
  759. goodsname:
  760. description: 商品名称(预售)
  761. type: string
  762. goodunit:
  763. description: 报价单位
  764. type: string
  765. goodunitid:
  766. description: 报价单位ID
  767. type: integer
  768. marketid:
  769. description: 所属市场ID
  770. type: integer
  771. marketname:
  772. description: 预售市场名称
  773. type: string
  774. presaledamount:
  775. description: 已预售总金额(预售结束时更新)
  776. type: number
  777. presaledqty:
  778. description: 已预售量(预售结束时更新)
  779. type: integer
  780. presalemode:
  781. description: 预售模式 - 1:一口价 2:大宗式竞拍
  782. type: integer
  783. presaleqty:
  784. description: 预售数量
  785. type: integer
  786. refprice:
  787. description: 参考价格[一口价]
  788. type: number
  789. relatedgoodscode:
  790. description: 商品代码(订单)
  791. type: string
  792. relatedgoodsid:
  793. description: 关联交易合约ID
  794. type: integer
  795. relatedgoodsname:
  796. description: 商品名称(订单)
  797. type: string
  798. relatedmarketid:
  799. description: 关联交易合约市场ID
  800. type: integer
  801. sellstatus:
  802. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  803. type: integer
  804. startprice:
  805. description: 起拍价[大宗式竞拍]
  806. type: number
  807. starttime:
  808. description: 预售开始时间
  809. type: string
  810. tradedate:
  811. description: 交易日(yyyyMMdd)
  812. type: string
  813. tradeprice:
  814. description: 成交价[大宗]
  815. type: number
  816. userid:
  817. description: 卖方用户ID
  818. type: integer
  819. required:
  820. - goodscode
  821. - goodsid
  822. - goodsname
  823. - marketid
  824. - relatedgoodscode
  825. - relatedgoodsname
  826. type: object
  827. cptrade.QueryPresaleGoodsExRsp:
  828. properties:
  829. attachmenturl:
  830. description: 附件地址
  831. type: string
  832. createtime:
  833. description: 创建时间
  834. type: string
  835. endtime:
  836. description: 预售结束时间
  837. type: string
  838. floorprice:
  839. description: 底价[大宗式竞拍]
  840. type: number
  841. goodsdetail:
  842. description: 详情[大宗]
  843. type: string
  844. goodsid:
  845. description: 商品ID(预售)
  846. type: integer
  847. goodunit:
  848. description: 报价单位
  849. type: string
  850. marketid:
  851. description: 预售市场ID - 根据预售模式选择市场
  852. type: integer
  853. presaledamount:
  854. description: 已预售总金额(预售结束时更新)
  855. type: number
  856. presaledqty:
  857. description: 已预售量(预售结束时更新)
  858. type: integer
  859. presalemode:
  860. description: 预售模式 - 1:一口价 2:大宗式竞拍
  861. type: integer
  862. presaleqty:
  863. description: 预售数量
  864. type: integer
  865. refprice:
  866. description: 参考价格[一口价]
  867. type: number
  868. relatedgoodsid:
  869. description: 关联交易合约ID
  870. type: integer
  871. relatedmarketid:
  872. description: 关联交易合约市场ID
  873. type: integer
  874. sellstatus:
  875. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  876. type: integer
  877. startprice:
  878. description: 起拍价[大宗式竞拍]
  879. type: number
  880. starttime:
  881. description: 预售开始时间
  882. type: string
  883. tradedate:
  884. description: 交易日(yyyyMMdd)
  885. type: string
  886. tradeprice:
  887. description: 成交价[大宗]
  888. type: number
  889. required:
  890. - goodsid
  891. type: object
  892. delivery.QueryDeliveryRelationRsp:
  893. properties:
  894. begindate:
  895. description: 起始日期(yyyyMMdd)
  896. type: string
  897. buytemplateid:
  898. description: 买履约计划模板ID
  899. type: integer
  900. deliverygoodscode:
  901. description: 品种代码
  902. type: string
  903. deliverygoodsid:
  904. description: 交割商品
  905. type: integer
  906. deliverygoodsname:
  907. description: 品种名称
  908. type: string
  909. deliverymode:
  910. description: 交割方式 - 1:点选式 2:申报式
  911. type: integer
  912. deliverypricerule:
  913. description: 交割价规则- 1:行情价 2:建仓价
  914. type: integer
  915. deliverytype:
  916. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  917. type: integer
  918. enddate:
  919. description: 结束日期(yyyyMMdd)
  920. type: string
  921. enumdicname:
  922. description: 品类单位名称
  923. type: string
  924. goodscode:
  925. description: 商品代码
  926. type: string
  927. goodsid:
  928. description: 交易合约ID
  929. type: integer
  930. goodsname:
  931. description: 商品名称
  932. type: string
  933. marketid:
  934. description: 市场ID
  935. type: integer
  936. mindeliveryqty:
  937. description: 最小交割系数(K)
  938. type: integer
  939. p2deliveryprice:
  940. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  941. type: number
  942. p2deliveryratio:
  943. description: P2合约系数(p)
  944. type: integer
  945. p2goodsid:
  946. description: P2合约ID
  947. type: integer
  948. p2pricemode:
  949. description: P2合约价格方式 - 1:商品价 2:固定值
  950. type: integer
  951. pdeliveryprice:
  952. description: P合约价格(商品价时填写0,固定值时填写固定值)
  953. type: number
  954. pdeliveryratio:
  955. description: P合约系数(n)
  956. type: integer
  957. pgoodscode:
  958. description: p合约代码
  959. type: string
  960. pgoodsid:
  961. description: P合约ID
  962. type: integer
  963. ppricemode:
  964. description: P合约价格方式 - 1:商品价 2:固定值
  965. type: integer
  966. rratio:
  967. description: 兑换系数(R)
  968. type: integer
  969. rratio1:
  970. description: 兑换系数(交易合约)(R1)
  971. type: integer
  972. rratio2:
  973. description: 兑换系数(仓单标准)(R2)
  974. type: integer
  975. selltemplateid:
  976. description: 卖履约计划模板ID
  977. type: integer
  978. wrstandardid:
  979. description: 仓单标准ID
  980. type: integer
  981. xdeliveryratio:
  982. description: 交易合约系数(m)
  983. type: integer
  984. required:
  985. - begindate
  986. - enddate
  987. - goodsid
  988. - mindeliveryqty
  989. - xdeliveryratio
  990. type: object
  991. ermcp.ExposureDetailRsp:
  992. properties:
  993. areauserid:
  994. description: 机构ID
  995. type: integer
  996. changeQty:
  997. description: 套保变动量
  998. type: number
  999. contracttype:
  1000. description: 现货合同类型 - 1:采购 -1:销售
  1001. type: integer
  1002. convertfactor:
  1003. description: 标仓系数
  1004. type: number
  1005. convertratio:
  1006. description: 套保系数
  1007. type: number
  1008. createtime:
  1009. description: 时间
  1010. type: string
  1011. enumdicname:
  1012. description: 现货商品单位名称
  1013. type: string
  1014. logtype:
  1015. description: 类型 - 1:套保计划 2:现货合同
  1016. type: integer
  1017. middlegoodsId:
  1018. description: 套保商品id
  1019. type: integer
  1020. middlegoodscode:
  1021. description: 套保商品代码
  1022. type: string
  1023. middlegoodsname:
  1024. description: 套保商品名称
  1025. type: string
  1026. qty:
  1027. description: 数量
  1028. type: number
  1029. relateNo:
  1030. description: 现货合同/套保计划编号
  1031. type: string
  1032. wrstandardcode:
  1033. description: 现货商品代码
  1034. type: string
  1035. wrstandardid:
  1036. description: 现货商品ID
  1037. type: integer
  1038. wrstandardname:
  1039. description: 现货商品名称
  1040. type: string
  1041. type: object
  1042. ermcp.ExposureHedgePosDetailRsp:
  1043. properties:
  1044. buyorsell:
  1045. description: 买卖方向 0-买 1-卖
  1046. type: integer
  1047. channelbuildtype:
  1048. description: 开平方向 1-建仓 2-平仓
  1049. type: integer
  1050. goodscode:
  1051. description: 商品代码
  1052. type: string
  1053. goodsname:
  1054. description: 商品名称
  1055. type: string
  1056. hedgegoodsid:
  1057. description: 商品id
  1058. type: integer
  1059. tradeqty:
  1060. description: 数量(成交数量)
  1061. type: integer
  1062. tradetime:
  1063. description: 时间(成交时间)
  1064. type: string
  1065. type: object
  1066. ermcp.ExposureHedgePositionRsp:
  1067. properties:
  1068. accountid:
  1069. description: 资金账号[外部母账户]
  1070. type: integer
  1071. curbuyposition:
  1072. description: 期末买头寸
  1073. type: integer
  1074. cursellposition:
  1075. description: 期末卖头寸
  1076. type: integer
  1077. curtdbuyposition:
  1078. description: 期末今日买头寸
  1079. type: integer
  1080. curtdsellposition:
  1081. description: 期末今日卖头寸
  1082. type: integer
  1083. curydbuyposition:
  1084. description: 期末上日买头寸
  1085. type: integer
  1086. curydsellposition:
  1087. description: 期末上日卖头寸
  1088. type: integer
  1089. decreaseqty:
  1090. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1091. type: integer
  1092. fretdbuyposition:
  1093. description: 冻结今日买头寸
  1094. type: integer
  1095. fretdsellposition:
  1096. description: 冻结今日卖头寸
  1097. type: integer
  1098. freydbuyposition:
  1099. description: 冻结上日买头寸
  1100. type: integer
  1101. freydsellposition:
  1102. description: 冻结上日卖头寸
  1103. type: integer
  1104. goodscode:
  1105. description: 商品代码
  1106. type: string
  1107. goodsid:
  1108. description: 商品id
  1109. type: integer
  1110. goodsname:
  1111. description: 商品名称
  1112. type: string
  1113. hedgeaccountcode:
  1114. description: 对冲账号
  1115. type: string
  1116. hedgegoodsid:
  1117. description: 对冲合约ID
  1118. type: integer
  1119. increaseqty:
  1120. description: 增加数量 = 期末买头寸 - 期初买头寸
  1121. type: integer
  1122. marketid:
  1123. description: 市场ID
  1124. type: integer
  1125. relateduserid:
  1126. description: 关联用户id
  1127. type: integer
  1128. totalcurqty:
  1129. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1130. type: integer
  1131. totalydqty:
  1132. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1133. type: integer
  1134. tradedate:
  1135. description: 交易日(yyyyMMdd)
  1136. type: string
  1137. ydbuyposition:
  1138. description: 期初买头寸
  1139. type: integer
  1140. ydsellposition:
  1141. description: 期初卖头寸
  1142. type: integer
  1143. type: object
  1144. ermcp.ExposureSpotDetailRsp:
  1145. properties:
  1146. contracttype:
  1147. description: 合同类型 1-采购 -1-销售
  1148. type: integer
  1149. createtime:
  1150. description: 创建时间
  1151. type: string
  1152. enumdicname:
  1153. description: 现货商品单位名称
  1154. type: string
  1155. logtype:
  1156. description: 记录类型 1-套保 2-现货合同
  1157. type: integer
  1158. qty:
  1159. description: 数量
  1160. type: number
  1161. recordname:
  1162. description: 类型名称
  1163. type: string
  1164. relatedid:
  1165. description: 套保计划ID/现货合同ID
  1166. type: string
  1167. relatedno:
  1168. description: 编号
  1169. type: string
  1170. strtime:
  1171. description: 时间
  1172. type: string
  1173. wrstandardcode:
  1174. description: 现货商品代码
  1175. type: string
  1176. wrstandardname:
  1177. description: 现货商品名称
  1178. type: string
  1179. type: object
  1180. ermcp.ExposureSpotRsp:
  1181. properties:
  1182. areauserid:
  1183. description: 所属机构
  1184. type: integer
  1185. decreaseqty:
  1186. description: 减少数量=-(销售已定价数量+采购计划数量)
  1187. type: number
  1188. increaseqty:
  1189. description: 增加数量=销售计划数量+采购已定价数量
  1190. type: number
  1191. oritoalspotqty:
  1192. description: 昨日数量
  1193. type: number
  1194. totalspotqty:
  1195. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1196. type: number
  1197. updatetime:
  1198. description: 更新时间
  1199. type: string
  1200. wrstandardcode:
  1201. description: 现货品种代码
  1202. type: string
  1203. wrstandardid:
  1204. description: 现货商品ID
  1205. type: integer
  1206. wrstandardname:
  1207. description: 现货品种
  1208. type: string
  1209. type: object
  1210. ermcp.HisExposureRsp:
  1211. properties:
  1212. data:
  1213. description: 历史敞口
  1214. items:
  1215. $ref: '#/definitions/models.ErmcpHisExposure'
  1216. type: array
  1217. enumdicname:
  1218. description: 单位名称
  1219. type: string
  1220. middlegoodscode:
  1221. description: 套保品种代码
  1222. type: string
  1223. middlegoodsid:
  1224. description: 套保品种ID
  1225. type: integer
  1226. middlegoodsname:
  1227. description: 套保品种名称
  1228. type: string
  1229. type: object
  1230. ermcp.PendingAuditCntRsp:
  1231. properties:
  1232. areastockqty:
  1233. description: '待审核数量: 库存申请'
  1234. type: integer
  1235. businessdjqty:
  1236. description: '待审核数量: 点价'
  1237. type: integer
  1238. businessfpqty:
  1239. description: '待审核数量: 发票'
  1240. type: integer
  1241. businessjsqty:
  1242. description: '待审核数量: 结算'
  1243. type: integer
  1244. businesskxqty:
  1245. description: '待审核数量: 款项'
  1246. type: integer
  1247. hedgeplanqty:
  1248. description: '待审核数量: 套保计划'
  1249. type: integer
  1250. spotcontractqty:
  1251. description: '待审核数量: 现货合同'
  1252. type: integer
  1253. userqty:
  1254. description: '待审核数量: 用户'
  1255. type: integer
  1256. type: object
  1257. ermcp.QryAvalidGPRsp:
  1258. properties:
  1259. goodsgroupid:
  1260. description: 期货品种id
  1261. type: integer
  1262. goodsgroupname:
  1263. description: 期货品种名称
  1264. type: string
  1265. goodunitid:
  1266. description: 品种单位id
  1267. type: integer
  1268. goodunitname:
  1269. description: 品种单位名称
  1270. type: string
  1271. outergroupcode:
  1272. description: 期货品种代码
  1273. type: string
  1274. type: object
  1275. ermcp.QryBusinessDjRsp:
  1276. properties:
  1277. amount:
  1278. description: 点价金额=(点价价格+升贴水)*点价数量
  1279. type: number
  1280. applyid:
  1281. description: 申请人
  1282. type: string
  1283. applyname:
  1284. description: 申请人名称
  1285. type: string
  1286. applystatus:
  1287. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1288. type: integer
  1289. applytime:
  1290. description: 申请时间
  1291. type: string
  1292. attachurl:
  1293. description: 附件
  1294. type: string
  1295. auditid:
  1296. description: 审核人ID
  1297. type: string
  1298. auditname:
  1299. description: 审核人名称
  1300. type: string
  1301. auditremark:
  1302. description: 审核备注
  1303. type: string
  1304. audittime:
  1305. description: 审核时间
  1306. type: string
  1307. buyusername:
  1308. description: 采购方名称
  1309. type: string
  1310. contractno:
  1311. description: 合同编号
  1312. type: string
  1313. contractstatus:
  1314. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1315. type: integer
  1316. contracttype:
  1317. description: 现货合同类型 - 1:采购 -1:销售
  1318. type: integer
  1319. deliverygoodscode:
  1320. description: 现货品种代码
  1321. type: string
  1322. deliverygoodsid:
  1323. description: 现货商品ID
  1324. type: integer
  1325. deliverygoodsname:
  1326. description: 现货品种名称
  1327. type: string
  1328. enumdicname:
  1329. description: 单位名称
  1330. type: string
  1331. goodscode:
  1332. description: 点价合约
  1333. type: string
  1334. goodsname:
  1335. description: 商品名称
  1336. type: string
  1337. operateapplyid:
  1338. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1339. type: string
  1340. operateapplytype:
  1341. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1342. type: integer
  1343. pricedPrice:
  1344. description: 点价价格(非必填)
  1345. type: number
  1346. pricedQty:
  1347. description: 点价数量(非必填)
  1348. type: number
  1349. pricemove:
  1350. description: 升贴水
  1351. type: number
  1352. pricetype:
  1353. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1354. type: integer
  1355. relatedid:
  1356. description: 现货合同ID
  1357. type: string
  1358. sellusername:
  1359. description: 销售方名字
  1360. type: string
  1361. userid:
  1362. description: 用户ID
  1363. type: integer
  1364. wrstandardcode:
  1365. description: 品类代码
  1366. type: string
  1367. wrstandardid:
  1368. description: 品类id
  1369. type: integer
  1370. wrstandardname:
  1371. description: 品类名称
  1372. type: string
  1373. type: object
  1374. ermcp.QryBussinessFpRsp:
  1375. properties:
  1376. applyid:
  1377. description: 申请人
  1378. type: string
  1379. applyname:
  1380. description: 申请人名称
  1381. type: string
  1382. applystatus:
  1383. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1384. type: integer
  1385. applytime:
  1386. description: 申请时间
  1387. type: string
  1388. attachurl:
  1389. description: 附件
  1390. type: string
  1391. auditid:
  1392. description: 审核人ID
  1393. type: string
  1394. auditname:
  1395. description: 审核人名称
  1396. type: string
  1397. auditremark:
  1398. description: 审核备注
  1399. type: string
  1400. audittime:
  1401. description: 审核时间
  1402. type: string
  1403. buyusername:
  1404. description: 采购方名称
  1405. type: string
  1406. contractno:
  1407. description: 合同编号
  1408. type: string
  1409. contractstatus:
  1410. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1411. type: integer
  1412. contracttype:
  1413. description: 现货合同类型 - 1:采购 -1:销售
  1414. type: integer
  1415. deliverygoodscode:
  1416. description: 现货品种代码
  1417. type: string
  1418. deliverygoodsid:
  1419. description: 现货商品ID
  1420. type: integer
  1421. deliverygoodsname:
  1422. description: 现货品种名称
  1423. type: string
  1424. enumdicname:
  1425. description: 单位名称
  1426. type: string
  1427. goodscode:
  1428. description: 点价合约
  1429. type: string
  1430. goodsname:
  1431. description: 商品名称
  1432. type: string
  1433. invoiceamount:
  1434. description: 已开收票金额(销售为开票,采购为收票)
  1435. type: number
  1436. operateapplyid:
  1437. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1438. type: string
  1439. operateapplytype:
  1440. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1441. type: integer
  1442. pricemove:
  1443. description: 升贴水
  1444. type: number
  1445. pricetype:
  1446. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1447. type: integer
  1448. relatedid:
  1449. description: 现货合同ID
  1450. type: string
  1451. sellusername:
  1452. description: 销售方名字
  1453. type: string
  1454. userid:
  1455. description: 用户ID
  1456. type: integer
  1457. wrstandardcode:
  1458. description: 品类代码
  1459. type: string
  1460. wrstandardid:
  1461. description: 品类id
  1462. type: integer
  1463. wrstandardname:
  1464. description: 品类名称
  1465. type: string
  1466. type: object
  1467. ermcp.QryBussinessJsExRsp:
  1468. properties:
  1469. applyid:
  1470. description: 申请人
  1471. type: string
  1472. applyname:
  1473. description: 申请人名称
  1474. type: string
  1475. applystatus:
  1476. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1477. type: integer
  1478. applytime:
  1479. description: 申请时间
  1480. type: string
  1481. attachurl:
  1482. description: 附件
  1483. type: string
  1484. auditid:
  1485. description: 审核人ID
  1486. type: string
  1487. auditname:
  1488. description: 审核人名称
  1489. type: string
  1490. auditremark:
  1491. description: 审核备注
  1492. type: string
  1493. audittime:
  1494. description: 审核时间
  1495. type: string
  1496. buyusername:
  1497. description: 采购方名称
  1498. type: string
  1499. contractno:
  1500. description: 合同编号
  1501. type: string
  1502. contractstatus:
  1503. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1504. type: integer
  1505. contracttype:
  1506. description: 现货合同类型 - 1:采购 -1:销售
  1507. type: integer
  1508. deliverygoodscode:
  1509. description: 现货品种代码
  1510. type: string
  1511. deliverygoodsid:
  1512. description: 现货商品ID
  1513. type: integer
  1514. deliverygoodsname:
  1515. description: 现货品种名称
  1516. type: string
  1517. enumdicname:
  1518. description: 单位名称
  1519. type: string
  1520. goodscode:
  1521. description: 点价合约
  1522. type: string
  1523. goodsname:
  1524. description: 商品名称
  1525. type: string
  1526. operateapplyid:
  1527. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1528. type: string
  1529. operateapplytype:
  1530. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1531. type: integer
  1532. pricemove:
  1533. description: 升贴水
  1534. type: number
  1535. pricetype:
  1536. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1537. type: integer
  1538. reckontype:
  1539. description: 结算类型
  1540. type: string
  1541. reckonvalue:
  1542. description: 值
  1543. type: number
  1544. relatedid:
  1545. description: 现货合同ID
  1546. type: string
  1547. sellusername:
  1548. description: 销售方名字
  1549. type: string
  1550. userid:
  1551. description: 用户ID
  1552. type: integer
  1553. wrstandardcode:
  1554. description: 品类代码
  1555. type: string
  1556. wrstandardid:
  1557. description: 品类id
  1558. type: integer
  1559. wrstandardname:
  1560. description: 品类名称
  1561. type: string
  1562. type: object
  1563. ermcp.QryBussinessJsRsp:
  1564. properties:
  1565. addmargin:
  1566. description: 追加保证金(非必填)
  1567. type: number
  1568. applyid:
  1569. description: 申请人
  1570. type: string
  1571. applyname:
  1572. description: 申请人名称
  1573. type: string
  1574. applystatus:
  1575. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1576. type: integer
  1577. applytime:
  1578. description: 申请时间
  1579. type: string
  1580. attachurl:
  1581. description: 附件
  1582. type: string
  1583. auditid:
  1584. description: 审核人ID
  1585. type: string
  1586. auditname:
  1587. description: 审核人名称
  1588. type: string
  1589. auditremark:
  1590. description: 审核备注
  1591. type: string
  1592. audittime:
  1593. description: 审核时间
  1594. type: string
  1595. buyusername:
  1596. description: 采购方名称
  1597. type: string
  1598. contractno:
  1599. description: 合同编号
  1600. type: string
  1601. contractstatus:
  1602. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1603. type: integer
  1604. contracttype:
  1605. description: 现货合同类型 - 1:采购 -1:销售
  1606. type: integer
  1607. decmargin:
  1608. description: 减少保证金(非必填)
  1609. type: number
  1610. deliverygoodscode:
  1611. description: 现货品种代码
  1612. type: string
  1613. deliverygoodsid:
  1614. description: 现货商品ID
  1615. type: integer
  1616. deliverygoodsname:
  1617. description: 现货品种名称
  1618. type: string
  1619. enumdicname:
  1620. description: 单位名称
  1621. type: string
  1622. goodscode:
  1623. description: 点价合约
  1624. type: string
  1625. goodsname:
  1626. description: 商品名称
  1627. type: string
  1628. operateapplyid:
  1629. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1630. type: string
  1631. operateapplytype:
  1632. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1633. type: integer
  1634. pricemove:
  1635. description: 升贴水
  1636. type: number
  1637. pricetype:
  1638. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1639. type: integer
  1640. reckonadjustamount:
  1641. description: 结算调整金额(非必填)
  1642. type: number
  1643. reckonosamount:
  1644. description: 结算溢短金额(非必填)
  1645. type: number
  1646. reckonotheramount:
  1647. description: 结算其他费用(非必填)
  1648. type: number
  1649. reckonrealqty:
  1650. description: 结算实际数量(非必填)
  1651. type: number
  1652. relatedid:
  1653. description: 现货合同ID
  1654. type: string
  1655. sellusername:
  1656. description: 销售方名字
  1657. type: string
  1658. userid:
  1659. description: 用户ID
  1660. type: integer
  1661. wrstandardcode:
  1662. description: 品类代码
  1663. type: string
  1664. wrstandardid:
  1665. description: 品类id
  1666. type: integer
  1667. wrstandardname:
  1668. description: 品类名称
  1669. type: string
  1670. type: object
  1671. ermcp.QryBussinessKxRsp:
  1672. properties:
  1673. applyid:
  1674. description: 申请人
  1675. type: string
  1676. applyname:
  1677. description: 申请人名称
  1678. type: string
  1679. applystatus:
  1680. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1681. type: integer
  1682. applytime:
  1683. description: 申请时间
  1684. type: string
  1685. attachurl:
  1686. description: 附件
  1687. type: string
  1688. auditid:
  1689. description: 审核人ID
  1690. type: string
  1691. auditname:
  1692. description: 审核人名称
  1693. type: string
  1694. auditremark:
  1695. description: 审核备注
  1696. type: string
  1697. audittime:
  1698. description: 审核时间
  1699. type: string
  1700. buyusername:
  1701. description: 采购方名称
  1702. type: string
  1703. contractno:
  1704. description: 合同编号
  1705. type: string
  1706. contractstatus:
  1707. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1708. type: integer
  1709. contracttype:
  1710. description: 现货合同类型 - 1:采购 -1:销售
  1711. type: integer
  1712. deductamount:
  1713. description: 退款(非必填)
  1714. type: number
  1715. deliverygoodscode:
  1716. description: 现货品种代码
  1717. type: string
  1718. deliverygoodsid:
  1719. description: 现货商品ID
  1720. type: integer
  1721. deliverygoodsname:
  1722. description: 现货品种名称
  1723. type: string
  1724. enumdicname:
  1725. description: 单位名称
  1726. type: string
  1727. goodscode:
  1728. description: 点价合约
  1729. type: string
  1730. goodsname:
  1731. description: 商品名称
  1732. type: string
  1733. kxtype:
  1734. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1735. type: integer
  1736. operateapplyid:
  1737. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1738. type: string
  1739. operateapplytype:
  1740. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1741. type: integer
  1742. payamount:
  1743. description: 收付款(非必填)
  1744. type: number
  1745. pricemove:
  1746. description: 升贴水
  1747. type: number
  1748. pricetype:
  1749. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1750. type: integer
  1751. relatedid:
  1752. description: 现货合同ID
  1753. type: string
  1754. sellusername:
  1755. description: 销售方名字
  1756. type: string
  1757. userid:
  1758. description: 用户ID
  1759. type: integer
  1760. wrstandardcode:
  1761. description: 品类代码
  1762. type: string
  1763. wrstandardid:
  1764. description: 品类id
  1765. type: integer
  1766. wrstandardname:
  1767. description: 品类名称
  1768. type: string
  1769. type: object
  1770. ermcp.QryGGCovertCfgRsp:
  1771. properties:
  1772. convertratio:
  1773. description: 折算系数
  1774. type: number
  1775. destgoodsgroupid:
  1776. description: 目标品种ID
  1777. type: integer
  1778. dstcode:
  1779. description: 目录品种代码
  1780. type: string
  1781. dstexchangecode:
  1782. description: 目标期货交易所
  1783. type: string
  1784. dstname:
  1785. description: 目标品种名称
  1786. type: string
  1787. dstunitid:
  1788. description: 目标品种单位ID
  1789. type: integer
  1790. dstunitidname:
  1791. description: 目标品种单位名称
  1792. type: string
  1793. modifytime:
  1794. description: 修改时间
  1795. type: string
  1796. srccode:
  1797. description: 源品种代码
  1798. type: string
  1799. srcexchangecode:
  1800. description: 源期货交易所
  1801. type: string
  1802. srcgoodsgroupid:
  1803. description: 源品种ID
  1804. type: integer
  1805. srcname:
  1806. description: 源品种名称
  1807. type: string
  1808. srcunitid:
  1809. description: 源品种单位ID
  1810. type: integer
  1811. srcunitidname:
  1812. description: 源品种单位名称
  1813. type: string
  1814. type: object
  1815. ermcp.QryMGChangeLogRsp:
  1816. properties:
  1817. aftervalue:
  1818. description: 变更后
  1819. type: number
  1820. applyid:
  1821. description: 操作人
  1822. type: integer
  1823. applyname:
  1824. description: 操作人名称
  1825. type: string
  1826. applysrc:
  1827. description: 操作来源 - 1:管理端 2:终端
  1828. type: integer
  1829. beforevalue:
  1830. description: 变更前
  1831. type: number
  1832. changelogtype:
  1833. description: 变更流水类型 - 1:套保比率变更
  1834. type: integer
  1835. handlestatus:
  1836. description: 处理状态
  1837. type: integer
  1838. logdatetime:
  1839. description: 流水日期
  1840. type: string
  1841. logid:
  1842. description: 流水ID
  1843. type: integer
  1844. logremark:
  1845. description: 流水备注
  1846. type: string
  1847. middlegoodsid:
  1848. description: 套保品种ID
  1849. type: integer
  1850. tradedate:
  1851. description: 交易日(yyyyMMdd)
  1852. type: string
  1853. updatetime:
  1854. description: 更新时间
  1855. type: string
  1856. type: object
  1857. ermcp.QryMiddleGoodsDetailRsp:
  1858. properties:
  1859. cvList:
  1860. description: 期货品种折算列表
  1861. items:
  1862. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1863. type: array
  1864. mg:
  1865. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1866. description: 套保品种基本信息
  1867. wrcList:
  1868. description: 现货品种列表(现货商品折算配置)
  1869. items:
  1870. $ref: '#/definitions/models.WRSConverTDetail'
  1871. type: array
  1872. type: object
  1873. ermcp.QryMiddleGoodsRsp:
  1874. properties:
  1875. areauserid:
  1876. description: 机构用户ID
  1877. type: integer
  1878. createtime:
  1879. description: 修改时间
  1880. type: string
  1881. enumdicname:
  1882. description: 单位名称
  1883. type: string
  1884. evaluateratio:
  1885. description: 估价系数
  1886. type: number
  1887. goodsgroupid:
  1888. description: 关联期货品种ID
  1889. type: integer
  1890. goodsunitid:
  1891. description: 单位ID
  1892. type: integer
  1893. isvalid:
  1894. description: 状态 0-无效(停用) 1-有效(正常)
  1895. type: integer
  1896. middlegoodscode:
  1897. description: 套保品种代码
  1898. type: string
  1899. middlegoodsid:
  1900. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1901. type: integer
  1902. middlegoodsname:
  1903. description: 套保品种名称
  1904. type: string
  1905. modifytime:
  1906. description: 修改时间
  1907. type: string
  1908. needarbitrageratio:
  1909. description: 套利比例
  1910. type: number
  1911. needhedgeratio:
  1912. description: 套保比率
  1913. type: number
  1914. qtydecimalplace:
  1915. description: 数量小数位
  1916. type: integer
  1917. relatedgoodsid:
  1918. description: 关联交易商品ID
  1919. type: integer
  1920. relatedgoodstype:
  1921. description: 关联商品类型 - 1:期货合约 2:现货品种
  1922. type: integer
  1923. remark:
  1924. description: 备注
  1925. type: string
  1926. type: object
  1927. ermcp.QryOPLogRsp:
  1928. properties:
  1929. aftervalue:
  1930. description: 变更后
  1931. type: number
  1932. applyid:
  1933. description: 操作人ID
  1934. type: string
  1935. applyname:
  1936. description: 操作人名称
  1937. type: string
  1938. beforevalue:
  1939. description: 变更前
  1940. type: number
  1941. biztype:
  1942. description: 业务类型 - 1:套保计划 2:现货合同
  1943. type: integer
  1944. contracttype:
  1945. description: 现货合同类型 - 1:采购 -1:销售
  1946. type: integer
  1947. logvalue:
  1948. description: 数值
  1949. type: number
  1950. operatelogtype:
  1951. description: 操作流水类型
  1952. type: integer
  1953. operatelogtypedesc:
  1954. description: 操作流水类型名称
  1955. type: string
  1956. relatedid:
  1957. description: 现货合同ID\套保计划
  1958. type: string
  1959. updatetime:
  1960. description: 更新时间
  1961. type: string
  1962. type: object
  1963. ermcp.QryUserInfoRsp:
  1964. properties:
  1965. address:
  1966. description: 通讯地址
  1967. type: string
  1968. attachment1:
  1969. description: 附件1
  1970. type: string
  1971. audittime:
  1972. description: 审核时间
  1973. type: string
  1974. cardbackphotourl:
  1975. description: 证件反面图片地址
  1976. type: string
  1977. cardfrontphotourl:
  1978. description: 证件正面图片地址
  1979. type: string
  1980. cardnum:
  1981. description: 证件号码
  1982. type: string
  1983. cardtype:
  1984. description: 证件类型
  1985. type: integer
  1986. cardtypename:
  1987. description: 证件类型名称
  1988. type: string
  1989. cityid:
  1990. description: 市
  1991. type: integer
  1992. contactname:
  1993. description: 联系人
  1994. type: string
  1995. countryid:
  1996. description: 国家
  1997. type: integer
  1998. createtime:
  1999. description: 创建时间
  2000. type: string
  2001. customername:
  2002. description: 企业名称
  2003. type: string
  2004. districtid:
  2005. description: 区域
  2006. type: integer
  2007. email:
  2008. description: 邮件
  2009. type: string
  2010. legalpersonname:
  2011. description: 法人姓名(企业)
  2012. type: string
  2013. memberuserid:
  2014. description: 所属机构ID
  2015. type: integer
  2016. mobile:
  2017. description: 手机号码
  2018. type: string
  2019. modifytime:
  2020. description: 修改时间
  2021. type: string
  2022. nickname:
  2023. description: 昵称
  2024. type: string
  2025. provinceid:
  2026. description: 省
  2027. type: integer
  2028. remark:
  2029. description: 备注
  2030. type: string
  2031. status:
  2032. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2033. type: integer
  2034. statusdesc:
  2035. description: 账户状态中文描述
  2036. type: string
  2037. taxpayernum:
  2038. description: 纳税人识别号
  2039. type: string
  2040. telphone:
  2041. description: 联系电话
  2042. type: string
  2043. userid:
  2044. description: 用户ID
  2045. type: integer
  2046. userinfotype:
  2047. description: 客户类型
  2048. type: string
  2049. type: object
  2050. ermcp.QryWarehouseRsp:
  2051. properties:
  2052. address:
  2053. description: 详细地址
  2054. type: string
  2055. areauserid:
  2056. description: 所属机构
  2057. type: integer
  2058. autoid:
  2059. description: 自增ID(仓库ID)
  2060. type: integer
  2061. cityid:
  2062. description: 市
  2063. type: integer
  2064. contactname:
  2065. description: 联系人
  2066. type: string
  2067. contactnum:
  2068. description: 联系电话
  2069. type: string
  2070. countryid:
  2071. description: 国家
  2072. type: integer
  2073. createtime:
  2074. description: 创建时间
  2075. type: string
  2076. districtid:
  2077. description: 区
  2078. type: integer
  2079. hasvideo:
  2080. description: 是否有视频 - 0:无 1:有
  2081. type: integer
  2082. provinceid:
  2083. description: 省
  2084. type: integer
  2085. remark:
  2086. description: 审核备注
  2087. type: string
  2088. videourl:
  2089. description: 视频地址
  2090. type: string
  2091. warehousecode:
  2092. description: 仓库代码
  2093. type: string
  2094. warehousename:
  2095. description: 仓库名称
  2096. type: string
  2097. warehousestatus:
  2098. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2099. type: integer
  2100. warehousetype:
  2101. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2102. type: integer
  2103. type: object
  2104. ermcp.QueryErmcpTradePositionRsp:
  2105. properties:
  2106. agreeunit:
  2107. description: 合约单位
  2108. type: number
  2109. buyorsell:
  2110. description: 方向 - 0:买 1:卖
  2111. type: integer
  2112. curpositionqty:
  2113. description: 持仓(总仓数量, 期末头寸)
  2114. type: integer
  2115. curtdposition:
  2116. description: 今仓数量(期末今日头寸)
  2117. type: integer
  2118. curtdpositionenabled:
  2119. description: 今仓可用
  2120. type: integer
  2121. decimalplace:
  2122. description: 报价小数位
  2123. type: integer
  2124. enableqty:
  2125. description: 可用(总仓可用)
  2126. type: integer
  2127. exexchangename:
  2128. description: 外部交易所名称
  2129. type: string
  2130. exexehangecode:
  2131. description: 外部交易所代码
  2132. type: string
  2133. exexehangeid:
  2134. description: 外部交易所id
  2135. type: integer
  2136. goodscode:
  2137. description: 商品代码(内部)
  2138. type: string
  2139. goodsid:
  2140. description: 商品ID(自增ID SEQ_GOODS)
  2141. type: integer
  2142. goodsname:
  2143. description: 商品名称
  2144. type: string
  2145. last:
  2146. description: 现价
  2147. type: number
  2148. marketid:
  2149. description: 所属市场ID
  2150. type: integer
  2151. openaverageprice:
  2152. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2153. type: number
  2154. opencost:
  2155. description: 开仓成本
  2156. type: number
  2157. openpl:
  2158. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  2159. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2160. type: number
  2161. outgoodscode:
  2162. description: 商品代码(外部)
  2163. type: string
  2164. positionaverageprice:
  2165. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2166. type: number
  2167. positioncost:
  2168. description: 持仓成本
  2169. type: number
  2170. positionpl:
  2171. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  2172. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2173. type: number
  2174. positionplrate:
  2175. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2176. type: number
  2177. usedmargin:
  2178. description: 占用保证金
  2179. type: number
  2180. type: object
  2181. ermcp.RealtimeExposurePositionRsp:
  2182. properties:
  2183. agreeunit:
  2184. description: 合约单位
  2185. type: string
  2186. areauserid:
  2187. description: 所属机构id
  2188. type: integer
  2189. convertratio:
  2190. description: 期货品种系数(折算系数)
  2191. type: number
  2192. curqty:
  2193. description: 当前持仓
  2194. type: integer
  2195. diffhedgeqty:
  2196. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2197. type: number
  2198. diffqty:
  2199. description: 持仓变动量=当前持仓-昨日持仓
  2200. type: integer
  2201. goodscode:
  2202. description: 商品代码
  2203. type: string
  2204. goodsid:
  2205. description: 商品id
  2206. type: integer
  2207. goodsname:
  2208. description: 商品名称
  2209. type: string
  2210. middlegoodsid:
  2211. description: 套保商品id
  2212. type: integer
  2213. ydqty:
  2214. description: 昨日持仓
  2215. type: integer
  2216. type: object
  2217. ermcp.RealtimeExposureRsp:
  2218. properties:
  2219. AreaUserID:
  2220. description: 所属机构
  2221. type: integer
  2222. BuyFutureQty:
  2223. description: 买入期货数量
  2224. type: number
  2225. BuyPlanQty:
  2226. description: 采购计划数量
  2227. type: number
  2228. BuyPricedQty:
  2229. description: 采购合同已定价数量
  2230. type: number
  2231. MiddleGoodsCode:
  2232. description: 套保品种代码
  2233. type: string
  2234. MiddleGoodsHedgeRatio:
  2235. description: 套保比例
  2236. type: number
  2237. MiddleGoodsID:
  2238. description: 套保品种
  2239. type: integer
  2240. MiddleGoodsName:
  2241. description: 套保品种名称
  2242. type: string
  2243. NeedHedgeExposoure:
  2244. description: 应套保敞口(套保敞口)
  2245. type: number
  2246. NeedHedgeRatio:
  2247. description: 应套保敞口比例
  2248. type: number
  2249. OriBuyFutureQty:
  2250. description: 期初买入期货数量
  2251. type: number
  2252. OriBuyPlanQty:
  2253. description: 期初采购计划数量
  2254. type: number
  2255. OriBuyPricedQty:
  2256. description: 期初采购合同已定价数量
  2257. type: number
  2258. OriSellFutureQty:
  2259. description: 期初卖出期货数量
  2260. type: number
  2261. OriSellPlanQty:
  2262. description: 期初销售计划数量
  2263. type: number
  2264. OriSellPricedQty:
  2265. description: 期初销售合同已定价数量
  2266. type: number
  2267. OriTotalSpotQty:
  2268. description: 期初现货总量
  2269. type: number
  2270. SellFutureQty:
  2271. description: 卖出期货数量
  2272. type: number
  2273. SellPlanQty:
  2274. description: 销售计划数量
  2275. type: number
  2276. SellPricedQty:
  2277. description: 销售合同已定价数量
  2278. type: number
  2279. TotalExposure:
  2280. description: 总敞口 平安:净敞口
  2281. type: number
  2282. TotalFutureQty:
  2283. description: 期货总量 平安:保值净持仓量
  2284. type: number
  2285. TotalHedgeRatio:
  2286. description: 敞口比例
  2287. type: number
  2288. TotalNeedHedgeQty:
  2289. description: 应套保总量(现货应套保总量)
  2290. type: number
  2291. TotalSpotQty:
  2292. description: 现货总量 平安:采销定价净值
  2293. type: number
  2294. arbitrageqty:
  2295. description: 套利量
  2296. type: number
  2297. diffArbitrageQty:
  2298. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2299. type: number
  2300. diffExposoureQty:
  2301. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2302. type: number
  2303. diffFutuQty:
  2304. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2305. type: number
  2306. diffHedgeQty:
  2307. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2308. type: number
  2309. diffQty:
  2310. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2311. type: number
  2312. diffSpotHedgeQty:
  2313. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2314. type: number
  2315. diffSpotQty:
  2316. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2317. type: number
  2318. enumdicname:
  2319. description: 单位名称
  2320. type: string
  2321. hedgeqty:
  2322. description: 套保量
  2323. type: number
  2324. needarbitrageqty:
  2325. description: 应套利量
  2326. type: number
  2327. needarbitrageratio:
  2328. description: 套利比例
  2329. type: number
  2330. needhedgeqty:
  2331. description: 应套保量
  2332. type: number
  2333. oriarbitrageqty:
  2334. description: 期初套利量
  2335. type: number
  2336. orihedgeqty:
  2337. description: 期初套保量
  2338. type: number
  2339. orineedhedgeexposoure:
  2340. description: 期初套保敞口
  2341. type: number
  2342. oritotalexposure:
  2343. description: 期初总敞口
  2344. type: number
  2345. oritotalfutureqty:
  2346. description: 期初期货总量
  2347. type: number
  2348. oritotalneedhedgeqty:
  2349. description: 期初现货应套保量
  2350. type: number
  2351. type: object
  2352. erms2.QueryArbitrageStrategyRsp:
  2353. properties:
  2354. applybasis:
  2355. description: 申请基差
  2356. type: number
  2357. asapplyid:
  2358. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2359. type: string
  2360. asname:
  2361. description: 策略名称
  2362. type: string
  2363. asno:
  2364. description: 策略编号
  2365. type: string
  2366. basischangepl:
  2367. description: 基差变动损益[结算更新]
  2368. type: number
  2369. biztype:
  2370. description: 业务类型 - 1:正向套利 -1:反向套利
  2371. type: integer
  2372. closetradedate:
  2373. description: 完结交易日(yyyyMMdd)
  2374. type: string
  2375. curbasis:
  2376. description: 当前基差[结算更新]
  2377. type: number
  2378. deliverygoodsid:
  2379. description: 现货品种ID
  2380. type: integer
  2381. futureavgprice:
  2382. description: 期货建仓均价
  2383. type: number
  2384. futurecloseamount:
  2385. description: 期货平仓金额
  2386. type: number
  2387. futurecloseqty:
  2388. description: 期货平仓数量
  2389. type: number
  2390. futureopenamount:
  2391. description: 期货开仓金额
  2392. type: number
  2393. futureopenqty:
  2394. description: 期货开仓数量
  2395. type: number
  2396. futurepl:
  2397. description: 期货总盈亏[结算更新]
  2398. type: number
  2399. futureqty:
  2400. description: 期货持仓数量
  2401. type: number
  2402. futurequote:
  2403. description: 期货额度
  2404. type: number
  2405. goodsgroupid:
  2406. description: 期货品种ID
  2407. type: integer
  2408. marketid:
  2409. description: 市场ID
  2410. type: integer
  2411. netexposure:
  2412. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2413. type: number
  2414. netexposurepl:
  2415. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2416. type: number
  2417. netexposurerate:
  2418. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2419. type: number
  2420. openbasis:
  2421. description: 建仓基差
  2422. type: number
  2423. pricedspotqty:
  2424. description: 已定价现货数量
  2425. type: number
  2426. pricedspotqtynotax:
  2427. description: 已定价现货不含税数量
  2428. type: number
  2429. remark:
  2430. description: 备注
  2431. type: string
  2432. spotavgprice:
  2433. description: 现货均价
  2434. type: number
  2435. spotbuyamount:
  2436. description: 现货采购金额
  2437. type: number
  2438. spotbuyqty:
  2439. description: 现货采购数量
  2440. type: number
  2441. spotpl:
  2442. description: 现货总盈亏[结算更新]
  2443. type: number
  2444. spotquota:
  2445. description: 现货额度
  2446. type: number
  2447. spotsellamount:
  2448. description: 现货销售金额
  2449. type: number
  2450. spotsellqty:
  2451. description: 现货销售数量
  2452. type: number
  2453. spotusedquota:
  2454. description: 现货占用资金
  2455. type: number
  2456. strategystatus:
  2457. description: 策略状态 - 0:未结束 1:已结束
  2458. type: integer
  2459. totalpl:
  2460. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2461. type: number
  2462. tradedate:
  2463. description: 交易日(yyyyMMdd)
  2464. type: string
  2465. updatetime:
  2466. description: 更新时间
  2467. type: string
  2468. usedquota:
  2469. description: 已占用资金
  2470. type: number
  2471. userid:
  2472. description: 所属机构
  2473. type: integer
  2474. required:
  2475. - asapplyid
  2476. type: object
  2477. erms2.QueryInnerTradeDetailRsp:
  2478. properties:
  2479. accountid:
  2480. description: 账号ID
  2481. type: integer
  2482. agreeunit:
  2483. description: 合约单位
  2484. type: number
  2485. asapplyid:
  2486. description: 策略申请ID
  2487. type: integer
  2488. asname:
  2489. description: 策略名称
  2490. type: string
  2491. asno:
  2492. description: 策略编号
  2493. type: string
  2494. buyorsell:
  2495. description: 方向 - 0:买 1:卖
  2496. type: integer
  2497. channelbuildtype:
  2498. description: 委托单据类型 0:无 1:建仓 2:平仓
  2499. type: integer
  2500. closetype:
  2501. description: 平仓方式 - 0:无 1:平今 2:平昨
  2502. type: integer
  2503. decimalplace:
  2504. description: 报价小数位
  2505. type: integer
  2506. detailtype:
  2507. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2508. type: integer
  2509. exexchangecode:
  2510. description: 外部交易所代码
  2511. type: string
  2512. exexchangename:
  2513. description: 外部交易所名称
  2514. type: string
  2515. goodscode:
  2516. description: 商品代码(合约)
  2517. type: string
  2518. goodsgroupid:
  2519. description: 商品组ID(品种ID)
  2520. type: integer
  2521. goodsgroupname:
  2522. description: 商品组名称(品种)
  2523. type: string
  2524. goodsid:
  2525. description: 商品ID
  2526. type: integer
  2527. goodsname:
  2528. description: 商品名称(合约)
  2529. type: string
  2530. goodunit:
  2531. description: 报价单位
  2532. type: string
  2533. marketid:
  2534. description: 市场ID
  2535. type: integer
  2536. orderid:
  2537. description: 委托单号
  2538. type: string
  2539. outgoodscode:
  2540. description: 商品代码(外部)
  2541. type: string
  2542. relatedouttradeid:
  2543. description: 关联外部成交单ID
  2544. type: string
  2545. remark:
  2546. description: 备注
  2547. type: string
  2548. spotcontractid:
  2549. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2550. type: integer
  2551. spotcontractno:
  2552. description: 现货合同编号
  2553. type: string
  2554. tradeid:
  2555. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2556. type: string
  2557. tradeprice:
  2558. description: 成交价格
  2559. type: number
  2560. tradeqty:
  2561. description: 成交数量
  2562. type: integer
  2563. tradetime:
  2564. description: 成交时间
  2565. type: string
  2566. updatetime:
  2567. description: 更新时间
  2568. type: string
  2569. required:
  2570. - asapplyid
  2571. - buyorsell
  2572. - goodscode
  2573. - goodsgroupid
  2574. - goodsgroupname
  2575. - goodsname
  2576. - tradeid
  2577. type: object
  2578. erms2.QuerySpotContractRsp:
  2579. properties:
  2580. accountid:
  2581. description: 资金账户ID
  2582. type: integer
  2583. areauserid:
  2584. description: 所属机构
  2585. type: integer
  2586. closedate:
  2587. description: 终止日期
  2588. type: string
  2589. closeremark:
  2590. description: 结束备注
  2591. type: string
  2592. closetradedate:
  2593. description: 完结交易日(yyyyMMdd)
  2594. type: string
  2595. closetype:
  2596. description: 终止类型 - 1:违约 2:提前终止
  2597. type: integer
  2598. contractamount:
  2599. description: 合同金额
  2600. type: number
  2601. contractattachment:
  2602. description: 合同附件
  2603. type: string
  2604. contractno:
  2605. description: 现货合同编号
  2606. type: string
  2607. contractqty:
  2608. description: 合同数量(数值) (用于计算)
  2609. type: number
  2610. contractqtychar:
  2611. description: 合同数量\已订价数量 (用于显示)
  2612. type: string
  2613. contractstatus:
  2614. description: 合同状态 - 0:未结束 1:已结束
  2615. type: integer
  2616. contracttype:
  2617. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2618. type: integer
  2619. customeraccountid:
  2620. description: 客户资金账户ID
  2621. type: integer
  2622. customeruserid:
  2623. description: 客户ID
  2624. type: integer
  2625. deliverygoodsdesc:
  2626. description: 品种说明
  2627. type: string
  2628. deliverygoodsid:
  2629. description: 现货品种ID
  2630. type: integer
  2631. handlestatus:
  2632. description: 处理状态
  2633. type: integer
  2634. invoiceatt:
  2635. description: 发票附件
  2636. type: string
  2637. invoicedatetime:
  2638. description: 开收票更新时间
  2639. type: string
  2640. invoiceopentime:
  2641. description: 开票时间
  2642. type: string
  2643. invoiceremark:
  2644. description: 发票备注
  2645. type: string
  2646. invoicestatus:
  2647. description: 开收票状态 - 0:未开票 1:已开票
  2648. type: integer
  2649. lastdate:
  2650. description: 交货时间
  2651. type: string
  2652. marketid:
  2653. description: 市场ID
  2654. type: integer
  2655. paydatetime:
  2656. description: 收付款更新时间
  2657. type: string
  2658. payremark:
  2659. description: 收付款备注
  2660. type: string
  2661. paystatus:
  2662. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2663. type: integer
  2664. positionqty:
  2665. description: 头寸数量 - 合同数量去小数部分
  2666. type: integer
  2667. producttype:
  2668. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2669. type: integer
  2670. relatedqty:
  2671. description: 已关联数量
  2672. type: number
  2673. relatedstatus:
  2674. description: 关联完结状态 - 0:未结束 1:已结束
  2675. type: integer
  2676. remark:
  2677. description: 备注
  2678. type: string
  2679. signdate:
  2680. description: 签订日期
  2681. type: string
  2682. spotcontractid:
  2683. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2684. type: string
  2685. spotdatetime:
  2686. description: 收发货更新时间
  2687. type: string
  2688. spotprice:
  2689. description: 价格
  2690. type: number
  2691. spotremark:
  2692. description: 收发货备注
  2693. type: string
  2694. spotstatus:
  2695. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2696. type: integer
  2697. tradedate:
  2698. description: 交易日(yyyyMMdd)
  2699. type: string
  2700. userid:
  2701. description: 业务员用户ID
  2702. type: integer
  2703. warehouseid:
  2704. description: 仓库ID
  2705. type: integer
  2706. wrfactortypeid:
  2707. description: 仓单要素类型ID
  2708. type: integer
  2709. wrstandardid:
  2710. description: 仓单标准ID(SEQ_WRSTANDARD)
  2711. type: integer
  2712. required:
  2713. - spotcontractid
  2714. type: object
  2715. erms3.AddErms2ASApplyReq:
  2716. properties:
  2717. applybasis:
  2718. description: 申请基差
  2719. type: number
  2720. applystatus:
  2721. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2722. type: integer
  2723. asapplyid:
  2724. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2725. type: integer
  2726. asname:
  2727. description: 策略名称
  2728. type: string
  2729. asno:
  2730. description: 策略编号
  2731. type: string
  2732. auditid:
  2733. description: 审核人
  2734. type: integer
  2735. auditremark:
  2736. description: 审核备注
  2737. type: string
  2738. audittime:
  2739. description: 审核时间
  2740. type: string
  2741. biztype:
  2742. description: 业务类型 - 1:正向套利 2:反向套利
  2743. type: integer
  2744. createtime:
  2745. description: 创建时间
  2746. type: string
  2747. creatorid:
  2748. description: 创建人
  2749. type: integer
  2750. deliverygoodsid:
  2751. description: 现货品种ID
  2752. type: integer
  2753. futurequote:
  2754. description: 期货额度
  2755. type: number
  2756. goodsgroupid:
  2757. description: 期货品种ID
  2758. type: integer
  2759. marketid:
  2760. description: 市场ID
  2761. type: integer
  2762. remark:
  2763. description: 备注
  2764. type: string
  2765. spotquota:
  2766. description: 现货额度
  2767. type: number
  2768. tradedate:
  2769. description: 交易日(yyyyMMdd)
  2770. type: string
  2771. userid:
  2772. description: 所属机构
  2773. type: integer
  2774. required:
  2775. - asapplyid
  2776. type: object
  2777. erms3.AddErms2SpotTradeApplyReq:
  2778. properties:
  2779. applyjsondetail:
  2780. description: 申请明细(JSON)
  2781. type: string
  2782. applystatus:
  2783. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2784. type: integer
  2785. areauserid:
  2786. description: 所属机构
  2787. type: integer
  2788. auditid:
  2789. description: 审核人
  2790. type: integer
  2791. auditremark:
  2792. description: 审核备注
  2793. type: string
  2794. audittime:
  2795. description: 审核时间
  2796. type: string
  2797. createtime:
  2798. description: 创建时间
  2799. type: string
  2800. creatorid:
  2801. description: 创建人
  2802. type: integer
  2803. deliverygoodsid:
  2804. description: 现货品种ID
  2805. type: integer
  2806. futureaccountid:
  2807. description: 期货资金账户
  2808. type: integer
  2809. goodsgroupid:
  2810. description: 期货品种
  2811. type: integer
  2812. marketid:
  2813. description: 市场ID
  2814. type: integer
  2815. remark:
  2816. description: 备注
  2817. type: string
  2818. spotaccountid:
  2819. description: 现货资金账户
  2820. type: integer
  2821. spottradeid:
  2822. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2823. type: integer
  2824. spottradename:
  2825. description: 业务名称
  2826. type: string
  2827. spottradeno:
  2828. description: 业务编号
  2829. type: string
  2830. tradedate:
  2831. description: 交易日(yyyyMMdd)
  2832. type: string
  2833. wrstandardid:
  2834. description: 仓单标准ID
  2835. type: integer
  2836. required:
  2837. - spottradeid
  2838. type: object
  2839. erms3.AddSpotContractApplyReq:
  2840. properties:
  2841. accountid:
  2842. description: 资金账户ID
  2843. type: integer
  2844. areauserid:
  2845. description: 所属机构
  2846. type: integer
  2847. contractattachment:
  2848. description: 合同附件
  2849. type: string
  2850. contractno:
  2851. description: 现货合同编号
  2852. type: string
  2853. contracttype:
  2854. description: 现货合同类型 - 1:采购 -1:销售
  2855. type: integer
  2856. creatorid:
  2857. description: 申请人
  2858. type: integer
  2859. customeraccountid:
  2860. description: 客户资金账户ID
  2861. type: integer
  2862. customeruserid:
  2863. description: 客户ID
  2864. type: integer
  2865. details:
  2866. description: 明细
  2867. items:
  2868. $ref: '#/definitions/erms3.SoptContractDetail'
  2869. type: array
  2870. orimargin:
  2871. description: 初始保证金
  2872. type: number
  2873. remark:
  2874. description: 备注
  2875. type: string
  2876. signdate:
  2877. description: 签订日期
  2878. type: string
  2879. required:
  2880. - accountid
  2881. - areauserid
  2882. - contractno
  2883. - contracttype
  2884. - customeraccountid
  2885. - customeruserid
  2886. - details
  2887. - orimargin
  2888. - signdate
  2889. type: object
  2890. erms3.AddSpotContractApplyRsp:
  2891. properties:
  2892. contractno:
  2893. description: 现货合同编号
  2894. type: string
  2895. spotcontractid:
  2896. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2897. type: integer
  2898. required:
  2899. - contractno
  2900. type: object
  2901. erms3.AddUserInfoApplyReq:
  2902. properties:
  2903. accountid:
  2904. description: 交易系统帐号Id (加密存储)
  2905. type: integer
  2906. areacode:
  2907. description: 机构代码
  2908. type: string
  2909. areaid:
  2910. description: 机构Id
  2911. type: integer
  2912. attachment1:
  2913. description: 附件1
  2914. type: string
  2915. attachment2:
  2916. description: 附件2
  2917. type: string
  2918. attachment3:
  2919. description: 附件3
  2920. type: string
  2921. attachment4:
  2922. description: 附件4
  2923. type: string
  2924. attachment5:
  2925. description: 附件5
  2926. type: string
  2927. auditedby:
  2928. description: 审核人
  2929. type: string
  2930. auditime:
  2931. description: 审核时间
  2932. type: string
  2933. auditsrc:
  2934. description: 审核来源 - 1:管理端 2:终端
  2935. type: integer
  2936. bankaccount:
  2937. description: 银行帐号 (加密存储)
  2938. type: string
  2939. bankaccountname:
  2940. description: 收款人名称
  2941. type: string
  2942. bankcardbackphotourl:
  2943. description: 银行卡背面照地址
  2944. type: string
  2945. bankcardfrontphotourl:
  2946. description: 银行卡正面照地址
  2947. type: string
  2948. bankid:
  2949. description: 银行编码
  2950. type: string
  2951. bankname:
  2952. description: 银行名称
  2953. type: string
  2954. bankpictureurl:
  2955. description: 银行卡正面地址
  2956. type: string
  2957. biznature:
  2958. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2959. type: integer
  2960. bizscope:
  2961. description: 企业经营范围(企业)
  2962. type: string
  2963. biztype:
  2964. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2965. type: integer
  2966. brokerid:
  2967. description: 经纪人ID(加密存储)
  2968. type: string
  2969. cardaddress:
  2970. description: 证件地址 (加密存储)
  2971. type: string
  2972. cardbackphotourl:
  2973. description: 背面证件照地址
  2974. type: string
  2975. cardfrontphotourl:
  2976. description: 正面证件照地址
  2977. type: string
  2978. cardnum:
  2979. description: 证件号码 (加密存储)
  2980. type: string
  2981. cardtype:
  2982. description: 证件类型
  2983. type: integer
  2984. cityid:
  2985. description: 市
  2986. type: integer
  2987. company:
  2988. description: 公司(个人)
  2989. type: string
  2990. contactcardbackphotourl:
  2991. description: 联系人证件背面图片地址
  2992. type: string
  2993. contactcardfrontphotourl:
  2994. description: 联系人证件正面图片地址
  2995. type: string
  2996. contactname:
  2997. description: 联系人
  2998. type: string
  2999. countryid:
  3000. description: 国家
  3001. type: integer
  3002. createtime:
  3003. description: 开户申请时间
  3004. type: string
  3005. cusbankid:
  3006. description: 签约类型
  3007. type: string
  3008. cusbankname:
  3009. description: 签约类型名称
  3010. type: string
  3011. customername:
  3012. description: 客户名称(企业名称)
  3013. type: string
  3014. districtid:
  3015. description: 地区
  3016. type: integer
  3017. email:
  3018. description: Email地址(加密存储)
  3019. type: string
  3020. halfbodyphotourl:
  3021. description: 半身照地址
  3022. type: string
  3023. headurl:
  3024. description: 头像地址
  3025. type: string
  3026. ipaddress:
  3027. description: IP地址
  3028. type: string
  3029. isvalidate:
  3030. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3031. type: string
  3032. legalcardbackphotourl:
  3033. description: 法人身份证背面照地址
  3034. type: string
  3035. legalcardfrontphotourl:
  3036. description: 法人身份证正面照地址
  3037. type: string
  3038. legalpersonname:
  3039. description: 法人姓名(企业)
  3040. type: string
  3041. logincode:
  3042. description: 登录帐号 (加密存储)
  3043. type: string
  3044. memberareaid:
  3045. description: 所属会员ID
  3046. type: integer
  3047. mobile2:
  3048. description: 手机号码[明文-尚志]
  3049. type: string
  3050. mobilephone:
  3051. description: 手机号码 (加密存储)
  3052. type: string
  3053. modifiedby:
  3054. description: 修改人帐号
  3055. type: integer
  3056. modifiedtime:
  3057. description: 修改时间
  3058. type: string
  3059. nickname:
  3060. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3061. type: string
  3062. openmode:
  3063. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3064. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3065. type: integer
  3066. otherurl:
  3067. description: 其它图片地址[使用分号分隔]
  3068. type: string
  3069. postalcode:
  3070. description: 邮政编码
  3071. type: string
  3072. provinceid:
  3073. description: 省
  3074. type: integer
  3075. proxystatementurl:
  3076. description: 授权委托书
  3077. type: string
  3078. qq:
  3079. description: QQ(加密存储
  3080. type: string
  3081. referral:
  3082. description: 推荐人编码
  3083. type: string
  3084. remark:
  3085. description: 备注
  3086. type: string
  3087. removebeforestatus:
  3088. description: REMOVEBEFORESTATUS
  3089. type: integer
  3090. sex:
  3091. description: 性别 - 0:女 1:男
  3092. type: integer
  3093. signedstatus:
  3094. description: 账户一号签签约状态
  3095. type: integer
  3096. signpdfurl:
  3097. description: 签约pdf文件
  3098. type: string
  3099. subbranch:
  3100. description: 开户支行
  3101. type: string
  3102. taxpayernum:
  3103. description: 纳税人识别号
  3104. type: string
  3105. telphone:
  3106. description: 联系电话(加密存储)
  3107. type: string
  3108. userid:
  3109. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3110. type: integer
  3111. userinfotype:
  3112. description: 用户信息类型 - 1:个人 2:企业
  3113. type: integer
  3114. username:
  3115. description: 用户姓名
  3116. type: string
  3117. userstate:
  3118. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3119. type: integer
  3120. usertype:
  3121. description: 用户类型 - 1:投资者 2:机构
  3122. type: integer
  3123. videourl:
  3124. description: 视频地址
  3125. type: string
  3126. wechat:
  3127. description: 微信号 (加密存储)
  3128. type: string
  3129. required:
  3130. - userid
  3131. type: object
  3132. erms3.CustomerInfo:
  3133. properties:
  3134. accountids:
  3135. description: 资金账户ID列表
  3136. items:
  3137. type: integer
  3138. type: array
  3139. customername:
  3140. description: 名称(企业名称)
  3141. type: string
  3142. mobile:
  3143. description: 手机号码
  3144. type: string
  3145. userid:
  3146. description: 用户ID
  3147. type: integer
  3148. required:
  3149. - userid
  3150. type: object
  3151. erms3.ModifyUserInfoApplyReq:
  3152. properties:
  3153. accountid:
  3154. description: 交易系统帐号Id (加密存储)
  3155. type: integer
  3156. areacode:
  3157. description: 机构代码
  3158. type: string
  3159. areaid:
  3160. description: 机构Id
  3161. type: integer
  3162. attachment1:
  3163. description: 附件1
  3164. type: string
  3165. attachment2:
  3166. description: 附件2
  3167. type: string
  3168. attachment3:
  3169. description: 附件3
  3170. type: string
  3171. attachment4:
  3172. description: 附件4
  3173. type: string
  3174. attachment5:
  3175. description: 附件5
  3176. type: string
  3177. auditedby:
  3178. description: 审核人
  3179. type: string
  3180. auditime:
  3181. description: 审核时间
  3182. type: string
  3183. auditsrc:
  3184. description: 审核来源 - 1:管理端 2:终端
  3185. type: integer
  3186. bankaccount:
  3187. description: 银行帐号 (加密存储)
  3188. type: string
  3189. bankaccountname:
  3190. description: 收款人名称
  3191. type: string
  3192. bankcardbackphotourl:
  3193. description: 银行卡背面照地址
  3194. type: string
  3195. bankcardfrontphotourl:
  3196. description: 银行卡正面照地址
  3197. type: string
  3198. bankid:
  3199. description: 银行编码
  3200. type: string
  3201. bankname:
  3202. description: 银行名称
  3203. type: string
  3204. bankpictureurl:
  3205. description: 银行卡正面地址
  3206. type: string
  3207. biznature:
  3208. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3209. type: integer
  3210. bizscope:
  3211. description: 企业经营范围(企业)
  3212. type: string
  3213. biztype:
  3214. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3215. type: integer
  3216. brokerid:
  3217. description: 经纪人ID(加密存储)
  3218. type: string
  3219. cardaddress:
  3220. description: 证件地址 (加密存储)
  3221. type: string
  3222. cardbackphotourl:
  3223. description: 背面证件照地址
  3224. type: string
  3225. cardfrontphotourl:
  3226. description: 正面证件照地址
  3227. type: string
  3228. cardnum:
  3229. description: 证件号码 (加密存储)
  3230. type: string
  3231. cardtype:
  3232. description: 证件类型
  3233. type: integer
  3234. cityid:
  3235. description: 市
  3236. type: integer
  3237. company:
  3238. description: 公司(个人)
  3239. type: string
  3240. contactcardbackphotourl:
  3241. description: 联系人证件背面图片地址
  3242. type: string
  3243. contactcardfrontphotourl:
  3244. description: 联系人证件正面图片地址
  3245. type: string
  3246. contactname:
  3247. description: 联系人
  3248. type: string
  3249. countryid:
  3250. description: 国家
  3251. type: integer
  3252. createtime:
  3253. description: 开户申请时间
  3254. type: string
  3255. cusbankid:
  3256. description: 签约类型
  3257. type: string
  3258. cusbankname:
  3259. description: 签约类型名称
  3260. type: string
  3261. customername:
  3262. description: 客户名称(企业名称)
  3263. type: string
  3264. districtid:
  3265. description: 地区
  3266. type: integer
  3267. email:
  3268. description: Email地址(加密存储)
  3269. type: string
  3270. halfbodyphotourl:
  3271. description: 半身照地址
  3272. type: string
  3273. headurl:
  3274. description: 头像地址
  3275. type: string
  3276. ipaddress:
  3277. description: IP地址
  3278. type: string
  3279. isvalidate:
  3280. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3281. type: string
  3282. legalcardbackphotourl:
  3283. description: 法人身份证背面照地址
  3284. type: string
  3285. legalcardfrontphotourl:
  3286. description: 法人身份证正面照地址
  3287. type: string
  3288. legalpersonname:
  3289. description: 法人姓名(企业)
  3290. type: string
  3291. logincode:
  3292. description: 登录帐号 (加密存储)
  3293. type: string
  3294. memberareaid:
  3295. description: 所属会员ID
  3296. type: integer
  3297. mobile2:
  3298. description: 手机号码[明文-尚志]
  3299. type: string
  3300. mobilephone:
  3301. description: 手机号码 (加密存储)
  3302. type: string
  3303. modifiedby:
  3304. description: 修改人帐号
  3305. type: integer
  3306. modifiedtime:
  3307. description: 修改时间
  3308. type: string
  3309. nickname:
  3310. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3311. type: string
  3312. openmode:
  3313. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3314. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3315. type: integer
  3316. otherurl:
  3317. description: 其它图片地址[使用分号分隔]
  3318. type: string
  3319. postalcode:
  3320. description: 邮政编码
  3321. type: string
  3322. provinceid:
  3323. description: 省
  3324. type: integer
  3325. proxystatementurl:
  3326. description: 授权委托书
  3327. type: string
  3328. qq:
  3329. description: QQ(加密存储
  3330. type: string
  3331. referral:
  3332. description: 推荐人编码
  3333. type: string
  3334. remark:
  3335. description: 备注
  3336. type: string
  3337. removebeforestatus:
  3338. description: REMOVEBEFORESTATUS
  3339. type: integer
  3340. sex:
  3341. description: 性别 - 0:女 1:男
  3342. type: integer
  3343. signedstatus:
  3344. description: 账户一号签签约状态
  3345. type: integer
  3346. signpdfurl:
  3347. description: 签约pdf文件
  3348. type: string
  3349. subbranch:
  3350. description: 开户支行
  3351. type: string
  3352. taxpayernum:
  3353. description: 纳税人识别号
  3354. type: string
  3355. telphone:
  3356. description: 联系电话(加密存储)
  3357. type: string
  3358. userid:
  3359. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3360. type: integer
  3361. userinfotype:
  3362. description: 用户信息类型 - 1:个人 2:企业
  3363. type: integer
  3364. username:
  3365. description: 用户姓名
  3366. type: string
  3367. userstate:
  3368. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3369. type: integer
  3370. usertype:
  3371. description: 用户类型 - 1:投资者 2:机构
  3372. type: integer
  3373. videourl:
  3374. description: 视频地址
  3375. type: string
  3376. wechat:
  3377. description: 微信号 (加密存储)
  3378. type: string
  3379. required:
  3380. - userid
  3381. type: object
  3382. erms3.QryAuditContractRsp:
  3383. properties:
  3384. accountid:
  3385. description: 交易员ID
  3386. type: string
  3387. applystatus:
  3388. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3389. type: integer
  3390. curdeliveryqty:
  3391. description: 未交收量
  3392. type: integer
  3393. customername:
  3394. description: 采购方ID
  3395. type: string
  3396. deliverygoodsid:
  3397. description: 品种ID
  3398. type: string
  3399. deliveryqty:
  3400. description: 交收量
  3401. type: integer
  3402. enumdicname:
  3403. description: 单位名称
  3404. type: string
  3405. matchaccountid:
  3406. description: 业务员ID
  3407. type: string
  3408. matchcustomername:
  3409. description: 销售方ID
  3410. type: string
  3411. pricedqty:
  3412. description: 定价量
  3413. type: number
  3414. signdate:
  3415. description: 签订日期
  3416. type: string
  3417. spotcontractid:
  3418. description: 合同ID
  3419. type: string
  3420. totaldqty:
  3421. description: 合同量
  3422. type: number
  3423. unpricedqty:
  3424. description: 未定价量
  3425. type: number
  3426. wrstandardname:
  3427. description: 商品名称
  3428. type: string
  3429. required:
  3430. - matchcustomername
  3431. - spotcontractid
  3432. type: object
  3433. erms3.QryPendingBizRsp:
  3434. properties:
  3435. accountid:
  3436. description: 现货账户
  3437. type: string
  3438. areaname:
  3439. description: 所属部门
  3440. type: string
  3441. bizid:
  3442. description: 业务ID
  3443. type: string
  3444. bizname:
  3445. description: 业务名称
  3446. type: string
  3447. status:
  3448. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3449. type: integer
  3450. type:
  3451. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3452. type: integer
  3453. type: object
  3454. erms3.QueryBusinessInfoRsp:
  3455. properties:
  3456. businessid:
  3457. description: 业务ID.
  3458. type: integer
  3459. buyamount:
  3460. description: 采购额.
  3461. type: number
  3462. buyqty:
  3463. description: 采购量.
  3464. type: string
  3465. futurepl:
  3466. description: 期货盈亏.
  3467. type: number
  3468. futureqty:
  3469. description: 期货敞口.
  3470. type: string
  3471. goodsid:
  3472. description: 商品名称/商品代码.
  3473. type: string
  3474. hedgingqty:
  3475. description: 套保量.
  3476. type: string
  3477. sellamount:
  3478. description: 销售额.
  3479. type: number
  3480. sellqty:
  3481. description: 销售量.
  3482. type: string
  3483. spotmarketvalue:
  3484. description: 现货市值.
  3485. type: number
  3486. spotpl:
  3487. description: 浮动权益.
  3488. type: number
  3489. spotqty:
  3490. description: 现货量.
  3491. type: string
  3492. statu:
  3493. description: 状态,0-未结束 1-已结束.
  3494. type: integer
  3495. totalpl:
  3496. description: 总盈亏.
  3497. type: number
  3498. totalqty:
  3499. description: 总敞口.
  3500. type: string
  3501. type:
  3502. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3503. type: integer
  3504. type: object
  3505. erms3.QuerySpotContractAppleFormRsp:
  3506. properties:
  3507. goodses:
  3508. description: 合约列表
  3509. items:
  3510. $ref: '#/definitions/models.GoodsIDAndName'
  3511. type: array
  3512. oppositeusers:
  3513. description: 对方账号列表
  3514. items:
  3515. $ref: '#/definitions/erms3.CustomerInfo'
  3516. type: array
  3517. ouruser:
  3518. $ref: '#/definitions/erms3.CustomerInfo'
  3519. description: 我方账号
  3520. warehouseinfos:
  3521. description: 仓库信息列表
  3522. items:
  3523. $ref: '#/definitions/models.Warehouseinfo'
  3524. type: array
  3525. wrstandards:
  3526. description: 仓单标准列表
  3527. items:
  3528. $ref: '#/definitions/models.WRStandardInfo'
  3529. type: array
  3530. type: object
  3531. erms3.QuerySpotContractInfoRsp:
  3532. properties:
  3533. accountid:
  3534. description: 表示交易员ID.
  3535. type: integer
  3536. curdeliveryqty:
  3537. description: 表示未交收量.
  3538. type: number
  3539. customername:
  3540. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3541. type: string
  3542. deliverygoodsid:
  3543. description: 表示品种ID.
  3544. type: string
  3545. deliveryqty:
  3546. description: 表示交收量.
  3547. type: number
  3548. matchaccountid:
  3549. description: 表示业务员ID.
  3550. type: integer
  3551. matchcustomername:
  3552. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3553. type: string
  3554. priceqty:
  3555. description: 表示定价量.
  3556. type: number
  3557. relatedbizid:
  3558. description: 表示业务ID.
  3559. type: string
  3560. signdate:
  3561. description: 表示签订日期.
  3562. type: string
  3563. spotcontractid:
  3564. description: 合同ID
  3565. type: string
  3566. status:
  3567. description: 表示状态,0-履约中 1-已完成.
  3568. type: integer
  3569. totalqty:
  3570. description: 表示合同量.
  3571. type: number
  3572. unpricedqty:
  3573. description: 表示未定价量.
  3574. type: number
  3575. wrstandardname:
  3576. description: 表示商品ID.
  3577. type: string
  3578. type: object
  3579. erms3.QueryUserInfoAppliesRsp:
  3580. properties:
  3581. biznature:
  3582. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3583. type: integer
  3584. contactname:
  3585. description: 联系人
  3586. type: string
  3587. createtime:
  3588. description: 开户申请时间
  3589. type: string
  3590. userid:
  3591. description: 用户ID(自增ID)
  3592. type: integer
  3593. userinfotype:
  3594. description: 用户信息类型 - 1:个人 2:企业
  3595. type: integer
  3596. username:
  3597. description: 用户姓名
  3598. type: string
  3599. userstate:
  3600. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3601. type: integer
  3602. required:
  3603. - userid
  3604. type: object
  3605. erms3.QueryUserInfosRsp:
  3606. properties:
  3607. biznature:
  3608. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3609. type: integer
  3610. contactname:
  3611. description: 联系人
  3612. type: string
  3613. customername:
  3614. description: 客户名称(企业名称)
  3615. type: string
  3616. userid:
  3617. description: 用户ID
  3618. type: integer
  3619. userinfotype:
  3620. description: 用户信息类型 - 1:个人 2:企业
  3621. type: integer
  3622. userstatus:
  3623. description: 用户状态 - 1:正常 2:注销
  3624. type: integer
  3625. required:
  3626. - userid
  3627. type: object
  3628. erms3.SoptContractDetail:
  3629. properties:
  3630. deliverygoodsdesc:
  3631. description: 现货品种说明
  3632. type: string
  3633. deliverygoodsid:
  3634. description: 现货品种ID
  3635. type: integer
  3636. deliverygoodsname:
  3637. description: 现货品种名称
  3638. type: string
  3639. pointdesc:
  3640. description: 点价描述
  3641. type: string
  3642. producttype:
  3643. description: 产品类型 1:标准仓单 2:等标 3:非标
  3644. type: integer
  3645. producttypename:
  3646. description: 产品类型名称
  3647. type: string
  3648. spotPointOrderVoList:
  3649. description: 点价列表
  3650. items:
  3651. $ref: '#/definitions/erms3.SpotPointOrder'
  3652. type: array
  3653. spotPriceOrderList:
  3654. description: 定价列表
  3655. items:
  3656. $ref: '#/definitions/erms3.SpotPriceOrder'
  3657. type: array
  3658. unitname:
  3659. description: 单位名称
  3660. type: string
  3661. warehouseid:
  3662. description: 仓库ID
  3663. type: integer
  3664. warehousename:
  3665. description: 仓库名称
  3666. type: string
  3667. wrstandardid:
  3668. description: 交易标的ID
  3669. type: integer
  3670. wrstandardname:
  3671. description: 交易标的名称
  3672. type: string
  3673. required:
  3674. - deliverygoodsid
  3675. - producttype
  3676. - unitname
  3677. - warehouseid
  3678. - wrstandardid
  3679. - wrstandardname
  3680. type: object
  3681. erms3.SpotPointOrder:
  3682. properties:
  3683. basic:
  3684. description: 基差
  3685. type: number
  3686. deliveryenddate:
  3687. description: 交收结束日期
  3688. type: string
  3689. deliverystartdate:
  3690. description: 交收开始日期
  3691. type: string
  3692. enddate:
  3693. description: 点价结束日期
  3694. type: string
  3695. goodsid:
  3696. description: 商品ID
  3697. type: integer
  3698. goodsname:
  3699. description: 商品名称
  3700. type: string
  3701. qty:
  3702. description: 数量
  3703. type: number
  3704. startdate:
  3705. description: 点价开始日期
  3706. type: string
  3707. required:
  3708. - basic
  3709. - goodsid
  3710. - qty
  3711. type: object
  3712. erms3.SpotPriceOrder:
  3713. properties:
  3714. amount:
  3715. description: 金额
  3716. type: number
  3717. deliveryenddate:
  3718. description: 交收结束日期
  3719. type: string
  3720. deliverystartdate:
  3721. description: 交收开始日期
  3722. type: string
  3723. price:
  3724. description: 价格
  3725. type: number
  3726. qty:
  3727. description: 数量
  3728. type: number
  3729. required:
  3730. - amount
  3731. - price
  3732. - qty
  3733. type: object
  3734. hsby.GetHsbyMyCountRsp:
  3735. properties:
  3736. myCouponCount:
  3737. description: 我的优惠卷数量
  3738. type: integer
  3739. myOrderDetailListingCount:
  3740. description: 我的订单求购中数量
  3741. type: integer
  3742. myOrderDetailPreCount:
  3743. description: 我的订单抢购中数量
  3744. type: integer
  3745. myPackageUnReceiveCount:
  3746. description: 我的包裹待收货数量
  3747. type: integer
  3748. myPackageUnSendCount:
  3749. description: 我的包裹待发货数量
  3750. type: integer
  3751. myPayOrderCount:
  3752. description: 我的订单待付款数量
  3753. type: integer
  3754. type: object
  3755. hsby.QueryProvincesAndCitiesRsp:
  3756. properties:
  3757. cities:
  3758. description: 市
  3759. items:
  3760. $ref: '#/definitions/models.Division'
  3761. type: array
  3762. province:
  3763. $ref: '#/definitions/models.Division'
  3764. description: 省
  3765. type: object
  3766. models.Arearole:
  3767. properties:
  3768. createtime:
  3769. description: 创建时间
  3770. type: string
  3771. creatorid:
  3772. description: 创建人ID
  3773. type: integer
  3774. fromuserid:
  3775. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3776. type: integer
  3777. isreturnscore:
  3778. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3779. type: integer
  3780. modifierid:
  3781. description: 修改人ID
  3782. type: integer
  3783. modifytime:
  3784. description: 修改时间
  3785. type: string
  3786. orgtype:
  3787. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3788. type: integer
  3789. outuserid:
  3790. description: 外部账户[场外期权做市商]
  3791. type: string
  3792. parentuserid:
  3793. description: 上级组织机构(组织机构)
  3794. type: integer
  3795. roletype:
  3796. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  3797. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  3798. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  3799. type: integer
  3800. rootuserid:
  3801. description: 顶级组织机构用户ID(组织机构)
  3802. type: integer
  3803. shoppassword:
  3804. description: 商城店铺登陆密码(商城店铺角色使用)
  3805. type: string
  3806. sublevelpath:
  3807. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3808. type: string
  3809. suborgtype:
  3810. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3811. type: integer
  3812. tradeaccountid:
  3813. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3814. type: integer
  3815. transurl:
  3816. description: 物流地址(物流机构)
  3817. type: string
  3818. userid:
  3819. description: 机构用户ID其他做市关系,都设置为 1
  3820. type: integer
  3821. required:
  3822. - roletype
  3823. - userid
  3824. type: object
  3825. models.Clientfixedadconfig:
  3826. properties:
  3827. adsort:
  3828. description: 排序
  3829. type: integer
  3830. adtype:
  3831. description: 广告位类型 - 1:新品抢购(HSBY)
  3832. type: integer
  3833. areauserid:
  3834. description: 所属机构ID
  3835. type: integer
  3836. createdate:
  3837. description: 创建时间
  3838. type: string
  3839. creatorid:
  3840. description: 创建人
  3841. type: integer
  3842. imagepath:
  3843. description: 图片
  3844. type: string
  3845. isshow:
  3846. description: 是否展示 - 0:不展示 1:展示
  3847. type: integer
  3848. modifierid:
  3849. description: 操作人
  3850. type: integer
  3851. recsize:
  3852. description: 推荐尺寸
  3853. type: string
  3854. title:
  3855. description: 标题
  3856. type: string
  3857. updatedate:
  3858. description: 更新时间
  3859. type: string
  3860. urlcontent:
  3861. description: 链接(地址或商品ID)
  3862. type: string
  3863. urltype:
  3864. description: 链接类型 - 1:直接地址 2:商品ID
  3865. type: integer
  3866. required:
  3867. - adsort
  3868. - adtype
  3869. type: object
  3870. models.DgFactoryItem:
  3871. properties:
  3872. dgfactoryitemid:
  3873. description: 选择项ID(SEQ_DGFACTORYITEM)
  3874. type: integer
  3875. dgfactoryitemtypeid:
  3876. description: 要素项类型
  3877. type: integer
  3878. dgfactoryitemvalue:
  3879. description: 要素项值(类型为仓库时填写仓库名称)
  3880. type: string
  3881. orderindex:
  3882. description: 顺序
  3883. type: integer
  3884. type: object
  3885. models.Division:
  3886. properties:
  3887. autoid:
  3888. description: 自增ID
  3889. type: integer
  3890. divisioncode:
  3891. description: 行政代码
  3892. type: string
  3893. divisionlevel:
  3894. description: 行政级别
  3895. type: string
  3896. divisionname:
  3897. description: 行政名称
  3898. type: string
  3899. modifierid:
  3900. description: 修改人
  3901. type: integer
  3902. modifytime:
  3903. description: 修改时间
  3904. type: string
  3905. parentcode:
  3906. description: 上级行政代码
  3907. type: string
  3908. pathname:
  3909. description: 路径名称
  3910. type: string
  3911. postcode:
  3912. description: 邮政编码
  3913. type: string
  3914. separablename:
  3915. description: 可拆分的全称
  3916. type: string
  3917. shortcode:
  3918. description: 地区简码
  3919. type: string
  3920. required:
  3921. - autoid
  3922. - divisioncode
  3923. type: object
  3924. models.Enumdicitem:
  3925. properties:
  3926. autoid:
  3927. description: 自增ID
  3928. type: integer
  3929. bankmappedvalue:
  3930. description: 银行服务对应值
  3931. type: string
  3932. enumdiccode:
  3933. description: 所属枚举代码
  3934. type: string
  3935. enumdicid:
  3936. description: 所属枚举ID
  3937. type: integer
  3938. enumdicname:
  3939. description: 枚举项名称
  3940. type: string
  3941. enumitemname:
  3942. description: 枚举项值
  3943. type: integer
  3944. enumitemstatus:
  3945. description: 枚举项状态 - 1.启用 2.不启用
  3946. type: integer
  3947. enumitemvalue:
  3948. description: 通用值 - [币种通用简写]
  3949. type: string
  3950. param1:
  3951. description: 参数1[币种:币种小数位]
  3952. type: string
  3953. param2:
  3954. description: 参数1[币种:币种显示单位]
  3955. type: string
  3956. remark:
  3957. description: 备注
  3958. type: string
  3959. required:
  3960. - autoid
  3961. - enumdiccode
  3962. - enumdicid
  3963. - enumitemname
  3964. type: object
  3965. models.Ermcp3AreaSpot:
  3966. properties:
  3967. areauserid:
  3968. description: 所属机构
  3969. type: integer
  3970. convertratio:
  3971. description: 套保系数
  3972. type: number
  3973. decreaseqty:
  3974. description: 减少数量=-(销售已定价数量+采购计划数量)
  3975. type: number
  3976. enumdicname:
  3977. description: 单位名称
  3978. type: string
  3979. increaseqty:
  3980. description: 增加数量=销售计划数量+采购已定价数量
  3981. type: number
  3982. oritoalspotqty:
  3983. description: 昨日数量
  3984. type: number
  3985. totalspotqty:
  3986. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3987. type: number
  3988. unitid:
  3989. description: 现货商品单位id
  3990. type: integer
  3991. updatetime:
  3992. description: 更新时间
  3993. type: string
  3994. wrstandardcode:
  3995. description: 现货商品代码
  3996. type: string
  3997. wrstandardid:
  3998. description: 现货商品ID(SEQ_WRSTANDARD)
  3999. type: integer
  4000. wrstandardname:
  4001. description: 现货商品名称
  4002. type: string
  4003. type: object
  4004. models.Ermcp3AreaSpotDetail:
  4005. properties:
  4006. contracttype:
  4007. description: 合同类型 1-采购 -1-销售
  4008. type: integer
  4009. createtime:
  4010. description: 创建时间
  4011. type: string
  4012. enumdicname:
  4013. description: 现货商品单位名称
  4014. type: string
  4015. logtype:
  4016. description: 记录类型 1-套保 2-现货合同
  4017. type: integer
  4018. qty:
  4019. description: 数量
  4020. type: number
  4021. recordname:
  4022. description: 类型名称
  4023. type: string
  4024. relatedid:
  4025. description: 套保计划ID/现货合同ID
  4026. type: string
  4027. relatedno:
  4028. description: 编号
  4029. type: string
  4030. strtime:
  4031. description: 时间
  4032. type: string
  4033. wrstandardcode:
  4034. description: 现货商品代码
  4035. type: string
  4036. wrstandardid:
  4037. description: 现货商品ID(SEQ_WRSTANDARD)
  4038. type: integer
  4039. wrstandardname:
  4040. description: 现货商品名称
  4041. type: string
  4042. type: object
  4043. models.Ermcp3AreaSpotPLReport:
  4044. properties:
  4045. accountid:
  4046. description: 期货账户ID (作废, 默认为0)
  4047. type: integer
  4048. accountname:
  4049. description: 机构名称
  4050. type: string
  4051. actualpl:
  4052. description: 现货损益
  4053. type: number
  4054. areauserid:
  4055. description: 所属机构\交易用户ID
  4056. type: integer
  4057. begindate:
  4058. description: 开始交易日
  4059. type: string
  4060. biztype:
  4061. description: 业务类型 - 1:套保 2:套利
  4062. type: integer
  4063. brandname:
  4064. description: 品牌名称
  4065. type: string
  4066. curamount:
  4067. description: 期末额
  4068. type: number
  4069. curaverageprice:
  4070. description: 期末均价
  4071. type: number
  4072. curbuyamount:
  4073. description: 期末采购总额
  4074. type: number
  4075. curbuyqty:
  4076. description: 期末采购总量
  4077. type: number
  4078. curmarketvalue:
  4079. description: 参考市值(期末市值)
  4080. type: number
  4081. curqty:
  4082. description: 期末量
  4083. type: number
  4084. currencyid:
  4085. description: 结算币种ID【原值】
  4086. type: integer
  4087. currencyname:
  4088. description: 币种名称
  4089. type: string
  4090. cursellamount:
  4091. description: 期末销售总额
  4092. type: number
  4093. cursellqty:
  4094. description: 期末销售总量
  4095. type: number
  4096. curspotprice:
  4097. description: 参考市价(最新价)
  4098. type: number
  4099. cycletime:
  4100. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4101. type: string
  4102. cycletype:
  4103. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4104. type: integer
  4105. deliverygoodscode:
  4106. description: 现货品种代码
  4107. type: string
  4108. deliverygoodsid:
  4109. description: 现货品种ID
  4110. type: integer
  4111. deliverygoodsname:
  4112. description: 现货品种名称
  4113. type: string
  4114. enddate:
  4115. description: 结束交易日
  4116. type: string
  4117. enumdicname:
  4118. description: 现货品种单位名称(作废)
  4119. type: string
  4120. floatpl:
  4121. description: 浮动损益
  4122. type: number
  4123. goodsunitid:
  4124. description: 现货品种单位id(作废)
  4125. type: integer
  4126. oriamount:
  4127. description: 期初额
  4128. type: number
  4129. oriaverageprice:
  4130. description: 期初均价
  4131. type: number
  4132. oribuyamount:
  4133. description: 期初采购总额
  4134. type: number
  4135. oribuyqty:
  4136. description: 期初采购总量
  4137. type: number
  4138. oriqty:
  4139. description: 期初量
  4140. type: number
  4141. orisellamount:
  4142. description: 期初销售总额
  4143. type: number
  4144. orisellqty:
  4145. description: 期初销售总量
  4146. type: number
  4147. reckondate:
  4148. description: 日照时期(yyyyMMdd)
  4149. type: string
  4150. spotgoodsbrandid:
  4151. description: 现货品牌ID
  4152. type: integer
  4153. todaybuyamount:
  4154. description: 今日采购额(今采购额)
  4155. type: number
  4156. todaybuyaverageprice:
  4157. description: 今日采购均价
  4158. type: number
  4159. todaybuyqty:
  4160. description: 今日采购量(今采购量)
  4161. type: number
  4162. todayinqty:
  4163. description: 今日入库量(今入库量)
  4164. type: number
  4165. todayoutqty:
  4166. description: 今日出库量(今出库量)
  4167. type: number
  4168. todaysellamount:
  4169. description: 今日销售额(今销售额)
  4170. type: number
  4171. todaysellaverageprice:
  4172. description: 今日销售均价
  4173. type: number
  4174. todaysellqty:
  4175. description: 今日销售量(今销售量)
  4176. type: number
  4177. unitid:
  4178. description: 品类单位id
  4179. type: integer
  4180. unitidname:
  4181. description: 品类单位名称
  4182. type: string
  4183. updatetime:
  4184. description: 更新时间
  4185. type: string
  4186. wrfactortypeid:
  4187. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4188. type: integer
  4189. wrstandardcode:
  4190. description: 现货商品(品类)代码
  4191. type: string
  4192. wrstandardid:
  4193. description: 现货品类ID
  4194. type: integer
  4195. wrstandardname:
  4196. description: 现货商品(品类)名称
  4197. type: string
  4198. type: object
  4199. models.Ermcp3AreaStock:
  4200. properties:
  4201. brandname:
  4202. description: 品牌名称
  4203. type: string
  4204. curstock:
  4205. description: 期末库存量(今日量)
  4206. type: number
  4207. deliverygoodscode:
  4208. description: 现货品种代码
  4209. type: string
  4210. deliverygoodsid:
  4211. description: 现货品种id
  4212. type: integer
  4213. deliverygoodsname:
  4214. description: 现货品种名称
  4215. type: string
  4216. enumdicname:
  4217. description: 单位名称
  4218. type: string
  4219. goodsunitid:
  4220. description: 现货商品单位id
  4221. type: integer
  4222. oristock:
  4223. description: 期初库存量(昨日量)
  4224. type: number
  4225. spotgoodsbrandid:
  4226. description: 现货品牌ID
  4227. type: integer
  4228. todaybuyinqty:
  4229. description: 今日采购入库量
  4230. type: number
  4231. todayproduceinqty:
  4232. description: 今日生产入库量
  4233. type: number
  4234. todayproduceoutqty:
  4235. description: 今日生产出库量
  4236. type: number
  4237. todayselloutqty:
  4238. description: 今日销售出库量
  4239. type: number
  4240. unitid:
  4241. description: 单位id
  4242. type: integer
  4243. updatetime:
  4244. description: 更新时间
  4245. type: string
  4246. userid:
  4247. description: 机构ID
  4248. type: integer
  4249. username:
  4250. description: 机构名称
  4251. type: string
  4252. warehousecode:
  4253. description: 仓库代码
  4254. type: string
  4255. warehouseinfoid:
  4256. description: 仓库ID
  4257. type: string
  4258. warehousename:
  4259. description: 仓库名称
  4260. type: string
  4261. warehousetype:
  4262. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4263. type: integer
  4264. wrstandardcode:
  4265. description: 品类代码
  4266. type: string
  4267. wrstandardid:
  4268. description: 品类ID
  4269. type: string
  4270. wrstandardname:
  4271. description: 品类名称
  4272. type: string
  4273. required:
  4274. - userid
  4275. type: object
  4276. models.Ermcp3AreaStockApply:
  4277. properties:
  4278. applyid:
  4279. description: 申请人
  4280. type: integer
  4281. applyname:
  4282. description: 申请人名称
  4283. type: string
  4284. applyremark:
  4285. description: 申请备注
  4286. type: string
  4287. applysrc:
  4288. description: 申请来源 - 1:管理端 2:终端
  4289. type: integer
  4290. applystatus:
  4291. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4292. type: integer
  4293. applytime:
  4294. description: 申请时间
  4295. type: string
  4296. auditid:
  4297. description: 审核人
  4298. type: integer
  4299. auditname:
  4300. description: 审核人名称
  4301. type: string
  4302. auditremark:
  4303. description: 审核备注
  4304. type: string
  4305. auditsrc:
  4306. description: 审核来源 - 1:管理端 2:终端
  4307. type: integer
  4308. audittime:
  4309. description: 审核时间
  4310. type: string
  4311. audittradedate:
  4312. description: 审核交易日(yyyyMMdd)
  4313. type: string
  4314. brandname:
  4315. description: 品牌名称
  4316. type: string
  4317. buynickname:
  4318. description: 采购方昵称
  4319. type: string
  4320. buyuserid:
  4321. description: 采购方userid
  4322. type: integer
  4323. buyusername:
  4324. description: 采购方名称
  4325. type: string
  4326. contractno:
  4327. description: 合同编号
  4328. type: string
  4329. contractqty:
  4330. description: 合同量
  4331. type: number
  4332. contracttype:
  4333. description: 现货合同类型 - 1:采购 -1:销售
  4334. type: integer
  4335. deliverygoodscode:
  4336. description: 现货品种代码
  4337. type: string
  4338. deliverygoodsid:
  4339. description: 现货品种id
  4340. type: integer
  4341. deliverygoodsname:
  4342. description: 现货品种名称
  4343. type: string
  4344. detailjson:
  4345. description: 明细数据
  4346. type: string
  4347. enumdicname:
  4348. description: 现货商品单位名称
  4349. type: string
  4350. inoutapplyid:
  4351. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4352. type: string
  4353. inouttype:
  4354. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4355. type: integer
  4356. pricetype:
  4357. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4358. type: integer
  4359. qty:
  4360. description: 数量
  4361. type: number
  4362. sellnickname:
  4363. description: 销售方昵称
  4364. type: string
  4365. selluserid:
  4366. description: 销售方userid
  4367. type: integer
  4368. sellusername:
  4369. description: 销售方名称
  4370. type: string
  4371. spotcontractid:
  4372. description: 关联现货合同ID
  4373. type: string
  4374. spotgoodsbrandid:
  4375. description: 现货品牌ID
  4376. type: integer
  4377. unitid:
  4378. description: 单位id
  4379. type: integer
  4380. userid:
  4381. description: 机构ID
  4382. type: integer
  4383. warehousecode:
  4384. description: 仓库代码
  4385. type: string
  4386. warehouseinfoid:
  4387. description: 现货仓库ID
  4388. type: string
  4389. warehousename:
  4390. description: 仓库名称
  4391. type: string
  4392. warehousetype:
  4393. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4394. type: integer
  4395. wrstandardcode:
  4396. description: 品类代码
  4397. type: string
  4398. wrstandardid:
  4399. description: 品类ID
  4400. type: integer
  4401. wrstandardname:
  4402. description: 品类名称
  4403. type: string
  4404. type: object
  4405. models.Ermcp3AreaStockApplySum:
  4406. properties:
  4407. brandname:
  4408. description: 品牌名称
  4409. type: string
  4410. inouttype:
  4411. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4412. type: integer
  4413. spotcontractid:
  4414. description: 关联现货合同ID
  4415. type: string
  4416. spotgoodsbrandid:
  4417. description: 品牌id
  4418. type: integer
  4419. totalqty:
  4420. description: 总数量
  4421. type: number
  4422. wrstandardid:
  4423. description: 品类id
  4424. type: integer
  4425. wrstandardname:
  4426. description: 品类名称
  4427. type: string
  4428. type: object
  4429. models.Ermcp3AreaStockReportEx:
  4430. properties:
  4431. begindate:
  4432. description: 开始交易日
  4433. type: string
  4434. brandname:
  4435. description: 品牌名称
  4436. type: string
  4437. curstock:
  4438. description: 期末库存量
  4439. type: number
  4440. cycletime:
  4441. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4442. type: string
  4443. cycletype:
  4444. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4445. type: integer
  4446. deliverygoodscode:
  4447. description: 现货品种代码
  4448. type: string
  4449. deliverygoodsid:
  4450. description: 现货品种id
  4451. type: integer
  4452. deliverygoodsname:
  4453. description: 现货品种名称
  4454. type: string
  4455. diffqty:
  4456. description: 库存变化量 = 期末 - 期初
  4457. type: number
  4458. enddate:
  4459. description: 结束交易日
  4460. type: string
  4461. enumdicname:
  4462. description: 单位名称
  4463. type: string
  4464. goodsunitid:
  4465. description: 现货单位id
  4466. type: integer
  4467. oristock:
  4468. description: 期初库存量
  4469. type: number
  4470. reckondate:
  4471. description: 日照时期(yyyyMMdd)
  4472. type: string
  4473. spotgoodsbrandid:
  4474. description: 现货品牌ID
  4475. type: integer
  4476. todaybuyinqty:
  4477. description: 今采购入库量
  4478. type: number
  4479. todayproduceinqty:
  4480. description: 今内部入库量
  4481. type: number
  4482. todayproduceoutqty:
  4483. description: 今内部出库量
  4484. type: number
  4485. todayselloutqty:
  4486. description: 今销售出库量
  4487. type: number
  4488. unbuyinqty:
  4489. description: 采购未入库量(数据库未找到相关字段?)
  4490. type: number
  4491. unitid:
  4492. description: 品类单位id
  4493. type: integer
  4494. unselloutqty:
  4495. description: 销售未出库量(数据库未找到相关字段?)
  4496. type: number
  4497. updatetime:
  4498. description: 更新时间
  4499. type: string
  4500. userid:
  4501. description: 机构ID
  4502. type: integer
  4503. username:
  4504. description: 机构名称
  4505. type: string
  4506. warehousecode:
  4507. description: 仓库代码
  4508. type: string
  4509. warehouseinfoid:
  4510. description: 仓库ID
  4511. type: string
  4512. warehousename:
  4513. description: 仓库名称
  4514. type: string
  4515. warehousetype:
  4516. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4517. type: integer
  4518. wrstandardcode:
  4519. description: 品类代码
  4520. type: string
  4521. wrstandardid:
  4522. description: 品类ID
  4523. type: integer
  4524. wrstandardname:
  4525. description: 品类名称
  4526. type: string
  4527. type: object
  4528. models.Ermcp3ArealSumPL:
  4529. properties:
  4530. accountname:
  4531. description: 机构名称
  4532. type: string
  4533. areauserid:
  4534. description: 所属机构\交易用户ID
  4535. type: integer
  4536. begindate:
  4537. description: 开始交易日
  4538. type: string
  4539. currencyid:
  4540. description: 结算币种ID
  4541. type: integer
  4542. currencyname:
  4543. description: 币种名称
  4544. type: string
  4545. cycletime:
  4546. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4547. type: string
  4548. cycletype:
  4549. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4550. type: integer
  4551. enddate:
  4552. description: 结束交易日
  4553. type: string
  4554. enumdicname:
  4555. description: 单位名称(套保品种)
  4556. type: string
  4557. futureactualpl:
  4558. description: 期货损益
  4559. type: number
  4560. futurefloatpl:
  4561. description: 期货浮动损益
  4562. type: number
  4563. futurespotratio:
  4564. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  4565. type: number
  4566. goodsunitid:
  4567. description: 套保品种单位id
  4568. type: integer
  4569. hedgeexposurepl:
  4570. description: 套保敞口损益
  4571. type: number
  4572. middlegoodscode:
  4573. description: 套保品种代码
  4574. type: string
  4575. middlegoodsid:
  4576. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  4577. type: integer
  4578. middlegoodsname:
  4579. description: 套保品种名称
  4580. type: string
  4581. reckondate:
  4582. description: 日照时期(yyyyMMdd)
  4583. type: string
  4584. spotactualpl:
  4585. description: 现货损益
  4586. type: number
  4587. spotfloatpl:
  4588. description: 现货浮动损益
  4589. type: number
  4590. sumactualpl:
  4591. description: 实际损益 = (ActualPL + FutureActualPL)
  4592. type: number
  4593. sumpl:
  4594. description: 总敞口损益 | 汇总损益
  4595. type: number
  4596. totalfutureqty:
  4597. description: 期货头寸总量
  4598. type: number
  4599. totalneedhedgeqty:
  4600. description: 应套保总量
  4601. type: number
  4602. totalspotqty:
  4603. description: 现货头寸总量
  4604. type: number
  4605. updatetime:
  4606. description: 更新时间
  4607. type: string
  4608. type: object
  4609. models.Ermcp3Brand:
  4610. properties:
  4611. areauserid:
  4612. description: 用户id
  4613. type: integer
  4614. brandid:
  4615. description: 品牌id
  4616. type: integer
  4617. brandname:
  4618. description: 品牌名称
  4619. type: string
  4620. deliverygoodsid:
  4621. description: 品种ID
  4622. type: integer
  4623. isvalid:
  4624. description: 是否有效
  4625. type: integer
  4626. type: object
  4627. models.Ermcp3Contract:
  4628. properties:
  4629. accountid:
  4630. description: 期货账户id
  4631. type: string
  4632. amount:
  4633. description: 金额 [1:一口价、3:暂定价]
  4634. type: number
  4635. attachment:
  4636. description: 附件
  4637. type: string
  4638. auditremark:
  4639. description: 审核意见
  4640. type: string
  4641. audittime:
  4642. description: 审核时间
  4643. type: string
  4644. biztype:
  4645. description: 业务类型 1-套保 2-套利
  4646. type: integer
  4647. brandname:
  4648. description: 品牌名称
  4649. type: string
  4650. buynickname:
  4651. description: 销售方昵称
  4652. type: string
  4653. buyuserid:
  4654. description: 采购方ID
  4655. type: integer
  4656. buyusername:
  4657. description: 采购方名称
  4658. type: string
  4659. contracctstatus:
  4660. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4661. type: integer
  4662. contractmargin:
  4663. description: 合同保证金
  4664. type: number
  4665. contractno:
  4666. description: 现货合同编号
  4667. type: string
  4668. contracttype:
  4669. description: 现货合同类型 - 1:采购 -1:销售
  4670. type: integer
  4671. convertfactor:
  4672. description: 标仓系数(品类)
  4673. type: number
  4674. createtime:
  4675. description: 创建时间
  4676. type: string
  4677. currencyid:
  4678. description: 币种id
  4679. type: integer
  4680. currencyname:
  4681. description: 币种名称
  4682. type: string
  4683. deliveryenddate:
  4684. description: 交收期(结束)
  4685. type: string
  4686. deliverygoodscode:
  4687. description: 现货品种代码
  4688. type: string
  4689. deliverygoodsid:
  4690. description: 现货品种ID
  4691. type: integer
  4692. deliverygoodsname:
  4693. description: 现货品种名称
  4694. type: string
  4695. deliverystartdate:
  4696. description: 交收期(开始)
  4697. type: string
  4698. enddate:
  4699. description: 点价结束日期 [2:点价 3:暂定价]
  4700. type: string
  4701. enumdicname:
  4702. description: 单位名称
  4703. type: string
  4704. goodscode:
  4705. description: 点价合约代码
  4706. type: string
  4707. goodsid:
  4708. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  4709. type: integer
  4710. goodsname:
  4711. description: 点价商品名称
  4712. type: string
  4713. margin:
  4714. description: 当前保证金
  4715. type: number
  4716. meruserid:
  4717. description: 跟单员id
  4718. type: integer
  4719. meruserlogincode:
  4720. description: 跟单员登录代码
  4721. type: string
  4722. merusername:
  4723. description: 跟单员名称
  4724. type: string
  4725. pointdesc:
  4726. description: 点价备注
  4727. type: string
  4728. price:
  4729. description: 价格\暂定价 [1:一口价、3:暂定价]
  4730. type: number
  4731. pricemove:
  4732. description: 升贴水 [2:点价 3:暂定价]
  4733. type: number
  4734. pricetype:
  4735. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4736. type: integer
  4737. producttype:
  4738. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4739. type: integer
  4740. qty:
  4741. description: 数量
  4742. type: number
  4743. remark:
  4744. description: 备注
  4745. type: string
  4746. saleuserid:
  4747. description: 业务员id
  4748. type: integer
  4749. saleuserlogincode:
  4750. description: 业务员登录代码
  4751. type: string
  4752. saleusername:
  4753. description: 业务员名称
  4754. type: string
  4755. sellnickname:
  4756. description: 采购方昵称
  4757. type: string
  4758. selluserid:
  4759. description: 销售方ID
  4760. type: integer
  4761. sellusername:
  4762. description: 销售方名称
  4763. type: string
  4764. spotcontractid:
  4765. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  4766. type: string
  4767. spotgoodsbrandid:
  4768. description: 现货品牌ID(DGFactoryItem表的ID)
  4769. type: integer
  4770. spotgoodsdesc:
  4771. description: 商品型号
  4772. type: string
  4773. startdate:
  4774. description: 点价开始日期 [2:点价 3:暂定价]
  4775. type: string
  4776. subjectid:
  4777. description: 交易主体ID
  4778. type: integer
  4779. subjectname:
  4780. description: 交易主体名称
  4781. type: string
  4782. tradeuserid:
  4783. description: 交易员id
  4784. type: integer
  4785. tradeuserlogincode:
  4786. description: 交易员登录代码
  4787. type: string
  4788. tradeusername:
  4789. description: 交易员名称
  4790. type: string
  4791. unitid:
  4792. description: 单位id(取品类上的单位id)
  4793. type: integer
  4794. updatetime:
  4795. description: 更新时间
  4796. type: string
  4797. userid:
  4798. description: 所属机构ID
  4799. type: integer
  4800. vatrate:
  4801. description: 增值税率
  4802. type: number
  4803. wrstandardcode:
  4804. description: 品类代码
  4805. type: string
  4806. wrstandardid:
  4807. description: 品类ID
  4808. type: integer
  4809. wrstandardname:
  4810. description: 品类名称
  4811. type: string
  4812. type: object
  4813. models.Ermcp3ContractMiddleGoodsCfg:
  4814. properties:
  4815. agreeunit:
  4816. description: 合约乘数
  4817. type: number
  4818. convertratio:
  4819. description: 期货品种系数
  4820. type: number
  4821. covertqty:
  4822. description: 折算手数 =【待点价量 / (合约乘数*期货品种系数) 】
  4823. type: integer
  4824. middlegoodsid:
  4825. description: 套保品种ID
  4826. type: integer
  4827. middlegoodspricedqty3:
  4828. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  4829. example: "0"
  4830. type: string
  4831. pendingpricedqty:
  4832. description: 待点价量
  4833. example: "0"
  4834. type: string
  4835. relatedmiddlegoodsqty:
  4836. description: 已关联量(套保品种-期货)
  4837. example: "0"
  4838. type: string
  4839. spotcontractid:
  4840. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  4841. type: string
  4842. type: object
  4843. models.Ermcp3ExposureContractDetail:
  4844. properties:
  4845. biztype:
  4846. description: 业务类型 1-套保 2-套利
  4847. type: integer
  4848. brandname:
  4849. description: 品牌名称
  4850. type: string
  4851. buyuserid:
  4852. description: 采购方id
  4853. type: integer
  4854. buyusername:
  4855. description: 采购方名称
  4856. type: string
  4857. contractno:
  4858. description: 合同编号
  4859. type: string
  4860. contracttype:
  4861. description: 现货合同类型 - 1:采购 -1:销售
  4862. type: integer
  4863. convertfactor:
  4864. description: 标仓系数
  4865. type: number
  4866. convertratio:
  4867. description: 折算系数(套保品种)
  4868. type: number
  4869. curqty:
  4870. description: 今定价量
  4871. type: number
  4872. deliverygoodscode:
  4873. description: 现货品种代码
  4874. type: string
  4875. deliverygoodsid:
  4876. description: 现货品种id
  4877. type: integer
  4878. deliverygoodsname:
  4879. description: 现货品种名称
  4880. type: string
  4881. diffhedgeqty:
  4882. description: 套保变动量
  4883. type: number
  4884. diffneedhedgeqty:
  4885. description: 应套保变动量
  4886. type: number
  4887. diffqty:
  4888. description: 套保品种今变动量
  4889. type: number
  4890. enumdicname:
  4891. description: 单位名称
  4892. type: string
  4893. mgunitname:
  4894. description: 套保品种单位名称
  4895. type: string
  4896. middlegoodscode:
  4897. description: 套保品种代码
  4898. type: string
  4899. middlegoodsid:
  4900. description: 套保品种id
  4901. type: integer
  4902. middlegoodsname:
  4903. description: 套保品种名称
  4904. type: string
  4905. needarbitrageratio:
  4906. description: 应套利比例
  4907. type: number
  4908. needhedgeratio:
  4909. description: 应套保比例
  4910. type: number
  4911. pricedqty:
  4912. description: 已定价量
  4913. type: number
  4914. qty:
  4915. description: 合同量
  4916. type: number
  4917. reckondate:
  4918. description: 交易日(reckondate)
  4919. type: string
  4920. selluserid:
  4921. description: 销售方id
  4922. type: integer
  4923. sellusername:
  4924. description: 销售方名称
  4925. type: string
  4926. spotcontractid:
  4927. description: 合同id
  4928. type: string
  4929. todaypricedqty:
  4930. description: 今定价量
  4931. type: number
  4932. tradedate:
  4933. description: 交易日
  4934. type: string
  4935. unitid:
  4936. description: 品类单位id
  4937. type: integer
  4938. userid:
  4939. description: 机构id
  4940. type: integer
  4941. username:
  4942. description: 交易用户
  4943. type: string
  4944. wrstandardcode:
  4945. description: 现货商品代码
  4946. type: string
  4947. wrstandardid:
  4948. description: 现货商品id
  4949. type: integer
  4950. wrstandardname:
  4951. description: 现货商品名称
  4952. type: string
  4953. type: object
  4954. models.Ermcp3ExposureDetail:
  4955. properties:
  4956. areauserid:
  4957. description: 机构ID
  4958. type: integer
  4959. changeQty:
  4960. description: 套保变动量
  4961. type: number
  4962. contracttype:
  4963. description: 现货合同类型 - 1:采购 -1:销售
  4964. type: integer
  4965. convertfactor:
  4966. description: 标仓系数
  4967. type: number
  4968. convertratio:
  4969. description: 折算系数
  4970. type: number
  4971. createtime:
  4972. description: 时间
  4973. type: string
  4974. enumdicname:
  4975. description: 现货商品单位名称
  4976. type: string
  4977. logtype:
  4978. description: 类型 - 1:套保计划 2:现货合同
  4979. type: integer
  4980. mgunitid:
  4981. description: 套保品种单位id
  4982. type: integer
  4983. mgunitidname:
  4984. description: 套保品种单位名称
  4985. type: string
  4986. middlegoodsId:
  4987. description: 套保商品id
  4988. type: integer
  4989. middlegoodscode:
  4990. description: 套保商品代码
  4991. type: string
  4992. middlegoodsname:
  4993. description: 套保商品名称
  4994. type: string
  4995. qty:
  4996. description: 数量
  4997. type: number
  4998. relateNo:
  4999. description: 现货合同/套保计划编号
  5000. type: string
  5001. unitid:
  5002. description: 现货商品单位id
  5003. type: integer
  5004. wrstandardcode:
  5005. description: 现货商品代码
  5006. type: string
  5007. wrstandardid:
  5008. description: 现货商品ID(SEQ_WRSTANDARD)
  5009. type: integer
  5010. wrstandardname:
  5011. description: 现货商品名称
  5012. type: string
  5013. type: object
  5014. models.Ermcp3ExposureFutuDetail:
  5015. properties:
  5016. accountid:
  5017. description: 交易账户id
  5018. type: integer
  5019. accountname:
  5020. description: 交易账户
  5021. type: string
  5022. begindate:
  5023. description: 开始交易日
  5024. type: string
  5025. buyorsell:
  5026. description: 方向 0-买 1-卖
  5027. type: integer
  5028. diffmgqty:
  5029. description: 套保品种今变化量
  5030. type: number
  5031. diffneedqty:
  5032. description: 应套保总量变化量
  5033. type: number
  5034. difftradeqty:
  5035. description: 交易品种今变化量
  5036. type: number
  5037. enddate:
  5038. description: 结束交易日
  5039. type: string
  5040. enumdicname:
  5041. description: 单位名称
  5042. type: string
  5043. goodscode:
  5044. description: 商品代码
  5045. type: string
  5046. goodsid:
  5047. description: 商品id
  5048. type: integer
  5049. goodsname:
  5050. description: 商品名称
  5051. type: string
  5052. holdqty:
  5053. description: 期末持仓量
  5054. type: number
  5055. middlegoodscode:
  5056. description: 套保商品代码
  5057. type: string
  5058. middlegoodsid:
  5059. description: 套保商品id
  5060. type: integer
  5061. middlegoodsname:
  5062. description: 套保商品名称
  5063. type: string
  5064. oriholdqty:
  5065. description: 期初持仓量
  5066. type: number
  5067. reckondate:
  5068. description: 交易日(RECKONDATE)
  5069. type: string
  5070. todaycloseqty:
  5071. description: 今平仓量
  5072. type: number
  5073. todayopenqty:
  5074. description: 今开仓量
  5075. type: number
  5076. tradedate:
  5077. description: 交易日(RECKONDATE)
  5078. type: string
  5079. username:
  5080. description: 用户名称(交易用户)
  5081. type: string
  5082. type: object
  5083. models.Ermcp3ExposureHedgeplanDetail:
  5084. properties:
  5085. biztype:
  5086. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5087. type: integer
  5088. changqty:
  5089. description: 应套保总量变化量
  5090. type: number
  5091. contracttype:
  5092. description: 计划类型 - 1:采购 -1:销售
  5093. type: integer
  5094. convertratio:
  5095. description: 折算系数(套保品种)
  5096. type: number
  5097. deliverygoodscode:
  5098. description: 现货商品代码
  5099. type: string
  5100. deliverygoodsid:
  5101. description: 现货商品id
  5102. type: integer
  5103. deliverygoodsname:
  5104. description: 现货商吕名称
  5105. type: string
  5106. dgunitid:
  5107. description: 现货商品单位id
  5108. type: integer
  5109. dgunitidname:
  5110. description: 单位名称(现货商品)
  5111. type: string
  5112. diffqty:
  5113. description: 套保品种今变动量
  5114. type: number
  5115. enumdicname:
  5116. description: 单位名称(品类)
  5117. type: string
  5118. hedgeplanid:
  5119. description: 套保计划id
  5120. type: string
  5121. hedgeplanno:
  5122. description: 套保计划名称
  5123. type: string
  5124. hedgeplanstatus:
  5125. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5126. type: integer
  5127. mgunitidname:
  5128. description: 单位名称(套保商品)
  5129. type: string
  5130. middlegoodscode:
  5131. description: 套保品种代码
  5132. type: string
  5133. middlegoodsid:
  5134. description: 套保品种id
  5135. type: integer
  5136. middlegoodsname:
  5137. description: 套保品种名称
  5138. type: string
  5139. needarbitrageratio:
  5140. description: 应套利比例
  5141. type: number
  5142. needhedgeratio:
  5143. description: 应套保比例
  5144. type: number
  5145. pricedqty:
  5146. description: 已定价量
  5147. type: number
  5148. qty:
  5149. description: 合同量
  5150. type: number
  5151. reckondate:
  5152. description: 交易日(reckondate)
  5153. type: string
  5154. tradedate:
  5155. description: 交易日(登记日)
  5156. type: string
  5157. unitid:
  5158. description: 品类单位id
  5159. type: integer
  5160. userid:
  5161. description: 机构id
  5162. type: integer
  5163. wrstandardcode:
  5164. description: 品类代码
  5165. type: string
  5166. wrstandardid:
  5167. description: 品类id
  5168. type: integer
  5169. wrstandardname:
  5170. description: 品类名称
  5171. type: string
  5172. type: object
  5173. models.Ermcp3ExposureParamChLog:
  5174. properties:
  5175. accountid:
  5176. description: 期货账户ID (作废, 默认为0)
  5177. type: integer
  5178. aftervalue:
  5179. description: 应套保\套利量变更后(调整后应套保总量)
  5180. type: number
  5181. areauserid:
  5182. description: 所属机构\交易用户ID
  5183. type: integer
  5184. beforevalue:
  5185. description: 应套保\套利量变更前(调整前应套保总量)
  5186. type: number
  5187. begindate:
  5188. description: 开始交易日
  5189. type: string
  5190. changelogtype:
  5191. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5192. type: integer
  5193. curvalue:
  5194. description: 当前套保\套利量(套保总量|套利总量)
  5195. type: number
  5196. diffvalue:
  5197. description: 应套保总量变化量
  5198. type: number
  5199. enddate:
  5200. description: 结束交易日
  5201. type: string
  5202. logdatetime:
  5203. description: 流水日期
  5204. type: string
  5205. logid:
  5206. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5207. type: string
  5208. middlegoodscode:
  5209. description: 套保品种代码
  5210. type: string
  5211. middlegoodsid:
  5212. description: 套保品种
  5213. type: integer
  5214. middlegoodsname:
  5215. description: 套保品种名称
  5216. type: string
  5217. paramaftervalue:
  5218. description: 参数变更后(调整后参数值)
  5219. type: number
  5220. parambeforevalue:
  5221. description: 参数变更前(调整前参数值)
  5222. type: number
  5223. reckondate:
  5224. description: 交易日(reckondate)
  5225. type: string
  5226. tradedate:
  5227. description: 交易日(yyyyMMdd)
  5228. type: string
  5229. type: object
  5230. models.Ermcp3ExpourseReport:
  5231. properties:
  5232. accountid:
  5233. description: 期货账户ID (作废, 默认为0)
  5234. type: integer
  5235. accountname:
  5236. description: 机构名称
  5237. type: string
  5238. arbitrageqty:
  5239. description: 套利量
  5240. type: number
  5241. areauserid:
  5242. description: 所属机构\交易用户ID
  5243. type: integer
  5244. begindate:
  5245. description: 开始交易日
  5246. type: string
  5247. buyfutureqty:
  5248. description: 买入期货数量
  5249. type: number
  5250. buyplanqty:
  5251. description: 采购计划数量
  5252. type: number
  5253. buypricedqty:
  5254. description: 采购合同已定价数量
  5255. type: number
  5256. cycletime:
  5257. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5258. type: string
  5259. cycletype:
  5260. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5261. type: integer
  5262. diffexposure:
  5263. description: 变动量(套保敞口)
  5264. type: number
  5265. difffutuqty:
  5266. description: 变动量(期货)
  5267. type: number
  5268. diffhedgeqty:
  5269. description: 变动量(现货应套保总量)
  5270. type: number
  5271. diffmgqtya:
  5272. description: 套保变动量
  5273. type: number
  5274. diffmgqtyb:
  5275. description: 套利变动量
  5276. type: number
  5277. diffqty:
  5278. description: 变动量(总敞口)
  5279. type: number
  5280. diffspotqty:
  5281. description: 变动量(现货)
  5282. type: number
  5283. enddate:
  5284. description: 结束交易日
  5285. type: string
  5286. enumdicname:
  5287. description: 单位名称
  5288. type: string
  5289. hedgeqty:
  5290. description: 套保量
  5291. type: number
  5292. mgneedhedgeratio:
  5293. description: 套保比例(套保品的)
  5294. type: number
  5295. middlegoodsid:
  5296. description: 套保品种ID
  5297. type: integer
  5298. middlegoodsname:
  5299. description: 套保商品名称
  5300. type: string
  5301. middlgoodscode:
  5302. description: 套保商品代码
  5303. type: string
  5304. needarbitrageqty:
  5305. description: 应套利量
  5306. type: number
  5307. needarbitrageratio:
  5308. description: 套利比例(套保品的)
  5309. type: number
  5310. needhedgeexposoure:
  5311. description: 应套保敞口(套保敞口)
  5312. type: number
  5313. needhedgeqty:
  5314. description: 应套保量
  5315. type: number
  5316. needhedgeratio:
  5317. description: 应套保敞口比例
  5318. type: number
  5319. oriarbitrageqty:
  5320. description: 期初套利量
  5321. type: number
  5322. oribuyfutureqty:
  5323. description: 期初买入期货数量
  5324. type: number
  5325. oribuyplanqty:
  5326. description: 期初采购计划数量
  5327. type: number
  5328. oribuypricedqty:
  5329. description: 期初采购合同已定价数量
  5330. type: number
  5331. orihedgeqty:
  5332. description: 期初套保量
  5333. type: number
  5334. orineedarbitrageqty:
  5335. description: 期初应套利量
  5336. type: number
  5337. orineedhedgeexposoure:
  5338. description: 期初应套保敞口
  5339. type: number
  5340. orineedhedgeqty:
  5341. description: 期初应套保量
  5342. type: number
  5343. orisellfutureqty:
  5344. description: 期初卖出期货数量
  5345. type: number
  5346. orisellplanqty:
  5347. description: 期初销售计划数量
  5348. type: number
  5349. orisellpricedqty:
  5350. description: 期初销售合同已定价数量
  5351. type: number
  5352. oritotalexposure:
  5353. description: 期初实时总敞口
  5354. type: number
  5355. oritotalfutureqty:
  5356. description: 期初期货头寸总量
  5357. type: number
  5358. oritotalneedhedgeqty:
  5359. description: 期初应套保总量
  5360. type: number
  5361. oritotalspotqty:
  5362. description: 期初现货头寸总量
  5363. type: number
  5364. reckondate:
  5365. description: 日照时期(yyyyMMdd)
  5366. type: string
  5367. sellfutureqty:
  5368. description: 卖出期货数量
  5369. type: number
  5370. sellplanqty:
  5371. description: 销售计划数量
  5372. type: number
  5373. sellpricedqty:
  5374. description: 销售合同已定价数量
  5375. type: number
  5376. totalexposure:
  5377. description: 实时总敞口(总敞口)
  5378. type: number
  5379. totalfutureqty:
  5380. description: 期货头寸总量(期货总量)
  5381. type: number
  5382. totalhedgeratio:
  5383. description: 敞口比例
  5384. type: number
  5385. totalneedhedgeqty:
  5386. description: 应套保总量(现货应套保总量)
  5387. type: number
  5388. totalspotqty:
  5389. description: 现货头寸总量
  5390. type: number
  5391. unitid:
  5392. description: 单位id
  5393. type: integer
  5394. updatetime:
  5395. description: 更新时间
  5396. type: string
  5397. type: object
  5398. models.Ermcp3FinanceReport:
  5399. properties:
  5400. accountname:
  5401. description: 机构名称
  5402. type: string
  5403. areauserid:
  5404. description: 所属机构\交易用户ID
  5405. type: integer
  5406. begindate:
  5407. description: 开始交易日
  5408. type: string
  5409. biztype:
  5410. description: 业务类型 - 1:套保 2:套利
  5411. type: integer
  5412. brandname:
  5413. description: 品牌名称
  5414. type: string
  5415. buypreinvoicedamount:
  5416. description: 采购预收票额(预收票额)
  5417. type: number
  5418. buyprepaidamount:
  5419. description: 采购预付款额(预付货款额)
  5420. type: number
  5421. buytodayinvoiceamount:
  5422. description: 采购今收票额(今收票额)
  5423. type: number
  5424. buytodayrefundamount:
  5425. description: 采购今收退款额(今收退款额)
  5426. type: number
  5427. buytodaysettleamount:
  5428. description: 采购今付款额(今付货款额)
  5429. type: number
  5430. buyuninvoicedamount:
  5431. description: 采购应收票额(应收票额)
  5432. type: number
  5433. buyunpaidamount:
  5434. description: 采购应付款额(应付货款额)
  5435. type: number
  5436. currencyid:
  5437. description: 结算币种ID
  5438. type: integer
  5439. currencyname:
  5440. description: 币种名称
  5441. type: string
  5442. cycletime:
  5443. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5444. type: string
  5445. cycletype:
  5446. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5447. type: integer
  5448. deliverygoodscode:
  5449. description: 现货品种代码
  5450. type: string
  5451. deliverygoodsid:
  5452. description: 现货品种ID
  5453. type: integer
  5454. deliverygoodsname:
  5455. description: 现货品种名称
  5456. type: string
  5457. enddate:
  5458. description: 结束交易日
  5459. type: string
  5460. reckondate:
  5461. description: 日照时期(yyyyMMdd)
  5462. type: string
  5463. sellpreinvoicedamount:
  5464. description: 销售预开票额(预开票额)
  5465. type: number
  5466. sellprepaidamount:
  5467. description: 销售预收款额(预收货款额)
  5468. type: number
  5469. selltodayinvoiceamount:
  5470. description: 销售今开票额(今开票额)
  5471. type: number
  5472. selltodayrefundamount:
  5473. description: 销售今付退款额(今付退款额)
  5474. type: number
  5475. selltodaysettleamount:
  5476. description: 销售今收款额(今收货款额)
  5477. type: number
  5478. selluninvoicedamount:
  5479. description: 销售应开票额(应开票额)
  5480. type: number
  5481. sellunpaidamount:
  5482. description: 销售应收款额(应收货款额)
  5483. type: number
  5484. spotgoodsbrandid:
  5485. description: 现货品牌ID
  5486. type: integer
  5487. todaypaysum:
  5488. description: 今付款合计
  5489. type: number
  5490. todayreceivesum:
  5491. description: 今收款合计
  5492. type: number
  5493. updatetime:
  5494. description: 更新时间
  5495. type: string
  5496. wrfactortypeid:
  5497. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  5498. type: integer
  5499. wrstandardcode:
  5500. description: 品类代码
  5501. type: string
  5502. wrstandardid:
  5503. description: 现货商品ID
  5504. type: integer
  5505. wrstandardname:
  5506. description: 品类名称
  5507. type: string
  5508. type: object
  5509. models.Ermcp3GoodsGroup:
  5510. properties:
  5511. agreeunit:
  5512. description: 合约单位
  5513. type: number
  5514. areauserid:
  5515. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  5516. type: integer
  5517. canshort:
  5518. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  5519. type: integer
  5520. closepricemode:
  5521. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5522. type: integer
  5523. createtime:
  5524. description: 创建时间
  5525. type: string
  5526. creatorid:
  5527. description: 创建人
  5528. type: integer
  5529. currencyid:
  5530. description: 报价货币ID
  5531. type: integer
  5532. decimalplace:
  5533. description: 报价小数位
  5534. type: integer
  5535. enumdicname:
  5536. description: 单位名称
  5537. type: string
  5538. exchangefullname:
  5539. description: 交易所全称
  5540. type: string
  5541. excludecfg:
  5542. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  5543. type: integer
  5544. exexchangecode:
  5545. description: 交易所代码
  5546. type: string
  5547. exexchangeid:
  5548. description: 外部交易所ID[通道交易]
  5549. type: integer
  5550. exexchangename:
  5551. description: 交易所名称
  5552. type: string
  5553. goodsgroupid:
  5554. description: 商品组ID(自增ID)
  5555. type: integer
  5556. goodsgroupname:
  5557. description: 商品组名称
  5558. type: string
  5559. goodsgroupstatus:
  5560. description: 商品组状态 - 1:正常 2:注销
  5561. type: integer
  5562. goodunitid:
  5563. description: 报价单位ID
  5564. type: integer
  5565. groupcategroyid:
  5566. description: 品种分类ID
  5567. type: integer
  5568. innerdealmode:
  5569. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5570. type: integer
  5571. marketid:
  5572. description: 所属市场ID
  5573. type: integer
  5574. modifierid:
  5575. description: 修改人
  5576. type: integer
  5577. modifytime:
  5578. description: 修改时间
  5579. type: string
  5580. outerdealmode:
  5581. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5582. type: integer
  5583. outergroupcode:
  5584. description: 外部商品组代码[通道交易]
  5585. type: string
  5586. quoteminunit:
  5587. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5588. type: integer
  5589. quotesourcegroupid:
  5590. description: 所属行情源分组ID[参考行情市场用\通道交易]
  5591. type: integer
  5592. syncgoodsqty:
  5593. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  5594. type: integer
  5595. required:
  5596. - areauserid
  5597. type: object
  5598. models.Ermcp3HPMiddleGoods:
  5599. properties:
  5600. biztype:
  5601. description: 业务类型 1:套保 2:套利
  5602. type: integer
  5603. contracttype:
  5604. description: 合同类型 1:采购 -1:销售
  5605. type: integer
  5606. convertratio:
  5607. description: 折算系数
  5608. type: number
  5609. customername:
  5610. description: 对手手名称
  5611. type: string
  5612. customeruserid:
  5613. description: 对手id
  5614. type: integer
  5615. enumdicname:
  5616. description: 现货单位名称
  5617. type: string
  5618. hedgeplanid:
  5619. description: 计划id
  5620. type: string
  5621. hedgeplanno:
  5622. description: 计划编号
  5623. type: string
  5624. middlegoodsid:
  5625. description: 套保品种ID
  5626. type: integer
  5627. middlegoodsplanqty3:
  5628. description: 应套保计划量
  5629. type: number
  5630. needhedgeratio:
  5631. description: 套保比例
  5632. type: number
  5633. pricedqty:
  5634. description: 已定价量
  5635. type: number
  5636. relatedmiddlegoodsqty:
  5637. description: 已关联量(套保品种)(期货)
  5638. type: number
  5639. unitid:
  5640. description: 现货单位id
  5641. type: integer
  5642. userid:
  5643. description: 用户id
  5644. type: integer
  5645. vatrate:
  5646. description: 增值税率
  5647. type: number
  5648. wrstandardcode:
  5649. description: 现货商品代码
  5650. type: string
  5651. wrstandardid:
  5652. description: 现货商品id
  5653. type: integer
  5654. wrstandardname:
  5655. description: 现货商品名称
  5656. type: string
  5657. type: object
  5658. models.Ermcp3HedgePlan:
  5659. properties:
  5660. accountid:
  5661. description: 资金账号
  5662. type: integer
  5663. areauserid:
  5664. description: 用户ID
  5665. type: integer
  5666. auditid:
  5667. description: 审核id
  5668. type: integer
  5669. auditname:
  5670. description: 审核人名称
  5671. type: string
  5672. auditremark:
  5673. description: 审核备注
  5674. type: string
  5675. auditsrc:
  5676. description: 审核来源 1-管理端 2-终端
  5677. type: integer
  5678. audittime:
  5679. description: 审核时间
  5680. type: string
  5681. contracttype:
  5682. description: 计划类型 - 1:采购 -1:销售
  5683. type: integer
  5684. convertfactor:
  5685. description: 标仓系数
  5686. type: number
  5687. createtime:
  5688. description: 创建时间
  5689. type: string
  5690. currencyid:
  5691. description: 币种id
  5692. type: integer
  5693. currencyname:
  5694. description: 币种名称
  5695. type: string
  5696. deliverygoodscode:
  5697. description: 现货品种代码
  5698. type: string
  5699. deliverygoodsid:
  5700. description: 现货品种ID
  5701. type: integer
  5702. deliverygoodsname:
  5703. description: 现货品种名称
  5704. type: string
  5705. enumdicname:
  5706. description: 单位名称(现货商品)
  5707. type: string
  5708. hedgeplanid:
  5709. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  5710. type: string
  5711. hedgeplanno:
  5712. description: 套保计划编号(名称)
  5713. type: string
  5714. hedgeplanstatus:
  5715. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5716. type: integer
  5717. planqty:
  5718. description: 计划数量
  5719. type: number
  5720. plantime:
  5721. description: 计划时间
  5722. type: string
  5723. producttype:
  5724. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5725. type: integer
  5726. remark:
  5727. description: 备注
  5728. type: string
  5729. spotgoodsdesc:
  5730. description: 商品型号
  5731. type: string
  5732. taaccountname:
  5733. description: 资金账号名称
  5734. type: string
  5735. tradeuserid:
  5736. description: 交易用户id
  5737. type: integer
  5738. tradeusername:
  5739. description: 交易用户名称
  5740. type: string
  5741. unitid:
  5742. description: 单位id(现货商品)
  5743. type: integer
  5744. updatetime:
  5745. description: 更新时间
  5746. type: string
  5747. vatrate:
  5748. description: 增值税率
  5749. type: number
  5750. wrstandardcode:
  5751. description: 品类代码
  5752. type: string
  5753. wrstandardid:
  5754. description: 品类id
  5755. type: integer
  5756. wrstandardname:
  5757. description: 品类名称
  5758. type: string
  5759. wrunitid:
  5760. description: 品类单位id
  5761. type: integer
  5762. wrunitidame:
  5763. description: 品类单位名称
  5764. type: string
  5765. type: object
  5766. models.Ermcp3InnerTradeLink:
  5767. properties:
  5768. accountid:
  5769. description: 期货账号代码 | 资金账号ID
  5770. type: integer
  5771. buyorsell:
  5772. description: 方向 - 0:买 1:卖
  5773. type: integer
  5774. channelbuildtype:
  5775. description: 委托单据类型 0:无 1:建仓 2:平仓
  5776. type: integer
  5777. currencyid:
  5778. description: 币种id
  5779. type: integer
  5780. currencyname:
  5781. description: 结算币种 名称
  5782. type: string
  5783. goodscode:
  5784. description: 商品代码
  5785. type: string
  5786. goodsid:
  5787. description: 商品ID
  5788. type: integer
  5789. goodsname:
  5790. description: 商品名称
  5791. type: string
  5792. outtradeid:
  5793. description: 外部成交单号
  5794. type: string
  5795. taname:
  5796. description: 期货账户名称
  5797. type: string
  5798. tradeid:
  5799. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5800. type: string
  5801. tradeprice:
  5802. description: 成交价格
  5803. type: number
  5804. tradeqty:
  5805. description: 期货成交数量
  5806. type: integer
  5807. tradetime:
  5808. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  5809. type: string
  5810. username:
  5811. description: 用户名称
  5812. type: string
  5813. type: object
  5814. models.Ermcp3OutTradeLink:
  5815. properties:
  5816. buyorsell:
  5817. description: 买卖方向 - 0:买 1:卖
  5818. type: integer
  5819. channelbuildtype:
  5820. description: 开平标志- 0:无 1:建仓 2:平仓
  5821. type: integer
  5822. currencyname:
  5823. description: 币种名称
  5824. type: string
  5825. exexchangecode:
  5826. description: 交易所代码
  5827. type: string
  5828. exexchangename:
  5829. description: 交易所名称
  5830. type: string
  5831. goodscode:
  5832. description: 合约代码
  5833. type: string
  5834. goodsid:
  5835. description: 合约id
  5836. type: integer
  5837. goodsname:
  5838. description: 合约名称
  5839. type: string
  5840. hasinnerorder:
  5841. description: 是否有内部单关联 - 0:无 1:有
  5842. type: integer
  5843. hedgeaccountcode:
  5844. description: 外部账号 | 对冲账号
  5845. type: string
  5846. outtradeid:
  5847. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5848. type: string
  5849. tradeprice:
  5850. description: 成交价格
  5851. type: number
  5852. tradeqty:
  5853. description: 成交数量
  5854. type: integer
  5855. tradetime:
  5856. description: 成交时间
  5857. type: string
  5858. type: object
  5859. models.Ermcp3PaAreaAuditCfg:
  5860. properties:
  5861. areauserid:
  5862. description: 用户ID
  5863. type: integer
  5864. buyinauditflag:
  5865. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  5866. type: integer
  5867. costratioauditflag:
  5868. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  5869. type: integer
  5870. customerauditflag:
  5871. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  5872. type: integer
  5873. deliveryauditflag:
  5874. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  5875. type: integer
  5876. invoiceauditflag:
  5877. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  5878. type: integer
  5879. mgneedhedgeratioauditflag:
  5880. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  5881. type: integer
  5882. moneyauditflag:
  5883. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  5884. type: integer
  5885. operatorid:
  5886. description: 操作人
  5887. type: integer
  5888. operatorsrc:
  5889. description: 操作来源 - 1:管理端 2:终端
  5890. type: integer
  5891. pointpriceauditflag:
  5892. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  5893. type: integer
  5894. produceinauditflag:
  5895. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  5896. type: integer
  5897. produceoutauditflag:
  5898. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  5899. type: integer
  5900. selloutauditflag:
  5901. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  5902. type: integer
  5903. sgconvertratioauditflag:
  5904. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  5905. type: integer
  5906. sgvtaratioauditflag:
  5907. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  5908. type: integer
  5909. spotcontractauditflag:
  5910. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  5911. type: integer
  5912. updatetime:
  5913. description: 更新时间
  5914. type: string
  5915. type: object
  5916. models.Ermcp3PaAreaSubject:
  5917. properties:
  5918. areauserid:
  5919. description: 所属机构
  5920. type: integer
  5921. canmodify:
  5922. description: 是否可修改 - 0:否 1:是
  5923. type: integer
  5924. createtime:
  5925. description: 创建时间
  5926. type: string
  5927. creatorid:
  5928. description: 创建人ID
  5929. type: string
  5930. creatorsrc:
  5931. description: 创建人来源 - 1:管理端 2:终端 3:交易
  5932. type: integer
  5933. modifierid:
  5934. description: 修改人
  5935. type: string
  5936. modifiersrc:
  5937. description: 修改人来源 - 1:管理端 2:终端
  5938. type: integer
  5939. modifytime:
  5940. description: 修改时间
  5941. type: string
  5942. parentsubjectid:
  5943. description: 上级主体ID
  5944. type: string
  5945. remark:
  5946. description: 备注
  5947. type: string
  5948. subjectid:
  5949. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  5950. type: integer
  5951. subjectname:
  5952. description: 主体名称
  5953. type: string
  5954. subjectstatus:
  5955. description: '主体状态 - 1:正常 2: 停用'
  5956. type: integer
  5957. subjecttype:
  5958. description: 主体类型 - 1:交易主体 2:业务部门
  5959. type: integer
  5960. type: object
  5961. models.Ermcp3PaTradeLink:
  5962. properties:
  5963. accountid:
  5964. description: 期货账户代码 | 账号ID
  5965. type: integer
  5966. agreeunit:
  5967. description: 合约乘数
  5968. type: number
  5969. buyorsell:
  5970. description: 方向 - 0:买 1:卖
  5971. type: integer
  5972. channelbuildtype:
  5973. description: 委托单据类型 0:无 1:建仓 2:平仓
  5974. type: integer
  5975. charge:
  5976. description: 手续费
  5977. type: number
  5978. closepl:
  5979. description: 平仓盈亏
  5980. type: number
  5981. closetype:
  5982. description: 平仓方式 - 0:无 1:平今 2:平昨
  5983. type: integer
  5984. convertratio:
  5985. description: 折算系数
  5986. type: number
  5987. enumdicname:
  5988. description: 单位名称
  5989. type: string
  5990. executeprice:
  5991. description: 执行价 [期权]
  5992. type: integer
  5993. goodscode:
  5994. description: 合约代码
  5995. type: string
  5996. goodsgroupid:
  5997. description: 对冲品种ID[期货合约商品组ID]
  5998. type: integer
  5999. goodsid:
  6000. description: 商品ID
  6001. type: integer
  6002. goodsname:
  6003. description: 合约名称
  6004. type: string
  6005. goodunitid:
  6006. description: 单位id
  6007. type: integer
  6008. hedgeflag:
  6009. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  6010. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6011. type: integer
  6012. marketid:
  6013. description: 市场ID
  6014. type: integer
  6015. middlegoodsid:
  6016. description: 套保品种ID
  6017. type: integer
  6018. middlegoodsqty:
  6019. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  6020. type: number
  6021. optioncode:
  6022. description: 期权代码 [期权]
  6023. type: string
  6024. ordertype:
  6025. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  6026. type: integer
  6027. ordertypename:
  6028. description: 订单类型
  6029. type: string
  6030. parentaccountid:
  6031. description: 所属母账户
  6032. type: integer
  6033. premium:
  6034. description: 权利金 [期权]
  6035. type: number
  6036. relatedlot:
  6037. description: 已关联数量(已关联数量手) | db:关联手数
  6038. type: number
  6039. relatedouttradeid:
  6040. description: 关联外部成交单ID
  6041. type: string
  6042. relatedqty:
  6043. description: 关联数量
  6044. type: number
  6045. spotcontractid:
  6046. description: 现货合同ID [4:套期保值\10\11]
  6047. type: string
  6048. taname:
  6049. description: 期货账户名称
  6050. type: string
  6051. tradeamount:
  6052. description: 成交金额(账户)
  6053. type: number
  6054. tradedate:
  6055. description: 交易日(yyyyMMdd)
  6056. type: string
  6057. tradeid:
  6058. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6059. type: string
  6060. tradelot:
  6061. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  6062. type: integer
  6063. tradeprice:
  6064. description: 成交价格
  6065. type: number
  6066. tradetime:
  6067. description: 时间 | db:成交时间
  6068. type: string
  6069. tradetype:
  6070. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  6071. type: integer
  6072. userid:
  6073. description: 所属机构 - 所属母账户的UserID
  6074. type: string
  6075. username:
  6076. description: 用户名称
  6077. type: string
  6078. type: object
  6079. models.Ermcp3ParamChangeApp:
  6080. properties:
  6081. aftervalue:
  6082. description: 变更后
  6083. type: number
  6084. applicationid:
  6085. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  6086. type: string
  6087. applyid:
  6088. description: 申请人
  6089. type: string
  6090. applyname:
  6091. description: 申请人名称(代码)
  6092. type: string
  6093. applyremark:
  6094. description: 申请备注
  6095. type: string
  6096. applysrc:
  6097. description: 申请来源 - 1:管理端 2:终端
  6098. type: integer
  6099. applystatus:
  6100. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  6101. type: integer
  6102. applytime:
  6103. description: 申请时间
  6104. type: string
  6105. areauserid:
  6106. description: 所属机构用户ID
  6107. type: integer
  6108. auditid:
  6109. description: 审核人
  6110. type: string
  6111. auditname:
  6112. description: 审核人名称(代码)
  6113. type: string
  6114. auditremark:
  6115. description: 审核备注
  6116. type: string
  6117. auditsrc:
  6118. description: 审核来源 - 1:管理端 2:终端
  6119. type: integer
  6120. audittime:
  6121. description: 审核时间
  6122. type: string
  6123. audittradedate:
  6124. description: 审核交易日(yyyyMMdd)
  6125. type: string
  6126. beforevalue:
  6127. description: 变更前
  6128. type: number
  6129. deliverygoodscode:
  6130. description: 品种代码
  6131. type: string
  6132. deliverygoodsid:
  6133. description: 品种id
  6134. type: integer
  6135. deliverygoodsname:
  6136. description: 品种名称
  6137. type: string
  6138. middlegoodscode:
  6139. description: 套保品种代码
  6140. type: string
  6141. middlegoodsid:
  6142. description: 套保品种ID [ParamChangeType = 2,3,4]
  6143. type: integer
  6144. middlegoodsname:
  6145. description: 套保品种名称
  6146. type: string
  6147. operatetype:
  6148. description: 操作类型 - 1:新增 2:修改
  6149. type: integer
  6150. paramchangetype:
  6151. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6152. type: integer
  6153. wrstandardcode:
  6154. description: 现货商品代码
  6155. type: string
  6156. wrstandardid:
  6157. description: 现货商品ID [ParamChangeType = 1,2,3]
  6158. type: integer
  6159. wrstandardname:
  6160. description: 现货商品名称
  6161. type: string
  6162. type: object
  6163. models.Ermcp3RootUserAccount:
  6164. properties:
  6165. accountname:
  6166. description: 账户名称(机构名称)
  6167. type: string
  6168. accountstatus:
  6169. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6170. type: integer
  6171. applysrc:
  6172. description: 申请来源 - 1:管理端 2:终端
  6173. type: integer
  6174. auditremark:
  6175. description: 审核备注
  6176. type: string
  6177. auditsrc:
  6178. description: 审核来源 - 1:管理端 2:终端
  6179. type: integer
  6180. audittime:
  6181. description: 审核时间
  6182. type: string
  6183. audituserid:
  6184. description: 审核人
  6185. type: integer
  6186. broker:
  6187. description: 所属经纪人ID
  6188. type: integer
  6189. canceltime:
  6190. description: 销户时间
  6191. type: string
  6192. canceluserid:
  6193. description: 销户人
  6194. type: integer
  6195. canrecommend:
  6196. description: 是否可推荐 - 0:不可 1;可
  6197. type: integer
  6198. createtime:
  6199. description: 创建时间
  6200. type: string
  6201. creatorid:
  6202. description: 创建人
  6203. type: integer
  6204. hasauth:
  6205. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6206. type: integer
  6207. isanonymous:
  6208. description: 是否匿名下单 - 0:否 1:是
  6209. type: integer
  6210. maxinvestornum:
  6211. description: 最大用户数(经纪会员下投资者个数)
  6212. type: integer
  6213. memberuserid:
  6214. description: 所属会员ID
  6215. type: integer
  6216. modifierid:
  6217. description: 修改人
  6218. type: integer
  6219. modifyremark:
  6220. description: 变更备注
  6221. type: string
  6222. modifystatus:
  6223. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6224. type: integer
  6225. modifytime:
  6226. description: 修改时间
  6227. type: string
  6228. nickname:
  6229. description: 昵称
  6230. type: string
  6231. parenttopuser:
  6232. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  6233. type: string
  6234. parentuserid:
  6235. description: 所属机构ID
  6236. type: integer
  6237. reckonaccountid:
  6238. description: 默认结算资金账号ID(机构分润使用) 作废
  6239. type: integer
  6240. refercount:
  6241. description: 推荐总人数
  6242. type: integer
  6243. refereeuserid:
  6244. description: 推荐人ID
  6245. type: integer
  6246. refernum:
  6247. description: 推荐码
  6248. type: string
  6249. rootuserid:
  6250. description: 根用户ID
  6251. type: integer
  6252. subaccountlevel:
  6253. description: 子账户层数
  6254. type: integer
  6255. subarealevelpath:
  6256. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6257. type: string
  6258. userid:
  6259. description: 用户ID
  6260. type: integer
  6261. usertype:
  6262. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6263. type: integer
  6264. type: object
  6265. models.Ermcp3SCMiddleGoods:
  6266. properties:
  6267. biztype:
  6268. description: 业务类型 1:套保 2:套利
  6269. type: integer
  6270. contractno:
  6271. description: 合同编号
  6272. type: string
  6273. contracttype:
  6274. description: 合同类型 1:采购 -1:销售
  6275. type: integer
  6276. convertratio:
  6277. description: 折算系数
  6278. type: number
  6279. customername:
  6280. description: 对手手名称
  6281. type: string
  6282. customeruserid:
  6283. description: 对手id
  6284. type: integer
  6285. deliverygoodscode:
  6286. description: 现货品种代码
  6287. type: string
  6288. deliverygoodsid:
  6289. description: 现货品种ID
  6290. type: integer
  6291. deliverygoodsname:
  6292. description: 现货品种名称
  6293. type: string
  6294. enumdicname:
  6295. description: 现货单位名称
  6296. type: string
  6297. middlegoodsid:
  6298. description: 套保品种ID
  6299. type: integer
  6300. middlegoodspricedqty3:
  6301. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  6302. type: number
  6303. needhedgeratio:
  6304. description: 套保比例
  6305. type: number
  6306. pricedqty:
  6307. description: 已定价量
  6308. type: number
  6309. relatedmiddlegoodsqty:
  6310. description: 已关联量(套保品种)(期货)
  6311. type: number
  6312. spotcontractid:
  6313. description: 合同编号
  6314. type: string
  6315. unitid:
  6316. description: 现货单位id
  6317. type: integer
  6318. userid:
  6319. description: 用户id
  6320. type: integer
  6321. vatrate:
  6322. description: 增值税率
  6323. type: number
  6324. wrstandardcode:
  6325. description: 现货商品代码
  6326. type: string
  6327. wrstandardid:
  6328. description: 现货商品id
  6329. type: integer
  6330. wrstandardname:
  6331. description: 现货商品名称
  6332. type: string
  6333. type: object
  6334. models.Ermcp3SCMiddleGoodsReport:
  6335. properties:
  6336. begindate:
  6337. description: 开始交易日
  6338. type: string
  6339. contractno:
  6340. description: 合同编号
  6341. type: string
  6342. contracttype:
  6343. description: 合同类型 1:采购 -1:销售
  6344. type: integer
  6345. convertratio:
  6346. description: 折算系数
  6347. type: number
  6348. cycletime:
  6349. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6350. type: string
  6351. cycletype:
  6352. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6353. type: integer
  6354. deliverygoodscode:
  6355. description: 品种代码
  6356. type: string
  6357. deliverygoodsid:
  6358. description: 现货品种ID
  6359. type: integer
  6360. deliverygoodsname:
  6361. description: 品种名称
  6362. type: string
  6363. diffprice:
  6364. description: 现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价
  6365. type: number
  6366. diffqty:
  6367. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  6368. type: number
  6369. enddate:
  6370. description: 结束交易日
  6371. type: string
  6372. hedgeplanqty:
  6373. description: 套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例
  6374. type: number
  6375. matchname:
  6376. description: 交易对手方(个人:用户名称 企业:简称)
  6377. type: string
  6378. matchnickname:
  6379. description: 交易对手方昵称
  6380. type: string
  6381. middlegoodscode:
  6382. description: 套保品种代码
  6383. type: string
  6384. middlegoodsid:
  6385. description: 套保品种ID
  6386. type: integer
  6387. middlegoodsname:
  6388. description: 套保品种名称
  6389. type: string
  6390. middlegoodspricedqty:
  6391. description: 已定价量(套保品种 - 税前) = PricedQty * 折算系数
  6392. type: number
  6393. middlegoodspricedqty2:
  6394. description: 已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))
  6395. type: number
  6396. middlegoodspricedqty3:
  6397. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  6398. type: number
  6399. needhedgeratio:
  6400. description: 套保系数
  6401. type: number
  6402. pricedamount:
  6403. description: 已定价额(现货)
  6404. type: number
  6405. pricedamount2:
  6406. description: 已定价额(现货-基价额)
  6407. type: number
  6408. pricedqty:
  6409. description: 已定价量(现货)
  6410. type: number
  6411. reckondate:
  6412. description: 日照时期(yyyyMMdd)
  6413. type: string
  6414. relatedmiddlegoodsamount:
  6415. description: 已关联额(期货)
  6416. type: number
  6417. relatedmiddlegoodsqty:
  6418. description: 已关联量(套保品种)(期货)
  6419. type: number
  6420. spotcontractid:
  6421. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  6422. type: string
  6423. todayavgfutuprice:
  6424. description: 今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty
  6425. type: number
  6426. todayavgprice:
  6427. description: 今日定价均价 = TodayPricedAmount / TodayPricedQty
  6428. type: number
  6429. todayavgprice2:
  6430. description: 今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty
  6431. type: number
  6432. todaypricedamount:
  6433. description: 今日定价额(现货)
  6434. type: number
  6435. todaypricedamount2:
  6436. description: 今日定价额(现货-基价额)
  6437. type: number
  6438. todaypricedqty:
  6439. description: 今日定价量(现货)
  6440. type: number
  6441. todayrelatedfutureqty:
  6442. description: 今日关联量(期货)
  6443. type: number
  6444. todayrelatedmiddlegoodsamount:
  6445. description: 今日关联额(期货)
  6446. type: number
  6447. todayrelatedmiddlegoodsqty:
  6448. description: 今日关联量(套保品-期货)
  6449. type: number
  6450. updatetime:
  6451. description: 更新时间
  6452. type: string
  6453. userid:
  6454. description: 合同所属用户id
  6455. type: integer
  6456. vatrate:
  6457. description: 增值税率
  6458. type: number
  6459. wrstandardcode:
  6460. description: 商品(品类) 代码
  6461. type: string
  6462. wrstandardid:
  6463. description: 现货商品ID
  6464. type: integer
  6465. wrstandardname:
  6466. description: 商品(品类) 名称
  6467. type: string
  6468. type: object
  6469. models.Ermcp3SellBuyContract:
  6470. properties:
  6471. accountid:
  6472. description: 期货账户id
  6473. type: string
  6474. accountname:
  6475. description: 账户名称
  6476. type: string
  6477. attachment:
  6478. description: 附件
  6479. type: string
  6480. audittime:
  6481. description: 审核时间
  6482. type: string
  6483. bizsubjectid:
  6484. description: 归属业务部门ID - SubjectID
  6485. type: integer
  6486. biztype:
  6487. description: 业务类型 1-套保 2-套利
  6488. type: integer
  6489. brandname:
  6490. description: 品牌名称
  6491. type: string
  6492. contracctstatus:
  6493. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6494. type: integer
  6495. contractmargin:
  6496. description: 合同保证金
  6497. type: number
  6498. contractno:
  6499. description: 合同编号
  6500. type: string
  6501. contracttype:
  6502. description: 合同类型 1-采购, -1-销售
  6503. type: integer
  6504. convertfactor:
  6505. description: 标仓系数(品类)
  6506. type: number
  6507. createtime:
  6508. description: 创建时间
  6509. type: string
  6510. currencyid:
  6511. description: 币种id
  6512. type: integer
  6513. currencyname:
  6514. description: 币种名称
  6515. type: string
  6516. daikaiamount:
  6517. description: 应收(开)票额
  6518. type: number
  6519. deliveryenddate:
  6520. description: 交割结束日
  6521. type: string
  6522. deliverygoodscode:
  6523. description: 现货品种代码
  6524. type: string
  6525. deliverygoodsid:
  6526. description: 现货商品ID
  6527. type: integer
  6528. deliverygoodsname:
  6529. description: 现货品种名称
  6530. type: string
  6531. deliverystartdate:
  6532. description: 交割开始日
  6533. type: string
  6534. enddate:
  6535. description: 点价结束日
  6536. type: string
  6537. enumdicname:
  6538. description: 单位名称
  6539. type: string
  6540. goodscode:
  6541. description: 点价商品代码
  6542. type: string
  6543. goodsgroupid:
  6544. description: 点价商品组id
  6545. type: integer
  6546. goodsid:
  6547. description: 点价商品ID
  6548. type: integer
  6549. goodsname:
  6550. description: 点价商品名称
  6551. type: string
  6552. invoiceamount:
  6553. description: 已开票额
  6554. type: number
  6555. loanamount:
  6556. description: 贷款总额=已定价额+调整金额
  6557. type: number
  6558. margin:
  6559. description: 保证金
  6560. type: number
  6561. meruserid:
  6562. description: 跟单员id
  6563. type: integer
  6564. meruserlogincode:
  6565. description: 跟单员登录代码
  6566. type: string
  6567. merusername:
  6568. description: 跟单员名称
  6569. type: string
  6570. nickname:
  6571. description: 账户昵称
  6572. type: string
  6573. orireckonrealqty:
  6574. description: 应交收量
  6575. type: number
  6576. payamount:
  6577. description: 已收付额(收款或付款)
  6578. type: number
  6579. preinvoiceamount:
  6580. description: 预收(开)票额
  6581. type: number
  6582. prepayamount:
  6583. description: 预收付额
  6584. type: number
  6585. price:
  6586. description: 价格
  6587. type: number
  6588. pricedamount:
  6589. description: 已定价额
  6590. type: number
  6591. pricedavg:
  6592. description: 已点均价
  6593. type: number
  6594. pricedqty:
  6595. description: 已定价量
  6596. type: number
  6597. pricemove:
  6598. description: 升贴水
  6599. type: number
  6600. pricetype:
  6601. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  6602. type: integer
  6603. producttype:
  6604. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6605. type: integer
  6606. qty:
  6607. description: 合同量
  6608. type: number
  6609. reckonadjustamount:
  6610. description: 调整金额
  6611. type: number
  6612. reckonedamount:
  6613. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  6614. type: number
  6615. reckonotheramount:
  6616. description: 其它费用
  6617. type: number
  6618. reckonrealqty:
  6619. description: 已交收量
  6620. type: number
  6621. remark:
  6622. description: 备注
  6623. type: string
  6624. saleuserid:
  6625. description: 业务员id
  6626. type: integer
  6627. saleuserlogincode:
  6628. description: 业务员登录代码
  6629. type: string
  6630. saleusername:
  6631. description: 业务员名称
  6632. type: string
  6633. spotcontractid:
  6634. description: 合同ID
  6635. type: string
  6636. spotgoodsbrandid:
  6637. description: 现货品牌ID(DGFactoryItem表的ID)
  6638. type: integer
  6639. spotgoodsdesc:
  6640. description: 商品型号(商品规格)
  6641. type: string
  6642. startdate:
  6643. description: 点价开始日
  6644. type: string
  6645. subjectid:
  6646. description: 交易主体ID
  6647. type: integer
  6648. subjectname:
  6649. description: 交易主体名称
  6650. type: string
  6651. totalamount:
  6652. description: 合计总额
  6653. type: number
  6654. tradeuserid:
  6655. description: 交易员id
  6656. type: integer
  6657. tradeuserlogincode:
  6658. description: 交易员登录代码
  6659. type: string
  6660. tradeusername:
  6661. description: 交易员名称
  6662. type: string
  6663. unpayamount:
  6664. description: 应收付款额(应支付或应收款)
  6665. type: number
  6666. unpricedqty:
  6667. description: 未定价量
  6668. type: number
  6669. unsureqty:
  6670. description: 未确定量
  6671. type: number
  6672. userid:
  6673. description: 机构ID
  6674. type: integer
  6675. vatrate:
  6676. description: 增值税率
  6677. type: number
  6678. wrstandardcode:
  6679. description: 品类代码
  6680. type: string
  6681. wrstandardid:
  6682. description: 品类ID
  6683. type: integer
  6684. wrstandardname:
  6685. description: 品类名称
  6686. type: string
  6687. type: object
  6688. models.Ermcp3SpotGoodsPrice:
  6689. properties:
  6690. areauserid:
  6691. description: 所属机构id
  6692. type: integer
  6693. brandname:
  6694. description: 品牌名称
  6695. type: string
  6696. currencyid:
  6697. description: 报价货币ID
  6698. type: integer
  6699. currencyname:
  6700. description: 币种名称
  6701. type: string
  6702. deliverygoodscode:
  6703. description: 现货商品代码
  6704. type: string
  6705. deliverygoodsid:
  6706. description: 现货商品id
  6707. type: integer
  6708. deliverygoodsname:
  6709. description: 现货商品名称
  6710. type: string
  6711. enumdicname:
  6712. description: 现货商品单位名称
  6713. type: string
  6714. gbenumdicname:
  6715. description: 品类单位名称
  6716. type: string
  6717. gmunitid:
  6718. description: 品类单位id
  6719. type: integer
  6720. isvalid:
  6721. description: 是否有效 - 0:无效 1:有效
  6722. type: integer
  6723. operateid:
  6724. description: 最后操作人
  6725. type: integer
  6726. operatesrc:
  6727. description: 最后操作来源 - 1:管理端 2:终端
  6728. type: integer
  6729. operatetime:
  6730. description: 最后操作时间
  6731. type: string
  6732. operatorname:
  6733. description: 操作人名称
  6734. type: string
  6735. spotgoodsbrandid:
  6736. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6737. type: integer
  6738. spotgoodsprice:
  6739. description: 现货价格
  6740. type: number
  6741. tradedate:
  6742. description: 交易日(yyyyMMdd)
  6743. type: string
  6744. unitid:
  6745. description: 现货商品单位id
  6746. type: integer
  6747. wrstandardcode:
  6748. description: 品类代码
  6749. type: string
  6750. wrstandardid:
  6751. description: 现货品类ID(通用则为0)
  6752. type: integer
  6753. wrstandardname:
  6754. description: 品类名称
  6755. type: string
  6756. type: object
  6757. models.Ermcp3SpotGoodsPriceLog:
  6758. properties:
  6759. areauserid:
  6760. description: 所属机构id
  6761. type: integer
  6762. brandname:
  6763. description: 品牌名称
  6764. type: string
  6765. currencyid:
  6766. description: 报价货币ID
  6767. type: integer
  6768. deliverygoodscode:
  6769. description: 现货商品代码
  6770. type: string
  6771. deliverygoodsid:
  6772. description: 现货商品id
  6773. type: integer
  6774. deliverygoodsname:
  6775. description: 现货商品名称
  6776. type: string
  6777. enumdicname:
  6778. description: 现货商品单位名称
  6779. type: string
  6780. gbenumdicname:
  6781. description: 品类单位名称
  6782. type: string
  6783. gmunitid:
  6784. description: 品类单位id
  6785. type: integer
  6786. logid:
  6787. description: 日志id
  6788. type: integer
  6789. operateid:
  6790. description: 最后操作人
  6791. type: integer
  6792. operatesrc:
  6793. description: 最后操作来源 - 1:管理端 2:终端
  6794. type: integer
  6795. operatetime:
  6796. description: 最后操作时间
  6797. type: string
  6798. operatorname:
  6799. description: 操作人名称
  6800. type: string
  6801. spotgoodsbrandid:
  6802. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6803. type: integer
  6804. spotgoodsprice:
  6805. description: 现货价格
  6806. type: number
  6807. tradedate:
  6808. description: 交易日(yyyyMMdd)
  6809. type: string
  6810. unitid:
  6811. description: 现货商品单位id
  6812. type: integer
  6813. wrstandardcode:
  6814. description: 品类代码
  6815. type: string
  6816. wrstandardid:
  6817. description: 现货品类ID(通用则为0)
  6818. type: integer
  6819. wrstandardname:
  6820. description: 品类名称
  6821. type: string
  6822. type: object
  6823. models.Ermcp3SubTaaccount:
  6824. properties:
  6825. accountid:
  6826. description: 资金账户ID
  6827. type: integer
  6828. parentaccountcode:
  6829. description: 所属根账号代码(母账号代码)
  6830. type: string
  6831. parentaccountid:
  6832. description: 所属根账号(母账号)
  6833. type: integer
  6834. taname:
  6835. description: 资金账号名称
  6836. type: string
  6837. tradestatus:
  6838. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  6839. type: integer
  6840. username:
  6841. description: 交易用户
  6842. type: string
  6843. type: object
  6844. models.Ermcp3TaFutuReDataReport:
  6845. properties:
  6846. accountid:
  6847. description: 交易账户
  6848. type: integer
  6849. accountname:
  6850. description: 交易账号名称
  6851. type: string
  6852. agreeunit:
  6853. description: 商品合约单位
  6854. type: number
  6855. begindate:
  6856. description: 开始交易日
  6857. type: string
  6858. buyorsell:
  6859. description: 持仓方向
  6860. type: integer
  6861. charge:
  6862. description: 手续费
  6863. type: number
  6864. closeavgprice:
  6865. description: 平仓均价
  6866. type: number
  6867. closepl:
  6868. description: 平仓损益
  6869. type: number
  6870. currencyid:
  6871. description: 结算币种ID
  6872. type: integer
  6873. currencyname:
  6874. description: 币种名称
  6875. type: string
  6876. cycletime:
  6877. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6878. type: string
  6879. cycletype:
  6880. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6881. type: integer
  6882. enddate:
  6883. description: 结束交易日
  6884. type: string
  6885. enumdicname:
  6886. description: 单位名称
  6887. type: string
  6888. floatpl:
  6889. description: 浮动损益
  6890. type: number
  6891. goodscode:
  6892. description: 交易合约代码
  6893. type: string
  6894. goodsgroupid:
  6895. description: 交易品种
  6896. type: integer
  6897. goodsgroupname:
  6898. description: 交易品种名称
  6899. type: string
  6900. goodsgroupspotqty:
  6901. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  6902. type: number
  6903. goodsid:
  6904. description: 交易合约
  6905. type: integer
  6906. goodsname:
  6907. description: 交易合约名称
  6908. type: string
  6909. goodunitid:
  6910. description: 交易合约单位id
  6911. type: integer
  6912. holdamount:
  6913. description: 期末持仓额
  6914. type: number
  6915. holdqty:
  6916. description: 期末持仓量
  6917. type: number
  6918. lastholdamount:
  6919. description: 当前持仓额
  6920. type: number
  6921. lastprice:
  6922. description: 最新价
  6923. type: number
  6924. middlegoodsid:
  6925. description: 套保品种id
  6926. type: integer
  6927. middlegoodsname:
  6928. description: 套保商品名称
  6929. type: string
  6930. middlegoodsqty:
  6931. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  6932. type: number
  6933. middlgoodscode:
  6934. description: 套保商品代码
  6935. type: string
  6936. openamount:
  6937. description: 期末开仓额
  6938. type: number
  6939. openavgprice:
  6940. description: 开仓均价
  6941. type: number
  6942. oriholdamount:
  6943. description: 期初持仓额
  6944. type: number
  6945. oriholdqty:
  6946. description: 期初持仓量
  6947. type: number
  6948. oriopenamount:
  6949. description: 期初开仓额
  6950. type: number
  6951. outergroupcode:
  6952. description: 交易品种代码
  6953. type: string
  6954. qtydecimalplace:
  6955. description: 成交量小数位
  6956. type: integer
  6957. reckondate:
  6958. description: 日照时期(yyyyMMdd)
  6959. type: string
  6960. reckonholdamount:
  6961. description: 结算持仓额
  6962. type: number
  6963. reckonpl:
  6964. description: 结算损益
  6965. type: number
  6966. reckonpl2:
  6967. description: 结算逐笔盈亏
  6968. type: number
  6969. reckonprice:
  6970. description: 结算价
  6971. type: number
  6972. relateduserid:
  6973. description: 账户关联用户ID
  6974. type: integer
  6975. todaycloseamount:
  6976. description: 今平仓额
  6977. type: number
  6978. todaycloseqty:
  6979. description: 今平仓量
  6980. type: number
  6981. todaygoodsgroupspotqty:
  6982. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  6983. type: number
  6984. todaymiddlegoodsqty:
  6985. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  6986. type: number
  6987. todayopenamount:
  6988. description: 今开仓额
  6989. type: number
  6990. todayopenqty:
  6991. description: 今开仓量
  6992. type: number
  6993. userid:
  6994. description: 账户所属用户ID
  6995. type: integer
  6996. type: object
  6997. models.Ermcp3TradeLinkDetail:
  6998. properties:
  6999. accountid:
  7000. description: 资金账号
  7001. type: integer
  7002. agreeunit:
  7003. description: 合约乘数
  7004. type: number
  7005. areauserid:
  7006. description: 所属机构
  7007. type: string
  7008. bizsubjectid:
  7009. description: 归属业务部门ID - SubjectID
  7010. type: string
  7011. buyorsell:
  7012. description: 方向 - 0:买 1:卖
  7013. type: integer
  7014. channelbuildtype:
  7015. description: 委托单据类型 0:无 1:建仓 2:平仓
  7016. type: integer
  7017. contractno:
  7018. description: 现货编号 (合同编号)
  7019. type: string
  7020. convertratio:
  7021. description: 折算系数
  7022. type: number
  7023. createtime:
  7024. description: 关联时间 | 创建时间
  7025. type: string
  7026. creatorid:
  7027. description: 创建人ID
  7028. type: string
  7029. creatorsrc:
  7030. description: 创建人来源 - 1:管理端 2:终端 3:交易
  7031. type: integer
  7032. enumdicname:
  7033. description: 单位名称
  7034. type: string
  7035. goodscode:
  7036. description: 合约代码
  7037. type: string
  7038. goodsgroupid:
  7039. description: 对冲品种ID[期货合约商品组ID]
  7040. type: integer
  7041. goodsid:
  7042. description: 商品ID
  7043. type: integer
  7044. goodsname:
  7045. description: 合约名称
  7046. type: string
  7047. hedgeflag:
  7048. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安)
  7049. 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  7050. type: integer
  7051. linkdetailid:
  7052. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  7053. type: string
  7054. linkstatus:
  7055. description: 关联状态 - 1:成功 2:失败 3:解绑
  7056. type: integer
  7057. middlegoodscode:
  7058. description: 套保品种代码
  7059. type: string
  7060. middlegoodsid:
  7061. description: 套保品种ID
  7062. type: integer
  7063. middlegoodsname:
  7064. description: 套保品种名称
  7065. type: string
  7066. relatedlot:
  7067. description: 关联手数
  7068. type: number
  7069. relatedmode:
  7070. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  7071. type: integer
  7072. relatedqty:
  7073. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  7074. type: number
  7075. retcode:
  7076. description: 返回码
  7077. type: integer
  7078. saleuserid:
  7079. description: 业务员ID
  7080. type: string
  7081. spotcontractid:
  7082. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  7083. type: string
  7084. taname:
  7085. description: 期货账户
  7086. type: string
  7087. tradedate:
  7088. description: 关联交易日(yyyyMMdd)
  7089. type: string
  7090. tradeid:
  7091. description: 期货订单号 | 内部成交单ID
  7092. type: string
  7093. tradelot:
  7094. description: 成交数量 | 成交手数
  7095. type: integer
  7096. tradeprice:
  7097. description: 成交价格
  7098. type: number
  7099. tradetime:
  7100. description: 期货成交时间
  7101. type: string
  7102. tradetradedate:
  7103. description: 成交交易日(yyyyMMdd)
  7104. type: string
  7105. username:
  7106. description: 用户名称
  7107. type: string
  7108. type: object
  7109. models.Ermcp3Wrstandard:
  7110. properties:
  7111. areauserid:
  7112. description: 所属机构
  7113. type: integer
  7114. cantrade:
  7115. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  7116. type: integer
  7117. convertfactor:
  7118. description: 标仓系数
  7119. type: number
  7120. createtime:
  7121. description: 创建时间
  7122. type: string
  7123. creatorid:
  7124. description: 创建人
  7125. type: integer
  7126. deliverygoodsid:
  7127. description: 现货品种ID
  7128. type: integer
  7129. enumdicname:
  7130. description: 品类单位名称
  7131. type: string
  7132. isvalid:
  7133. description: 是否有效 0-无效(停用) 1-有效(正常)
  7134. type: integer
  7135. minivalue:
  7136. description: 最小变动值
  7137. type: integer
  7138. minivaluedp:
  7139. description: 最小变动值小数位
  7140. type: integer
  7141. realminivalue:
  7142. description: 实际最小变动值
  7143. type: integer
  7144. realminivaluedp:
  7145. description: 实际最小变动值小数位
  7146. type: integer
  7147. remark:
  7148. description: 备注
  7149. type: string
  7150. unitid:
  7151. description: 品类单位ID
  7152. type: integer
  7153. updatetime:
  7154. description: 更新时间
  7155. type: string
  7156. wrstandardcode:
  7157. description: 品类代码
  7158. type: string
  7159. wrstandardid:
  7160. description: 品类ID(SEQ_WRSTANDARD)
  7161. type: integer
  7162. wrstandardname:
  7163. description: 品类名称
  7164. type: string
  7165. type: object
  7166. models.ErmcpBizGroupEx:
  7167. properties:
  7168. acclist:
  7169. description: 账号列表
  7170. items:
  7171. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  7172. type: array
  7173. bizgroupid:
  7174. description: 业务分组id
  7175. type: integer
  7176. biztype:
  7177. description: 业务类型 1-套保 2-套利
  7178. type: integer
  7179. wrlist:
  7180. description: 现货商品表
  7181. items:
  7182. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  7183. type: array
  7184. type: object
  7185. models.ErmcpBizGroupSpotGoods:
  7186. properties:
  7187. areauserid:
  7188. description: 所属机构id
  7189. type: integer
  7190. bizgroupid:
  7191. description: 分组id
  7192. type: integer
  7193. biztype:
  7194. description: 业务类型 1-套保 2-套利
  7195. type: integer
  7196. deliverygoodscode:
  7197. description: 现货商品代码
  7198. type: string
  7199. deliverygoodsid:
  7200. description: 现货商品id
  7201. type: integer
  7202. deliverygoodsname:
  7203. description: 现货商品名称
  7204. type: string
  7205. unitid:
  7206. description: 现货商品单位id
  7207. type: integer
  7208. type: object
  7209. models.ErmcpBizGroupTaAccount:
  7210. properties:
  7211. accountid:
  7212. description: 账号id
  7213. type: integer
  7214. accountname:
  7215. description: 账号名称
  7216. type: string
  7217. areauserid:
  7218. description: 所属机构id
  7219. type: integer
  7220. bizgroupid:
  7221. description: 业务分组id
  7222. type: integer
  7223. ismain:
  7224. description: 是否主账号 1-是 0-否
  7225. type: integer
  7226. type: object
  7227. models.ErmcpDGFactoryItem:
  7228. properties:
  7229. areauserid:
  7230. description: 用户id
  7231. type: integer
  7232. deliverygoodsid:
  7233. description: 现货品种ID
  7234. type: integer
  7235. dgfactoryitemid:
  7236. description: 选择项ID(SEQ_DGFACTORYITEM)
  7237. type: integer
  7238. dgfactoryitemtypeid:
  7239. description: 要素项类型
  7240. type: integer
  7241. dgfactoryitemvalue:
  7242. description: 要素项值(类型为仓库时填写仓库名称)
  7243. type: string
  7244. isvalid:
  7245. description: 是否有效 - 0:无效 1:有效
  7246. type: integer
  7247. orderindex:
  7248. description: 顺序
  7249. type: integer
  7250. warehouseid:
  7251. description: 仓库ID(类型为仓库时填写)
  7252. type: integer
  7253. type: object
  7254. models.ErmcpDeliveryGoods:
  7255. properties:
  7256. agreeunit:
  7257. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  7258. type: integer
  7259. areauserid:
  7260. description: 所属机构
  7261. type: integer
  7262. auditflag:
  7263. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  7264. type: integer
  7265. categoryid:
  7266. description: 类别ID(SEQ_WRCATEGORY)
  7267. type: integer
  7268. deliverygoodscode:
  7269. description: 现货品种代码
  7270. type: string
  7271. deliverygoodsid:
  7272. description: 现货品种ID(SEQ_DELIVERYGOODS)
  7273. type: integer
  7274. deliverygoodsname:
  7275. description: 现货品种名称
  7276. type: string
  7277. deliverygoodstype:
  7278. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  7279. type: integer
  7280. dgstatus:
  7281. description: 品种状态 - 作废 - 0:未激活 1:正常
  7282. type: integer
  7283. enumdicname:
  7284. description: 现货品种单位名称
  7285. type: string
  7286. goodsunitid:
  7287. description: 现货品种单位ID
  7288. type: integer
  7289. isvalid:
  7290. description: 是否有效 - 0:无效 1:有效
  7291. type: integer
  7292. qtydecimalplace:
  7293. description: 成交量小数位
  7294. type: integer
  7295. remark:
  7296. description: 备注
  7297. type: string
  7298. standardqty:
  7299. description: 标准数量(库位数量) [标准品特有]
  7300. type: integer
  7301. standardqtyrange:
  7302. description: 标准数量偏差范围 [标准品特有]
  7303. type: integer
  7304. type: object
  7305. models.ErmcpFuturesCompany:
  7306. properties:
  7307. brokerid:
  7308. description: 经纪公司代码
  7309. type: string
  7310. channeladdress:
  7311. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  7312. type: string
  7313. channelid:
  7314. description: 对冲渠道ID
  7315. type: string
  7316. createtime:
  7317. description: 创建时间
  7318. type: string
  7319. creatorid:
  7320. description: 创建人
  7321. type: string
  7322. fcid:
  7323. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  7324. type: integer
  7325. fcname:
  7326. description: 期货公司名称
  7327. type: string
  7328. isvalid:
  7329. description: 是否有效 - 0:无效 1:有效
  7330. type: integer
  7331. mhpaddress:
  7332. description: MHP服务地址(IP:Port)
  7333. type: string
  7334. riskrulegroupid:
  7335. description: 风控规则组ID
  7336. type: string
  7337. tradefeetmpid:
  7338. description: 手续费模板ID[TradeConfigTmpType为2]
  7339. type: string
  7340. trademargintmpid:
  7341. description: 保证金模板ID [TradeConfigTmpType为1]
  7342. type: string
  7343. traderatetmpid:
  7344. description: 汇率模板ID[TradeConfigTmpType为3]
  7345. type: string
  7346. updatetime:
  7347. description: 更新时间
  7348. type: string
  7349. updatorid:
  7350. description: 更新人
  7351. type: string
  7352. type: object
  7353. models.ErmcpGGConvertCfg:
  7354. properties:
  7355. convertratio:
  7356. description: 折算系数
  7357. type: number
  7358. destgoodsgroupid:
  7359. description: 目标品种ID
  7360. type: integer
  7361. dstcode:
  7362. description: 目录品种代码
  7363. type: string
  7364. dstexchangecode:
  7365. description: 目标期货交易所
  7366. type: string
  7367. dstname:
  7368. description: 目标品种名称
  7369. type: string
  7370. dstunitid:
  7371. description: 目标品种单位ID
  7372. type: integer
  7373. dstunitidname:
  7374. description: 目标品种单位名称
  7375. type: string
  7376. modifytime:
  7377. description: 修改时间
  7378. type: string
  7379. srccode:
  7380. description: 源品种代码
  7381. type: string
  7382. srcexchangecode:
  7383. description: 源期货交易所
  7384. type: string
  7385. srcgoodsgroupid:
  7386. description: 源品种ID
  7387. type: integer
  7388. srcname:
  7389. description: 源品种名称
  7390. type: string
  7391. srcunitid:
  7392. description: 源品种单位ID
  7393. type: integer
  7394. srcunitidname:
  7395. description: 源品种单位名称
  7396. type: string
  7397. type: object
  7398. models.ErmcpGoods:
  7399. properties:
  7400. agreeunit:
  7401. description: 合约单位
  7402. type: number
  7403. areauserid:
  7404. description: 所属机构
  7405. type: integer
  7406. auditaccountid:
  7407. description: 审核操作员账号
  7408. type: integer
  7409. audittime:
  7410. description: 审核时间
  7411. type: string
  7412. cancelaccountid:
  7413. description: 注销操作员账号
  7414. type: integer
  7415. canceltime:
  7416. description: 注销时间
  7417. type: string
  7418. closepricemode:
  7419. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7420. type: integer
  7421. closepriceparam:
  7422. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7423. type: number
  7424. createtime:
  7425. description: 创建时间
  7426. type: string
  7427. creatorid:
  7428. description: 创建人
  7429. type: integer
  7430. currencyid:
  7431. description: 报价货币ID
  7432. type: integer
  7433. cutmode:
  7434. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7435. type: integer
  7436. decimalplace:
  7437. description: 报价小数位
  7438. type: integer
  7439. delistingdate:
  7440. description: 商品退市时间(状态:退市) -- 已作废
  7441. type: string
  7442. delistingmode:
  7443. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7444. type: integer
  7445. deliveryflag:
  7446. description: 交割标志 - 0:不可交割 1:可交割
  7447. type: integer
  7448. enumdicname:
  7449. description: 单位名称
  7450. type: string
  7451. forceclosemode:
  7452. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7453. type: integer
  7454. forceclosevalue:
  7455. description: 定期强平参数 [收益权]
  7456. type: integer
  7457. goodscode:
  7458. description: 商品代码(内部)
  7459. type: string
  7460. goodscurrencyid:
  7461. description: 合约货币ID
  7462. type: integer
  7463. goodsgroupid:
  7464. description: 所属商品组ID
  7465. type: integer
  7466. goodsid:
  7467. description: 商品ID(自增ID SEQ_GOODS)
  7468. type: integer
  7469. goodsname:
  7470. description: 商品名称
  7471. type: string
  7472. goodsquotetype:
  7473. description: '合约报价类型: 1-直接报价 2-间接报价'
  7474. type: integer
  7475. goodsstatus:
  7476. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7477. type: integer
  7478. goodstradetype:
  7479. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7480. type: integer
  7481. goodunitid:
  7482. description: 报价单位ID
  7483. type: integer
  7484. hasquoter:
  7485. description: 是否有报价商 - 0:无报价商 1:有报价商
  7486. type: integer
  7487. hqprotecttime:
  7488. description: 行情保护时间(秒)
  7489. type: integer
  7490. innerdealmode:
  7491. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7492. type: integer
  7493. isbuylimited:
  7494. description: 是否限制建仓量 - 0:不限制 1:限制
  7495. type: integer
  7496. isvisible:
  7497. description: 游客是否可见 - 0:不可见 1:可见
  7498. type: integer
  7499. lasttradedate:
  7500. description: 最后交易日期(状态:待退市)
  7501. type: string
  7502. listingdate:
  7503. description: 交易开始日期
  7504. type: string
  7505. marketid:
  7506. description: 所属市场ID
  7507. type: integer
  7508. modifierid:
  7509. description: 修改人
  7510. type: integer
  7511. modifystatus:
  7512. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7513. type: integer
  7514. modifytime:
  7515. description: 修改时间
  7516. type: string
  7517. outerdealmode:
  7518. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7519. type: integer
  7520. outgoodscode:
  7521. description: 商品代码(外部)
  7522. type: string
  7523. pictureurl:
  7524. description: 商品图片
  7525. type: string
  7526. qtydecimalplace:
  7527. description: 成交量小数位
  7528. type: integer
  7529. quotegear:
  7530. description: 行情档位(1-10)
  7531. type: integer
  7532. quoteminunit:
  7533. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7534. type: integer
  7535. quoteshowtype:
  7536. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7537. type: integer
  7538. quoteshowtypeinterval:
  7539. description: 行情报价间隔时间(秒)(成交价时为0)
  7540. type: integer
  7541. relatedgoodsid:
  7542. description: 关联参考商品ID
  7543. type: integer
  7544. remark:
  7545. description: 备注
  7546. type: string
  7547. trademode:
  7548. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7549. 21:竞拍-大宗式 22:受托竞价
  7550. type: integer
  7551. required:
  7552. - goodscode
  7553. - goodsid
  7554. - goodsname
  7555. - marketid
  7556. type: object
  7557. models.ErmcpGoodsBrand:
  7558. properties:
  7559. areauserid:
  7560. description: 所属机构
  7561. type: integer
  7562. brandid:
  7563. description: BrandID(SEQ_SPOTGOODSBRAND)
  7564. type: integer
  7565. brandname:
  7566. description: 品牌名称
  7567. type: string
  7568. createtime:
  7569. description: 创建时间
  7570. type: string
  7571. creatorid:
  7572. description: 创建人
  7573. type: integer
  7574. creatorsrc:
  7575. description: 创建人来源 - 1:管理端 2:终端
  7576. type: integer
  7577. deliverygoodsid:
  7578. description: 现货品种ID
  7579. type: integer
  7580. isvalid:
  7581. description: 是否有效 - 0:无效 1:有效
  7582. type: integer
  7583. updatetime:
  7584. description: 更新时间
  7585. type: string
  7586. updatorid:
  7587. description: 更新人
  7588. type: integer
  7589. updatorsrc:
  7590. description: 更新人来源 - 1:管理端 2:终端
  7591. type: integer
  7592. wrstandardid:
  7593. description: 现货商品ID
  7594. type: integer
  7595. type: object
  7596. models.ErmcpGoodsModel:
  7597. properties:
  7598. areauserid:
  7599. description: 所属机构
  7600. type: integer
  7601. convertfactor:
  7602. description: 标仓系数
  7603. type: number
  7604. createtime:
  7605. description: 创建时间
  7606. type: string
  7607. creatorid:
  7608. description: 创建人
  7609. type: integer
  7610. creatorsrc:
  7611. description: 创建人来源 - 1:管理端 2:终端
  7612. type: integer
  7613. deliverygoodsid:
  7614. description: 现货品种ID
  7615. type: integer
  7616. isvalid:
  7617. description: 是否有效 - 0:无效 1:有效
  7618. type: integer
  7619. modelid:
  7620. description: ModelID(SEQ_SPOTGOODSMODEL)
  7621. type: integer
  7622. modelname:
  7623. description: 型号名称
  7624. type: string
  7625. updatetime:
  7626. description: 更新时间
  7627. type: string
  7628. updatorid:
  7629. description: 更新人
  7630. type: integer
  7631. updatorsrc:
  7632. description: 更新人来源 - 1:管理端 2:终端
  7633. type: integer
  7634. wrstandardid:
  7635. description: 现货商品ID
  7636. type: integer
  7637. type: object
  7638. models.ErmcpHisExposure:
  7639. properties:
  7640. needhedgeexposoure:
  7641. description: 应套保敞口
  7642. type: number
  7643. reckondate:
  7644. description: 日照时期(yyyyMMdd)
  7645. type: string
  7646. totalexposure:
  7647. description: 总敞口
  7648. type: number
  7649. type: object
  7650. models.ErmcpLoginTaAccount:
  7651. properties:
  7652. accountid:
  7653. description: 账号id
  7654. type: integer
  7655. accountname:
  7656. description: 账号名称
  7657. type: string
  7658. type: object
  7659. models.ErmcpLoginUser:
  7660. properties:
  7661. acclist:
  7662. description: 关联资金账号
  7663. items:
  7664. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  7665. type: array
  7666. accountname:
  7667. description: 用户名称
  7668. type: string
  7669. clientroleid:
  7670. description: 角色id(usertype=2)
  7671. type: integer
  7672. createtime:
  7673. description: 创建时间
  7674. type: string
  7675. logincode:
  7676. description: 登录代码
  7677. type: string
  7678. loginid:
  7679. description: 登录id(LOGINID)
  7680. type: integer
  7681. loginname:
  7682. description: 登录名称(loginaccount表中的accountname字段)
  7683. type: string
  7684. loginstatus:
  7685. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  7686. type: integer
  7687. memberuserid:
  7688. description: 所属会员id
  7689. type: integer
  7690. mobile:
  7691. description: 手机号
  7692. type: string
  7693. modifytime:
  7694. description: 修改时间
  7695. type: string
  7696. password:
  7697. description: 密码(不可解密)
  7698. type: string
  7699. rolename:
  7700. description: 角色名称
  7701. type: string
  7702. rolestatus:
  7703. description: 角色状态 1-启用 2-停用
  7704. type: integer
  7705. roletype:
  7706. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  7707. type: string
  7708. userid:
  7709. description: 用户id
  7710. type: integer
  7711. usertype:
  7712. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  7713. type: integer
  7714. type: object
  7715. models.ErmcpLoginUserEx:
  7716. properties:
  7717. accountstatus:
  7718. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  7719. type: integer
  7720. mobile:
  7721. description: 手机号
  7722. type: string
  7723. querytype:
  7724. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  7725. type: integer
  7726. roleid:
  7727. description: 角色id(交易账户->用户id)
  7728. type: integer
  7729. rolename:
  7730. description: 角色名称(交易账户->用户名称)
  7731. type: string
  7732. userlist:
  7733. description: 用户列表
  7734. items:
  7735. $ref: '#/definitions/models.ErmcpLoginUser'
  7736. type: array
  7737. usertype:
  7738. description: 用户类型 2-机构 7-企业成员(云平台)
  7739. type: integer
  7740. type: object
  7741. models.ErmcpMiddleGoodsModel:
  7742. properties:
  7743. areauserid:
  7744. description: 机构用户ID
  7745. type: integer
  7746. createtime:
  7747. description: 修改时间
  7748. type: string
  7749. enumdicname:
  7750. description: 单位名称
  7751. type: string
  7752. evaluateratio:
  7753. description: 估价系数
  7754. type: number
  7755. goodsgroupid:
  7756. description: 关联期货品种ID
  7757. type: integer
  7758. goodsunitid:
  7759. description: 单位ID
  7760. type: integer
  7761. isvalid:
  7762. description: 状态 0-无效(停用) 1-有效(正常)
  7763. type: integer
  7764. middlegoodscode:
  7765. description: 套保品种代码
  7766. type: string
  7767. middlegoodsid:
  7768. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  7769. type: integer
  7770. middlegoodsname:
  7771. description: 套保品种名称
  7772. type: string
  7773. modifytime:
  7774. description: 修改时间
  7775. type: string
  7776. needarbitrageratio:
  7777. description: 套利比例
  7778. type: number
  7779. needhedgeratio:
  7780. description: 套保比率
  7781. type: number
  7782. qtydecimalplace:
  7783. description: 数量小数位
  7784. type: integer
  7785. relatedgoodsid:
  7786. description: 关联交易商品ID
  7787. type: integer
  7788. relatedgoodstype:
  7789. description: 关联商品类型 - 1:期货合约 2:现货品种
  7790. type: integer
  7791. remark:
  7792. description: 备注
  7793. type: string
  7794. type: object
  7795. models.ErmcpMiddlegoodsRelateGoods:
  7796. properties:
  7797. agreeunit:
  7798. description: 合约乘数
  7799. type: number
  7800. convertratio:
  7801. description: 折算系数
  7802. type: number
  7803. enumdicname:
  7804. description: 单位名称(交易商品)
  7805. type: string
  7806. goodscode:
  7807. description: 交易商品代码
  7808. type: string
  7809. goodsgroupid:
  7810. description: 交易品种id
  7811. type: integer
  7812. goodsid:
  7813. description: 商品Id
  7814. type: integer
  7815. goodsname:
  7816. description: 交易商品名称
  7817. type: string
  7818. goodunitid:
  7819. description: 交易商品单位id
  7820. type: integer
  7821. middlegoodsid:
  7822. description: 套保商品id
  7823. type: integer
  7824. middlegoodsname:
  7825. description: 套保商品名称
  7826. type: string
  7827. middlegoodsswcode:
  7828. description: 套保商品代码
  7829. type: string
  7830. needarbitrageratio:
  7831. description: 应套利比例
  7832. type: number
  7833. needhedgeratio:
  7834. description: 应套保比例
  7835. type: number
  7836. type: object
  7837. models.ErmcpRole:
  7838. properties:
  7839. areauserid:
  7840. description: 所属机构
  7841. type: integer
  7842. autoid:
  7843. description: 角色ID(自增ID)
  7844. type: integer
  7845. modifierid:
  7846. description: 修改人(创建人)
  7847. type: integer
  7848. modifiername:
  7849. description: 修改人名称
  7850. type: string
  7851. modifytime:
  7852. description: 修改时间(创建时间)
  7853. type: string
  7854. rolename:
  7855. description: 角色名称
  7856. type: string
  7857. rolestatus:
  7858. description: 角色状态 - 1:启用 2:停用
  7859. type: integer
  7860. roletype:
  7861. description: 角色类型 - 1- 管理端 2- 交易端
  7862. type: integer
  7863. type: object
  7864. models.ErmcpRoleMenu:
  7865. properties:
  7866. iconame:
  7867. description: 菜单图标
  7868. type: string
  7869. ishadrole:
  7870. description: 是否有权限
  7871. type: boolean
  7872. menutype:
  7873. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  7874. type: integer
  7875. parentcode:
  7876. description: 上级资源代码
  7877. type: string
  7878. remark:
  7879. description: 菜单备注
  7880. type: string
  7881. resourcecode:
  7882. description: 菜单代码
  7883. type: string
  7884. resourcelevel:
  7885. description: 级别
  7886. type: integer
  7887. resourcename:
  7888. description: 菜单名称
  7889. type: string
  7890. roleid:
  7891. description: 角色id
  7892. type: integer
  7893. sort:
  7894. description: 排序
  7895. type: integer
  7896. url:
  7897. description: URL
  7898. type: string
  7899. userid:
  7900. description: 用户id
  7901. type: integer
  7902. type: object
  7903. models.ErmcpRoleMenuEx:
  7904. properties:
  7905. menu:
  7906. $ref: '#/definitions/models.ErmcpRoleMenu'
  7907. description: 父级菜单
  7908. subMenu:
  7909. description: 子级菜单
  7910. items:
  7911. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  7912. type: array
  7913. type: object
  7914. models.ErmcpTaAccount:
  7915. properties:
  7916. accountid:
  7917. description: 账户id
  7918. type: integer
  7919. accountname:
  7920. description: 账户名称
  7921. type: string
  7922. currencyid:
  7923. description: 币种id
  7924. type: integer
  7925. hedgeaccountcode:
  7926. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7927. type: string
  7928. ismain:
  7929. description: 是否主账户 0-否 1-是
  7930. type: integer
  7931. parentaccountid:
  7932. description: 父账户id
  7933. type: integer
  7934. relateduserid:
  7935. description: 关联userid
  7936. type: integer
  7937. tradefeetmpid:
  7938. description: 手续费模板id
  7939. type: integer
  7940. tradefeetmpname:
  7941. description: 手续费模板名称
  7942. type: string
  7943. trademargintmpid:
  7944. description: 保证金模板id
  7945. type: integer
  7946. trademargintmpname:
  7947. description: 保证金模板名称
  7948. type: string
  7949. traderatetmpid:
  7950. description: 汇率模板id
  7951. type: integer
  7952. traderatetmpname:
  7953. description: 汇率模板名称
  7954. type: string
  7955. tradestatus:
  7956. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7957. type: integer
  7958. userid:
  7959. description: 用户id
  7960. type: integer
  7961. type: object
  7962. models.ErmcpTaAccountEx:
  7963. properties:
  7964. mainAcc:
  7965. $ref: '#/definitions/models.ErmcpTaAccountM'
  7966. description: 主账号
  7967. subacclist:
  7968. description: 子账号列表
  7969. items:
  7970. $ref: '#/definitions/models.ErmcpTaAccount'
  7971. type: array
  7972. type: object
  7973. models.ErmcpTaAccountInfo:
  7974. properties:
  7975. accountid:
  7976. description: 资金账户ID
  7977. type: integer
  7978. accountname:
  7979. description: 账户名称
  7980. type: string
  7981. balance:
  7982. description: 期初余额
  7983. type: number
  7984. capitalbalance:
  7985. description: 本金余额[外部子账户实际出入金余额]
  7986. type: number
  7987. closepl:
  7988. description: 今日平仓盈亏
  7989. type: number
  7990. creditdecrease:
  7991. description: 今日授信减少
  7992. type: number
  7993. creditincrease:
  7994. description: 今日授信增加
  7995. type: number
  7996. curdebt:
  7997. description: 期末欠款
  7998. type: number
  7999. currencyid:
  8000. description: 货币ID
  8001. type: integer
  8002. currentbalance:
  8003. description: 期末余额
  8004. type: number
  8005. freezecharge:
  8006. description: 手续费冻结
  8007. type: number
  8008. freezemargin:
  8009. description: 冻结保证金
  8010. type: number
  8011. fromaccountid:
  8012. description: 所属上级账户
  8013. type: integer
  8014. inamount:
  8015. description: 今日入金金额(包括三方入金)
  8016. type: number
  8017. ismain:
  8018. description: 是否母账号 0:不是母账户 1:是母账户
  8019. type: integer
  8020. mortgagecredit:
  8021. description: 授信金额
  8022. type: number
  8023. oridebt:
  8024. description: 期初欠款
  8025. type: number
  8026. orifreezecharge:
  8027. description: 期初手续费冻结
  8028. type: number
  8029. orifreezemargin:
  8030. description: 期初冻结保证金
  8031. type: number
  8032. orimortgagecredit:
  8033. description: 期初授信金额
  8034. type: number
  8035. oriothercredit:
  8036. description: 期初其它授信金额
  8037. type: number
  8038. oriotherfreezemargin:
  8039. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  8040. type: number
  8041. orioutamountfreeze:
  8042. description: 期初出金冻结
  8043. type: number
  8044. oriusedmargin:
  8045. description: 期初占用保证金
  8046. type: number
  8047. othercredit:
  8048. description: 其它授信金额
  8049. type: number
  8050. othercreditdecrease:
  8051. description: 今日其它授信减少
  8052. type: number
  8053. othercreditincrease:
  8054. description: 今日其它授信增加
  8055. type: number
  8056. otherfreezemargin:
  8057. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  8058. type: number
  8059. outamount:
  8060. description: 今日出金金额(包括三方出金)
  8061. type: number
  8062. outamountfreeze:
  8063. description: 出金冻结
  8064. type: number
  8065. outthreshold:
  8066. description: 出金阈值
  8067. type: number
  8068. parentaccountid:
  8069. description: 所属根账号
  8070. type: integer
  8071. paycharge:
  8072. description: 今日手续费支出
  8073. type: number
  8074. relateduserid:
  8075. description: 关联用户
  8076. type: integer
  8077. signstatus:
  8078. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  8079. type: integer
  8080. sublevelpath:
  8081. description: 账号层级路径(逗号分隔,首尾加逗号)
  8082. type: string
  8083. taaccounttype:
  8084. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  8085. type: integer
  8086. thirdinamount:
  8087. description: 今日三方入金
  8088. type: number
  8089. thirdoutamount:
  8090. description: 今日三方出金
  8091. type: number
  8092. tradestatus:
  8093. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  8094. type: integer
  8095. transferamount:
  8096. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  8097. type: number
  8098. usedmargin:
  8099. description: 占用保证金
  8100. type: number
  8101. userid:
  8102. description: 用户ID
  8103. type: integer
  8104. type: object
  8105. models.ErmcpTaAccountM:
  8106. properties:
  8107. accountid:
  8108. description: 账户id
  8109. type: integer
  8110. accountname:
  8111. description: 账户名称
  8112. type: string
  8113. currencyid:
  8114. description: 币种id
  8115. type: integer
  8116. fcid:
  8117. description: 期货公司id
  8118. type: integer
  8119. fcname:
  8120. description: 期货公司代码
  8121. type: string
  8122. hedgeaccountcode:
  8123. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  8124. type: string
  8125. ismain:
  8126. description: 是否主账户 0-否 1-是
  8127. type: integer
  8128. parentaccountid:
  8129. description: 父账户id
  8130. type: integer
  8131. relateduserid:
  8132. description: 关联userid
  8133. type: integer
  8134. tradefeetmpid:
  8135. description: 手续费模板id
  8136. type: integer
  8137. tradefeetmpname:
  8138. description: 手续费模板名称
  8139. type: string
  8140. trademargintmpid:
  8141. description: 保证金模板id
  8142. type: integer
  8143. trademargintmpname:
  8144. description: 保证金模板名称
  8145. type: string
  8146. traderatetmpid:
  8147. description: 汇率模板id
  8148. type: integer
  8149. traderatetmpname:
  8150. description: 汇率模板名称
  8151. type: string
  8152. tradestatus:
  8153. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  8154. type: integer
  8155. userid:
  8156. description: 用户id
  8157. type: integer
  8158. type: object
  8159. models.ErmcpTradeConfigTMP:
  8160. properties:
  8161. areauserid:
  8162. description: 所属机构
  8163. type: integer
  8164. basiccurrencyid:
  8165. description: 基本币种ID[汇率] - 目标币种
  8166. type: integer
  8167. mainaccountid:
  8168. description: 主账户ID
  8169. type: integer
  8170. modifierid:
  8171. description: 修改人
  8172. type: integer
  8173. remark:
  8174. description: 备注
  8175. type: string
  8176. tradeconfigtmpid:
  8177. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  8178. type: integer
  8179. tradeconfigtmpname:
  8180. description: 交易配置模板名称
  8181. type: string
  8182. tradeconfigtmptype:
  8183. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  8184. type: integer
  8185. updatetime:
  8186. description: 更新时间
  8187. type: string
  8188. type: object
  8189. models.Externalexchange:
  8190. properties:
  8191. autoid:
  8192. description: AutoID - SEQ_EXTERNALEXCHANGE
  8193. type: integer
  8194. exchangefullname:
  8195. description: 外部交易所全称
  8196. type: string
  8197. exexchangecode:
  8198. description: 外部交易所代码
  8199. type: string
  8200. exexchangename:
  8201. description: 外部交易所名称(简称)
  8202. type: string
  8203. ismarketprice:
  8204. description: 是否支持市价 - 0:不支持 1:支持
  8205. type: integer
  8206. quotegear:
  8207. description: 行情档位(1-10)
  8208. type: integer
  8209. showbrokerflag:
  8210. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  8211. type: integer
  8212. updatetime:
  8213. description: 更新时间
  8214. type: string
  8215. required:
  8216. - autoid
  8217. type: object
  8218. models.Funcmenulist:
  8219. properties:
  8220. iconame:
  8221. description: 菜单图标
  8222. type: string
  8223. menutype:
  8224. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  8225. type: integer
  8226. parentcode:
  8227. description: 上级资源代码
  8228. type: string
  8229. remark:
  8230. description: 备注
  8231. type: string
  8232. resourcecode:
  8233. description: 资源代码
  8234. type: string
  8235. resourcelevel:
  8236. description: 级别 1-一级 2-二级 3-三级 4-四级
  8237. type: integer
  8238. resourcename:
  8239. description: 资源名
  8240. type: string
  8241. sort:
  8242. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  8243. type: integer
  8244. url:
  8245. description: URL
  8246. type: string
  8247. required:
  8248. - resourcecode
  8249. type: object
  8250. models.Goods:
  8251. properties:
  8252. agreeunit:
  8253. description: 合约单位
  8254. type: number
  8255. areauserid:
  8256. description: 所属机构
  8257. type: integer
  8258. auditaccountid:
  8259. description: 审核操作员账号
  8260. type: integer
  8261. audittime:
  8262. description: 审核时间
  8263. type: string
  8264. cancelaccountid:
  8265. description: 注销操作员账号
  8266. type: integer
  8267. canceltime:
  8268. description: 注销时间
  8269. type: string
  8270. closepricemode:
  8271. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8272. type: integer
  8273. closepriceparam:
  8274. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8275. type: number
  8276. createtime:
  8277. description: 创建时间
  8278. type: string
  8279. creatorid:
  8280. description: 创建人
  8281. type: integer
  8282. currencyid:
  8283. description: 报价货币ID
  8284. type: integer
  8285. cutmode:
  8286. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8287. type: integer
  8288. decimalplace:
  8289. description: 报价小数位
  8290. type: integer
  8291. delistingdate:
  8292. description: 商品退市时间(状态:退市) -- 已作废
  8293. type: string
  8294. delistingmode:
  8295. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8296. type: integer
  8297. deliveryflag:
  8298. description: 交割标志 - 0:不可交割 1:可交割
  8299. type: integer
  8300. forceclosemode:
  8301. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8302. type: integer
  8303. forceclosevalue:
  8304. description: 定期强平参数 [收益权]
  8305. type: integer
  8306. goodscode:
  8307. description: 商品代码(内部)
  8308. type: string
  8309. goodscurrencyid:
  8310. description: 合约货币ID
  8311. type: integer
  8312. goodsgroupid:
  8313. description: 所属商品组ID
  8314. type: integer
  8315. goodsid:
  8316. description: 商品ID(自增ID SEQ_GOODS)
  8317. type: integer
  8318. goodsname:
  8319. description: 商品名称
  8320. type: string
  8321. goodsquotetype:
  8322. description: '合约报价类型: 1-直接报价 2-间接报价'
  8323. type: integer
  8324. goodsstatus:
  8325. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8326. type: integer
  8327. goodstradetype:
  8328. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8329. type: integer
  8330. goodunitid:
  8331. description: 报价单位ID
  8332. type: integer
  8333. hasquoter:
  8334. description: 是否有报价商 - 0:无报价商 1:有报价商
  8335. type: integer
  8336. hqprotecttime:
  8337. description: 行情保护时间(秒)
  8338. type: integer
  8339. innerdealmode:
  8340. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8341. type: integer
  8342. isbuylimited:
  8343. description: 是否限制建仓量 - 0:不限制 1:限制
  8344. type: integer
  8345. isvisible:
  8346. description: 游客是否可见 - 0:不可见 1:可见
  8347. type: integer
  8348. lasttradedate:
  8349. description: 最后交易日期(状态:待退市)
  8350. type: string
  8351. listingdate:
  8352. description: 交易开始日期
  8353. type: string
  8354. marketid:
  8355. description: 所属市场ID
  8356. type: integer
  8357. modifierid:
  8358. description: 修改人
  8359. type: integer
  8360. modifystatus:
  8361. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8362. type: integer
  8363. modifytime:
  8364. description: 修改时间
  8365. type: string
  8366. outerdealmode:
  8367. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8368. type: integer
  8369. outgoodscode:
  8370. description: 商品代码(外部)
  8371. type: string
  8372. pictureurl:
  8373. description: 商品图片
  8374. type: string
  8375. qtydecimalplace:
  8376. description: 成交量小数位
  8377. type: integer
  8378. quotegear:
  8379. description: 行情档位(1-10)
  8380. type: integer
  8381. quoteminunit:
  8382. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8383. type: integer
  8384. quoteshowtype:
  8385. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8386. type: integer
  8387. quoteshowtypeinterval:
  8388. description: 行情报价间隔时间(秒)(成交价时为0)
  8389. type: integer
  8390. remark:
  8391. description: 备注
  8392. type: string
  8393. required:
  8394. - goodscode
  8395. - goodsid
  8396. - goodsname
  8397. - marketid
  8398. type: object
  8399. models.GoodsIDAndName:
  8400. properties:
  8401. goodscode:
  8402. description: 商品代码(内部)
  8403. type: string
  8404. goodsid:
  8405. description: 商品ID(自增ID SEQ_GOODS)
  8406. type: integer
  8407. goodsname:
  8408. description: 商品名称
  8409. type: string
  8410. marketid:
  8411. description: 所属市场ID
  8412. type: integer
  8413. required:
  8414. - goodscode
  8415. - goodsid
  8416. - goodsname
  8417. - marketid
  8418. type: object
  8419. models.Goodsgroup:
  8420. properties:
  8421. agreeunit:
  8422. description: 合约单位
  8423. type: number
  8424. canshort:
  8425. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  8426. type: integer
  8427. closepricemode:
  8428. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8429. type: integer
  8430. closepriceparam:
  8431. description: 强平最新价浮动比例 - 方式为2时使用
  8432. type: number
  8433. createtime:
  8434. description: 创建时间
  8435. type: string
  8436. creatorid:
  8437. description: 创建人
  8438. type: integer
  8439. currencyid:
  8440. description: 报价货币ID
  8441. type: integer
  8442. decimalplace:
  8443. description: 报价小数位
  8444. type: integer
  8445. exercisetype:
  8446. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  8447. type: integer
  8448. exexchangeid:
  8449. description: 外部交易所ID[通道交易]
  8450. type: integer
  8451. goodsgroupid:
  8452. description: 商品组ID(自增ID)
  8453. type: integer
  8454. goodsgroupname:
  8455. description: 商品组名称
  8456. type: string
  8457. goodsgroupstatus:
  8458. description: 商品组状态 - 1:正常 2:注销
  8459. type: integer
  8460. goodunitid:
  8461. description: 报价单位ID
  8462. type: integer
  8463. innerdealmode:
  8464. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8465. type: integer
  8466. isbuylimited:
  8467. description: 是否限制建仓量 - 0:不限制 1:限制
  8468. type: integer
  8469. marketid:
  8470. description: 所属市场ID
  8471. type: integer
  8472. modifierid:
  8473. description: 修改人
  8474. type: integer
  8475. modifytime:
  8476. description: 修改时间
  8477. type: string
  8478. outerdealmode:
  8479. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8480. type: integer
  8481. outergroupcode:
  8482. description: 外部商品组代码[通道交易]
  8483. type: string
  8484. premiumdecimalplace:
  8485. description: 权利金小数位[场外期权]
  8486. type: integer
  8487. premiumspreadalgorithm:
  8488. description: 权利金点差方式[场外期权] 1:比率 2:固定
  8489. type: integer
  8490. premiumspreadvalue:
  8491. description: 权利金点差值[场外期权]
  8492. type: number
  8493. qtydecimalplace:
  8494. description: 成交量小数位
  8495. type: integer
  8496. quotegear:
  8497. description: 行情档位(1-10)
  8498. type: integer
  8499. quoteminunit:
  8500. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8501. type: integer
  8502. quoterid:
  8503. description: 报价商ID[场外期权]
  8504. type: integer
  8505. quotesourcegroupid:
  8506. description: 所属行情源分组ID[参考行情市场用\通道交易]
  8507. type: integer
  8508. syncgoodsqty:
  8509. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  8510. type: integer
  8511. required:
  8512. - goodsgroupid
  8513. - goodsgroupname
  8514. - goodsgroupstatus
  8515. - marketid
  8516. type: object
  8517. models.Goodssortbypreposition:
  8518. properties:
  8519. goodscode:
  8520. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  8521. type: string
  8522. goodsgroupcode:
  8523. description: 品种代码
  8524. type: string
  8525. prepositionqty:
  8526. description: 昨持仓量
  8527. type: integer
  8528. sortindex:
  8529. description: 排序
  8530. type: integer
  8531. tradedate:
  8532. description: 交易日
  8533. type: string
  8534. updatetime:
  8535. description: 更新时间
  8536. type: string
  8537. required:
  8538. - goodscode
  8539. - tradedate
  8540. type: object
  8541. models.Hedgeinnerholderdetail:
  8542. properties:
  8543. accountid:
  8544. description: 账号ID
  8545. type: integer
  8546. buyorsell:
  8547. description: 方向 - 0:买 1:卖
  8548. type: integer
  8549. freezeqty:
  8550. description: 冻结数量 - 按单平使用
  8551. type: integer
  8552. goodsid:
  8553. description: 商品ID
  8554. type: integer
  8555. holderamount:
  8556. description: 持仓金额 [商品币种]
  8557. type: number
  8558. holderdays:
  8559. description: 剩余冻结天数
  8560. type: integer
  8561. holderprice:
  8562. description: 持仓价格
  8563. type: number
  8564. holderqty:
  8565. description: 持仓数量
  8566. type: integer
  8567. marketid:
  8568. description: 市场ID
  8569. type: integer
  8570. openprice:
  8571. description: 建仓价格
  8572. type: number
  8573. openqty:
  8574. description: 建仓数量
  8575. type: integer
  8576. parentaccountid:
  8577. description: 所属母账户
  8578. type: integer
  8579. releaseamount:
  8580. description: 释放持仓金额[商品币种]
  8581. type: number
  8582. tradeamount:
  8583. description: 成交金额[账户]
  8584. type: number
  8585. tradedate:
  8586. description: 交易日(yyyyMMdd)
  8587. type: string
  8588. tradeid:
  8589. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8590. type: string
  8591. tradetime:
  8592. description: 交易时间
  8593. type: string
  8594. required:
  8595. - buyorsell
  8596. - tradeid
  8597. type: object
  8598. models.Hedgemarketopenlog:
  8599. properties:
  8600. accountid:
  8601. description: 资金账号[外部母账户]
  8602. type: integer
  8603. fcname:
  8604. description: 期货公司名称
  8605. type: string
  8606. handlestatus:
  8607. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  8608. type: integer
  8609. marketid:
  8610. description: 市场ID
  8611. type: integer
  8612. status:
  8613. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  8614. type: integer
  8615. tradedate:
  8616. description: 交易日(yyyyMMdd)
  8617. type: string
  8618. updatetime:
  8619. description: 更新时间
  8620. type: string
  8621. required:
  8622. - accountid
  8623. type: object
  8624. models.HsbyBuyMyPayOrder:
  8625. properties:
  8626. agreeunit:
  8627. description: 合约单位
  8628. type: number
  8629. buyaccountid:
  8630. description: 买方账号ID[报价币种]
  8631. type: integer
  8632. buyorderid:
  8633. description: 买方委托单号
  8634. type: string
  8635. createtime:
  8636. description: 创建时间
  8637. type: string
  8638. currencysign:
  8639. description: 货币符号
  8640. type: string
  8641. decimalplace:
  8642. description: 报价小数位
  8643. type: integer
  8644. goodscode:
  8645. description: 商品代码(内部)
  8646. type: string
  8647. goodsid:
  8648. description: 商品ID
  8649. type: integer
  8650. goodsname:
  8651. description: 商品名称
  8652. type: string
  8653. marketid:
  8654. description: 市场ID
  8655. type: integer
  8656. offamount:
  8657. description: 优惠金额
  8658. type: number
  8659. originalamount:
  8660. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  8661. type: number
  8662. payamount:
  8663. description: 支付金额 = TradeAmount + TradeCharge
  8664. type: number
  8665. payflag:
  8666. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8667. type: integer
  8668. paylimitedtime:
  8669. description: 支付期限
  8670. type: string
  8671. paytime:
  8672. description: 付款时间
  8673. type: string
  8674. picurls1:
  8675. description: 预售商品介绍图片[多张用逗号分隔]
  8676. type: string
  8677. picurls2:
  8678. description: 挂牌商品介绍图片[多张用逗号分隔]
  8679. type: string
  8680. sellaccountid:
  8681. description: 卖方账号ID[报价币种]
  8682. type: integer
  8683. sellorderid:
  8684. description: 卖方委托单号
  8685. type: string
  8686. tradeamount:
  8687. description: 成交金额
  8688. type: number
  8689. tradecharge:
  8690. description: 成交手续费(买方)
  8691. type: number
  8692. tradedate:
  8693. description: 交易日(yyyyMMdd)
  8694. type: string
  8695. tradeid:
  8696. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8697. type: string
  8698. trademode:
  8699. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8700. 21:竞拍-大宗式 22:受托竞价
  8701. type: integer
  8702. tradeprice:
  8703. description: 成交价格
  8704. type: number
  8705. tradeqty:
  8706. description: 成交数量
  8707. type: integer
  8708. vendorname1:
  8709. description: 预售商品供应商名称
  8710. type: string
  8711. vendorname2:
  8712. description: 挂牌商品供应商名称
  8713. type: string
  8714. required:
  8715. - goodscode
  8716. - goodsname
  8717. - tradeid
  8718. - trademode
  8719. type: object
  8720. models.HsbyBuyMyTradeDetail:
  8721. properties:
  8722. accountid:
  8723. description: 账户ID[报价币种]
  8724. type: integer
  8725. agreeunit:
  8726. description: 合约单位
  8727. type: number
  8728. amount:
  8729. description: 金额 = 价格 * 数量 * 合约单位
  8730. type: number
  8731. buyorsell:
  8732. description: 买卖 - 0:买 1:卖
  8733. type: integer
  8734. currencysign:
  8735. description: 货币符号
  8736. type: string
  8737. decimalplace:
  8738. description: 报价小数位
  8739. type: integer
  8740. goodscode:
  8741. description: 商品代码(内部)
  8742. type: string
  8743. goodsid:
  8744. description: 商品ID
  8745. type: integer
  8746. goodsname:
  8747. description: 商品名称
  8748. type: string
  8749. marketid:
  8750. description: 市场ID
  8751. type: integer
  8752. orderamount:
  8753. description: 委托金额
  8754. type: number
  8755. orderid:
  8756. description: 单号(成交单号)
  8757. type: string
  8758. picurls1:
  8759. description: 预售商品介绍图片[多张用逗号分隔]
  8760. type: string
  8761. picurls2:
  8762. description: 挂牌商品介绍图片[多张用逗号分隔]
  8763. type: string
  8764. price:
  8765. description: 价格
  8766. type: number
  8767. qty:
  8768. description: 数量
  8769. type: integer
  8770. time:
  8771. description: 时间
  8772. type: string
  8773. trademode:
  8774. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8775. 21:竞拍-大宗式 22:受托竞价
  8776. type: integer
  8777. vendorname1:
  8778. description: 预售商品供应商名称
  8779. type: string
  8780. vendorname2:
  8781. description: 挂牌商品供应商名称
  8782. type: string
  8783. required:
  8784. - accountid
  8785. - buyorsell
  8786. - goodscode
  8787. - goodsid
  8788. - goodsname
  8789. - marketid
  8790. - orderid
  8791. - qty
  8792. - time
  8793. - trademode
  8794. type: object
  8795. models.HsbyGoodsOrderDetail:
  8796. properties:
  8797. buyorsell:
  8798. description: 买卖 - 0:买 1:卖
  8799. type: integer
  8800. currencysign:
  8801. description: 货币符号
  8802. type: string
  8803. customername:
  8804. description: 客户名称(企业名称),已脱敏
  8805. type: string
  8806. enableqty:
  8807. description: 可用数量
  8808. type: integer
  8809. goodunit:
  8810. description: 报价单位
  8811. type: string
  8812. orderid:
  8813. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8814. type: string
  8815. orderprice:
  8816. description: 委托价格
  8817. type: number
  8818. ordertime:
  8819. description: 委托时间
  8820. type: string
  8821. required:
  8822. - buyorsell
  8823. - orderid
  8824. - ordertime
  8825. type: object
  8826. models.HsbyListingGoodsDetail:
  8827. properties:
  8828. agreeunit:
  8829. description: 合约单位
  8830. type: number
  8831. buymaxqty:
  8832. description: 购买上限 [71] - 0为不限
  8833. type: integer
  8834. currency:
  8835. description: 货币
  8836. type: string
  8837. currencysign:
  8838. description: 货币符号
  8839. type: string
  8840. decimalplace:
  8841. description: 报价小数位
  8842. type: integer
  8843. desccityid:
  8844. description: 目的地(市)ID
  8845. type: integer
  8846. descprovinceid:
  8847. description: 目的地(省)ID
  8848. type: integer
  8849. goodscode:
  8850. description: 商品代码(内部)
  8851. type: string
  8852. goodsdesc:
  8853. description: 商品详情
  8854. type: string
  8855. goodsid:
  8856. description: 商品ID(自增ID SEQ_GOODS)
  8857. type: integer
  8858. goodsname:
  8859. description: 商品名称
  8860. type: string
  8861. goodsprice:
  8862. description: 商品价格
  8863. type: number
  8864. hotindex:
  8865. description: 景点热度
  8866. type: integer
  8867. last:
  8868. description: 现价
  8869. type: number
  8870. limitdown:
  8871. description: 跌停价
  8872. type: number
  8873. limitup:
  8874. description: 涨停价
  8875. type: number
  8876. lotsize:
  8877. description: 手数最小变动单位
  8878. type: integer
  8879. marketid:
  8880. description: 所属市场ID
  8881. type: integer
  8882. picurls:
  8883. description: 介绍图片[多张用逗号分隔]
  8884. type: string
  8885. quoteminunit:
  8886. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8887. type: integer
  8888. stepvalue:
  8889. description: 价格最小变动单位
  8890. type: number
  8891. trademode:
  8892. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8893. 21:竞拍-大宗式 22:受托竞价
  8894. type: integer
  8895. vendorattr:
  8896. description: 供应商附件(多张,逗号分隔)
  8897. type: string
  8898. vendorname:
  8899. description: 供应商名称
  8900. type: string
  8901. vendorphone:
  8902. description: 供应商客服电话
  8903. type: string
  8904. videourls:
  8905. description: 介绍视频[多张用逗号分隔]
  8906. type: string
  8907. required:
  8908. - goodscode
  8909. - goodsid
  8910. - goodsname
  8911. - marketid
  8912. - trademode
  8913. type: object
  8914. models.HsbyMarketGoods:
  8915. properties:
  8916. accountid:
  8917. description: 账户ID[报价币种]
  8918. type: integer
  8919. agreeunit:
  8920. description: 合约单位
  8921. type: number
  8922. buyorsell:
  8923. description: 买卖 - 0:买 1:卖
  8924. type: integer
  8925. categoryid:
  8926. description: 类别ID(WRCATEGORY)
  8927. type: integer
  8928. currency:
  8929. description: 货币
  8930. type: string
  8931. currencysign:
  8932. description: 货币符号
  8933. type: string
  8934. customername:
  8935. description: 卖家名称
  8936. type: string
  8937. decimalplace:
  8938. description: 报价小数位
  8939. type: integer
  8940. goodscode:
  8941. description: 商品代码(内部)
  8942. type: string
  8943. goodsid:
  8944. description: 商品ID
  8945. type: integer
  8946. goodsname:
  8947. description: 商品名称
  8948. type: string
  8949. goodsprice:
  8950. description: 商品价格
  8951. type: number
  8952. hascoupon:
  8953. description: 是否可用优惠卷
  8954. type: boolean
  8955. hotindex:
  8956. description: 景点热度
  8957. type: integer
  8958. marketid:
  8959. description: 市场ID
  8960. type: integer
  8961. orderid:
  8962. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8963. type: string
  8964. orderprice:
  8965. description: 委托价格
  8966. type: number
  8967. orderstatus:
  8968. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8969. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8970. 16:成交失败违约(荷兰式竞拍专用)
  8971. type: integer
  8972. picurls:
  8973. description: 介绍图片[多张用逗号分隔]
  8974. type: string
  8975. quoteminunit:
  8976. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8977. type: integer
  8978. sellUserID:
  8979. description: 卖方UserID
  8980. type: integer
  8981. trademode:
  8982. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8983. 21:竞拍-大宗式 22:受托竞价
  8984. type: integer
  8985. videourls:
  8986. description: 介绍视频[多张用逗号分隔]
  8987. type: string
  8988. required:
  8989. - accountid
  8990. - buyorsell
  8991. - goodscode
  8992. - goodsid
  8993. - goodsname
  8994. - marketid
  8995. - orderid
  8996. - trademode
  8997. type: object
  8998. models.HsbyMarketGoodsDetail:
  8999. properties:
  9000. accountid:
  9001. description: 账户ID[报价币种]
  9002. type: integer
  9003. agreeunit:
  9004. description: 合约单位
  9005. type: number
  9006. buymaxqty:
  9007. description: 购买上限 [71] - 0为不限
  9008. type: integer
  9009. buyorsell:
  9010. description: 买卖 - 0:买 1:卖
  9011. type: integer
  9012. cancelqty:
  9013. description: 撤单数量
  9014. type: integer
  9015. categoryid:
  9016. description: 类别ID(WRCATEGORY)
  9017. type: integer
  9018. currency:
  9019. description: 货币
  9020. type: string
  9021. currencysign:
  9022. description: 货币符号
  9023. type: string
  9024. customername:
  9025. description: 卖家名称
  9026. type: string
  9027. decimalplace:
  9028. description: 报价小数位
  9029. type: integer
  9030. goodscode:
  9031. description: 商品代码(内部)
  9032. type: string
  9033. goodsdesc:
  9034. description: 商品详情
  9035. type: string
  9036. goodsid:
  9037. description: 商品ID
  9038. type: integer
  9039. goodsname:
  9040. description: 商品名称
  9041. type: string
  9042. goodsprice:
  9043. description: 商品价格
  9044. type: number
  9045. hotindex:
  9046. description: 景点热度
  9047. type: integer
  9048. lotsize:
  9049. description: 手数最小变动单位
  9050. type: integer
  9051. marketid:
  9052. description: 市场ID
  9053. type: integer
  9054. orderid:
  9055. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9056. type: string
  9057. orderprice:
  9058. description: 委托价格
  9059. type: number
  9060. orderqty:
  9061. description: 委托数量
  9062. type: integer
  9063. orderstatus:
  9064. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  9065. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  9066. 16:成交失败违约(荷兰式竞拍专用)
  9067. type: integer
  9068. picurls:
  9069. description: 介绍图片[多张用逗号分隔]
  9070. type: string
  9071. quoteminunit:
  9072. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9073. type: integer
  9074. sellUserID:
  9075. description: 卖方UserID
  9076. type: integer
  9077. trademode:
  9078. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9079. 21:竞拍-大宗式 22:受托竞价
  9080. type: integer
  9081. tradeqty:
  9082. description: 成交数量
  9083. type: integer
  9084. vendorattr:
  9085. description: 供应商附件(多张,逗号分隔)
  9086. type: string
  9087. vendorname:
  9088. description: 供应商名称
  9089. type: string
  9090. vendorphone:
  9091. description: 供应商客服电话
  9092. type: string
  9093. videourls:
  9094. description: 介绍视频[多张用逗号分隔]
  9095. type: string
  9096. required:
  9097. - accountid
  9098. - buyorsell
  9099. - goodscode
  9100. - goodsid
  9101. - goodsname
  9102. - marketid
  9103. - orderid
  9104. - orderqty
  9105. - trademode
  9106. type: object
  9107. models.HsbyMarketInfo:
  9108. properties:
  9109. marketid:
  9110. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  9111. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9112. type: integer
  9113. marketname:
  9114. description: 市场名称
  9115. type: string
  9116. marketstatus:
  9117. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9118. type: integer
  9119. trademode:
  9120. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9121. 21:竞拍-大宗式 22:受托竞价
  9122. type: integer
  9123. required:
  9124. - marketid
  9125. - marketstatus
  9126. - trademode
  9127. type: object
  9128. models.HsbyMyGoods:
  9129. properties:
  9130. accountid:
  9131. description: 账号Id
  9132. type: integer
  9133. agreeunit:
  9134. description: 合约单位
  9135. type: number
  9136. buyaverageprice:
  9137. description: 持仓均价
  9138. type: number
  9139. buycurholderamount:
  9140. description: 买当前持仓总金额[商品币种]
  9141. type: number
  9142. buycurpositionqty:
  9143. description: 买当前持仓总数量
  9144. type: integer
  9145. buymaxqty:
  9146. description: 购买上限 [71] - 0为不限
  9147. type: integer
  9148. currencysign:
  9149. description: 货币符号
  9150. type: string
  9151. decimalplace:
  9152. description: 报价小数位
  9153. type: integer
  9154. enableqty:
  9155. description: 可用数量
  9156. type: integer
  9157. goodscode:
  9158. description: 商品代码(内部)
  9159. type: string
  9160. goodsid:
  9161. description: 商品Id
  9162. type: integer
  9163. goodsname:
  9164. description: 商品名称
  9165. type: string
  9166. goodsprice:
  9167. description: 商品价格
  9168. type: number
  9169. goodsstatus:
  9170. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  9171. type: integer
  9172. last:
  9173. description: 现价(仅使用于挂牌点选)
  9174. type: number
  9175. limitdown:
  9176. description: 跌停价(仅使用于挂牌点选)
  9177. type: number
  9178. limitup:
  9179. description: 涨停价(仅使用于挂牌点选)
  9180. type: number
  9181. lotsize:
  9182. description: 手数最小变动单位
  9183. type: integer
  9184. marketid:
  9185. description: 所属市场ID
  9186. type: integer
  9187. picurls:
  9188. description: 介绍图片[多张用逗号分隔]
  9189. type: string
  9190. quoteminunit:
  9191. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9192. type: integer
  9193. stepvalue:
  9194. description: 价格最小变动单位
  9195. type: number
  9196. trademode:
  9197. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9198. 21:竞拍-大宗式 22:受托竞价
  9199. type: integer
  9200. required:
  9201. - accountid
  9202. - goodscode
  9203. - goodsid
  9204. - goodsname
  9205. - marketid
  9206. - trademode
  9207. type: object
  9208. models.HsbyMyPackage:
  9209. properties:
  9210. accountid:
  9211. description: 账户ID
  9212. type: integer
  9213. address:
  9214. description: 提货人详细地址
  9215. type: string
  9216. agreeunit:
  9217. description: 合约单位
  9218. type: number
  9219. amount:
  9220. description: 提货金额
  9221. type: number
  9222. auditer:
  9223. description: 审核人
  9224. type: integer
  9225. audittime:
  9226. description: 审核时间
  9227. type: string
  9228. averageprice:
  9229. description: 均价
  9230. type: number
  9231. cardnum:
  9232. description: 提货人证件号码
  9233. type: string
  9234. cardtypeid:
  9235. description: 提货人证件类型
  9236. type: integer
  9237. checkremark:
  9238. description: 审核备注
  9239. type: string
  9240. currencysign:
  9241. description: 货币符号
  9242. type: string
  9243. decimalplace:
  9244. description: 报价小数位
  9245. type: integer
  9246. goodscode:
  9247. description: 商品代码(内部)
  9248. type: string
  9249. goodsid:
  9250. description: 商品ID
  9251. type: integer
  9252. goodsname:
  9253. description: 商品名称
  9254. type: string
  9255. handlestatus:
  9256. description: 处理状态
  9257. type: integer
  9258. marketid:
  9259. description: 市场ID
  9260. type: integer
  9261. phonenum:
  9262. description: 提货人联系方式
  9263. type: string
  9264. picurls:
  9265. description: 介绍图片[多张用逗号分隔]
  9266. type: string
  9267. qty:
  9268. description: 提货数量
  9269. type: number
  9270. recivername:
  9271. description: 提货人姓名
  9272. type: string
  9273. reqtime:
  9274. description: 更新时间
  9275. type: string
  9276. takemode:
  9277. description: 提货方式 - 2:自提 3:配送
  9278. type: integer
  9279. takeorderid:
  9280. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  9281. type: string
  9282. takeorderstatus:
  9283. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  9284. type: integer
  9285. takeremark:
  9286. description: 提货备注
  9287. type: string
  9288. tradedate:
  9289. description: 交易日(yyyyMMdd)
  9290. type: string
  9291. trademode:
  9292. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9293. 21:竞拍-大宗式 22:受托竞价
  9294. type: integer
  9295. userid:
  9296. description: 用户ID
  9297. type: integer
  9298. vendorname:
  9299. description: 供应商名称
  9300. type: string
  9301. required:
  9302. - goodscode
  9303. - goodsname
  9304. - takeorderid
  9305. - trademode
  9306. type: object
  9307. models.HsbyPreGoods:
  9308. properties:
  9309. agreeunit:
  9310. description: 合约单位
  9311. type: number
  9312. currency:
  9313. description: 货币
  9314. type: string
  9315. currencysign:
  9316. description: 货币符号
  9317. type: string
  9318. decimalplace:
  9319. description: 报价小数位
  9320. type: integer
  9321. desccityid:
  9322. description: 目的地(市)
  9323. type: integer
  9324. descprovinceid:
  9325. description: 目的地(省)
  9326. type: integer
  9327. enableqty:
  9328. description: 剩余数量
  9329. type: integer
  9330. goodscode:
  9331. description: 商品代码(内部)
  9332. type: string
  9333. goodsid:
  9334. description: 商品ID(自增ID SEQ_GOODS)
  9335. type: integer
  9336. goodsname:
  9337. description: 商品名称
  9338. type: string
  9339. goodsstatus:
  9340. description: 商品状态- 2:未上市 3:上市
  9341. type: integer
  9342. lasttradedate:
  9343. description: 最后交易日期(状态:待退市)
  9344. type: string
  9345. listingdate:
  9346. description: 交易开始日期
  9347. type: string
  9348. marketid:
  9349. description: 所属市场ID
  9350. type: integer
  9351. picurls:
  9352. description: 介绍图片[多张用逗号分隔]
  9353. type: string
  9354. presaledqty:
  9355. description: 已预售量(预售结束时更新)
  9356. type: integer
  9357. presaleqty:
  9358. description: 预售数量
  9359. type: integer
  9360. quoteminunit:
  9361. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9362. type: integer
  9363. refprice:
  9364. description: 参考价格[一口价]
  9365. type: number
  9366. relatedgoodsid:
  9367. description: 关联交易合约ID
  9368. type: integer
  9369. trademode:
  9370. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9371. 21:竞拍-大宗式 22:受托竞价
  9372. type: integer
  9373. videourls:
  9374. description: 介绍视频[多张用逗号分隔]
  9375. type: string
  9376. required:
  9377. - goodscode
  9378. - goodsid
  9379. - goodsname
  9380. - marketid
  9381. - trademode
  9382. type: object
  9383. models.HsbyPreGoodsDetail:
  9384. properties:
  9385. agreeunit:
  9386. description: 合约单位
  9387. type: number
  9388. buymaxqty:
  9389. description: 购买上限 [71] - 0为不限
  9390. type: integer
  9391. currency:
  9392. description: 货币
  9393. type: string
  9394. currencysign:
  9395. description: 货币符号
  9396. type: string
  9397. customername:
  9398. description: 发行单位
  9399. type: string
  9400. decimalplace:
  9401. description: 报价小数位
  9402. type: integer
  9403. desccityid:
  9404. description: 目的地(市)ID
  9405. type: integer
  9406. descprovinceid:
  9407. description: 目的地(省)ID
  9408. type: integer
  9409. enableqty:
  9410. description: 剩余数量
  9411. type: integer
  9412. goodscode:
  9413. description: 商品代码(内部)
  9414. type: string
  9415. goodsdesc:
  9416. description: 商品详情
  9417. type: string
  9418. goodsid:
  9419. description: 商品ID(自增ID SEQ_GOODS)
  9420. type: integer
  9421. goodsname:
  9422. description: 商品名称
  9423. type: string
  9424. goodsstatus:
  9425. description: 商品状态- 2:未上市 3:上市
  9426. type: integer
  9427. goodunit:
  9428. description: 报价单位
  9429. type: string
  9430. lasttradedate:
  9431. description: 最后交易日期(状态:待退市)
  9432. type: string
  9433. listingdate:
  9434. description: 交易开始日期
  9435. type: string
  9436. lotsize:
  9437. description: 手数最小变动单位
  9438. type: integer
  9439. marketid:
  9440. description: 所属市场ID
  9441. type: integer
  9442. picurls:
  9443. description: 介绍图片[多张用逗号分隔]
  9444. type: string
  9445. presaledqty:
  9446. description: 已预售量(预售结束时更新)
  9447. type: integer
  9448. presaleqty:
  9449. description: 预售数量
  9450. type: integer
  9451. quoteminunit:
  9452. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9453. type: integer
  9454. refprice:
  9455. description: 参考价格[一口价]
  9456. type: number
  9457. relatedgoodsid:
  9458. description: 关联交易合约ID
  9459. type: integer
  9460. stepvalue:
  9461. description: 价格最小变动单位
  9462. type: number
  9463. trademode:
  9464. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9465. 21:竞拍-大宗式 22:受托竞价
  9466. type: integer
  9467. vendorattr:
  9468. description: 供应商附件(多张,逗号分隔)
  9469. type: string
  9470. vendorname:
  9471. description: 供应商名称
  9472. type: string
  9473. vendorphone:
  9474. description: 供应商客服电话
  9475. type: string
  9476. videourls:
  9477. description: 介绍视频[多张用逗号分隔]
  9478. type: string
  9479. required:
  9480. - goodscode
  9481. - goodsid
  9482. - goodsname
  9483. - marketid
  9484. - trademode
  9485. type: object
  9486. models.HsbySellCollectionOrder:
  9487. properties:
  9488. agreeunit:
  9489. description: 合约单位
  9490. type: number
  9491. buyaccountid:
  9492. description: 买方账号ID[报价币种]
  9493. type: integer
  9494. buyorderid:
  9495. description: 买方委托单号
  9496. type: string
  9497. createtime:
  9498. description: 创建时间
  9499. type: string
  9500. currencysign:
  9501. description: 货币符号
  9502. type: string
  9503. decimalplace:
  9504. description: 报价小数位
  9505. type: integer
  9506. goodscode:
  9507. description: 商品代码(内部)
  9508. type: string
  9509. goodsid:
  9510. description: 商品ID
  9511. type: integer
  9512. goodsname:
  9513. description: 商品名称
  9514. type: string
  9515. marketid:
  9516. description: 市场ID
  9517. type: integer
  9518. offamount:
  9519. description: 优惠金额
  9520. type: number
  9521. payamount:
  9522. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  9523. type: number
  9524. payflag:
  9525. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  9526. type: integer
  9527. paylimitedtime:
  9528. description: 支付期限
  9529. type: string
  9530. paytime:
  9531. description: 付款时间
  9532. type: string
  9533. picurls:
  9534. description: 商品介绍图片[多张用逗号分隔]
  9535. type: string
  9536. sellaccountid:
  9537. description: 卖方账号ID[报价币种]
  9538. type: integer
  9539. sellorderid:
  9540. description: 卖方委托单号
  9541. type: string
  9542. tradeamount:
  9543. description: 成交金额
  9544. type: number
  9545. tradecharge:
  9546. description: 成交手续费(买方)
  9547. type: number
  9548. tradedate:
  9549. description: 交易日(yyyyMMdd)
  9550. type: string
  9551. tradeid:
  9552. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9553. type: string
  9554. trademode:
  9555. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9556. 21:竞拍-大宗式 22:受托竞价
  9557. type: integer
  9558. tradeprice:
  9559. description: 成交价格
  9560. type: number
  9561. tradeqty:
  9562. description: 成交数量
  9563. type: integer
  9564. required:
  9565. - goodscode
  9566. - goodsname
  9567. - tradeid
  9568. - trademode
  9569. type: object
  9570. models.HsbySellMyDetail:
  9571. properties:
  9572. accountid:
  9573. description: 账户ID[报价币种]
  9574. type: integer
  9575. agreeunit:
  9576. description: 合约单位
  9577. type: number
  9578. buyorsell:
  9579. description: 买卖 - 0:买 1:卖
  9580. type: integer
  9581. currencysign:
  9582. description: 货币符号
  9583. type: string
  9584. decimalplace:
  9585. description: 报价小数位
  9586. type: integer
  9587. goodscode:
  9588. description: 商品代码(内部)
  9589. type: string
  9590. goodsid:
  9591. description: 商品ID
  9592. type: integer
  9593. goodsname:
  9594. description: 商品名称
  9595. type: string
  9596. marketid:
  9597. description: 市场ID
  9598. type: integer
  9599. orderid:
  9600. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  9601. type: string
  9602. ordertype:
  9603. description: 单据类型:0 - 发布中, 1 - 已完成
  9604. type: integer
  9605. picurls:
  9606. description: 介绍图片[多张用逗号分隔]
  9607. type: string
  9608. price:
  9609. description: 价格
  9610. type: number
  9611. qty:
  9612. description: 数量
  9613. type: integer
  9614. time:
  9615. description: 时间
  9616. type: string
  9617. trademode:
  9618. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9619. 21:竞拍-大宗式 22:受托竞价
  9620. type: integer
  9621. vendorname:
  9622. description: 供应商名称
  9623. type: string
  9624. required:
  9625. - accountid
  9626. - buyorsell
  9627. - goodscode
  9628. - goodsid
  9629. - goodsname
  9630. - marketid
  9631. - orderid
  9632. - time
  9633. - trademode
  9634. type: object
  9635. models.HsbyTopGoods:
  9636. properties:
  9637. agreeunit:
  9638. description: 合约单位
  9639. type: number
  9640. currency:
  9641. description: 货币
  9642. type: string
  9643. currencysign:
  9644. description: 货币符号
  9645. type: string
  9646. decimalplace:
  9647. description: 报价小数位
  9648. type: integer
  9649. desccityid:
  9650. description: 目的地(市)
  9651. type: integer
  9652. descprovinceid:
  9653. description: 目的地(省)
  9654. type: integer
  9655. goodscode:
  9656. description: 商品代码(内部)
  9657. type: string
  9658. goodsid:
  9659. description: 商品ID(自增ID SEQ_GOODS)
  9660. type: integer
  9661. goodsname:
  9662. description: 商品名称
  9663. type: string
  9664. hotindex:
  9665. description: 景点热度
  9666. type: integer
  9667. last:
  9668. description: 现价
  9669. type: number
  9670. marketid:
  9671. description: 所属市场ID
  9672. type: integer
  9673. picurls:
  9674. description: 介绍图片[多张用逗号分隔]
  9675. type: string
  9676. quoteminunit:
  9677. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9678. type: integer
  9679. trademode:
  9680. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9681. 21:竞拍-大宗式 22:受托竞价
  9682. type: integer
  9683. videourls:
  9684. description: 介绍视频[多张用逗号分隔]
  9685. type: string
  9686. required:
  9687. - goodscode
  9688. - goodsid
  9689. - goodsname
  9690. - marketid
  9691. - trademode
  9692. type: object
  9693. models.HybsMyBuyOrderDetail:
  9694. properties:
  9695. accountid:
  9696. description: 账户ID[报价币种]
  9697. type: integer
  9698. agreeunit:
  9699. description: 合约单位
  9700. type: number
  9701. buyorsell:
  9702. description: 买卖 - 0:买 1:卖
  9703. type: integer
  9704. cancelqty:
  9705. description: 撤单数量
  9706. type: integer
  9707. currencysign:
  9708. description: 货币符号
  9709. type: string
  9710. decimalplace:
  9711. description: 报价小数位
  9712. type: integer
  9713. goodscode:
  9714. description: 商品代码(内部)
  9715. type: string
  9716. goodsid:
  9717. description: 商品ID
  9718. type: integer
  9719. goodsname:
  9720. description: 商品名称
  9721. type: string
  9722. listingselecttype:
  9723. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9724. type: integer
  9725. marketid:
  9726. description: 市场ID
  9727. type: integer
  9728. mybuystatus:
  9729. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  9730. type: integer
  9731. orderamount:
  9732. description: 委托金额
  9733. type: number
  9734. orderid:
  9735. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9736. type: string
  9737. orderprice:
  9738. description: 委托价格
  9739. type: number
  9740. orderqty:
  9741. description: 委托数量
  9742. type: integer
  9743. orderstatus:
  9744. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  9745. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  9746. 16:成交失败违约(荷兰式竞拍专用)
  9747. type: integer
  9748. ordertime:
  9749. description: 委托时间
  9750. type: string
  9751. picurls1:
  9752. description: 预售商品介绍图片[多张用逗号分隔]
  9753. type: string
  9754. picurls2:
  9755. description: 挂牌商品介绍图片[多张用逗号分隔]
  9756. type: string
  9757. trademode:
  9758. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9759. 21:竞拍-大宗式 22:受托竞价
  9760. type: integer
  9761. tradeqty:
  9762. description: 成交数量
  9763. type: integer
  9764. vendorname1:
  9765. description: 预售商品供应商名称
  9766. type: string
  9767. vendorname2:
  9768. description: 挂牌商品供应商名称
  9769. type: string
  9770. required:
  9771. - accountid
  9772. - buyorsell
  9773. - goodscode
  9774. - goodsid
  9775. - goodsname
  9776. - marketid
  9777. - orderid
  9778. - orderqty
  9779. - ordertime
  9780. - trademode
  9781. type: object
  9782. models.Loginaccount:
  9783. properties:
  9784. accountname:
  9785. description: 账户名称
  9786. type: string
  9787. canoutin:
  9788. description: 是否可出入金 - 0:不可 1:可
  9789. type: integer
  9790. clientroleid:
  9791. description: 终端角色ID
  9792. type: integer
  9793. haslogined:
  9794. description: 是否已登录 - 0:未登录 1:已登录
  9795. type: integer
  9796. hasupdatedpwd:
  9797. description: 是否已更改密码 - 0:未修改 1:已修改
  9798. type: integer
  9799. lastloginip:
  9800. description: 最新登录地址
  9801. type: string
  9802. lastloginmode:
  9803. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  9804. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9805. type: integer
  9806. lastloginremark:
  9807. description: 最新登录描述
  9808. type: string
  9809. lastlogintime:
  9810. description: 最新登录时间
  9811. type: string
  9812. logincode:
  9813. description: 登录代码
  9814. type: string
  9815. loginfailnum:
  9816. description: 连续登录失败次数(登录成功时清零)
  9817. type: integer
  9818. loginid:
  9819. description: 登陆账号
  9820. type: integer
  9821. loginport:
  9822. description: 最新登录端口
  9823. type: integer
  9824. loginstatus:
  9825. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  9826. type: integer
  9827. loginusertype:
  9828. description: 登录账号类型 - 1:投资者 2:机构交易员
  9829. type: integer
  9830. mobile:
  9831. description: 手机号码(加密存储)
  9832. type: string
  9833. modifierid:
  9834. description: 修改人
  9835. type: integer
  9836. modifysrc:
  9837. description: 审核来源 - 1:管理端 2:终端
  9838. type: integer
  9839. modifytime:
  9840. description: 修改时间
  9841. type: string
  9842. password:
  9843. description: 登陆密码
  9844. type: string
  9845. pwdwrongcount:
  9846. description: 密码错误次数
  9847. type: integer
  9848. relateduserid:
  9849. description: 关联用户ID(机构)
  9850. type: integer
  9851. taaccountrighttype:
  9852. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  9853. type: integer
  9854. unfreezetime:
  9855. description: 账户解冻时间
  9856. type: string
  9857. userid:
  9858. description: 用户ID
  9859. type: integer
  9860. required:
  9861. - loginid
  9862. type: object
  9863. models.MainAccountInfo:
  9864. properties:
  9865. accountid:
  9866. description: 账号id
  9867. type: integer
  9868. accountname:
  9869. description: 账号名称(taaccount表中的名称)
  9870. type: string
  9871. appid:
  9872. description: AppID
  9873. type: string
  9874. authcode:
  9875. description: 授权码
  9876. type: string
  9877. brokerid:
  9878. description: 经纪商id
  9879. type: string
  9880. fcid:
  9881. description: 期货公司id
  9882. type: integer
  9883. fcname:
  9884. description: 期货公司代码
  9885. type: string
  9886. hedgeaccountcode:
  9887. description: 外部账号代码(主账号登录代码)
  9888. type: string
  9889. hedgeaccountpwd:
  9890. description: 密码
  9891. type: string
  9892. ismain:
  9893. description: 是否主账号
  9894. type: integer
  9895. relateduserid:
  9896. description: 关联用户id
  9897. type: integer
  9898. userid:
  9899. description: 关联用户id
  9900. type: integer
  9901. type: object
  9902. models.Market:
  9903. properties:
  9904. auctionwrtype:
  9905. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  9906. type: integer
  9907. canacceptquote:
  9908. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  9909. type: integer
  9910. cangoodsexercise:
  9911. description: '[期权]是否可现货行权- 0:否 1:是'
  9912. type: integer
  9913. cangoodsexercisetype:
  9914. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  9915. type: integer
  9916. canmanualquotestrike:
  9917. description: 是否可手动报行权价- 0:否 1:是 [期权]
  9918. type: integer
  9919. canmutistage:
  9920. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  9921. type: integer
  9922. canpreexercise:
  9923. description: '[期权]是否可预申报- 0:否 1:是'
  9924. type: integer
  9925. clearinterval:
  9926. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  9927. type: integer
  9928. contracttmp:
  9929. description: 合同模板[荷兰式][竞价式][仓单贸易]
  9930. type: string
  9931. exchareaid:
  9932. description: 所属交易所,可以没有
  9933. type: integer
  9934. goodstype:
  9935. description: 商品类型 - 1:交易商品 2:仓单商品
  9936. type: integer
  9937. hasrebate:
  9938. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  9939. type: integer
  9940. hastradecredit:
  9941. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  9942. type: integer
  9943. haswr:
  9944. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  9945. type: integer
  9946. isdeductmargin:
  9947. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  9948. type: integer
  9949. isrecordsource:
  9950. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  9951. type: integer
  9952. isreleasemargin:
  9953. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  9954. type: integer
  9955. marginformula:
  9956. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9957. type: integer
  9958. marginformula2:
  9959. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9960. type: integer
  9961. marketid:
  9962. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  9963. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9964. type: integer
  9965. marketname:
  9966. description: 市场名称
  9967. type: string
  9968. marketserviceid:
  9969. description: 市场服务ID
  9970. type: integer
  9971. marketstatus:
  9972. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9973. type: integer
  9974. markettype:
  9975. description: 市场类型- 1:非交易服务 2:交易服务
  9976. type: integer
  9977. matchermode:
  9978. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9979. type: integer
  9980. openmethod:
  9981. description: 开盘模式 - 0 自动 1手动
  9982. type: integer
  9983. otcuserid:
  9984. description: 场外期权做市商[场外期权]
  9985. type: integer
  9986. outersynctime:
  9987. description: 外部同步时间点(h24:mi:ss)[场外期权]
  9988. type: string
  9989. pendingflag:
  9990. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  9991. type: integer
  9992. pendingtime:
  9993. description: 待开市时间[通道交易-对冲](HH:mm)
  9994. type: string
  9995. performancetempid:
  9996. description: 履约计划模板ID - 作废
  9997. type: integer
  9998. premiumquotemode:
  9999. description: 权利金报价方式 - 1:自动 2:手动
  10000. type: integer
  10001. rebateratio:
  10002. description: 返利比率[竞价式]
  10003. type: number
  10004. reckonorder:
  10005. description: 结算顺序
  10006. type: integer
  10007. reckonpricealgorithm:
  10008. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  10009. 6.卖一价 7.买一卖一均价 8.外部结算价'
  10010. type: integer
  10011. reckonpriceparam:
  10012. description: 结算价参数
  10013. type: integer
  10014. reckontime:
  10015. description: 结算时间[通道交易-对冲](HH:mm)
  10016. type: string
  10017. roleprioritytype:
  10018. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  10019. type: integer
  10020. selllistingauditflag:
  10021. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  10022. type: integer
  10023. trademarkettype:
  10024. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  10025. type: integer
  10026. trademode:
  10027. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10028. 21:竞拍-大宗式 22:受托竞价
  10029. type: integer
  10030. tradeproperty:
  10031. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  10032. 8:场外期权
  10033. type: integer
  10034. tradetype:
  10035. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  10036. type: integer
  10037. required:
  10038. - marketid
  10039. - marketstatus
  10040. - openmethod
  10041. - reckonpricealgorithm
  10042. - trademode
  10043. - tradeproperty
  10044. type: object
  10045. models.Marketrun:
  10046. properties:
  10047. afternexttradedate:
  10048. description: 下下交易日
  10049. type: string
  10050. clearquoteflag:
  10051. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  10052. type: integer
  10053. lastreckondate:
  10054. description: 最新交易日(结算成功)
  10055. type: string
  10056. machinedate:
  10057. description: 机器时间
  10058. type: string
  10059. manualflag:
  10060. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  10061. type: integer
  10062. marketid:
  10063. description: 市场ID
  10064. type: integer
  10065. nexttradedate:
  10066. description: 下一交易日
  10067. type: string
  10068. pretradedate:
  10069. description: 上一交易日
  10070. type: string
  10071. reckonflag:
  10072. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  10073. type: integer
  10074. runstatus:
  10075. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  10076. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  10077. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  10078. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  10079. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  10080. 62.今日免清算
  10081. type: integer
  10082. sectionid:
  10083. description: 时间段号[多时段时用]
  10084. type: integer
  10085. tradedate:
  10086. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  10087. type: string
  10088. tradedate2:
  10089. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  10090. type: string
  10091. updatetime:
  10092. description: 更新时间
  10093. type: string
  10094. required:
  10095. - marketid
  10096. - nexttradedate
  10097. - reckonflag
  10098. - runstatus
  10099. - tradedate
  10100. - tradedate2
  10101. type: object
  10102. models.Messageboard:
  10103. properties:
  10104. contactnum:
  10105. description: 联系电话
  10106. type: string
  10107. createtime:
  10108. description: 创建时间
  10109. type: string
  10110. message:
  10111. description: 留言信息
  10112. type: string
  10113. messageboardid:
  10114. description: 留言簿ID(SEQ_MessageBoard)
  10115. type: integer
  10116. userid:
  10117. description: 用户ID
  10118. type: integer
  10119. required:
  10120. - messageboardid
  10121. type: object
  10122. models.MyCoupon:
  10123. properties:
  10124. accountid:
  10125. description: 资金账户ID
  10126. type: integer
  10127. areauserid:
  10128. description: 所属机构
  10129. type: integer
  10130. conditionvalue:
  10131. description: 条件阈值(可为0)
  10132. type: number
  10133. couponcategroy:
  10134. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  10135. type: integer
  10136. couponname:
  10137. description: 优惠券名称
  10138. type: string
  10139. coupontypeid:
  10140. description: 优惠券类型ID
  10141. type: string
  10142. couponvalue:
  10143. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  10144. type: number
  10145. curfreezeqty:
  10146. description: 期末冻结数量
  10147. type: integer
  10148. curqty:
  10149. description: 期末数量
  10150. type: integer
  10151. isgeneral:
  10152. description: 是否通用券 - 0:否 1:是
  10153. type: integer
  10154. isunusable:
  10155. description: 是否不可用
  10156. type: boolean
  10157. limitedflag:
  10158. description: 是否指定商品 - 0:不限 1:限制
  10159. type: integer
  10160. limitedgoodsids:
  10161. description: 指定商品IDs[逗号分隔,前后加逗号]
  10162. type: string
  10163. orifreezeqty:
  10164. description: 期初冻结数量
  10165. type: integer
  10166. oriqty:
  10167. description: 期初数量
  10168. type: integer
  10169. reasontype:
  10170. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  10171. type: integer
  10172. todaydecrease:
  10173. description: 今日减少
  10174. type: integer
  10175. todayincrease:
  10176. description: 今日增加
  10177. type: integer
  10178. userid:
  10179. description: 用户ID
  10180. type: integer
  10181. userscope:
  10182. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  10183. type: string
  10184. required:
  10185. - accountid
  10186. - coupontypeid
  10187. type: object
  10188. models.MyCouponHold:
  10189. properties:
  10190. accountid:
  10191. description: 资金账户ID
  10192. type: integer
  10193. conditionvalue:
  10194. description: 条件阈值(可为0)
  10195. type: number
  10196. couponcategroy:
  10197. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  10198. type: integer
  10199. couponholdid:
  10200. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  10201. type: string
  10202. couponname:
  10203. description: 优惠券名称
  10204. type: string
  10205. coupontypeid:
  10206. description: 优惠券类型ID - SEQ_COUPONTYPE
  10207. type: string
  10208. couponvalue:
  10209. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  10210. type: number
  10211. createtime:
  10212. description: 创建时间
  10213. type: string
  10214. enddate:
  10215. description: 结束日期
  10216. type: string
  10217. giveapplyid:
  10218. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  10219. type: integer
  10220. holdstatus:
  10221. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  10222. type: integer
  10223. isgeneral:
  10224. description: 是否通用券 - 0:否 1:是
  10225. type: integer
  10226. limitedflag:
  10227. description: 是否指定商品 - 0:不限 1:限制
  10228. type: integer
  10229. limitedgoodsids:
  10230. description: 指定商品IDs[逗号分隔]
  10231. type: string
  10232. qty:
  10233. description: 数量(按1平铺)
  10234. type: integer
  10235. startdate:
  10236. description: 开始日期
  10237. type: string
  10238. userid:
  10239. description: 用户ID
  10240. type: integer
  10241. userscope:
  10242. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  10243. type: string
  10244. required:
  10245. - couponholdid
  10246. type: object
  10247. models.MyUsedCoupon:
  10248. properties:
  10249. accountid:
  10250. description: 资金账户ID(买方)
  10251. type: integer
  10252. conditionvalue:
  10253. description: 条件阈值(可为0)
  10254. type: number
  10255. couponcategroy:
  10256. description: 种类 - 1:现金券 2:折扣券
  10257. type: integer
  10258. couponname:
  10259. description: 优惠券名称
  10260. type: string
  10261. coupontypeid:
  10262. description: 优惠券类型ID(买方)
  10263. type: string
  10264. couponvalue:
  10265. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  10266. type: number
  10267. createtime:
  10268. description: 创建时间
  10269. type: string
  10270. goodsid:
  10271. description: 商品ID
  10272. type: integer
  10273. handlestatus:
  10274. description: 处理状态
  10275. type: integer
  10276. marketid:
  10277. description: 市场ID
  10278. type: integer
  10279. offamount:
  10280. description: 优惠金额
  10281. type: number
  10282. orderid:
  10283. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10284. type: string
  10285. sellaccountid:
  10286. description: 资金账户ID(卖方)
  10287. type: integer
  10288. tradeamount:
  10289. description: 成交金额
  10290. type: number
  10291. tradeid:
  10292. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10293. type: string
  10294. usedqty:
  10295. description: 使用数量
  10296. type: integer
  10297. required:
  10298. - coupontypeid
  10299. - orderid
  10300. type: object
  10301. models.OperationPrimaryMenu:
  10302. properties:
  10303. Children:
  10304. description: 二级功能菜单
  10305. items:
  10306. $ref: '#/definitions/models.OperationSecondaryMenu'
  10307. type: array
  10308. Key:
  10309. description: 菜单KEY
  10310. type: string
  10311. Label:
  10312. description: 菜单标题
  10313. type: string
  10314. type: object
  10315. models.OperationSecondaryMenu:
  10316. properties:
  10317. Key:
  10318. description: 菜单KEY
  10319. type: string
  10320. Label:
  10321. description: 菜单标题
  10322. type: string
  10323. TabList:
  10324. description: 三级功能菜单
  10325. items:
  10326. $ref: '#/definitions/models.OperationTabMenu'
  10327. type: array
  10328. type: object
  10329. models.OperationTabMenu:
  10330. properties:
  10331. Key:
  10332. description: 菜单KEY
  10333. type: string
  10334. Label:
  10335. description: 菜单标题
  10336. type: string
  10337. type: object
  10338. models.QhjAccountOutInApply:
  10339. properties:
  10340. accountcode:
  10341. description: 资金账号
  10342. type: string
  10343. accountname:
  10344. description: 用户名称(名称)
  10345. type: string
  10346. accountpwd:
  10347. description: 资金密码
  10348. type: string
  10349. accountticket:
  10350. description: 最新账户服务流水号
  10351. type: string
  10352. amount:
  10353. description: 金额
  10354. type: number
  10355. applyremark:
  10356. description: 申请备注
  10357. type: string
  10358. applystatus:
  10359. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  10360. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  10361. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  10362. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  10363. type: integer
  10364. auditid:
  10365. description: 审核人
  10366. type: integer
  10367. audittime:
  10368. description: 审核时间
  10369. type: string
  10370. bank_apply_ticket:
  10371. description: 银行申请流水
  10372. type: string
  10373. bankaccountname:
  10374. description: 银行账户名
  10375. type: string
  10376. bankaccountno:
  10377. description: 银行卡号
  10378. type: string
  10379. bankid:
  10380. description: 银行编号
  10381. type: string
  10382. bankticket:
  10383. description: 银行流水
  10384. type: string
  10385. branchbankid:
  10386. description: 银行支行号
  10387. type: string
  10388. branchbankname:
  10389. description: 银行支行名称
  10390. type: string
  10391. capamountout:
  10392. description: 出金(劣后本金) - 外部子账户
  10393. type: number
  10394. certificatephotourl:
  10395. description: 凭证地址
  10396. type: string
  10397. charge:
  10398. description: 手续费
  10399. type: number
  10400. checkerrorflag:
  10401. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10402. type: integer
  10403. currency:
  10404. description: 币种
  10405. type: string
  10406. cusbankid:
  10407. description: 托管银行编号
  10408. type: string
  10409. exchticket:
  10410. description: 银行服务流水号
  10411. type: string
  10412. executetype:
  10413. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  10414. 7:外部子账户:入金 8:外部子账户:出金'
  10415. type: integer
  10416. extendinfo:
  10417. description: 扩展信息
  10418. type: string
  10419. extoperateid:
  10420. description: 交易服务流水号
  10421. type: integer
  10422. infamount:
  10423. description: 劣后金额(自有)
  10424. type: number
  10425. logincode:
  10426. description: 登录账号(账号)
  10427. type: string
  10428. netaddr:
  10429. description: 调转网址
  10430. type: string
  10431. priamount:
  10432. description: 优先金额(授信)
  10433. type: number
  10434. reauditid:
  10435. description: 复审人
  10436. type: integer
  10437. reauditremark:
  10438. description: 复审备注
  10439. type: string
  10440. reaudittime:
  10441. description: 复审时间
  10442. type: string
  10443. relatedorderid:
  10444. description: 三方关联ID
  10445. type: string
  10446. remark:
  10447. description: 备注
  10448. type: string
  10449. remark2:
  10450. description: 备注(失败原因)
  10451. type: string
  10452. soucreamount:
  10453. description: 原始出入金金额
  10454. type: number
  10455. soucrecurrencyid:
  10456. description: 原始出入金币种
  10457. type: integer
  10458. tradedate:
  10459. description: 交易日(yyyyMMdd)
  10460. type: string
  10461. updatetime:
  10462. description: 更新时间(申请时间)
  10463. type: string
  10464. userid:
  10465. description: 用户id
  10466. type: integer
  10467. userinfotype:
  10468. description: 账户类型 1-个人 2-企业
  10469. type: integer
  10470. type: object
  10471. models.QhjAgreementChangeLog:
  10472. properties:
  10473. agreementcontent:
  10474. description: 协议内容
  10475. type: string
  10476. agreementfrequency:
  10477. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10478. type: integer
  10479. agreementid:
  10480. description: 协议ID
  10481. type: integer
  10482. agreementname:
  10483. description: 协议名称
  10484. type: string
  10485. agreementno:
  10486. description: 协议编号
  10487. type: string
  10488. agreementtype:
  10489. description: 协议类型 - 1:注册 2:登录 3:交易
  10490. type: integer
  10491. agreementversion:
  10492. description: 协议版本号
  10493. type: integer
  10494. logid:
  10495. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  10496. type: integer
  10497. reviserid:
  10498. description: 修改人
  10499. type: integer
  10500. revisersrc:
  10501. description: 修改来源 - 1:管理端 2:终端
  10502. type: integer
  10503. updatetime:
  10504. description: 更新时间
  10505. type: string
  10506. type: object
  10507. models.QhjAgreementConfig:
  10508. properties:
  10509. agreementcontent:
  10510. description: 协议内容
  10511. type: string
  10512. agreementfrequency:
  10513. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10514. type: integer
  10515. agreementid:
  10516. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  10517. type: integer
  10518. agreementname:
  10519. description: 协议名称
  10520. type: string
  10521. agreementno:
  10522. description: 协议编号
  10523. type: string
  10524. agreementtype:
  10525. description: 协议类型 - 1:注册 2:登录 3:交易
  10526. type: integer
  10527. agreementversion:
  10528. description: 协议版本号(从1开始每次修改加1)
  10529. type: integer
  10530. createtime:
  10531. description: 创建时间
  10532. type: string
  10533. creatorid:
  10534. description: 创建人
  10535. type: integer
  10536. creatorsrc:
  10537. description: 创建来源 - 1:管理端 2:终端
  10538. type: integer
  10539. isvalid:
  10540. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  10541. type: integer
  10542. reviserid:
  10543. description: 修改人
  10544. type: integer
  10545. revisersrc:
  10546. description: 修改来源 - 1:管理端 2:终端
  10547. type: integer
  10548. updatetime:
  10549. description: 更新时间
  10550. type: string
  10551. type: object
  10552. models.QhjAreaFinanceConfig:
  10553. properties:
  10554. additionalratio:
  10555. description: 追加款比例
  10556. type: number
  10557. advanceratio:
  10558. description: 预付款比例
  10559. type: number
  10560. alarmratio:
  10561. description: 告警比例
  10562. type: number
  10563. consumptiondirectreward:
  10564. description: 消费直推奖励值
  10565. type: number
  10566. consumptionenabled:
  10567. description: 是否启用消费奖励 - 0:不启用 1:启用
  10568. type: integer
  10569. consumptionindirectreward:
  10570. description: 消费间推奖励值
  10571. type: number
  10572. consumptionmodel:
  10573. description: 消费奖励方式 - 1:比率 2:固定
  10574. type: integer
  10575. customerservicenum:
  10576. description: 客服电话
  10577. type: string
  10578. dayinterestrate:
  10579. description: 日利率
  10580. type: number
  10581. disableconsumptiontips:
  10582. description: 关闭消费奖励提示
  10583. type: string
  10584. modifierid:
  10585. description: 修改人ID
  10586. type: integer
  10587. modifysrc:
  10588. description: 审核来源 - 1:管理端 2:终端
  10589. type: integer
  10590. modifytime:
  10591. description: 修改时间
  10592. type: string
  10593. promotionvalue:
  10594. description: 推广奖励值(固定)
  10595. type: number
  10596. scoreconfigvalue1:
  10597. description: 提货积分配置1
  10598. type: integer
  10599. scoreconfigvalue2:
  10600. description: 提货积分配置2
  10601. type: integer
  10602. userid:
  10603. description: 机构用户ID其他做市关系,都设置为 1
  10604. type: integer
  10605. username:
  10606. description: 用户名称
  10607. type: string
  10608. type: object
  10609. models.QhjBankAccountSign:
  10610. properties:
  10611. accountcode:
  10612. description: 资金账号
  10613. type: string
  10614. accountname:
  10615. description: 资金账号对应的账号名(UserName)
  10616. type: string
  10617. accountname2:
  10618. description: 资金账号对应的账号名(UserName) - 密文
  10619. type: string
  10620. accounttype:
  10621. description: 账户类型(UserType)
  10622. type: integer
  10623. applicationtime:
  10624. description: 最后一次更新的时间
  10625. type: string
  10626. applyexchticket:
  10627. description: 申请流水
  10628. type: string
  10629. auditid:
  10630. description: 审核人
  10631. type: integer
  10632. audittime:
  10633. description: 审核时间
  10634. type: string
  10635. bankaccountname:
  10636. description: 签约银行卡账号名
  10637. type: string
  10638. bankaccountname2:
  10639. description: 签约银行卡账号名 - 密文
  10640. type: string
  10641. bankaccountno:
  10642. description: 银行卡号
  10643. type: string
  10644. bankaccountno2:
  10645. description: 银行卡号 - 密文
  10646. type: string
  10647. bankaccounttype:
  10648. description: 银行账户类型 - 1-对私; 2-对公
  10649. type: integer
  10650. bankcardtype:
  10651. description: 银行卡类型
  10652. type: integer
  10653. bankchildaccount:
  10654. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  10655. type: string
  10656. bankcity:
  10657. description: 开户行城市
  10658. type: string
  10659. bankid:
  10660. description: 签约银行ID
  10661. type: string
  10662. bankname:
  10663. description: 签约银行名称
  10664. type: string
  10665. bankprovince:
  10666. description: 开户行省份
  10667. type: string
  10668. branchbankid:
  10669. description: 签约银行支行号
  10670. type: string
  10671. branchbankname:
  10672. description: 签约银行支行名称
  10673. type: string
  10674. cardno:
  10675. description: 证件号码
  10676. type: string
  10677. cardno2:
  10678. description: 证件号码 - 密文
  10679. type: string
  10680. cardtype:
  10681. description: 证件类型
  10682. type: string
  10683. currency:
  10684. description: 币种
  10685. type: string
  10686. cusbankid:
  10687. description: 托管银行编号
  10688. type: string
  10689. direct:
  10690. description: 方向(可以判断那方先发起的签约)
  10691. type: integer
  10692. exchticket:
  10693. description: 最后一次签约成功的流水号
  10694. type: string
  10695. extendinfo:
  10696. description: 扩展信息(JSON字符串)
  10697. type: string
  10698. mobilephone:
  10699. description: 手机号
  10700. type: string
  10701. mobilephone2:
  10702. description: 手机号 - 密文
  10703. type: string
  10704. netaddr:
  10705. description: 调转网址
  10706. type: string
  10707. relateduserid:
  10708. description: 关联使用者userid
  10709. type: integer
  10710. signstatus:
  10711. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  10712. 10:审核拒绝 11:换签待审核
  10713. type: integer
  10714. updatetime:
  10715. description: 更新时间(签解约更新时间)
  10716. type: string
  10717. type: object
  10718. models.QhjBankInfo:
  10719. properties:
  10720. bankid:
  10721. description: 银行ID
  10722. type: string
  10723. bankname:
  10724. description: 银行名称
  10725. type: string
  10726. clearbankno:
  10727. description: 清算系统银行编号
  10728. type: string
  10729. orderindex:
  10730. description: 排序顺序
  10731. type: integer
  10732. status:
  10733. description: 状态 - 0:正常 1:注销
  10734. type: integer
  10735. type: object
  10736. models.QhjBrokerApply:
  10737. properties:
  10738. applicantid:
  10739. description: 申请人
  10740. type: integer
  10741. applysrc:
  10742. description: 申请来源 - 1:管理端 2:终端
  10743. type: integer
  10744. applystatus:
  10745. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10746. type: integer
  10747. applytime:
  10748. description: 申请时间
  10749. type: string
  10750. auditorid:
  10751. description: 审核人
  10752. type: integer
  10753. auditremark:
  10754. description: 审核备注
  10755. type: string
  10756. auditsrc:
  10757. description: 审核来源 - 1:管理端 2:终端
  10758. type: integer
  10759. audittime:
  10760. description: 审核时间
  10761. type: string
  10762. audittradedate:
  10763. description: 审核交易日(yyyyMMdd)
  10764. type: string
  10765. brokerapplyid:
  10766. description: 申请ID(SEQ_BROKERAPPLY)
  10767. type: integer
  10768. cardbackphotourl:
  10769. description: 证件背面图片地址
  10770. type: string
  10771. cardfrontphotourl:
  10772. description: 证件正面图片地址
  10773. type: string
  10774. cardnum:
  10775. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  10776. type: string
  10777. customername:
  10778. description: 姓名
  10779. type: string
  10780. logincode:
  10781. description: 登录代码
  10782. type: string
  10783. mobile:
  10784. description: 手机号码
  10785. type: string
  10786. parentuserid:
  10787. description: 所属机构id
  10788. type: integer
  10789. parentusername:
  10790. description: 所属机构名称
  10791. type: string
  10792. refereeuserid:
  10793. description: 推荐人id(经纪人)
  10794. type: integer
  10795. refernum:
  10796. description: 推荐码
  10797. type: string
  10798. remark:
  10799. description: 备注
  10800. type: string
  10801. subarealevelpath:
  10802. description: 层级路径
  10803. type: string
  10804. tradedate:
  10805. description: 交易日(yyyyMMdd)
  10806. type: string
  10807. userid:
  10808. description: 申请人用户ID
  10809. type: integer
  10810. userinfotype:
  10811. description: 用户类型 1-个人 2-企业
  10812. type: integer
  10813. username:
  10814. description: 用户名称
  10815. type: string
  10816. type: object
  10817. models.QhjBrokerApplyEx:
  10818. properties:
  10819. applylist:
  10820. description: 经纪人申请记录(只返回最新一条)
  10821. items:
  10822. $ref: '#/definitions/models.QhjBrokerApply'
  10823. type: array
  10824. canrecommend:
  10825. description: 是否经纪人 0-不是 1-是
  10826. type: integer
  10827. refernum:
  10828. description: 推荐码
  10829. type: string
  10830. userid:
  10831. description: 用户id
  10832. type: integer
  10833. userinfotype:
  10834. description: 用户类型 1-个人 2-企业
  10835. type: integer
  10836. type: object
  10837. models.QhjBrokerRewardLog:
  10838. properties:
  10839. accountid:
  10840. description: 资金账号ID
  10841. type: integer
  10842. createtime:
  10843. description: 创建时间(时间)
  10844. type: string
  10845. handlestatus:
  10846. description: 处理状态
  10847. type: integer
  10848. logid:
  10849. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10850. type: string
  10851. marketid:
  10852. description: 市场ID
  10853. type: integer
  10854. mmaccountid:
  10855. description: 做市商资金账号ID
  10856. type: string
  10857. mmuserid:
  10858. description: 做市商用户ID
  10859. type: string
  10860. rewardamount:
  10861. description: 奖励金额
  10862. type: number
  10863. rewardmodel:
  10864. description: 消费奖励方式 - 1:比率 2:固定
  10865. type: integer
  10866. rewardtype:
  10867. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  10868. type: integer
  10869. rewardvalue:
  10870. description: 配置奖励值
  10871. type: number
  10872. srcamount:
  10873. description: 成交金额 [消费奖励] (金额)
  10874. type: number
  10875. srcgoodsid:
  10876. description: 来源商品ID [消费奖励]
  10877. type: string
  10878. srctime:
  10879. description: 来源时间 (成交时间) [消费奖励]
  10880. type: string
  10881. srctradeid:
  10882. description: 来源成交单ID [消费奖励] - 排除提货成交
  10883. type: string
  10884. srcuserid:
  10885. description: 来源用户ID(推广账户)
  10886. type: string
  10887. srcusername:
  10888. description: 推广账户名称
  10889. type: string
  10890. tradedate:
  10891. description: 交易日(yyyyMMdd)
  10892. type: string
  10893. userid:
  10894. description: 经纪人用户ID
  10895. type: integer
  10896. type: object
  10897. models.QhjContract:
  10898. properties:
  10899. contractconfirmtime:
  10900. description: 合同确认时间(时间)
  10901. type: string
  10902. currisklevel:
  10903. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10904. type: integer
  10905. decimalplace:
  10906. description: 商品报价小数位
  10907. type: integer
  10908. enumdicname:
  10909. description: 单位名称
  10910. type: string
  10911. goodscode:
  10912. description: 商品代码
  10913. type: string
  10914. goodsid:
  10915. description: 商品ID [5:融资单]
  10916. type: integer
  10917. goodsname:
  10918. description: 商品名称
  10919. type: string
  10920. goodunitid:
  10921. description: 商品单位id
  10922. type: integer
  10923. initmargin:
  10924. description: 初始保证金(首付款)
  10925. type: number
  10926. lenderamount:
  10927. description: 贷款金额(总额|订单总额)
  10928. type: number
  10929. marginratio:
  10930. description: 保证金比率(首付比例)
  10931. type: number
  10932. payamount:
  10933. description: 已付(已付货款)
  10934. type: number
  10935. reckonrecovermargin:
  10936. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10937. type: number
  10938. recoveredmargin:
  10939. description: 已追缴保证金
  10940. type: number
  10941. remainamount:
  10942. description: 合同剩余金额(融资额)
  10943. type: number
  10944. scfcontractid:
  10945. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10946. type: string
  10947. scfcontractstatus:
  10948. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  10949. 9:违约结束 10:已注销 11:已关闭 99:未提交
  10950. type: integer
  10951. scfcontracttype:
  10952. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10953. type: integer
  10954. totalinterest:
  10955. description: 已计总利息(利息)
  10956. type: number
  10957. tradeprice:
  10958. description: 成交价格(成本价格)
  10959. type: number
  10960. userid:
  10961. description: 用户ID
  10962. type: integer
  10963. username:
  10964. description: 用户名称
  10965. type: string
  10966. wrqty:
  10967. description: 仓单数量(数量)
  10968. type: number
  10969. type: object
  10970. models.QhjContractLog:
  10971. properties:
  10972. amount:
  10973. description: 支付金额
  10974. type: number
  10975. amounttype:
  10976. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  10977. type: integer
  10978. logid:
  10979. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10980. type: string
  10981. remainamount:
  10982. description: 剩余货款
  10983. type: number
  10984. scfcontractid:
  10985. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10986. type: integer
  10987. updatetime:
  10988. description: 更新时间
  10989. type: string
  10990. type: object
  10991. models.QhjCusBankSignBankEx:
  10992. properties:
  10993. banklst:
  10994. description: 银行列表
  10995. items:
  10996. $ref: '#/definitions/models.QhjBankInfo'
  10997. type: array
  10998. canallot:
  10999. description: 是否支持跨行调拨 - 0:不支持 1:支持
  11000. type: integer
  11001. canallotquery:
  11002. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  11003. type: integer
  11004. canbindcard:
  11005. description: 是否可绑卡与解卡 - 0:不可 1:可以
  11006. type: integer
  11007. caninamount:
  11008. description: 是否可入金 - 0:不可 1:可以
  11009. type: integer
  11010. caninamount2:
  11011. description: 是否可入金(网银端) - 0:不可 1:可以
  11012. type: integer
  11013. canmodifybankcard:
  11014. description: 是否可修改银行卡号 - 0:不可 1:可以
  11015. type: integer
  11016. canmodifyphone:
  11017. description: 是否可修改手机号 - 0:不可 1:可以
  11018. type: integer
  11019. canmodifysigninfo:
  11020. description: 是否可修改签约信息 - 0:不可 1:可以
  11021. type: integer
  11022. canoutamount:
  11023. description: 是否可出金 - 0:不可 1:可以
  11024. type: integer
  11025. canoutamount2:
  11026. description: 是否可出金(网银端) - 0:不可 1:可以
  11027. type: integer
  11028. canrelease:
  11029. description: 是否可解约 - 0:不可 1:可以
  11030. type: integer
  11031. canrelease2:
  11032. description: 是否可解约(网银端) - 0:不可 1:可以
  11033. type: integer
  11034. cansign:
  11035. description: 是否可签约 - 0:不可 1:可以
  11036. type: integer
  11037. cansign2:
  11038. description: 是否可签约(网银端) - 0:不可 1:可以
  11039. type: integer
  11040. currency:
  11041. description: 币种
  11042. type: string
  11043. cusbankid:
  11044. description: 托管银行编号(对应清算中心TRAN_NO)
  11045. type: string
  11046. cusbankname:
  11047. description: 银行业务名称
  11048. type: string
  11049. cusbankshortname:
  11050. description: 银行业务简称
  11051. type: string
  11052. exchbankid:
  11053. description: 交易所开户银行ID
  11054. type: string
  11055. exchpaybankaccname:
  11056. description: 交易所支出结算账户户名
  11057. type: string
  11058. exchpaybankaccno:
  11059. description: 交易所支出结算账户
  11060. type: string
  11061. isneedcheck:
  11062. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  11063. type: integer
  11064. isneedclear:
  11065. description: 是否需要清算 - 0:不需要 1:需要
  11066. type: integer
  11067. lastcheckstatus:
  11068. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  11069. type: integer
  11070. lastchecktime:
  11071. description: 最后对账时间
  11072. type: string
  11073. lastclearstatus:
  11074. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  11075. type: integer
  11076. lastcleartime:
  11077. description: 最后清算时间
  11078. type: string
  11079. lastsignintime:
  11080. description: 最后签到时间
  11081. type: string
  11082. lastsignouttime:
  11083. description: 最后签退时间
  11084. type: string
  11085. riskinfo:
  11086. description: 签约风险提示书
  11087. type: string
  11088. signstatus:
  11089. description: 当前签到/签退状态 - 1:签到 2:签退
  11090. type: integer
  11091. tradedate:
  11092. description: 交易日(yyyyMMdd)
  11093. type: string
  11094. updatetime:
  11095. description: 当前签到/签退更新时间
  11096. type: string
  11097. type: object
  11098. models.QhjCustomer:
  11099. properties:
  11100. address:
  11101. description: 通讯地址
  11102. type: string
  11103. attachment1:
  11104. description: 附件1
  11105. type: string
  11106. attachment2:
  11107. description: 附件2
  11108. type: string
  11109. audittime:
  11110. description: 审核时间
  11111. type: string
  11112. cardbackphotourl:
  11113. description: 证件反面图片地址
  11114. type: string
  11115. cardfrontphotourl:
  11116. description: 证件正面图片地址
  11117. type: string
  11118. cardnum:
  11119. description: 证件号码
  11120. type: string
  11121. cardtype:
  11122. description: 证件类型
  11123. type: integer
  11124. cardtypename:
  11125. description: 证件类型名称
  11126. type: string
  11127. cityid:
  11128. description: 市
  11129. type: integer
  11130. cityname:
  11131. description: 城市名称
  11132. type: string
  11133. contactname:
  11134. description: 联系人
  11135. type: string
  11136. countryid:
  11137. description: 国家
  11138. type: integer
  11139. countryname:
  11140. description: 国家名称
  11141. type: string
  11142. createtime:
  11143. description: 创建时间
  11144. type: string
  11145. customername:
  11146. description: 客户名称
  11147. type: string
  11148. districtid:
  11149. description: 区域
  11150. type: integer
  11151. districtname:
  11152. description: 地区名称
  11153. type: string
  11154. email:
  11155. description: 邮件
  11156. type: string
  11157. legalpersonname:
  11158. description: 法人姓名(企业)
  11159. type: string
  11160. logincode:
  11161. description: 登录账号(代码)
  11162. type: string
  11163. memberuserid:
  11164. description: 所属机构ID(所属会员)
  11165. type: integer
  11166. memberusername:
  11167. description: 所属会员名称
  11168. type: string
  11169. mobile:
  11170. description: 手机号码
  11171. type: string
  11172. modifytime:
  11173. description: 修改时间
  11174. type: string
  11175. nickname:
  11176. description: 昵称
  11177. type: string
  11178. parentuserid:
  11179. description: 上级机构(所属机构)
  11180. type: integer
  11181. parentusername:
  11182. description: 所属机构名称
  11183. type: string
  11184. provinceid:
  11185. description: 省
  11186. type: integer
  11187. provincename:
  11188. description: 省名称
  11189. type: string
  11190. proxystatementurl:
  11191. description: 授权委托书
  11192. type: string
  11193. remark:
  11194. description: 备注
  11195. type: string
  11196. status:
  11197. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  11198. type: integer
  11199. statusdesc:
  11200. description: 账户状态中文描述
  11201. type: string
  11202. taxpayernum:
  11203. description: 纳税人识别号
  11204. type: string
  11205. telphone:
  11206. description: 联系电话
  11207. type: string
  11208. userid:
  11209. description: 用户ID
  11210. type: integer
  11211. userinfotype:
  11212. description: 客户类型 1-个人 2-企业
  11213. type: integer
  11214. username:
  11215. description: 用户名称
  11216. type: string
  11217. type: object
  11218. models.QhjCustomerSignLog:
  11219. properties:
  11220. agreementcontent:
  11221. description: 协议内容
  11222. type: string
  11223. agreementid:
  11224. description: 协议ID
  11225. type: integer
  11226. agreementname:
  11227. description: 协议名称
  11228. type: string
  11229. agreementno:
  11230. description: 协议编号
  11231. type: string
  11232. agreementtype:
  11233. description: 协议类型 - 1:注册 2:登录 3:交易
  11234. type: integer
  11235. agreementversion:
  11236. description: 协议版本号
  11237. type: integer
  11238. createtime:
  11239. description: 创建时间
  11240. type: string
  11241. goodscode:
  11242. description: 商品代码
  11243. type: string
  11244. goodsid:
  11245. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11246. type: integer
  11247. goodsname:
  11248. description: 商品名称
  11249. type: string
  11250. logid:
  11251. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  11252. type: integer
  11253. nodetype:
  11254. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11255. type: integer
  11256. signadressurl:
  11257. description: 签约文件地址
  11258. type: string
  11259. signtimestamp:
  11260. description: 签约状态时间戳
  11261. type: string
  11262. userid:
  11263. description: 客户ID
  11264. type: integer
  11265. username:
  11266. description: 客户名称
  11267. type: string
  11268. type: object
  11269. models.QhjCustomerSignStatus:
  11270. properties:
  11271. createtime:
  11272. description: 创建时间
  11273. type: string
  11274. goodscode:
  11275. description: 商品代码
  11276. type: string
  11277. goodsid:
  11278. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11279. type: integer
  11280. goodsname:
  11281. description: 商品名称
  11282. type: string
  11283. nodetype:
  11284. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  11285. type: integer
  11286. signtimestamp:
  11287. description: 签约状态时间戳
  11288. type: string
  11289. tradedate:
  11290. description: 创建交易日(yyyyMMdd)
  11291. type: string
  11292. updatetime:
  11293. description: 更新时间
  11294. type: string
  11295. userid:
  11296. description: 客户ID
  11297. type: integer
  11298. username:
  11299. description: 客户名称
  11300. type: string
  11301. type: object
  11302. models.QhjMgrAccountOutInApply:
  11303. properties:
  11304. accountcode:
  11305. description: 资金账号
  11306. type: string
  11307. accountname:
  11308. description: 用户名称(名称)
  11309. type: string
  11310. accountpwd:
  11311. description: 资金密码
  11312. type: string
  11313. accountticket:
  11314. description: 最新账户服务流水号
  11315. type: string
  11316. amount:
  11317. description: 金额
  11318. type: number
  11319. applyremark:
  11320. description: 申请备注
  11321. type: string
  11322. applystatus:
  11323. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  11324. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  11325. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  11326. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  11327. type: integer
  11328. auditid:
  11329. description: 审核人
  11330. type: integer
  11331. audittime:
  11332. description: 审核时间
  11333. type: string
  11334. bank_apply_ticket:
  11335. description: 银行申请流水
  11336. type: string
  11337. bankaccountname:
  11338. description: 银行账户名
  11339. type: string
  11340. bankaccountno:
  11341. description: 银行卡号
  11342. type: string
  11343. bankid:
  11344. description: 银行编号
  11345. type: string
  11346. bankname:
  11347. description: 银行名称
  11348. type: string
  11349. bankticket:
  11350. description: 银行流水
  11351. type: string
  11352. branchbankid:
  11353. description: 银行支行号
  11354. type: string
  11355. branchbankname:
  11356. description: 银行支行名称
  11357. type: string
  11358. capamountout:
  11359. description: 出金(劣后本金) - 外部子账户
  11360. type: number
  11361. certificatephotourl:
  11362. description: 凭证地址
  11363. type: string
  11364. charge:
  11365. description: 手续费
  11366. type: number
  11367. checkerrorflag:
  11368. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  11369. type: integer
  11370. currency:
  11371. description: 币种
  11372. type: string
  11373. cusbankid:
  11374. description: 托管银行编号
  11375. type: string
  11376. exchticket:
  11377. description: 银行服务流水号
  11378. type: string
  11379. executetype:
  11380. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  11381. 7:外部子账户:入金 8:外部子账户:出金'
  11382. type: integer
  11383. extendinfo:
  11384. description: 扩展信息
  11385. type: string
  11386. extoperateid:
  11387. description: 交易服务流水号
  11388. type: integer
  11389. infamount:
  11390. description: 劣后金额(自有)
  11391. type: number
  11392. logincode:
  11393. description: 登录账号(账号)
  11394. type: string
  11395. netaddr:
  11396. description: 调转网址
  11397. type: string
  11398. priamount:
  11399. description: 优先金额(授信)
  11400. type: number
  11401. reauditid:
  11402. description: 复审人
  11403. type: integer
  11404. reauditremark:
  11405. description: 复审备注
  11406. type: string
  11407. reaudittime:
  11408. description: 复审时间
  11409. type: string
  11410. relatedorderid:
  11411. description: 三方关联ID
  11412. type: string
  11413. remark:
  11414. description: 备注
  11415. type: string
  11416. remark2:
  11417. description: 备注(失败原因)
  11418. type: string
  11419. soucreamount:
  11420. description: 原始出入金金额
  11421. type: number
  11422. soucrecurrencyid:
  11423. description: 原始出入金币种
  11424. type: integer
  11425. tradedate:
  11426. description: 交易日(yyyyMMdd)
  11427. type: string
  11428. updatetime:
  11429. description: 更新时间(申请时间)
  11430. type: string
  11431. userid:
  11432. description: 用户id
  11433. type: integer
  11434. userinfotype:
  11435. description: 账户类型 1-个人 2-企业
  11436. type: integer
  11437. type: object
  11438. models.QhjMgrBrokerApply:
  11439. properties:
  11440. applicantid:
  11441. description: 申请人
  11442. type: integer
  11443. applysrc:
  11444. description: 申请来源 - 1:管理端 2:终端
  11445. type: integer
  11446. applystatus:
  11447. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  11448. type: integer
  11449. applytime:
  11450. description: 申请时间
  11451. type: string
  11452. auditorid:
  11453. description: 审核人
  11454. type: integer
  11455. auditremark:
  11456. description: 审核备注
  11457. type: string
  11458. auditsrc:
  11459. description: 审核来源 - 1:管理端 2:终端
  11460. type: integer
  11461. audittime:
  11462. description: 审核时间
  11463. type: string
  11464. audittradedate:
  11465. description: 审核交易日(yyyyMMdd)
  11466. type: string
  11467. brokerapplyid:
  11468. description: 申请ID(SEQ_BROKERAPPLY)
  11469. type: integer
  11470. cardbackphotourl:
  11471. description: 证件背面图片地址
  11472. type: string
  11473. cardfrontphotourl:
  11474. description: 证件正面图片地址
  11475. type: string
  11476. cardnum:
  11477. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  11478. type: string
  11479. customername:
  11480. description: 姓名
  11481. type: string
  11482. filterstatus:
  11483. description: 筛选条件
  11484. type: string
  11485. logincode:
  11486. description: 登录代码
  11487. type: string
  11488. mobile:
  11489. description: 手机号码
  11490. type: string
  11491. parentuserid:
  11492. description: 所属机构id
  11493. type: integer
  11494. parentusername:
  11495. description: 所属机构名称
  11496. type: string
  11497. refereeuserid:
  11498. description: 推荐人id(经纪人)
  11499. type: integer
  11500. refernum:
  11501. description: 推荐码
  11502. type: string
  11503. remark:
  11504. description: 备注
  11505. type: string
  11506. subarealevelpath:
  11507. description: 层级路径
  11508. type: string
  11509. tradedate:
  11510. description: 交易日(yyyyMMdd)
  11511. type: string
  11512. userid:
  11513. description: 申请人用户ID
  11514. type: integer
  11515. userinfotype:
  11516. description: 用户类型 1-个人 2-企业
  11517. type: integer
  11518. username:
  11519. description: 用户名称
  11520. type: string
  11521. type: object
  11522. models.QhjMgrBrokerRewardReport:
  11523. properties:
  11524. createtime:
  11525. description: 创建时间(注册时间)
  11526. type: string
  11527. cycletime:
  11528. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  11529. type: string
  11530. cycletype:
  11531. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  11532. type: integer
  11533. directtotalnum:
  11534. description: 直推总人数【期末】
  11535. type: integer
  11536. indirecttotalnum:
  11537. description: 间推总人数【期末】
  11538. type: integer
  11539. mobile:
  11540. description: 电话号码
  11541. type: string
  11542. refereeuserid:
  11543. description: 推荐人id(经纪人id)
  11544. type: integer
  11545. refereeusername:
  11546. description: 推荐人名称(经纪人) 上级经纪人名称
  11547. type: string
  11548. refernum:
  11549. description: 推荐码
  11550. type: string
  11551. subarealevelpath:
  11552. description: 用户层级路径
  11553. type: string
  11554. todayrewardamount:
  11555. description: 奖励总金额【汇总】
  11556. type: number
  11557. updatetime:
  11558. description: 更新时间
  11559. type: string
  11560. userid:
  11561. description: 经纪人用户ID
  11562. type: integer
  11563. userinfotype:
  11564. description: 用户类型 1-个人 2-企业
  11565. type: integer
  11566. username:
  11567. description: 用户名称
  11568. type: string
  11569. type: object
  11570. models.QhjMgrContract:
  11571. properties:
  11572. contractconfirmtime:
  11573. description: 合同确认时间(时间)
  11574. type: string
  11575. currisklevel:
  11576. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  11577. type: integer
  11578. decimalplace:
  11579. description: 商品报价小数位
  11580. type: integer
  11581. enumdicname:
  11582. description: 单位名称
  11583. type: string
  11584. goodscode:
  11585. description: 商品代码
  11586. type: string
  11587. goodsid:
  11588. description: 商品ID [5:融资单]
  11589. type: integer
  11590. goodsname:
  11591. description: 商品名称
  11592. type: string
  11593. goodunitid:
  11594. description: 商品单位id
  11595. type: integer
  11596. initmargin:
  11597. description: 初始保证金(首付款)
  11598. type: number
  11599. lenderamount:
  11600. description: 贷款金额(总额|订单总额)
  11601. type: number
  11602. logincode:
  11603. description: 账号(登录代码)
  11604. type: string
  11605. marginratio:
  11606. description: 保证金比率(首付比例)
  11607. type: number
  11608. mobile:
  11609. description: 电话号码(用户资料里的电话)
  11610. type: string
  11611. payamount:
  11612. description: 已付(已付货款)
  11613. type: number
  11614. reckonrecovermargin:
  11615. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  11616. type: number
  11617. recoveredmargin:
  11618. description: 已追缴保证金
  11619. type: number
  11620. remainamount:
  11621. description: 合同剩余金额(融资额)
  11622. type: number
  11623. scfcontractid:
  11624. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  11625. type: string
  11626. scfcontractstatus:
  11627. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  11628. 9:违约结束 10:已注销 11:已关闭 99:未提交
  11629. type: integer
  11630. scfcontracttype:
  11631. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  11632. type: integer
  11633. totalinterest:
  11634. description: 已计总利息(利息)
  11635. type: number
  11636. tradedate:
  11637. description: 交易日
  11638. type: string
  11639. tradeprice:
  11640. description: 成交价格(成本价格)
  11641. type: number
  11642. userid:
  11643. description: 用户ID
  11644. type: integer
  11645. userinfotype:
  11646. description: 用户类型 1-个人 2-企业
  11647. type: integer
  11648. username:
  11649. description: 用户名称
  11650. type: string
  11651. wrqty:
  11652. description: 仓单数量(数量)
  11653. type: number
  11654. type: object
  11655. models.QhjMgrCustomer:
  11656. properties:
  11657. address:
  11658. description: 通讯地址
  11659. type: string
  11660. attachment1:
  11661. description: 附件1
  11662. type: string
  11663. audittime:
  11664. description: 审核时间
  11665. type: string
  11666. birthday:
  11667. description: 生日
  11668. type: string
  11669. brokerid:
  11670. description: 所属客户经理id
  11671. type: integer
  11672. brokername:
  11673. description: 所属客户经理名称
  11674. type: string
  11675. cardbackphotourl:
  11676. description: 证件反面图片地址
  11677. type: string
  11678. cardfrontphotourl:
  11679. description: 证件正面图片地址
  11680. type: string
  11681. cardnum:
  11682. description: 证件号码
  11683. type: string
  11684. cardtype:
  11685. description: 证件类型
  11686. type: integer
  11687. cardtypename:
  11688. description: 证件类型名称
  11689. type: string
  11690. cityid:
  11691. description: 市
  11692. type: integer
  11693. cityname:
  11694. description: 城市名称
  11695. type: string
  11696. contactname:
  11697. description: 联系人
  11698. type: string
  11699. countryid:
  11700. description: 国家
  11701. type: integer
  11702. countryname:
  11703. description: 国家名称
  11704. type: string
  11705. createtime:
  11706. description: 创建时间
  11707. type: string
  11708. customername:
  11709. description: 客户名称
  11710. type: string
  11711. districtid:
  11712. description: 区域
  11713. type: integer
  11714. districtname:
  11715. description: 地区名称
  11716. type: string
  11717. email:
  11718. description: 邮件
  11719. type: string
  11720. legalpersonname:
  11721. description: 法人姓名(企业)
  11722. type: string
  11723. logincode:
  11724. description: 登录账号(代码)
  11725. type: string
  11726. memberuserid:
  11727. description: 所属机构ID(所属会员)
  11728. type: integer
  11729. memberusername:
  11730. description: 所属会员名称
  11731. type: string
  11732. mobile:
  11733. description: 手机号码
  11734. type: string
  11735. modifytime:
  11736. description: 修改时间
  11737. type: string
  11738. nickname:
  11739. description: 昵称
  11740. type: string
  11741. parentuserid:
  11742. description: 上级机构(所属机构)
  11743. type: integer
  11744. parentusername:
  11745. description: 所属机构名称
  11746. type: string
  11747. provinceid:
  11748. description: 省
  11749. type: integer
  11750. provincename:
  11751. description: 省名称
  11752. type: string
  11753. proxystatementurl:
  11754. description: 授权委托书
  11755. type: string
  11756. querytype:
  11757. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  11758. type: integer
  11759. remark:
  11760. description: 备注
  11761. type: string
  11762. sex:
  11763. description: 性别 0-女 1-男
  11764. type: integer
  11765. status:
  11766. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  11767. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  11768. type: integer
  11769. statusdesc:
  11770. description: 账户状态中文描述
  11771. type: string
  11772. taxpayernum:
  11773. description: 纳税人识别号
  11774. type: string
  11775. telphone:
  11776. description: 联系电话
  11777. type: string
  11778. userid:
  11779. description: 用户ID
  11780. type: integer
  11781. userinfotype:
  11782. description: 客户类型 1-个人 2-企业
  11783. type: integer
  11784. username:
  11785. description: 用户名称
  11786. type: string
  11787. type: object
  11788. models.QhjMgrPickGoods:
  11789. properties:
  11790. enumdicname:
  11791. description: 单位名称(提货商品)
  11792. type: string
  11793. goodsid:
  11794. description: 商品id
  11795. type: integer
  11796. imageaddress:
  11797. description: 图片
  11798. type: string
  11799. modifierid:
  11800. description: 修改人
  11801. type: integer
  11802. modifiername:
  11803. description: 修改人名称
  11804. type: string
  11805. modifysrc:
  11806. description: 修改来源 - 1:管理端 2:终端
  11807. type: integer
  11808. pickupgoodsagreeunit:
  11809. description: 合约乘数
  11810. type: number
  11811. pickupgoodsdesc:
  11812. description: 描述
  11813. type: string
  11814. pickupgoodsid:
  11815. description: 提货商品ID
  11816. type: string
  11817. pickupgoodsname:
  11818. description: 提货商品名称
  11819. type: string
  11820. pickupgoodsstatus:
  11821. description: 状态 - 1:正常 2:停用 3:注销
  11822. type: integer
  11823. pickupgoodsunitid:
  11824. description: 单位ID
  11825. type: integer
  11826. pickupratio:
  11827. description: 提货系数
  11828. type: number
  11829. preparedays:
  11830. description: 备货期(天)
  11831. type: integer
  11832. remark:
  11833. description: 备注
  11834. type: string
  11835. updatetime:
  11836. description: 更新时间
  11837. type: string
  11838. type: object
  11839. models.QhjMgrPositionRsp:
  11840. properties:
  11841. accountid:
  11842. description: 账号Id
  11843. type: integer
  11844. accountname:
  11845. description: 用户名称
  11846. type: string
  11847. agreeunit:
  11848. description: 合约乘数
  11849. type: number
  11850. averageprice:
  11851. description: 均价
  11852. type: number
  11853. avialqty:
  11854. description: 可用数量
  11855. type: number
  11856. decimalplace:
  11857. description: 报价小数位
  11858. type: integer
  11859. enumdicname:
  11860. description: 单位名称(商品)
  11861. type: string
  11862. frozenqty:
  11863. description: 冻结数量
  11864. type: number
  11865. goodscode:
  11866. description: 商品代码(内部)
  11867. type: string
  11868. goodsid:
  11869. description: 商品Id
  11870. type: integer
  11871. goodsname:
  11872. description: 商品名称
  11873. type: string
  11874. goodunitid:
  11875. description: 报价单位ID
  11876. type: integer
  11877. holderamount:
  11878. description: 金额
  11879. type: number
  11880. holderqty:
  11881. description: 持有数量
  11882. type: number
  11883. holdertype:
  11884. description: 持仓类别 - 1:单边持仓 2:双边持仓
  11885. type: integer
  11886. logincode:
  11887. description: 登录代码(账户)
  11888. type: string
  11889. marketid:
  11890. description: 市场id
  11891. type: integer
  11892. qtydecimalplace:
  11893. description: 成交量小数位
  11894. type: integer
  11895. trademode:
  11896. description: 交易模式
  11897. type: integer
  11898. userid:
  11899. description: 用户id
  11900. type: integer
  11901. userinfotype:
  11902. description: 账户类型 1-个人 2-企业
  11903. type: integer
  11904. type: object
  11905. models.QhjMgrSubArea:
  11906. properties:
  11907. accountname:
  11908. description: 账户名称(机构名称)
  11909. type: string
  11910. memberuserid:
  11911. description: 所属会员ID
  11912. type: integer
  11913. parenttopuser:
  11914. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  11915. type: string
  11916. parentuserid:
  11917. description: 所属机构ID
  11918. type: integer
  11919. rootuserid:
  11920. description: 根用户ID
  11921. type: string
  11922. subaccountlevel:
  11923. description: 子账户层数
  11924. type: integer
  11925. subarealevelpath:
  11926. description: 子机构层级路径(逗号分隔,首尾加逗号)
  11927. type: string
  11928. userid:
  11929. description: 用户ID
  11930. type: integer
  11931. usertype:
  11932. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11933. type: integer
  11934. type: object
  11935. models.QhjMgrTradeDetailRsp:
  11936. properties:
  11937. accountid:
  11938. description: 资金账号
  11939. type: integer
  11940. accountname:
  11941. description: 用户名称
  11942. type: string
  11943. agreeunit:
  11944. description: 合约乘数
  11945. type: number
  11946. buyorsell:
  11947. description: 成交类型(方向) 0:买 1:卖
  11948. type: integer
  11949. decimalplace:
  11950. description: 报价小数位
  11951. type: integer
  11952. enumdicname:
  11953. description: 单位名称(商品)
  11954. type: string
  11955. goodscode:
  11956. description: 商品代码(内部)
  11957. type: string
  11958. goodsid:
  11959. description: 商品id
  11960. type: integer
  11961. goodsname:
  11962. description: 商品名称
  11963. type: string
  11964. goodunitid:
  11965. description: 报价单位ID
  11966. type: integer
  11967. logincode:
  11968. description: 登录代码(账户)
  11969. type: string
  11970. marketid:
  11971. description: 市场id
  11972. type: integer
  11973. orderid:
  11974. description: 关联委托单号
  11975. type: string
  11976. qtydecimalplace:
  11977. description: 成交量小数位
  11978. type: integer
  11979. tradeamount:
  11980. description: 金额
  11981. type: number
  11982. tradedate:
  11983. description: 交易日
  11984. type: string
  11985. tradeid:
  11986. description: 成交单号
  11987. type: string
  11988. trademode:
  11989. description: 交易模式
  11990. type: integer
  11991. tradeprice:
  11992. description: 价格
  11993. type: number
  11994. tradeqty:
  11995. description: 数量
  11996. type: number
  11997. tradetime:
  11998. description: 成交时间
  11999. type: string
  12000. userid:
  12001. description: 用户id
  12002. type: integer
  12003. userinfotype:
  12004. description: 账户类型 1-个人 2-企业
  12005. type: integer
  12006. type: object
  12007. models.QhjMgrTradeOrderDetailRsp:
  12008. properties:
  12009. accountid:
  12010. description: 资金账号
  12011. type: integer
  12012. accountname:
  12013. description: 用户名称
  12014. type: string
  12015. agreeunit:
  12016. description: 合约乘数
  12017. type: number
  12018. amount:
  12019. description: 金额
  12020. type: number
  12021. decimalplace:
  12022. description: 报价小数位
  12023. type: integer
  12024. enumdicname:
  12025. description: 单位名称(商品)
  12026. type: string
  12027. goodscode:
  12028. description: 商品代码(内部)
  12029. type: string
  12030. goodsid:
  12031. description: 商品id
  12032. type: integer
  12033. goodsname:
  12034. description: 商品名称
  12035. type: string
  12036. goodunitid:
  12037. description: 报价单位ID
  12038. type: integer
  12039. logincode:
  12040. description: 登录代码(账户)
  12041. type: string
  12042. marketid:
  12043. description: 市场id
  12044. type: integer
  12045. orderid:
  12046. description: 关联委托单号
  12047. type: string
  12048. orderprice:
  12049. description: 价格
  12050. type: number
  12051. orderqty:
  12052. description: 数量
  12053. type: number
  12054. orderstatus:
  12055. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  12056. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  12057. 16:成交失败违约(荷兰式竞拍专用)
  12058. type: integer
  12059. ordertime:
  12060. description: 委托时间
  12061. type: string
  12062. qtydecimalplace:
  12063. description: 成交量小数位
  12064. type: integer
  12065. tradedate:
  12066. description: 交易日
  12067. type: string
  12068. trademode:
  12069. description: 交易模式
  12070. type: integer
  12071. userid:
  12072. description: 用户id
  12073. type: integer
  12074. userinfotype:
  12075. description: 账户类型 1-个人 2-企业
  12076. type: integer
  12077. type: object
  12078. models.QhjMgrTradePayOrder:
  12079. properties:
  12080. accountname:
  12081. description: 用户名称
  12082. type: string
  12083. advanceratio:
  12084. description: 首付比率
  12085. type: number
  12086. agreeunit:
  12087. description: 合约乘数
  12088. type: number
  12089. buyaccountid:
  12090. description: 买方账号ID[报价币种]
  12091. type: integer
  12092. buyorderid:
  12093. description: 买方委托单号(关联单号)
  12094. type: string
  12095. createtime:
  12096. description: 创建时间
  12097. type: string
  12098. decimalplace:
  12099. description: 报价小数位
  12100. type: integer
  12101. enumdicname:
  12102. description: 单位名称(商品)
  12103. type: string
  12104. goodscode:
  12105. description: 商品代码(内部)
  12106. type: string
  12107. goodsid:
  12108. description: 商品ID
  12109. type: integer
  12110. goodsname:
  12111. description: 商品名称
  12112. type: string
  12113. goodunitid:
  12114. description: 报价单位ID
  12115. type: integer
  12116. logincode:
  12117. description: 登录代码(账户)
  12118. type: string
  12119. marketid:
  12120. description: 市场id
  12121. type: integer
  12122. offamount:
  12123. description: 优惠金额
  12124. type: number
  12125. operatetype:
  12126. description: 买委托操作类型 - 1:正常下单 16:融资买入
  12127. type: integer
  12128. payamount:
  12129. description: 支付金额(金额)
  12130. type: number
  12131. payflag:
  12132. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12133. type: integer
  12134. paylimitedtime:
  12135. description: 支付期限
  12136. type: string
  12137. paytime:
  12138. description: 付款时间
  12139. type: string
  12140. qtydecimalplace:
  12141. description: 成交量小数位
  12142. type: integer
  12143. sellaccountid:
  12144. description: 卖方账号ID[报价币种]
  12145. type: integer
  12146. sellorderid:
  12147. description: 卖方委托单号
  12148. type: string
  12149. tradeamount:
  12150. description: 成交金额(优惠后金额)
  12151. type: number
  12152. tradecharge:
  12153. description: 成交手续费(买方)
  12154. type: number
  12155. tradedate:
  12156. description: 交易日(yyyyMMdd)
  12157. type: string
  12158. tradeid:
  12159. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12160. type: string
  12161. trademode:
  12162. description: 交易模式
  12163. type: integer
  12164. tradeprice:
  12165. description: 成交价格(价格)
  12166. type: number
  12167. tradeqty:
  12168. description: 成交数量(数量)
  12169. type: number
  12170. tradetime:
  12171. description: 成交时间
  12172. type: string
  12173. userid:
  12174. description: 用户id
  12175. type: integer
  12176. userinfotype:
  12177. description: 账户类型 1-个人 2-企业
  12178. type: integer
  12179. type: object
  12180. models.QhjMyTeamEx:
  12181. properties:
  12182. accountname:
  12183. description: 用户名称
  12184. type: string
  12185. accountstatus:
  12186. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  12187. type: integer
  12188. createtime:
  12189. description: 创建时间
  12190. type: string
  12191. mobile:
  12192. description: 手机号码
  12193. type: string
  12194. refereeuserid:
  12195. description: 推荐人id
  12196. type: integer
  12197. refernum:
  12198. description: 推荐码
  12199. type: string
  12200. subList:
  12201. items:
  12202. $ref: '#/definitions/models.QhjMyTeamEx'
  12203. type: array
  12204. userid:
  12205. description: 用户id
  12206. type: integer
  12207. userinfotype:
  12208. description: 用户类型 1-个人 2-企业
  12209. type: integer
  12210. type: object
  12211. models.QhjNodeAgreementConfig:
  12212. properties:
  12213. agreementcontent:
  12214. description: 协议内容
  12215. type: string
  12216. agreementid:
  12217. description: 协议ID
  12218. type: integer
  12219. agreementname:
  12220. description: 协议名称
  12221. type: string
  12222. agreementno:
  12223. description: 协议编号
  12224. type: string
  12225. agreementtype:
  12226. description: 协议类型 - 1:注册 2:登录 3:交易
  12227. type: integer
  12228. agreementversion:
  12229. description: 协议版本号
  12230. type: integer
  12231. configid:
  12232. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12233. type: integer
  12234. createtime:
  12235. description: 创建时间
  12236. type: string
  12237. goodsid:
  12238. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12239. type: integer
  12240. nodetype:
  12241. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12242. type: integer
  12243. type: object
  12244. models.QhjParentAreaList:
  12245. properties:
  12246. accountname:
  12247. description: 账户名称(机构名称)
  12248. type: string
  12249. userid:
  12250. description: 用户ID
  12251. type: integer
  12252. usertype:
  12253. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12254. type: integer
  12255. type: object
  12256. models.QhjPayOrder:
  12257. properties:
  12258. advanceratio:
  12259. description: 首付比率
  12260. type: number
  12261. buyaccountid:
  12262. description: 买方账号ID[报价币种]
  12263. type: integer
  12264. buyorderid:
  12265. description: 买方委托单号
  12266. type: string
  12267. createtime:
  12268. description: 创建时间
  12269. type: string
  12270. decimalplace:
  12271. description: 商品报价小数位
  12272. type: integer
  12273. enumdicname:
  12274. description: 单位名称
  12275. type: string
  12276. goodscode:
  12277. description: 商品代码
  12278. type: string
  12279. goodsid:
  12280. description: 商品ID
  12281. type: integer
  12282. goodsname:
  12283. description: 商品名称
  12284. type: string
  12285. goodunitid:
  12286. description: 商品单位id
  12287. type: integer
  12288. marketid:
  12289. description: 市场ID
  12290. type: integer
  12291. offamount:
  12292. description: 优惠金额
  12293. type: number
  12294. operatetype:
  12295. description: 买委托操作类型 - 1:正常下单 16:融资买入
  12296. type: integer
  12297. payamount:
  12298. description: 支付金额
  12299. type: number
  12300. payflag:
  12301. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12302. type: integer
  12303. paylimitedtime:
  12304. description: 支付期限
  12305. type: string
  12306. paytime:
  12307. description: 付款时间
  12308. type: string
  12309. qtydecimalplace:
  12310. description: 成交量小数位
  12311. type: integer
  12312. sellaccountid:
  12313. description: 卖方账号ID[报价币种]
  12314. type: integer
  12315. sellorderid:
  12316. description: 卖方委托单号
  12317. type: string
  12318. tradeamount:
  12319. description: 成交金额(优惠后金额)
  12320. type: number
  12321. tradecharge:
  12322. description: 成交手续费(买方)
  12323. type: number
  12324. tradedate:
  12325. description: 交易日(yyyyMMdd)
  12326. type: string
  12327. tradeid:
  12328. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12329. type: string
  12330. tradeprice:
  12331. description: 成交价格
  12332. type: number
  12333. tradeqty:
  12334. description: 成交数量
  12335. type: number
  12336. type: object
  12337. models.QhjPickArea:
  12338. properties:
  12339. address:
  12340. description: 详细地址
  12341. type: string
  12342. cityid:
  12343. description: 市
  12344. type: integer
  12345. cityname:
  12346. description: 城市名称
  12347. type: string
  12348. countryid:
  12349. description: 国家
  12350. type: integer
  12351. countryname:
  12352. description: 国家名称
  12353. type: string
  12354. districtid:
  12355. description: 地区
  12356. type: integer
  12357. districtname:
  12358. description: 地区名称
  12359. type: string
  12360. fromuserid:
  12361. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  12362. type: integer
  12363. fromusername:
  12364. description: 所属机构名称
  12365. type: string
  12366. provinceid:
  12367. description: 省
  12368. type: integer
  12369. provincename:
  12370. description: 省名称
  12371. type: string
  12372. suborgtype:
  12373. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  12374. type: integer
  12375. userid:
  12376. description: 机构用户ID 其他做市关系,都设置为 1
  12377. type: integer
  12378. username:
  12379. description: 机构用户名称(门店门称)
  12380. type: string
  12381. type: object
  12382. models.QhjPickGoods:
  12383. properties:
  12384. enumdicname:
  12385. description: 单位名称(提货商品)
  12386. type: string
  12387. goodsid:
  12388. description: 商品id
  12389. type: integer
  12390. imageaddress:
  12391. description: 图片
  12392. type: string
  12393. modifierid:
  12394. description: 修改人
  12395. type: integer
  12396. modifiername:
  12397. description: 修改人名称
  12398. type: string
  12399. modifysrc:
  12400. description: 修改来源 - 1:管理端 2:终端
  12401. type: integer
  12402. pickupgoodsagreeunit:
  12403. description: 合约乘数
  12404. type: number
  12405. pickupgoodsdesc:
  12406. description: 描述
  12407. type: string
  12408. pickupgoodsid:
  12409. description: 提货商品ID
  12410. type: string
  12411. pickupgoodsname:
  12412. description: 提货商品名称
  12413. type: string
  12414. pickupgoodsstatus:
  12415. description: 状态 - 1:正常 2:停用 3:注销
  12416. type: integer
  12417. pickupgoodsunitid:
  12418. description: 单位ID
  12419. type: integer
  12420. pickupratio:
  12421. description: 提货系数
  12422. type: number
  12423. preparedays:
  12424. description: 备货期(天)
  12425. type: integer
  12426. remark:
  12427. description: 备注
  12428. type: string
  12429. updatetime:
  12430. description: 更新时间
  12431. type: string
  12432. type: object
  12433. models.QhjRSTriggerLog:
  12434. properties:
  12435. accountid:
  12436. description: 用户资金账户
  12437. type: integer
  12438. accountname:
  12439. description: 账号名称(ACCOUNTID对应的名称)
  12440. type: string
  12441. currencyid:
  12442. description: 币种id
  12443. type: integer
  12444. currencyname:
  12445. description: 币种名称
  12446. type: string
  12447. decimalplace:
  12448. description: 商品报价小数位
  12449. type: integer
  12450. enumdicname:
  12451. description: 单位名称
  12452. type: string
  12453. goodscode:
  12454. description: 定投商品代码
  12455. type: string
  12456. goodsid:
  12457. description: 定投商品ID
  12458. type: integer
  12459. goodsname:
  12460. description: 定投商品名称
  12461. type: string
  12462. goodunitid:
  12463. description: 定投商品单位id
  12464. type: integer
  12465. logid:
  12466. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  12467. type: string
  12468. logincode:
  12469. description: 账号(登录代码)
  12470. type: string
  12471. qtydecimalplace:
  12472. description: 成交量小数位
  12473. type: integer
  12474. regularlycycle:
  12475. description: 定投频率 - 1:每周 2:每月
  12476. type: integer
  12477. regularlycyclevalue:
  12478. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12479. type: string
  12480. regularlymode:
  12481. description: 定投方式 - 1:按数量 2:按金额
  12482. type: integer
  12483. regularlymodevalue:
  12484. description: 定投方式值 - 数量或金额
  12485. type: number
  12486. regularlystrategyid:
  12487. description: 定投策略ID
  12488. type: integer
  12489. retcode:
  12490. description: 错误码
  12491. type: string
  12492. tradeid:
  12493. description: 成交单ID
  12494. type: string
  12495. triggeramount:
  12496. description: 触发金额
  12497. type: number
  12498. triggerqty:
  12499. description: 触发数量
  12500. type: number
  12501. triggerstatus:
  12502. description: 触发状态 - 1:成功 2:失败
  12503. type: integer
  12504. triggertime:
  12505. description: 触发时间
  12506. type: string
  12507. triggertradedate:
  12508. description: 触发交易日
  12509. type: string
  12510. userid:
  12511. description: 所属用户ID
  12512. type: integer
  12513. userinfotype:
  12514. description: 用户类型 1-个人 2-企业
  12515. type: integer
  12516. username:
  12517. description: 用户名称(userid对应的名称)
  12518. type: string
  12519. type: object
  12520. models.QhjRStrategy:
  12521. properties:
  12522. accountid:
  12523. description: 用户资金账户
  12524. type: integer
  12525. accountname:
  12526. description: 账号名称(ACCOUNTID对应的名称)
  12527. type: string
  12528. currencyid:
  12529. description: 币种id
  12530. type: integer
  12531. currencyname:
  12532. description: 币种名称
  12533. type: string
  12534. decimalplace:
  12535. description: 商品报价小数位
  12536. type: integer
  12537. enumdicname:
  12538. description: 单位名称
  12539. type: string
  12540. goodscode:
  12541. description: 定投商品代码
  12542. type: string
  12543. goodsid:
  12544. description: 定投商品ID
  12545. type: integer
  12546. goodsname:
  12547. description: 定投商品名称
  12548. type: string
  12549. goodunitid:
  12550. description: 定投商品单位id
  12551. type: integer
  12552. lasteffecttradedate:
  12553. description: 最新生效交易日
  12554. type: string
  12555. laststoptradedate:
  12556. description: 最新暂停交易日
  12557. type: string
  12558. lasttriggertradedate:
  12559. description: 最新触发交易日
  12560. type: string
  12561. logincode:
  12562. description: 账号(登录代码)
  12563. type: string
  12564. nexttriggeramount:
  12565. description: 下次触发金额
  12566. type: number
  12567. nexttriggerdate:
  12568. description: 下次触发日期
  12569. type: string
  12570. nexttriggerqty:
  12571. description: 下次触发数量 [按小数位放大值]
  12572. type: number
  12573. qtydecimalplace:
  12574. description: 成交量小数位
  12575. type: integer
  12576. regularlycycle:
  12577. description: 定投频率 - 1:每周 2:每月
  12578. type: integer
  12579. regularlycyclevalue:
  12580. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12581. type: string
  12582. regularlymode:
  12583. description: 定投方式 - 1:按数量 2:按金额
  12584. type: integer
  12585. regularlymodevalue:
  12586. description: 定投方式值 - 数量或金额
  12587. type: number
  12588. regularlystrategyid:
  12589. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  12590. type: integer
  12591. regularlystrategystatus:
  12592. description: 策略状态 - 1:正常 2:暂停 3:终止
  12593. type: integer
  12594. remark:
  12595. description: 备注
  12596. type: string
  12597. triggersuccesstimes:
  12598. description: 累计定投成功次数
  12599. type: string
  12600. triggertotalamount:
  12601. description: 累计定投金额(成功)
  12602. type: number
  12603. triggertotalqty:
  12604. description: 累计定投数量(成功) [按小数位放大值]
  12605. type: number
  12606. triggertotaltimes:
  12607. description: 累计定投总次数
  12608. type: string
  12609. updatesrc:
  12610. description: 更新来源 - 1:管理端 2:终端
  12611. type: integer
  12612. updatetime:
  12613. description: 更新时间
  12614. type: string
  12615. updatorid:
  12616. description: 更新人
  12617. type: string
  12618. userid:
  12619. description: 所属用户ID
  12620. type: integer
  12621. userinfotype:
  12622. description: 用户类型 1-个人 2-企业
  12623. type: integer
  12624. username:
  12625. description: 用户名称(userid对应的名称)
  12626. type: string
  12627. type: object
  12628. models.QhjReckonPriceLog:
  12629. properties:
  12630. decimalplace:
  12631. description: 商品报价小数位
  12632. type: integer
  12633. goodscode:
  12634. description: 商品代码
  12635. type: string
  12636. goodsid:
  12637. description: 商品ID
  12638. type: integer
  12639. goodsname:
  12640. description: 商品名称
  12641. type: string
  12642. lastreckonprice:
  12643. description: 上日结算价
  12644. type: number
  12645. nextdnlimitprice:
  12646. description: 下个交易日跌停价
  12647. type: number
  12648. nexttrade:
  12649. description: 下个交易日
  12650. type: string
  12651. nextuplimitprice:
  12652. description: 下个交易日涨停价
  12653. type: number
  12654. reckonprice:
  12655. description: 今日结算价(定投价)
  12656. type: number
  12657. reckontime:
  12658. description: 结算时间
  12659. type: string
  12660. totalholderqty:
  12661. description: 总持仓数
  12662. type: integer
  12663. totalstock:
  12664. description: 总库存
  12665. type: integer
  12666. tradedate:
  12667. description: 交易日
  12668. type: string
  12669. updowncount:
  12670. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  12671. type: integer
  12672. updownflag:
  12673. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  12674. type: integer
  12675. updownrate:
  12676. description: 今日涨跌幅
  12677. type: number
  12678. updownrate_2d:
  12679. description: 连续两日涨跌幅
  12680. type: number
  12681. updownrate_3d:
  12682. description: 连续三日涨跌幅
  12683. type: number
  12684. type: object
  12685. models.QhjScoreLog:
  12686. properties:
  12687. accountid:
  12688. description: 账户ID
  12689. type: integer
  12690. createtime:
  12691. description: 创建时间(时间)
  12692. type: string
  12693. goodsid:
  12694. description: 商品ID
  12695. type: integer
  12696. hasuploaded:
  12697. description: 是否已同步(千海金) 0:未同步 1;已同步
  12698. type: integer
  12699. logid:
  12700. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12701. type: string
  12702. marketid:
  12703. description: 市场ID
  12704. type: integer
  12705. relatedamount:
  12706. description: 关联金额
  12707. type: number
  12708. relatedorderid:
  12709. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  12710. type: string
  12711. scoreconfigvalue1:
  12712. description: 积分配置1
  12713. type: integer
  12714. scoreconfigvalue2:
  12715. description: 积分配置1
  12716. type: integer
  12717. scoretype:
  12718. description: 积分类型 - 1:提货积分
  12719. type: integer
  12720. scorevalue:
  12721. description: 积分
  12722. type: number
  12723. tradedate:
  12724. description: 交易日(yyyyMMdd)
  12725. type: string
  12726. uploadedtime:
  12727. description: 同步时间
  12728. type: string
  12729. userid:
  12730. description: 用户ID
  12731. type: integer
  12732. type: object
  12733. models.QhjSiteColumnDetail:
  12734. properties:
  12735. author:
  12736. description: 作者
  12737. type: string
  12738. brief:
  12739. description: 简介
  12740. type: string
  12741. columnid:
  12742. description: 所属栏目
  12743. type: integer
  12744. context:
  12745. description: 内容
  12746. type: string
  12747. coverimage:
  12748. description: 封面图片
  12749. type: string
  12750. creaedate:
  12751. description: 创建时间
  12752. type: string
  12753. creatorid:
  12754. description: 创建人
  12755. type: integer
  12756. hits:
  12757. description: 点击数
  12758. type: integer
  12759. id:
  12760. description: ID(SEQ_SITE_COLUMNDETAIL)
  12761. type: integer
  12762. isshow:
  12763. description: 是否展示 - 0:不展示 1:展示
  12764. type: integer
  12765. istop:
  12766. description: 是否置顶 - 0:不置 1:置顶
  12767. type: integer
  12768. modifierid:
  12769. description: 操作人
  12770. type: integer
  12771. publishdate:
  12772. description: 发布日期
  12773. type: string
  12774. status:
  12775. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  12776. type: integer
  12777. title:
  12778. description: 标题
  12779. type: string
  12780. updatedate:
  12781. description: 修改时间
  12782. type: string
  12783. userid:
  12784. description: 用户ID(默认为0, 核心为为机构用户ID)
  12785. type: integer
  12786. username:
  12787. description: 用户名称
  12788. type: string
  12789. type: object
  12790. models.QhjTeamOrder:
  12791. properties:
  12792. accountid:
  12793. description: 账户ID[报价币种]
  12794. type: integer
  12795. accountname:
  12796. description: 账户名称
  12797. type: string
  12798. agreeunit:
  12799. description: 合约乘数
  12800. type: number
  12801. buyorsell:
  12802. description: 方向 - 0:买 1:卖
  12803. type: integer
  12804. decimalplace:
  12805. description: 报价小数位
  12806. type: integer
  12807. enumdicname:
  12808. description: 单位名称
  12809. type: string
  12810. goodscode:
  12811. description: 商品代码(内部)
  12812. type: string
  12813. goodsid:
  12814. description: 商品ID
  12815. type: integer
  12816. goodsname:
  12817. description: 商品名称
  12818. type: string
  12819. goodunitid:
  12820. description: 报价单位ID
  12821. type: integer
  12822. marketid:
  12823. description: 市场ID
  12824. type: integer
  12825. marketname:
  12826. description: 市场名称
  12827. type: string
  12828. qtydecimalplace:
  12829. description: 成交量小数位
  12830. type: integer
  12831. refereeuserid:
  12832. description: 推荐人ID
  12833. type: integer
  12834. tradeamount:
  12835. description: 成交金额[账户币种,用于所有权]
  12836. type: number
  12837. tradedate:
  12838. description: 交易日(yyyyMMdd)
  12839. type: string
  12840. trademode:
  12841. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12842. 21:竞拍-大宗式 22:受托竞价
  12843. type: integer
  12844. tradeprice:
  12845. description: 成交价格
  12846. type: number
  12847. tradeqty:
  12848. description: 成交数量
  12849. type: number
  12850. tradetime:
  12851. description: 成交时间
  12852. type: string
  12853. userid:
  12854. description: 用户ID
  12855. type: integer
  12856. type: object
  12857. models.QhjTradeGoodsPickup:
  12858. properties:
  12859. accountid:
  12860. description: 账户ID
  12861. type: integer
  12862. address:
  12863. description: 提货人详细地址
  12864. type: string
  12865. amount:
  12866. description: 提货金额
  12867. type: number
  12868. artradedate:
  12869. description: 自动收货交易日(yyyyMMdd)
  12870. type: string
  12871. auditer:
  12872. description: 审核人
  12873. type: integer
  12874. auditsrc:
  12875. description: 更新来源 - 1:管理端 2:终端
  12876. type: integer
  12877. audittime:
  12878. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  12879. type: string
  12880. audittradedate:
  12881. description: 审核交易日(yyyyMMdd)
  12882. type: string
  12883. cardnum:
  12884. description: 提货人证件号码
  12885. type: string
  12886. cardtypeid:
  12887. description: 提货人证件类型
  12888. type: integer
  12889. checkremark:
  12890. description: 审核备注
  12891. type: string
  12892. cityid:
  12893. description: 市
  12894. type: integer
  12895. cityname:
  12896. description: 城市名称
  12897. type: string
  12898. confirmtime:
  12899. description: 取货时间 或 收货时间
  12900. type: string
  12901. countryid:
  12902. description: 国家
  12903. type: integer
  12904. countryname:
  12905. description: 国家名称
  12906. type: string
  12907. decimalplace:
  12908. description: 商品报价小数位
  12909. type: integer
  12910. districtid:
  12911. description: 地区
  12912. type: integer
  12913. districtname:
  12914. description: 地区名称
  12915. type: string
  12916. enumdicname:
  12917. description: 单位名称(提货商品)
  12918. type: string
  12919. expresscompany:
  12920. description: 物流公司
  12921. type: string
  12922. expressnum:
  12923. description: 物流单号
  12924. type: string
  12925. goodsagreeunit:
  12926. description: 交易商品乘数
  12927. type: number
  12928. goodscode:
  12929. description: 商品代码
  12930. type: string
  12931. goodsid:
  12932. description: 商品ID
  12933. type: integer
  12934. goodsname:
  12935. description: 商品名称
  12936. type: string
  12937. goodsqty:
  12938. description: 交易商品手数(69模式按成交量小数位放大取整)
  12939. type: number
  12940. handlestatus:
  12941. description: 处理状态
  12942. type: integer
  12943. logincode:
  12944. description: 账号(登录代码, 有可能为空)
  12945. type: string
  12946. marketid:
  12947. description: 市场ID
  12948. type: integer
  12949. phonenum:
  12950. description: 提货人联系方式
  12951. type: string
  12952. pickupgoodsagreeunit:
  12953. description: 提货商品合约乘数
  12954. type: number
  12955. pickupgoodsid:
  12956. description: 提货商品ID
  12957. type: string
  12958. pickupgoodsname:
  12959. description: 提货商品名称
  12960. type: string
  12961. pickupgoodsqty:
  12962. description: 提货商品手数(数量)
  12963. type: number
  12964. pickupgoodsunitid:
  12965. description: 单位ID(提货商品)
  12966. type: integer
  12967. pickupratio:
  12968. description: 提货系数
  12969. type: number
  12970. preparedays:
  12971. description: 备货期(天)-提货单明细表
  12972. type: integer
  12973. provinceid:
  12974. description: 省
  12975. type: integer
  12976. provincename:
  12977. description: 省名称
  12978. type: string
  12979. qty:
  12980. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  12981. type: number
  12982. qtydecimalplace:
  12983. description: 商品数量小数位
  12984. type: integer
  12985. recivername:
  12986. description: 提货人姓名
  12987. type: string
  12988. reqtime:
  12989. description: 提货申请时间
  12990. type: string
  12991. storeuserid:
  12992. description: 门店用户ID (千海金)
  12993. type: integer
  12994. storeusername:
  12995. description: 门店用户名称
  12996. type: string
  12997. takemode:
  12998. description: 提货方式 - 2:自提 3:配送(邮寄)
  12999. type: integer
  13000. takeorderid:
  13001. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  13002. type: string
  13003. takeorderstatus:
  13004. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  13005. 7:已拒绝 8:已撤销
  13006. type: integer
  13007. takeremark:
  13008. description: 提货备注
  13009. type: string
  13010. tradedate:
  13011. description: 交易日(yyyyMMdd)
  13012. type: string
  13013. updatetime:
  13014. description: 更新时间
  13015. type: string
  13016. userid:
  13017. description: 用户ID
  13018. type: integer
  13019. userinfotype:
  13020. description: 客户类型 1-个人 2-企业
  13021. type: integer
  13022. username:
  13023. description: 用户名称
  13024. type: string
  13025. type: object
  13026. models.QhjUserNodeCfgAndStatus:
  13027. properties:
  13028. agreementcontent:
  13029. description: 协议内容
  13030. type: string
  13031. agreementid:
  13032. description: 协议ID
  13033. type: integer
  13034. agreementname:
  13035. description: 协议名称
  13036. type: string
  13037. agreementno:
  13038. description: 协议编号
  13039. type: string
  13040. agreementtype:
  13041. description: 协议类型 - 1:注册 2:登录 3:交易
  13042. type: integer
  13043. agreementversion:
  13044. description: 协议版本号
  13045. type: integer
  13046. configid:
  13047. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  13048. type: integer
  13049. createtime:
  13050. description: 创建时间
  13051. type: string
  13052. goodsid:
  13053. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13054. type: integer
  13055. nodetype:
  13056. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  13057. type: integer
  13058. signtimestamp:
  13059. description: 签约状态时间戳(最近一次)
  13060. type: string
  13061. tradedate:
  13062. description: 签约交易日(yyyyMMdd)
  13063. type: string
  13064. userid:
  13065. description: 客户ID
  13066. type: integer
  13067. type: object
  13068. models.Qhjgoodsex:
  13069. properties:
  13070. canfinance:
  13071. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  13072. type: integer
  13073. canregularlybuy:
  13074. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  13075. type: integer
  13076. defaulttradeuserid:
  13077. description: 默认交易用户ID
  13078. type: integer
  13079. deliverygoodsid:
  13080. description: 现货品种ID
  13081. type: integer
  13082. goodsid:
  13083. description: 商品ID(自增ID SEQ_GOODS)
  13084. type: integer
  13085. minamount:
  13086. description: 最小购买金额
  13087. type: number
  13088. regularlybuyminamount:
  13089. description: 定投最小金额
  13090. type: number
  13091. regularlybuyminqty:
  13092. description: 定投最小数量
  13093. type: number
  13094. spotgoodsbrandid:
  13095. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  13096. type: integer
  13097. visibilityforenterprise:
  13098. description: 企业客户是否可见 - 0:不可见 1:可见
  13099. type: integer
  13100. visibilityforpersonal:
  13101. description: 个人客户是否可见 - 0:不可见 1:可见
  13102. type: integer
  13103. wrstandardid:
  13104. description: 现货商品ID
  13105. type: integer
  13106. type: object
  13107. models.QueryErrorInfosRsp:
  13108. properties:
  13109. description:
  13110. description: 异常描述
  13111. type: string
  13112. errorcode:
  13113. description: 异常代码
  13114. type: string
  13115. errorid:
  13116. description: 异常ID
  13117. type: integer
  13118. modulecode:
  13119. description: 所属模块
  13120. type: string
  13121. operatecode:
  13122. description: 所属操作
  13123. type: string
  13124. rownumber:
  13125. description: 行号
  13126. type: string
  13127. required:
  13128. - errorid
  13129. type: object
  13130. models.QueryHedgeOrderDetailRsp:
  13131. properties:
  13132. accountid:
  13133. description: 账户ID
  13134. type: integer
  13135. buyorsell:
  13136. description: 买卖 - 0:买 1:卖
  13137. type: integer
  13138. cancellogincode:
  13139. description: 撤单人
  13140. type: string
  13141. channelbuildtype:
  13142. description: 开平标志 - 0:无 1:建仓 2:平仓
  13143. type: integer
  13144. channelinnerorderstatus:
  13145. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  13146. 9:全部成交
  13147. type: integer
  13148. channeloperatetype:
  13149. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  13150. type: integer
  13151. closetype:
  13152. description: 平仓方式 - 0:无 1:平今 2:平昨
  13153. type: integer
  13154. curexchangerate:
  13155. description: 当前汇率
  13156. type: number
  13157. decimalplace:
  13158. description: 商品报价小数位
  13159. type: integer
  13160. exchangefullname:
  13161. description: 外部交易所全称
  13162. type: string
  13163. goodscode:
  13164. description: 商品代码(内部)
  13165. type: string
  13166. goodsid:
  13167. description: 商品ID
  13168. type: integer
  13169. goodsname:
  13170. description: 商品名称
  13171. type: string
  13172. marketid:
  13173. description: 市场ID
  13174. type: integer
  13175. openfreezemargin:
  13176. description: 冻结保证金(冻结交易金额)
  13177. type: number
  13178. orderid:
  13179. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13180. type: string
  13181. orderlogincode:
  13182. description: 委托人
  13183. type: string
  13184. orderprice:
  13185. description: 委托价格(账户)
  13186. type: number
  13187. orderqty:
  13188. description: 委托数量
  13189. type: integer
  13190. ordertime:
  13191. description: 委托时间
  13192. type: string
  13193. pricemode:
  13194. description: '取价方式 - 1:市价 2: 限价'
  13195. type: integer
  13196. tradedate:
  13197. description: 交易日(yyyyMMdd)
  13198. type: string
  13199. tradeqty:
  13200. description: 成交数量
  13201. type: integer
  13202. type: object
  13203. models.QueryHedgeTradeDetailRsp:
  13204. properties:
  13205. accountid:
  13206. description: 账号ID
  13207. type: integer
  13208. buyorsell:
  13209. description: 方向 - 0:买 1:卖
  13210. type: integer
  13211. channelbuildtype:
  13212. description: 委托单据类型 0:无 1:建仓 2:平仓
  13213. type: integer
  13214. closecharge:
  13215. description: 平仓手续费(账户)
  13216. type: number
  13217. closecharge2:
  13218. description: 平仓手续费(商品)
  13219. type: number
  13220. closepl:
  13221. description: 平仓盈亏(账户)
  13222. type: number
  13223. closepl2:
  13224. description: 平仓盈亏(商品)
  13225. type: number
  13226. closepl3:
  13227. description: 平仓盈亏(账户)(逐笔)
  13228. type: number
  13229. closepl4:
  13230. description: 平仓盈亏(商品)(逐笔)
  13231. type: number
  13232. closetype:
  13233. description: 平仓方式 - 0:无 1:平今 2:平昨
  13234. type: integer
  13235. curexchangerate:
  13236. description: 当前汇率
  13237. type: number
  13238. decimalplace:
  13239. description: 商品报价小数位
  13240. type: integer
  13241. exchangefullname:
  13242. description: 外部交易所全称
  13243. type: string
  13244. goodscode:
  13245. description: 商品代码(内部)
  13246. type: string
  13247. goodsid:
  13248. description: 商品ID
  13249. type: integer
  13250. goodsname:
  13251. description: 商品名称
  13252. type: string
  13253. marketid:
  13254. description: 市场ID
  13255. type: integer
  13256. opencharge:
  13257. description: 建仓手续费(账户)
  13258. type: number
  13259. opencharge2:
  13260. description: 建仓手续费(商品)
  13261. type: number
  13262. orderid:
  13263. description: 委托单号
  13264. type: string
  13265. orderlogincode:
  13266. description: 委托人
  13267. type: string
  13268. tradeamount:
  13269. description: 成交金额(账户)
  13270. type: number
  13271. tradedate:
  13272. description: 交易日(yyyyMMdd)
  13273. type: string
  13274. tradeid:
  13275. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13276. type: string
  13277. tradeprice:
  13278. description: 成交价格
  13279. type: number
  13280. tradeqty:
  13281. description: 成交数量
  13282. type: integer
  13283. tradetime:
  13284. description: 成交时间
  13285. type: string
  13286. tradetype:
  13287. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  13288. type: integer
  13289. type: object
  13290. models.QuotePrimaryMenu:
  13291. properties:
  13292. Index:
  13293. description: 序号
  13294. type: integer
  13295. Key:
  13296. description: 键名
  13297. type: string
  13298. Name:
  13299. description: 菜单名称
  13300. type: string
  13301. SubMenus:
  13302. description: 子菜单
  13303. items:
  13304. $ref: '#/definitions/models.QuoteSecondaryMenu'
  13305. type: array
  13306. SubTitleType:
  13307. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  13308. type: integer
  13309. TradeModes:
  13310. description: 包含市场交易类型
  13311. type: string
  13312. type: object
  13313. models.QuoteSecondaryMenu:
  13314. properties:
  13315. ExExchangeCode:
  13316. description: 外部交易所代码
  13317. type: string
  13318. ExExchangeID:
  13319. description: 外部交易所ID
  13320. type: integer
  13321. GoodsGroupIDs:
  13322. description: 商品组ID列表
  13323. items:
  13324. type: integer
  13325. type: array
  13326. Index:
  13327. description: 序号
  13328. type: integer
  13329. MarketID:
  13330. description: 市场ID
  13331. type: integer
  13332. MenuTitle:
  13333. description: 菜单标题(市场名称或外部交易所名称)
  13334. type: string
  13335. TradeMode:
  13336. description: 交易模式
  13337. type: integer
  13338. type: object
  13339. models.RoleMenu:
  13340. properties:
  13341. hasright:
  13342. description: 是否有权限 0-没有权限 1-有权限
  13343. type: integer
  13344. iconame:
  13345. description: 菜单图标
  13346. type: string
  13347. menutype:
  13348. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  13349. type: integer
  13350. parentcode:
  13351. description: 上级资源代码
  13352. type: string
  13353. remark:
  13354. description: 菜单备注
  13355. type: string
  13356. resourcecode:
  13357. description: 菜单代码
  13358. type: string
  13359. resourcelevel:
  13360. description: 级别
  13361. type: integer
  13362. resourcename:
  13363. description: 菜单名称
  13364. type: string
  13365. roleid:
  13366. description: 角色id
  13367. type: integer
  13368. sort:
  13369. description: 排序
  13370. type: integer
  13371. subMenu:
  13372. description: 子级菜单(结构同上层一样, swag解析不出来)
  13373. items:
  13374. $ref: '#/definitions/models.RoleMenu'
  13375. type: array
  13376. url:
  13377. description: URL
  13378. type: string
  13379. userid:
  13380. description: 用户id
  13381. type: integer
  13382. type: object
  13383. models.SearchGoods:
  13384. properties:
  13385. goodscode:
  13386. description: 商品代码(内部)
  13387. type: string
  13388. goodsid:
  13389. description: 商品ID(自增ID SEQ_GOODS)
  13390. type: integer
  13391. goodsname:
  13392. description: 商品名称
  13393. type: string
  13394. marketid:
  13395. description: 所属市场ID
  13396. type: integer
  13397. marketname:
  13398. description: 市场名称
  13399. type: string
  13400. trademode:
  13401. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  13402. 21:竞拍-大宗式 22:受托竞价
  13403. type: integer
  13404. required:
  13405. - goodscode
  13406. - goodsid
  13407. - goodsname
  13408. - marketid
  13409. - trademode
  13410. type: object
  13411. models.Systemparam:
  13412. properties:
  13413. loginid:
  13414. description: 更新用户账号,登录账号
  13415. type: string
  13416. modifyflag:
  13417. description: 修改标志0 不允许修改 1 允许修改
  13418. type: integer
  13419. paramcode:
  13420. description: 参数代码
  13421. type: string
  13422. paramname:
  13423. description: 参数名
  13424. type: string
  13425. paramtype:
  13426. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  13427. type: integer
  13428. paramvalue:
  13429. description: 参数值
  13430. type: string
  13431. paramvalue2:
  13432. description: 参数值(CLOB)
  13433. type: string
  13434. regexpress:
  13435. description: 正则表达式
  13436. type: string
  13437. remark:
  13438. description: 备注
  13439. type: string
  13440. serverip:
  13441. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  13442. type: string
  13443. showflag:
  13444. description: 是否显示0 不显示 1 显示
  13445. type: integer
  13446. updatetime:
  13447. description: 更新时间
  13448. type: string
  13449. userid:
  13450. description: 更新用户ID
  13451. type: integer
  13452. required:
  13453. - paramcode
  13454. type: object
  13455. models.Szdz3convertconfig:
  13456. properties:
  13457. canin:
  13458. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  13459. type: integer
  13460. canout:
  13461. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  13462. type: integer
  13463. converttype:
  13464. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  13465. 6:交易转花生米(不设置)
  13466. type: integer
  13467. createtime:
  13468. description: 创建时间
  13469. type: string
  13470. creatorid:
  13471. description: 创建人
  13472. type: integer
  13473. daymaxvalue:
  13474. description: 当日最大转入限制
  13475. type: number
  13476. freezedays:
  13477. description: 冻结天数 [5:花生米转交易]
  13478. type: integer
  13479. innergoodsid:
  13480. description: 内部商品ID[交易]
  13481. type: integer
  13482. inratio:
  13483. description: 目标值
  13484. type: integer
  13485. modifierid:
  13486. description: 修改人
  13487. type: integer
  13488. modifytime:
  13489. description: 修改时间
  13490. type: string
  13491. outergoodscode:
  13492. description: 外部商品代码[JD\PD]
  13493. type: string
  13494. outratio:
  13495. description: 源值
  13496. type: integer
  13497. pddecimalplace:
  13498. description: PD小数位
  13499. type: integer
  13500. timemaxvalue:
  13501. description: 单次最大转入限制
  13502. type: number
  13503. timeminvalue:
  13504. description: 单次最小转入限制
  13505. type: number
  13506. required:
  13507. - converttype
  13508. - innergoodsid
  13509. - outergoodscode
  13510. type: object
  13511. models.Szdz3searchwhitelist:
  13512. properties:
  13513. createtime:
  13514. description: 创建时间
  13515. type: string
  13516. creatorid:
  13517. description: 创建人
  13518. type: integer
  13519. modifierid:
  13520. description: 修改人
  13521. type: integer
  13522. modifytime:
  13523. description: 修改时间
  13524. type: string
  13525. userid:
  13526. description: 用户ID
  13527. type: integer
  13528. required:
  13529. - userid
  13530. type: object
  13531. models.TBGoods:
  13532. properties:
  13533. agreeunit:
  13534. description: 合约乘数
  13535. type: number
  13536. enumdicname:
  13537. description: 单位名称
  13538. type: string
  13539. goodscode:
  13540. description: 商品代码(内部)
  13541. type: string
  13542. goodsid:
  13543. description: 商品ID(自增ID SEQ_GOODS)
  13544. type: integer
  13545. goodsname:
  13546. description: 商品名称
  13547. type: string
  13548. type: object
  13549. models.TBGoodsGroup:
  13550. properties:
  13551. GDLST:
  13552. description: 商品列表
  13553. items:
  13554. $ref: '#/definitions/models.TBGoods'
  13555. type: array
  13556. convertratio:
  13557. description: 折算系数
  13558. type: number
  13559. enumdicname:
  13560. description: 单位名称
  13561. type: string
  13562. exexchangecode:
  13563. description: 交易所代码
  13564. type: string
  13565. exexchangename:
  13566. description: 交易所名称
  13567. type: string
  13568. goodsgroupid:
  13569. description: 商品组ID(自增ID)
  13570. type: integer
  13571. goodsgroupname:
  13572. description: 商品组名称
  13573. type: string
  13574. goodunitid:
  13575. description: 报价单位ID
  13576. type: integer
  13577. type: object
  13578. models.TBMiddleGoods:
  13579. properties:
  13580. GPLST:
  13581. description: 期货品种列表
  13582. items:
  13583. $ref: '#/definitions/models.TBGoodsGroup'
  13584. type: array
  13585. WDLST:
  13586. description: 商品信息列表(现货品类)
  13587. items:
  13588. $ref: '#/definitions/models.TBWrstandard'
  13589. type: array
  13590. areauserid:
  13591. description: 机构用户ID
  13592. type: integer
  13593. enumdicname:
  13594. description: 单位名称
  13595. type: string
  13596. goodsunitid:
  13597. description: 套保品种单位id
  13598. type: integer
  13599. middlegoodscode:
  13600. description: 套保品种代码
  13601. type: string
  13602. middlegoodsid:
  13603. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  13604. type: integer
  13605. middlegoodsname:
  13606. description: 套保品种名称
  13607. type: string
  13608. needarbitrageratio:
  13609. description: 套利比率
  13610. type: number
  13611. needhedgeratio:
  13612. description: 套保比率
  13613. type: number
  13614. type: object
  13615. models.TBWrstandard:
  13616. properties:
  13617. convertratio:
  13618. description: 折算系数
  13619. type: number
  13620. deliverygoodsname:
  13621. description: 品种名称
  13622. type: string
  13623. enumdicname:
  13624. description: 单位名称
  13625. type: string
  13626. vatrate:
  13627. description: 增值税率
  13628. type: number
  13629. wrstandardcode:
  13630. description: 现货商品代码
  13631. type: string
  13632. wrstandardid:
  13633. description: 现货商品ID(SEQ_WRSTANDARD)
  13634. type: integer
  13635. wrstandardname:
  13636. description: 现货商品名称
  13637. type: string
  13638. type: object
  13639. models.Taaccount:
  13640. properties:
  13641. accountflag:
  13642. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  13643. type: integer
  13644. accountid:
  13645. description: 资金账户ID
  13646. type: integer
  13647. accountname:
  13648. description: 账户名称
  13649. type: string
  13650. balance:
  13651. description: 期初余额
  13652. type: number
  13653. capitalbalance:
  13654. description: 本金余额[外部子账户实际出入金余额]
  13655. type: number
  13656. changeflag:
  13657. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  13658. type: integer
  13659. changetime:
  13660. description: 账户状态变更时间
  13661. type: string
  13662. closepl:
  13663. description: 今日平仓盈亏
  13664. type: number
  13665. creditdecrease:
  13666. description: 今日授信减少
  13667. type: number
  13668. creditincrease:
  13669. description: 今日授信增加
  13670. type: number
  13671. curamount:
  13672. description: 总市值(从持仓中统计)
  13673. type: number
  13674. currencyid:
  13675. description: 货币ID
  13676. type: integer
  13677. currentbalance:
  13678. description: 期末余额
  13679. type: number
  13680. freezecharge:
  13681. description: 手续费冻结
  13682. type: number
  13683. freezemargin:
  13684. description: 冻结保证金
  13685. type: number
  13686. fromaccountid:
  13687. description: 所属上级账户
  13688. type: integer
  13689. inamount:
  13690. description: 今日入金金额(包括三方入金)
  13691. type: number
  13692. ismain:
  13693. description: 是否母账号 0:不是母账户 1:是母账户
  13694. type: integer
  13695. ismarketaccount:
  13696. description: 是否机构接单账号 0:不是 1:是
  13697. type: integer
  13698. isreckonaccount:
  13699. description: 是否机构分润账号 0:不是 1:是
  13700. type: integer
  13701. mortgagecredit:
  13702. description: 授信金额
  13703. type: number
  13704. orifreezecharge:
  13705. description: 期初手续费冻结
  13706. type: number
  13707. orifreezemargin:
  13708. description: 期初冻结保证金
  13709. type: number
  13710. orimortgagecredit:
  13711. description: 期初授信金额
  13712. type: number
  13713. oriothercredit:
  13714. description: 期初其它授信金额
  13715. type: number
  13716. oriotherfreezemargin:
  13717. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  13718. type: number
  13719. orioutamountfreeze:
  13720. description: 期初出金冻结
  13721. type: number
  13722. oriusedmargin:
  13723. description: 期初占用保证金
  13724. type: number
  13725. othercredit:
  13726. description: 其它授信金额
  13727. type: number
  13728. othercreditdecrease:
  13729. description: 今日其它授信减少
  13730. type: number
  13731. othercreditincrease:
  13732. description: 今日其它授信增加
  13733. type: number
  13734. otherfreezemargin:
  13735. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  13736. type: number
  13737. otherincome:
  13738. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  13739. type: number
  13740. otherpay:
  13741. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  13742. type: number
  13743. outamount:
  13744. description: 今日出金金额(包括三方出金)
  13745. type: number
  13746. outamountfreeze:
  13747. description: 出金冻结
  13748. type: number
  13749. outthreshold:
  13750. description: 出金阈值
  13751. type: number
  13752. parentaccountid:
  13753. description: 所属根账号
  13754. type: integer
  13755. paycharge:
  13756. description: 今日手续费支出
  13757. type: number
  13758. relatedaccountstatus:
  13759. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  13760. type: integer
  13761. relateduserid:
  13762. description: 关联用户
  13763. type: integer
  13764. remainamount:
  13765. description: 融资额(从融资合同中统计)
  13766. type: number
  13767. serivcegroup:
  13768. description: 服务分组
  13769. type: integer
  13770. signstatus:
  13771. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  13772. type: integer
  13773. sublevelpath:
  13774. description: 账号层级路径(逗号分隔,首尾加逗号)
  13775. type: string
  13776. taaccounttype:
  13777. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  13778. type: integer
  13779. thirdinamount:
  13780. description: 今日三方入金
  13781. type: number
  13782. thirdoutamount:
  13783. description: 今日三方出金
  13784. type: number
  13785. tradestatus:
  13786. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  13787. type: integer
  13788. tradestatuschangetime:
  13789. description: 激活时间
  13790. type: string
  13791. transferamount:
  13792. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  13793. type: number
  13794. usedmargin:
  13795. description: 占用保证金
  13796. type: number
  13797. userid:
  13798. description: 用户ID
  13799. type: integer
  13800. required:
  13801. - accountid
  13802. - userid
  13803. type: object
  13804. models.Tablecolumnconfig:
  13805. properties:
  13806. aligntype:
  13807. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  13808. type: integer
  13809. autoid:
  13810. description: AutoID
  13811. type: integer
  13812. columnfield:
  13813. description: 列字段
  13814. type: string
  13815. columntitle:
  13816. description: 列Title
  13817. type: string
  13818. columnwidth:
  13819. description: 列宽
  13820. type: string
  13821. formatterstring:
  13822. description: 格式化字符
  13823. type: string
  13824. formattertype:
  13825. description: 格式化类型
  13826. type: string
  13827. groupname:
  13828. description: 表头分组名称
  13829. type: string
  13830. isshow:
  13831. description: 是否显示 - 0:不显示 1:显示
  13832. type: integer
  13833. needsummary:
  13834. description: 是否需要汇总 - 0:不需要 1:需要
  13835. type: integer
  13836. orderindex:
  13837. description: 顺序
  13838. type: integer
  13839. remark:
  13840. description: 备注
  13841. type: string
  13842. summarytype:
  13843. description: 汇总类型 - 1:加总 2:最后一个
  13844. type: integer
  13845. tablekey:
  13846. description: 列表Key
  13847. type: string
  13848. required:
  13849. - autoid
  13850. type: object
  13851. models.TjmdHolderDetailTradeInfo:
  13852. properties:
  13853. agreeunit:
  13854. description: 合约乘数
  13855. type: number
  13856. buyaccountid:
  13857. description: 买方账户
  13858. type: string
  13859. buyusername:
  13860. description: 买方
  13861. type: string
  13862. delistingdate:
  13863. description: 最后结算日
  13864. type: string
  13865. expiredate:
  13866. description: 到期结算价定价日
  13867. type: string
  13868. exprieprice:
  13869. description: 到期清算价格
  13870. type: string
  13871. goodscode:
  13872. description: 商品代码
  13873. type: string
  13874. goodsid:
  13875. description: 商品ID
  13876. type: integer
  13877. goodsname:
  13878. description: 商品名称(交易标的)
  13879. type: string
  13880. lasttradedate:
  13881. description: 最后交易日
  13882. type: string
  13883. listingdate:
  13884. description: 开始交易日
  13885. type: string
  13886. openprice:
  13887. description: 成交价
  13888. type: number
  13889. openqty:
  13890. description: 交易数量
  13891. type: integer
  13892. sellaccountid:
  13893. description: 卖方账户
  13894. type: string
  13895. sellusername:
  13896. description: 卖方
  13897. type: string
  13898. tradeamount:
  13899. description: 初始名义价值
  13900. type: number
  13901. tradedate:
  13902. description: 成交日期
  13903. type: string
  13904. tradeid:
  13905. description: 成交编号
  13906. type: string
  13907. type: object
  13908. models.TjmdMarketSection:
  13909. properties:
  13910. marketsectionid:
  13911. description: 市场版块ID(SEQ_MARKETSECTION)
  13912. type: integer
  13913. marketsectionname:
  13914. description: 市场版块名称
  13915. type: string
  13916. mlist:
  13917. description: 市场列表(板块下面有多少个市场)
  13918. items:
  13919. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  13920. type: array
  13921. orderindex:
  13922. description: 排序
  13923. type: integer
  13924. pictureurl:
  13925. description: 图片url, 规格(90*90)
  13926. type: string
  13927. remark:
  13928. description: 备注
  13929. type: string
  13930. type: object
  13931. models.TjmdMarketSectionConfig:
  13932. properties:
  13933. auctionwrtype:
  13934. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  13935. type: integer
  13936. canacceptquote:
  13937. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  13938. type: integer
  13939. cangoodsexercise:
  13940. description: '[期权]是否可现货行权- 0:否 1:是'
  13941. type: integer
  13942. cangoodsexercisetype:
  13943. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  13944. type: integer
  13945. canmanualquotestrike:
  13946. description: 是否可手动报行权价- 0:否 1:是 [期权]
  13947. type: integer
  13948. canmutistage:
  13949. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  13950. type: integer
  13951. canpreexercise:
  13952. description: '[期权]是否可预申报- 0:否 1:是'
  13953. type: integer
  13954. clearinterval:
  13955. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  13956. type: integer
  13957. contracttmp:
  13958. description: 合同模板[荷兰式][竞价式][仓单贸易]
  13959. type: string
  13960. exchareaid:
  13961. description: 所属交易所,可以没有
  13962. type: integer
  13963. financemarketid:
  13964. description: 融资回购市场ID [仓单贸易]
  13965. type: integer
  13966. goodstype:
  13967. description: 商品类型 - 1:交易商品 2:仓单商品
  13968. type: integer
  13969. hasrebate:
  13970. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  13971. type: integer
  13972. hastradecredit:
  13973. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  13974. type: integer
  13975. haswr:
  13976. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  13977. type: integer
  13978. isdeductmargin:
  13979. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  13980. type: integer
  13981. isrecordsource:
  13982. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  13983. type: integer
  13984. isreleasemargin:
  13985. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  13986. type: integer
  13987. isupdatereckonprice:
  13988. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  13989. type: integer
  13990. listingmode:
  13991. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  13992. type: integer
  13993. marginformula:
  13994. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  13995. type: integer
  13996. marginformula2:
  13997. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  13998. type: integer
  13999. marketid:
  14000. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  14001. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  14002. type: integer
  14003. marketname:
  14004. description: 市场名称
  14005. type: string
  14006. marketsectionid:
  14007. description: 市场版块ID(SEQ_MARKETSECTION)
  14008. type: integer
  14009. marketserviceid:
  14010. description: 市场服务ID
  14011. type: integer
  14012. marketstatus:
  14013. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  14014. type: integer
  14015. markettype:
  14016. description: 市场类型- 1:非交易服务 2:交易服务
  14017. type: integer
  14018. matchermode:
  14019. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  14020. type: integer
  14021. nowrquotaflag:
  14022. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  14023. type: integer
  14024. openmethod:
  14025. description: 开盘模式 - 0 自动 1手动
  14026. type: integer
  14027. orderindex:
  14028. description: 排序
  14029. type: integer
  14030. otcuserid:
  14031. description: 场外期权做市商[场外期权]
  14032. type: integer
  14033. outersynctime:
  14034. description: 外部同步时间点(h24:mi:ss)[场外期权]
  14035. type: string
  14036. paylaterflag:
  14037. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  14038. type: integer
  14039. pendingflag:
  14040. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  14041. type: integer
  14042. pendingtime:
  14043. description: 待开市时间[通道交易-对冲](HH:mm)
  14044. type: string
  14045. performancetempid:
  14046. description: 履约计划模板ID - 作废
  14047. type: integer
  14048. premiumquotemode:
  14049. description: 权利金报价方式 - 1:自动 2:手动
  14050. type: integer
  14051. rebateratio:
  14052. description: 返利比率[竞价式]
  14053. type: number
  14054. reckonorder:
  14055. description: 结算顺序
  14056. type: integer
  14057. reckonpricealgorithm:
  14058. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  14059. 6.卖一价 7.买一卖一均价 8.外部结算价'
  14060. type: integer
  14061. reckonpriceparam:
  14062. description: 结算价参数
  14063. type: integer
  14064. reckontime:
  14065. description: 结算时间[通道交易-对冲](HH:mm)
  14066. type: string
  14067. roleprioritytype:
  14068. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  14069. type: integer
  14070. selllistingauditflag:
  14071. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  14072. type: integer
  14073. trademarkettype:
  14074. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  14075. type: integer
  14076. trademode:
  14077. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  14078. 21:竞拍-大宗式 22:受托竞价
  14079. type: integer
  14080. tradeproperty:
  14081. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  14082. 8:场外期权
  14083. type: integer
  14084. tradetype:
  14085. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  14086. type: integer
  14087. updatereckonpriceinterval:
  14088. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  14089. type: integer
  14090. type: object
  14091. models.TjmdQuoteGoods:
  14092. properties:
  14093. buyqty:
  14094. description: 买量(暂不做, 无值, 保留字段)
  14095. type: number
  14096. decimalplace:
  14097. description: 报价小数位
  14098. type: integer
  14099. goodscode:
  14100. description: 合约代码
  14101. type: string
  14102. goodsgroupid:
  14103. description: 商品组ID(自增ID)
  14104. type: integer
  14105. goodsgroupname:
  14106. description: 商品组名称
  14107. type: string
  14108. goodsid:
  14109. description: 合约id
  14110. type: integer
  14111. goodsname:
  14112. description: 合约名称
  14113. type: string
  14114. refgoodscode:
  14115. description: 标的合约代码
  14116. type: string
  14117. refgoodsid:
  14118. description: 标的合约id
  14119. type: integer
  14120. refgoodsname:
  14121. description: 标的合约名称
  14122. type: string
  14123. sellqty:
  14124. description: 卖量(暂不做, 无值, 保留字段)
  14125. type: number
  14126. type: object
  14127. models.TjmdTodayAccountMargin:
  14128. properties:
  14129. accountid:
  14130. description: 账号ID
  14131. type: integer
  14132. goodsid:
  14133. description: 商品ID
  14134. type: integer
  14135. infoc:
  14136. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  14137. description: 配置参数
  14138. marketid:
  14139. description: 市场ID
  14140. type: integer
  14141. type: object
  14142. models.TjmdTradeOrderDetail:
  14143. properties:
  14144. buyorsell:
  14145. description: 买卖方向 0-买 1-卖
  14146. type: integer
  14147. goodsid:
  14148. description: 商品id
  14149. type: integer
  14150. marketmaxsub:
  14151. description: 市价最大偏移范围 [浮动价 - 点差]
  14152. type: number
  14153. orderid:
  14154. description: 委托单号
  14155. type: string
  14156. orderprice:
  14157. description: 委托价格
  14158. type: number
  14159. orderqty:
  14160. description: 委托数量
  14161. type: integer
  14162. pricemode:
  14163. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  14164. type: integer
  14165. userid:
  14166. description: 用户id
  14167. type: integer
  14168. username:
  14169. description: 用户名称(已脱敏)
  14170. type: string
  14171. type: object
  14172. models.TjmdTransferApply:
  14173. properties:
  14174. applyid:
  14175. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  14176. type: integer
  14177. applystatus:
  14178. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  14179. type: integer
  14180. applytime:
  14181. description: 申请时间(时间)
  14182. type: string
  14183. auditremark:
  14184. description: 审核备注(拒绝原因?)
  14185. type: string
  14186. begindate:
  14187. description: 开始交易日(yyyymmdd)
  14188. type: string
  14189. buyorsell:
  14190. description: 买卖 - 0:买 1:卖
  14191. type: integer
  14192. enddate:
  14193. description: 结束交易日(yyyymmdd)
  14194. type: string
  14195. goodscode:
  14196. description: 商品代码
  14197. type: string
  14198. goodsid:
  14199. description: 商品ID
  14200. type: integer
  14201. goodsname:
  14202. description: 商品名称
  14203. type: string
  14204. marketid:
  14205. description: 市场ID
  14206. type: integer
  14207. qty:
  14208. description: 转让数量(数量)
  14209. type: number
  14210. tradeid:
  14211. description: 成交单号(关联持仓)
  14212. type: string
  14213. transferamount:
  14214. description: 转让总金额(金额)
  14215. type: number
  14216. transferprice:
  14217. description: 转让价格(协议价格)
  14218. type: number
  14219. type: object
  14220. models.TradeHolderDetail:
  14221. properties:
  14222. accountid:
  14223. description: 账号ID
  14224. type: integer
  14225. agreeunit:
  14226. description: 合约乘数
  14227. type: number
  14228. buyorsell:
  14229. description: 方向 - 0:买 1:卖
  14230. type: integer
  14231. currencyid:
  14232. description: 商品币种id
  14233. type: integer
  14234. currencyname:
  14235. description: 币种名称
  14236. type: string
  14237. decimalplace:
  14238. description: 商品价格小数位
  14239. type: integer
  14240. enumdicname:
  14241. description: 商品单位名称
  14242. type: string
  14243. expirecycle:
  14244. description: 行权周期(天) - 1:滚动行权时填写
  14245. type: integer
  14246. expiredate:
  14247. description: 行权日(yyyyMMdd) - 到期日
  14248. type: string
  14249. expiretype:
  14250. description: 行权日类型 - 1:滚动行权 2:固定日行权
  14251. type: integer
  14252. freezeqty:
  14253. description: 冻结数量
  14254. type: number
  14255. goodscode:
  14256. description: 商品代码
  14257. type: string
  14258. goodsid:
  14259. description: 商品ID
  14260. type: integer
  14261. goodsname:
  14262. description: 商品名称
  14263. type: string
  14264. goodunitid:
  14265. description: 商品单位id
  14266. type: integer
  14267. holderamount:
  14268. description: 持仓金额
  14269. type: number
  14270. holdercredit:
  14271. description: 持仓授信金额
  14272. type: number
  14273. holderdays:
  14274. description: 剩余冻结天数
  14275. type: integer
  14276. holderprice:
  14277. description: 持仓价格
  14278. type: number
  14279. holderqty:
  14280. description: 持仓数量
  14281. type: number
  14282. isconfirmexercise:
  14283. description: 是否确认行权- 0:否 1:是
  14284. type: integer
  14285. ispreexercise:
  14286. description: 是否预申报- 0:否 1:是 2:不可行权
  14287. type: integer
  14288. marketid:
  14289. description: 市场id
  14290. type: integer
  14291. marketname:
  14292. description: 市场名称
  14293. type: string
  14294. openprice:
  14295. description: 建仓价格
  14296. type: number
  14297. openqty:
  14298. description: 建仓数量
  14299. type: number
  14300. optiontype:
  14301. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  14302. type: integer
  14303. preexerciseprice:
  14304. description: 预申报价格
  14305. type: number
  14306. premium:
  14307. description: 权利金
  14308. type: number
  14309. qtydecimalplace:
  14310. description: 商品成交量小数位
  14311. type: integer
  14312. refgoodscode:
  14313. description: 标的合约代码
  14314. type: string
  14315. refgoodsid:
  14316. description: 标的合约id
  14317. type: integer
  14318. releaseamount:
  14319. description: 释放持仓金额
  14320. type: number
  14321. releaseholdercredit:
  14322. description: 释放持仓授信金额
  14323. type: number
  14324. taname:
  14325. description: 资金账号名称
  14326. type: string
  14327. tradeamount:
  14328. description: 成交金额
  14329. type: number
  14330. tradedate:
  14331. description: 交易日(yyyyMMdd)
  14332. type: string
  14333. tradeid:
  14334. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14335. type: string
  14336. trademode:
  14337. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  14338. 21:竞拍-大宗式 22:受托竞价 46:掉期
  14339. type: integer
  14340. tradeproperty:
  14341. description: 交易属性
  14342. type: integer
  14343. tradetime:
  14344. description: 交易时间
  14345. type: string
  14346. userid:
  14347. description: 用户id
  14348. type: integer
  14349. username:
  14350. description: 用户名称
  14351. type: string
  14352. type: object
  14353. models.UserCollectConfig:
  14354. properties:
  14355. accountstatus:
  14356. description: 账户状态 - 1:正常 2:停用 3:注销
  14357. type: integer
  14358. collectaccountname:
  14359. description: 收款人账户名称
  14360. type: string
  14361. collectaccountno:
  14362. description: 收款人账户
  14363. type: string
  14364. collectbankname:
  14365. description: 收款人开户行
  14366. type: string
  14367. collectbranchbankname:
  14368. description: 收款人开户支行
  14369. type: string
  14370. collectconfigid:
  14371. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  14372. type: string
  14373. remark:
  14374. description: 备注
  14375. type: string
  14376. userid:
  14377. description: 收款人用户ID
  14378. type: integer
  14379. type: object
  14380. models.UserReceiveInfo:
  14381. properties:
  14382. address:
  14383. description: 提货人详细地址
  14384. type: string
  14385. autoid:
  14386. description: AutoID
  14387. type: integer
  14388. cardnum:
  14389. description: 证件号码(加密存储)
  14390. type: string
  14391. cardtypeid:
  14392. description: 证件类型
  14393. type: integer
  14394. cityid:
  14395. description: 市
  14396. type: integer
  14397. cityname:
  14398. description: 城市名称
  14399. type: string
  14400. countryid:
  14401. description: 国家
  14402. type: integer
  14403. countryname:
  14404. description: 国家名称
  14405. type: string
  14406. districtid:
  14407. description: 地区
  14408. type: integer
  14409. districtname:
  14410. description: 地区名称
  14411. type: string
  14412. hasencrypt:
  14413. description: 数据是否已加密 - 0:未加密 1:已加密
  14414. type: integer
  14415. isdefault:
  14416. description: 是否默认地址 - 0:否 1:是
  14417. type: integer
  14418. phonenum:
  14419. description: 提货人联系方式(加密存储)
  14420. type: string
  14421. provinceid:
  14422. description: 省
  14423. type: integer
  14424. provincename:
  14425. description: 省名称
  14426. type: string
  14427. receivername:
  14428. description: 提货人姓名
  14429. type: string
  14430. takeremark:
  14431. description: 提货备注
  14432. type: string
  14433. userid:
  14434. description: 用户ID
  14435. type: integer
  14436. type: object
  14437. models.Useraccount:
  14438. properties:
  14439. accountname:
  14440. description: 账户名称(机构名称)
  14441. type: string
  14442. accountstatus:
  14443. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  14444. type: integer
  14445. applysrc:
  14446. description: 申请来源 - 1:管理端 2:终端
  14447. type: integer
  14448. auditremark:
  14449. description: 审核备注
  14450. type: string
  14451. auditsrc:
  14452. description: 审核来源 - 1:管理端 2:终端
  14453. type: integer
  14454. audittime:
  14455. description: 审核时间
  14456. type: string
  14457. audituserid:
  14458. description: 审核人
  14459. type: integer
  14460. broker:
  14461. description: 所属经纪人ID
  14462. type: integer
  14463. canceltime:
  14464. description: 销户时间
  14465. type: string
  14466. canceluserid:
  14467. description: 销户人
  14468. type: integer
  14469. canrecommend:
  14470. description: 是否可推荐 - 0:不可 1;可
  14471. type: integer
  14472. createtime:
  14473. description: 创建时间
  14474. type: string
  14475. creatorid:
  14476. description: 创建人
  14477. type: integer
  14478. hasauth:
  14479. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  14480. type: integer
  14481. isanonymous:
  14482. description: 是否匿名下单 - 0:否 1:是
  14483. type: integer
  14484. maxinvestornum:
  14485. description: 最大用户数(经纪会员下投资者个数)
  14486. type: integer
  14487. memberuserid:
  14488. description: 所属会员ID
  14489. type: integer
  14490. modifierid:
  14491. description: 修改人
  14492. type: integer
  14493. modifyremark:
  14494. description: 变更备注
  14495. type: string
  14496. modifystatus:
  14497. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  14498. type: integer
  14499. modifytime:
  14500. description: 修改时间
  14501. type: string
  14502. parenttopuser:
  14503. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  14504. type: string
  14505. parentuserid:
  14506. description: 所属机构ID
  14507. type: integer
  14508. reckonaccountid:
  14509. description: 默认结算资金账号ID(机构分润使用) 作废
  14510. type: integer
  14511. refercount:
  14512. description: 推荐总人数
  14513. type: integer
  14514. refereeuserid:
  14515. description: 推荐人ID
  14516. type: integer
  14517. refernum:
  14518. description: 推荐码
  14519. type: string
  14520. rootuserid:
  14521. description: 根用户ID
  14522. type: integer
  14523. subaccountlevel:
  14524. description: 子账户层数
  14525. type: integer
  14526. subarealevelpath:
  14527. description: 子机构层级路径(逗号分隔,首尾加逗号)
  14528. type: string
  14529. userid:
  14530. description: 用户ID
  14531. type: integer
  14532. usertype:
  14533. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14534. type: integer
  14535. required:
  14536. - userid
  14537. type: object
  14538. models.Userfavoritegoods:
  14539. properties:
  14540. goodsid:
  14541. description: 商品ID
  14542. type: integer
  14543. required:
  14544. - goodsid
  14545. type: object
  14546. models.Userinfo:
  14547. properties:
  14548. address:
  14549. description: 地址
  14550. type: string
  14551. attachment1:
  14552. description: 附件1
  14553. type: string
  14554. attachment2:
  14555. description: 附件2
  14556. type: string
  14557. bankaccount:
  14558. description: 银行帐号 (加密存储)
  14559. type: string
  14560. bankaccountname:
  14561. description: 收款人名称
  14562. type: string
  14563. bankcardfrontphotourl:
  14564. description: 银行卡正面照地址
  14565. type: string
  14566. bankid:
  14567. description: 银行编码
  14568. type: string
  14569. bankname:
  14570. description: 银行名称
  14571. type: string
  14572. biznature:
  14573. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  14574. type: integer
  14575. bizscope:
  14576. description: 企业经营范围(企业)
  14577. type: string
  14578. cardbackphotourl:
  14579. description: 证件背面图片地址
  14580. type: string
  14581. cardfrontphotourl:
  14582. description: 证件正面图片地址
  14583. type: string
  14584. cardnum:
  14585. description: 证件号码(加密存储)
  14586. type: string
  14587. cardtypeid:
  14588. description: 证件类型ID
  14589. type: integer
  14590. cityid:
  14591. description: 市
  14592. type: integer
  14593. company:
  14594. description: 公司(个人)
  14595. type: string
  14596. contactname:
  14597. description: 联系人
  14598. type: string
  14599. countryid:
  14600. description: 国家
  14601. type: integer
  14602. createtime:
  14603. description: 创建时间
  14604. type: string
  14605. creatorid:
  14606. description: 创建人
  14607. type: integer
  14608. customername:
  14609. description: 客户名称(企业名称)
  14610. type: string
  14611. districtid:
  14612. description: 地区
  14613. type: integer
  14614. email:
  14615. description: 邮件(加密存储)
  14616. type: string
  14617. fax:
  14618. description: 传真(加密存储)
  14619. type: string
  14620. halfbodyphotourl:
  14621. description: 半身照地址
  14622. type: string
  14623. hasencrypt:
  14624. description: 数据是否已加密 - 0:未加密 1:已加密
  14625. type: integer
  14626. headurl:
  14627. description: 头像地址
  14628. type: string
  14629. legalcardbackphotourl:
  14630. description: 法人身份证背面照地址
  14631. type: string
  14632. legalcardfrontphotourl:
  14633. description: 法人身份证正面照地址
  14634. type: string
  14635. legalpersonname:
  14636. description: 法人姓名(企业)
  14637. type: string
  14638. mobile:
  14639. description: 手机号码(加密存储)
  14640. type: string
  14641. mobile2:
  14642. description: 手机号码[明文-尚志]
  14643. type: string
  14644. modifierid:
  14645. description: 修改人
  14646. type: integer
  14647. modifiertime:
  14648. description: 修改时间
  14649. type: string
  14650. needinvoice:
  14651. description: 是否需要发票 - 0:不需要 1:需要
  14652. type: integer
  14653. nickname:
  14654. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  14655. type: string
  14656. openmode:
  14657. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  14658. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  14659. type: integer
  14660. otherurl:
  14661. description: 其它图片地址[使用分号分隔]
  14662. type: string
  14663. postalcode:
  14664. description: 邮政编码
  14665. type: string
  14666. provinceid:
  14667. description: 省
  14668. type: integer
  14669. qq:
  14670. description: QQ(加密存储
  14671. type: string
  14672. remark:
  14673. description: 备注
  14674. type: string
  14675. sex:
  14676. description: '用户性别 0: 女 1: 男'
  14677. type: integer
  14678. signpdfurl:
  14679. description: 签约pdf文件
  14680. type: string
  14681. telphone:
  14682. description: 联系电话(加密存储)
  14683. type: string
  14684. userid:
  14685. description: 用户ID
  14686. type: integer
  14687. userinfotype:
  14688. description: 用户信息类型 - 1:个人 2:企业
  14689. type: integer
  14690. userstatus:
  14691. description: 用户状态 - 1:正常 2:注销
  14692. type: integer
  14693. usertype:
  14694. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  14695. type: integer
  14696. wechat:
  14697. description: 微信(加密存储)
  14698. type: string
  14699. wskhinfo:
  14700. description: 开户申请信息(JSON)
  14701. type: string
  14702. required:
  14703. - userid
  14704. type: object
  14705. models.WRSConverTDetail:
  14706. properties:
  14707. convertratio:
  14708. description: 套保系数
  14709. type: number
  14710. deliverygoodscode:
  14711. description: 现货商品代码
  14712. type: string
  14713. deliverygoodsid:
  14714. description: 现货品种ID
  14715. type: integer
  14716. deliverygoodsname:
  14717. description: 现货商品名称
  14718. type: string
  14719. enumdicname:
  14720. description: 单位名称
  14721. type: string
  14722. goodsunitid:
  14723. description: 套保品种单位id
  14724. type: integer
  14725. middlegoodscode:
  14726. description: 套保品种代码
  14727. type: string
  14728. middlegoodsid:
  14729. description: 套保品种ID
  14730. type: integer
  14731. middlegoodsname:
  14732. description: 套保品种名称
  14733. type: string
  14734. modifytime:
  14735. description: 修改时间
  14736. type: string
  14737. wrstandardid:
  14738. description: 品类ID
  14739. type: integer
  14740. type: object
  14741. models.WRStandardInfo:
  14742. properties:
  14743. areauserid:
  14744. description: 所属机构
  14745. type: integer
  14746. convertfactor:
  14747. description: 标仓系数
  14748. type: number
  14749. createtime:
  14750. description: 创建时间
  14751. type: string
  14752. creatorid:
  14753. description: 创建人
  14754. type: integer
  14755. deliverygoodsid:
  14756. description: 品种ID
  14757. type: integer
  14758. deliverygoodsname:
  14759. description: 交割商品名称
  14760. type: string
  14761. factoryitemjson:
  14762. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  14763. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  14764. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  14765. 逗号分隔'
  14766. type: string
  14767. isvalid:
  14768. description: 是否有效 - 0:无效 1:有效
  14769. type: integer
  14770. minivalue:
  14771. description: 最小变动值
  14772. type: integer
  14773. minivaluedp:
  14774. description: 最小变动值小数位
  14775. type: integer
  14776. realminivalue:
  14777. description: 实际最小变动值
  14778. type: integer
  14779. realminivaluedp:
  14780. description: 实际最小变动值小数位
  14781. type: integer
  14782. remark:
  14783. description: 备注
  14784. type: string
  14785. unitid:
  14786. description: 单位ID
  14787. type: integer
  14788. unitname:
  14789. description: 单位
  14790. type: string
  14791. updatetime:
  14792. description: 更新时间
  14793. type: string
  14794. updatorid:
  14795. description: 更新人
  14796. type: integer
  14797. wrsstatus:
  14798. description: 状态 - 作废 - 0:未激活 1:正常
  14799. type: integer
  14800. wrstandardcode:
  14801. description: 现货品类代码
  14802. type: string
  14803. wrstandardid:
  14804. description: 现货品类ID(SEQ_WRSTANDARD)
  14805. type: integer
  14806. wrstandardname:
  14807. description: 现货品类名称
  14808. type: string
  14809. required:
  14810. - wrstandardid
  14811. type: object
  14812. models.WRTradeBargainApply:
  14813. properties:
  14814. accountid:
  14815. description: 摘牌资金账号
  14816. type: integer
  14817. applyprice:
  14818. description: 申请价格(议价价格)
  14819. type: string
  14820. applyqty:
  14821. description: 摘牌数量(议价数量)
  14822. type: number
  14823. applyremark:
  14824. description: 申请备注
  14825. type: string
  14826. applystatus:
  14827. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  14828. type: integer
  14829. applytime:
  14830. description: 申请时间(议价时间)
  14831. type: string
  14832. begindate:
  14833. description: 开始交易日(yyyymmdd)
  14834. type: string
  14835. buyorsell:
  14836. description: 买卖(挂牌类型) - 0:买 1:卖
  14837. type: integer
  14838. confirmremark:
  14839. description: 确认备注
  14840. type: string
  14841. confirmtime:
  14842. description: 确认时间
  14843. type: string
  14844. confirmuserid:
  14845. description: 确认人
  14846. type: integer
  14847. deliverygoodscode:
  14848. description: 品种代码
  14849. type: string
  14850. deliverygoodsid:
  14851. description: 品种ID
  14852. type: integer
  14853. deliverygoodsname:
  14854. description: 品种名称
  14855. type: string
  14856. deliverymonth:
  14857. description: 交收月
  14858. type: string
  14859. enddate:
  14860. description: 结束交易日(yyyymmdd)
  14861. type: string
  14862. enumdicname:
  14863. description: 单位名称
  14864. type: string
  14865. fixedprice:
  14866. description: 挂牌价格
  14867. type: number
  14868. handlestatus:
  14869. description: 处理状态
  14870. type: integer
  14871. marginvalue:
  14872. description: 履约保证金比例
  14873. type: number
  14874. marketid:
  14875. description: 市场ID
  14876. type: integer
  14877. matchaccountid:
  14878. description: 挂牌方资金账号
  14879. type: integer
  14880. matchuserid:
  14881. description: 挂牌方用户id
  14882. type: integer
  14883. matchusername:
  14884. description: 挂牌方用户名称(已脱敏)
  14885. type: string
  14886. minivalue:
  14887. description: 现货商品最小变动值
  14888. type: integer
  14889. optioncompare:
  14890. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14891. type: string
  14892. orderqty:
  14893. description: 挂牌数量
  14894. type: integer
  14895. refprice:
  14896. description: 参考价格
  14897. type: string
  14898. retcode:
  14899. description: 委托返回代码
  14900. type: integer
  14901. templatename:
  14902. description: 履约方式(履约模板名称)
  14903. type: string
  14904. tradedate:
  14905. description: 交易日(yyyyMMdd)
  14906. type: string
  14907. userid:
  14908. description: 摘牌人用户ID(议价人ID)
  14909. type: integer
  14910. username:
  14911. description: 议价人名字(已脱敏)
  14912. type: string
  14913. validtime:
  14914. description: 有效期限
  14915. type: string
  14916. warehouseid:
  14917. description: 仓库ID
  14918. type: integer
  14919. warehousename:
  14920. description: 仓库名称
  14921. type: string
  14922. wrbargainid:
  14923. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  14924. type: string
  14925. wrfactortypeid:
  14926. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14927. type: string
  14928. wrfactortypename:
  14929. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14930. type: string
  14931. wrstandardcode:
  14932. description: 现货商品代码
  14933. type: string
  14934. wrstandardid:
  14935. description: 现货商品ID
  14936. type: integer
  14937. wrstandardname:
  14938. description: 商品名称
  14939. type: string
  14940. wrtradeorderid:
  14941. description: 关联委托单ID
  14942. type: string
  14943. wrtypename:
  14944. description: 商品
  14945. type: string
  14946. type: object
  14947. models.Warehouseinfo:
  14948. properties:
  14949. address:
  14950. description: 详细地址
  14951. type: string
  14952. areauserid:
  14953. description: 所属机构
  14954. type: integer
  14955. autoid:
  14956. description: 自增ID
  14957. type: integer
  14958. cityid:
  14959. description: 市
  14960. type: integer
  14961. contactname:
  14962. description: 联系人
  14963. type: string
  14964. contactnum:
  14965. description: 联系电话
  14966. type: string
  14967. countryid:
  14968. description: 国家
  14969. type: integer
  14970. createtime:
  14971. description: 创建时间
  14972. type: string
  14973. districtid:
  14974. description: 区
  14975. type: integer
  14976. hasvideo:
  14977. description: 是否有视频 - 0:无 1:有
  14978. type: integer
  14979. provinceid:
  14980. description: 省
  14981. type: integer
  14982. remark:
  14983. description: 审核备注
  14984. type: string
  14985. videourl:
  14986. description: 视频地址
  14987. type: string
  14988. warehousecode:
  14989. description: 仓库代码
  14990. type: string
  14991. warehousename:
  14992. description: 仓库名称
  14993. type: string
  14994. warehousestatus:
  14995. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  14996. type: integer
  14997. warehousetype:
  14998. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  14999. type: integer
  15000. required:
  15001. - autoid
  15002. - warehousecode
  15003. type: object
  15004. models.WrAverageTradePrice:
  15005. properties:
  15006. averageprice:
  15007. description: 成交均价
  15008. type: number
  15009. tradedate:
  15010. description: 交易日yyyymm
  15011. type: string
  15012. type: object
  15013. models.WrBrandAndYears:
  15014. properties:
  15015. brandlst:
  15016. description: 品牌列表
  15017. items:
  15018. $ref: '#/definitions/models.DgFactoryItem'
  15019. type: array
  15020. yearslst:
  15021. description: 年份列表
  15022. items:
  15023. $ref: '#/definitions/models.DgFactoryItem'
  15024. type: array
  15025. type: object
  15026. models.WrBsGoodsInfo:
  15027. properties:
  15028. buyorsell:
  15029. description: 买卖方向 0-买 1-卖
  15030. type: integer
  15031. goodsid:
  15032. description: 交易合约ID
  15033. type: integer
  15034. lstitem:
  15035. description: 商品信息项
  15036. items:
  15037. $ref: '#/definitions/models.WrTypeItem'
  15038. type: array
  15039. lststep:
  15040. description: 履约规则
  15041. items:
  15042. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15043. type: array
  15044. type: object
  15045. models.WrBuybackDetail:
  15046. properties:
  15047. buybackamount:
  15048. description: 回购金额
  15049. type: number
  15050. buybackqty:
  15051. description: 回购数量
  15052. type: number
  15053. buybackreleasemargin:
  15054. description: 回购释放保证金
  15055. type: number
  15056. buybacktime:
  15057. description: 回购时间
  15058. type: string
  15059. errordesc:
  15060. description: 错误描述
  15061. type: string
  15062. handlestatus:
  15063. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  15064. type: integer
  15065. relatedwrid:
  15066. description: 关联仓单ID
  15067. type: integer
  15068. scfcontractid:
  15069. description: SCF合同ID
  15070. type: string
  15071. scfwrbuybackid:
  15072. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  15073. type: integer
  15074. tradedate:
  15075. description: 交易日(yyyyMMdd)
  15076. type: string
  15077. type: object
  15078. models.WrClientAdSpaceConfig:
  15079. properties:
  15080. adspaceid:
  15081. description: 广告位ID
  15082. type: integer
  15083. adspacename:
  15084. description: 广告位名称
  15085. type: string
  15086. adspacetype:
  15087. description: 广告位类型 - 1:固定广告位
  15088. type: integer
  15089. areauserid:
  15090. description: 所属机构ID
  15091. type: integer
  15092. createdate:
  15093. description: 创建时间
  15094. type: string
  15095. imagepath:
  15096. description: 图片
  15097. type: string
  15098. modifierid:
  15099. description: 操作人
  15100. type: integer
  15101. recsize:
  15102. description: 推荐尺寸
  15103. type: string
  15104. title:
  15105. description: 标题
  15106. type: string
  15107. updatedate:
  15108. description: 更新时间
  15109. type: string
  15110. urlcontent:
  15111. description: 链接(地址\商品ID\功能菜单Key\appid)
  15112. type: string
  15113. urltype:
  15114. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  15115. type: integer
  15116. type: object
  15117. models.WrDeliveryAvalidHoldLB:
  15118. properties:
  15119. accountid:
  15120. description: 资金账号
  15121. type: integer
  15122. avalidqty:
  15123. description: 数量(可点选数量)
  15124. type: number
  15125. deliverygoodsid:
  15126. description: 品种id
  15127. type: integer
  15128. enumdicname:
  15129. description: 单位名称
  15130. type: string
  15131. goodsid:
  15132. description: x合约商品id
  15133. type: integer
  15134. ladingbillid:
  15135. description: 提单id
  15136. type: string
  15137. pgoodscode:
  15138. description: p商品代码(点价合约)
  15139. type: string
  15140. pgoodsid:
  15141. description: p商品id(点价合约)
  15142. type: integer
  15143. pgoodsname:
  15144. description: p商品名称(点价合约)
  15145. type: string
  15146. pricemove:
  15147. description: 升贴水
  15148. type: number
  15149. subnum:
  15150. description: 提单子id
  15151. type: integer
  15152. userid:
  15153. description: 用户id
  15154. type: integer
  15155. username:
  15156. description: 仓单持有人
  15157. type: string
  15158. warehousecode:
  15159. description: 仓库代码
  15160. type: string
  15161. warehouseid:
  15162. description: 仓库id
  15163. type: integer
  15164. warehousename:
  15165. description: 仓库名称
  15166. type: string
  15167. wrfactortypeid:
  15168. description: 仓单要素id
  15169. type: string
  15170. wrstandardcode:
  15171. description: 品代码
  15172. type: string
  15173. wrstandardid:
  15174. description: 品类d
  15175. type: integer
  15176. wrstandardname:
  15177. description: 品类名称
  15178. type: string
  15179. wrtypename:
  15180. description: 商品
  15181. type: string
  15182. xgoodscode:
  15183. description: x合约代码
  15184. type: string
  15185. xgoodsname:
  15186. description: x合约名称
  15187. type: string
  15188. type: object
  15189. models.WrDeliveryDetail:
  15190. properties:
  15191. accountid:
  15192. description: 账号ID
  15193. type: integer
  15194. averageprice:
  15195. description: 交割均价 = 交割金额 / 交割数量
  15196. type: number
  15197. begindate:
  15198. description: 开始交易日(yyyymmdd)
  15199. type: string
  15200. buyorsell:
  15201. description: 方向 - 0:买 1:卖
  15202. type: integer
  15203. deliveryamount:
  15204. description: 货款金额(X总货款+P总货款)
  15205. type: number
  15206. deliveryid:
  15207. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  15208. type: string
  15209. deliveryorderid:
  15210. description: 申报单号
  15211. type: string
  15212. deliverypricemove:
  15213. description: 升贴水(升贴水总额)
  15214. type: number
  15215. deliveryqty:
  15216. description: 交收数量(点选数量)
  15217. type: number
  15218. deliverystatus:
  15219. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  15220. type: integer
  15221. deliverytime:
  15222. description: 交割时间
  15223. type: string
  15224. deliverytotalamount:
  15225. description: 交收金额
  15226. type: number
  15227. enddate:
  15228. description: 结束交易日(yyyymmdd)
  15229. type: string
  15230. enumdicname:
  15231. description: 单位名称
  15232. type: string
  15233. matchaccountid:
  15234. description: 对手账号ID
  15235. type: integer
  15236. matchusername:
  15237. description: 对手方名称(仓单持有人)
  15238. type: string
  15239. p1goodsremainamount:
  15240. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  15241. type: number
  15242. pdeliverycloseqty:
  15243. description: p合约平仓数量
  15244. type: number
  15245. pdeliveryprice:
  15246. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  15247. type: number
  15248. pgoodscode:
  15249. description: 商品代码
  15250. type: string
  15251. pgoodsid:
  15252. description: p点选合约id
  15253. type: integer
  15254. pgoodsname:
  15255. description: 商品名称
  15256. type: string
  15257. ppricemode:
  15258. description: 点价价格方式 - 1:商品价 2:固定值
  15259. type: integer
  15260. tradedate:
  15261. description: 交易日(yyyymmdd)
  15262. type: string
  15263. userid:
  15264. description: 用户id
  15265. type: integer
  15266. username:
  15267. description: 用户名称
  15268. type: string
  15269. warehousename:
  15270. description: 仓库名称
  15271. type: string
  15272. wrfactortypeid:
  15273. description: 仓单要素类型ID
  15274. type: string
  15275. wrtypename:
  15276. description: 商品
  15277. type: string
  15278. xdeliverycloseqty:
  15279. description: 合约数量
  15280. type: number
  15281. xgoodsamount:
  15282. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  15283. type: number
  15284. xgoodscode:
  15285. description: 商品代码
  15286. type: string
  15287. xgoodsid:
  15288. description: x交易合约ID
  15289. type: integer
  15290. xgoodsname:
  15291. description: 商品名称
  15292. type: string
  15293. type: object
  15294. models.WrDeliveryGoodsSection:
  15295. properties:
  15296. dglst:
  15297. description: 板块商品列表
  15298. items:
  15299. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  15300. type: array
  15301. imagepath:
  15302. description: 图片地址
  15303. type: string
  15304. orderindex:
  15305. description: 排序
  15306. type: integer
  15307. sectionid:
  15308. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  15309. = 1的版块1 - 云融指数
  15310. type: integer
  15311. sectionname:
  15312. description: 版块名称
  15313. type: string
  15314. sectiontype:
  15315. description: 版块类型 - 1:指数版块 2:普通版块
  15316. type: integer
  15317. type: object
  15318. models.WrDeliveryGoodsSectionConfig:
  15319. properties:
  15320. deliverygoodscode:
  15321. description: 现货商品代码
  15322. type: string
  15323. deliverygoodsid:
  15324. description: 现货品种ID(SEQ_DELIVERYGOODS)
  15325. type: integer
  15326. deliverygoodsname:
  15327. description: 现货商品名称
  15328. type: string
  15329. orderindex:
  15330. description: 排序
  15331. type: integer
  15332. type: object
  15333. models.WrDraftUserInfo:
  15334. properties:
  15335. address:
  15336. description: 地址
  15337. type: string
  15338. attachment1:
  15339. description: 附件1
  15340. type: string
  15341. attachment2:
  15342. description: 附件2
  15343. type: string
  15344. attachment3:
  15345. description: 附件3
  15346. type: string
  15347. attachment4:
  15348. description: 附件4
  15349. type: string
  15350. attachment5:
  15351. description: 附件5
  15352. type: string
  15353. bankaccount:
  15354. description: 银行帐号 (加密存储)
  15355. type: string
  15356. bankaccountname:
  15357. description: 收款人名称
  15358. type: string
  15359. bankcardfrontphotourl:
  15360. description: 银行卡正面照地址
  15361. type: string
  15362. bankid:
  15363. description: 银行编码
  15364. type: string
  15365. bankname:
  15366. description: 银行名称
  15367. type: string
  15368. birthday:
  15369. description: 生日(个人:年月日)
  15370. type: string
  15371. biznature:
  15372. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  15373. type: integer
  15374. bizscope:
  15375. description: 企业经营范围(企业)
  15376. type: string
  15377. biztype:
  15378. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  15379. type: integer
  15380. cardbackphotourl:
  15381. description: 证件背面图片地址
  15382. type: string
  15383. cardfrontphotourl:
  15384. description: 证件正面图片地址
  15385. type: string
  15386. cardnum:
  15387. description: 证件号码(加密存储)
  15388. type: string
  15389. cardtypeid:
  15390. description: 证件类型ID
  15391. type: integer
  15392. cityid:
  15393. description: 市
  15394. type: integer
  15395. company:
  15396. description: 公司(个人)
  15397. type: string
  15398. contactcardbackphotourl:
  15399. description: 联系人证件背面图片地址
  15400. type: string
  15401. contactcardfrontphotourl:
  15402. description: 联系人证件正面图片地址
  15403. type: string
  15404. contactname:
  15405. description: 联系人
  15406. type: string
  15407. countryid:
  15408. description: 国家
  15409. type: integer
  15410. createtime:
  15411. description: 创建时间
  15412. type: string
  15413. creatorid:
  15414. description: 创建人
  15415. type: integer
  15416. creditquota:
  15417. description: 授信额度(金瑞)
  15418. type: number
  15419. customername:
  15420. description: 客户名称(企业名称)
  15421. type: string
  15422. districtid:
  15423. description: 地区
  15424. type: integer
  15425. email:
  15426. description: 邮件(加密存储)
  15427. type: string
  15428. fax:
  15429. description: 传真(加密存储)
  15430. type: string
  15431. halfbodyphotourl:
  15432. description: 半身照地址
  15433. type: string
  15434. hasencrypt:
  15435. description: 数据是否已加密 - 0:未加密 1:已加密
  15436. type: integer
  15437. headurl:
  15438. description: 头像地址
  15439. type: string
  15440. legalcardbackphotourl:
  15441. description: 法人身份证背面照地址
  15442. type: string
  15443. legalcardfrontphotourl:
  15444. description: 法人身份证正面照地址
  15445. type: string
  15446. legalpersonname:
  15447. description: 法人姓名(企业)
  15448. type: string
  15449. mobile:
  15450. description: 手机号码(加密存储)
  15451. type: string
  15452. mobile2:
  15453. description: 手机号码[明文-尚志]
  15454. type: string
  15455. modifierid:
  15456. description: 修改人
  15457. type: integer
  15458. modifiertime:
  15459. description: 修改时间
  15460. type: string
  15461. needinvoice:
  15462. description: 是否需要发票 - 0:不需要 1:需要
  15463. type: integer
  15464. nickname:
  15465. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  15466. type: string
  15467. openmode:
  15468. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  15469. 6:苹果手机端注册 7:PC交易端注册"
  15470. type: integer
  15471. otherurl:
  15472. description: 其它图片地址[使用分号分隔]
  15473. type: string
  15474. postalcode:
  15475. description: 邮政编码
  15476. type: string
  15477. provinceid:
  15478. description: 省
  15479. type: integer
  15480. proxystatementurl:
  15481. description: 授权委托书
  15482. type: string
  15483. qq:
  15484. description: QQ(加密存储
  15485. type: string
  15486. remark:
  15487. description: 备注
  15488. type: string
  15489. sex:
  15490. description: '用户性别 0: 女 1: 男'
  15491. type: integer
  15492. signpdfurl:
  15493. description: 签约pdf文件
  15494. type: string
  15495. taxpayernum:
  15496. description: 纳税人识别号
  15497. type: string
  15498. telphone:
  15499. description: 联系电话(加密存储)
  15500. type: string
  15501. userid:
  15502. description: 用户ID
  15503. type: integer
  15504. userinfotype:
  15505. description: 用户信息类型 - 1:个人 2:企业
  15506. type: integer
  15507. userstatus:
  15508. description: 用户状态 - 1:正常 2:注销
  15509. type: integer
  15510. usertype:
  15511. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  15512. type: integer
  15513. wechat:
  15514. description: 微信(加密存储)
  15515. type: string
  15516. wskhinfo:
  15517. description: 开户申请信息(JSON)
  15518. type: string
  15519. type: object
  15520. models.WrFAProductDetail:
  15521. properties:
  15522. accountid:
  15523. description: 资金账号
  15524. type: integer
  15525. areauserid:
  15526. description: 金融机构ID
  15527. type: integer
  15528. financingdays:
  15529. description: 天数(天)
  15530. type: integer
  15531. interestminlen:
  15532. description: 最小起息天数
  15533. type: integer
  15534. interestrate:
  15535. description: 利率
  15536. type: number
  15537. interestratemode:
  15538. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15539. type: integer
  15540. interestsettlemode:
  15541. description: 结息方式 - 1:按日结息 3:按月结息
  15542. type: integer
  15543. interestsettlevalue:
  15544. description: 结息方式值
  15545. type: integer
  15546. isautoloan:
  15547. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  15548. type: integer
  15549. loantag:
  15550. description: '放款标识: "放款快" 或者为空'
  15551. type: string
  15552. marginratio:
  15553. description: 保证金比率质押率 - [仓单质押]
  15554. type: number
  15555. productdetailid:
  15556. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  15557. type: integer
  15558. productid:
  15559. description: 金融产品ID
  15560. type: integer
  15561. productname:
  15562. description: 产品名称
  15563. type: string
  15564. updatetime:
  15565. description: 更新时间
  15566. type: string
  15567. username:
  15568. description: 融出方
  15569. type: string
  15570. type: object
  15571. models.WrFactorTypeInfo:
  15572. properties:
  15573. deliverygoodscode:
  15574. description: 品种代码
  15575. type: string
  15576. deliverygoodsname:
  15577. description: 品种名称
  15578. type: string
  15579. dgfactoryitemid:
  15580. description: 选择项id
  15581. type: integer
  15582. dgfactoryitemtypeid:
  15583. description: 要素选择项ID (1-仓库 2-品牌)
  15584. type: integer
  15585. dgfactoryitemvalue:
  15586. description: 要素项值
  15587. type: string
  15588. itemtypename:
  15589. description: 要素项名称
  15590. type: string
  15591. optioncompare:
  15592. description: 选择比较串
  15593. type: string
  15594. warehouseid:
  15595. description: 仓库id
  15596. type: integer
  15597. wrfactortypeid:
  15598. description: 仓单要素ID
  15599. type: string
  15600. wrfactortypename:
  15601. description: 要素名称
  15602. type: string
  15603. wrfactortypename2:
  15604. description: 要素名称(不含仓库)
  15605. type: string
  15606. wrstandardcode:
  15607. description: 品类代码
  15608. type: string
  15609. wrstandardid:
  15610. description: 品类id
  15611. type: integer
  15612. wrstandardname:
  15613. description: 品类名称
  15614. type: string
  15615. type: object
  15616. models.WrFilterItem:
  15617. properties:
  15618. itemcode:
  15619. description: 代码
  15620. type: string
  15621. itemid:
  15622. description: 项id
  15623. type: integer
  15624. itemname:
  15625. description: 名称
  15626. type: string
  15627. itemtype:
  15628. description: 类型 1-品种 2-品类(商品) 3-仓库
  15629. type: integer
  15630. type: object
  15631. models.WrFinanceBuyApply:
  15632. properties:
  15633. applydate:
  15634. description: 申请时间
  15635. type: string
  15636. applystatus:
  15637. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  15638. type: integer
  15639. applyuserid:
  15640. description: 申请人
  15641. type: integer
  15642. auditdate:
  15643. description: 审核时间
  15644. type: string
  15645. auditremark:
  15646. description: 审核备注
  15647. type: string
  15648. audituserid:
  15649. description: 审核人
  15650. type: integer
  15651. buyaccountid:
  15652. description: 买方资金账号
  15653. type: integer
  15654. buyorsell:
  15655. description: 买卖 - 0:买 1:卖
  15656. type: integer
  15657. buyuserid:
  15658. description: 买方用户ID
  15659. type: integer
  15660. buyusername:
  15661. description: 买方名称
  15662. type: string
  15663. buywrtradeorderid:
  15664. description: 融资方买委托单ID
  15665. type: string
  15666. deliverygoodscode:
  15667. description: 品种代码
  15668. type: string
  15669. deliverygoodsid:
  15670. description: 品种ID
  15671. type: integer
  15672. deliverygoodsname:
  15673. description: 品种名称
  15674. type: string
  15675. deliverymonth:
  15676. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  15677. type: string
  15678. enumdicname:
  15679. description: 单位名称
  15680. type: string
  15681. financeaccountid:
  15682. description: 融资方资金帐户ID
  15683. type: integer
  15684. financeapplyid:
  15685. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15686. type: string
  15687. financeareauserid:
  15688. description: 融资方用户ID
  15689. type: string
  15690. financename:
  15691. description: 融出方名称
  15692. type: string
  15693. financetype:
  15694. description: 融资类型 1-融资回购
  15695. type: integer
  15696. financingdays:
  15697. description: 天数(天)
  15698. type: integer
  15699. freezebuymargin:
  15700. description: 冻结融资保证金(买方)
  15701. type: number
  15702. handleremark:
  15703. description: 处理备注
  15704. type: string
  15705. handlestatus:
  15706. description: 处理状态
  15707. type: integer
  15708. interestminlen:
  15709. description: 最小起息天数
  15710. type: integer
  15711. interestrate:
  15712. description: 利率
  15713. type: number
  15714. interestratemode:
  15715. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15716. type: integer
  15717. interestsettlemode:
  15718. description: 结息方式 - 1:按日结息 3:按月结息
  15719. type: integer
  15720. interestsettlevalue:
  15721. description: 结息方式值
  15722. type: integer
  15723. isautoloan:
  15724. description: 是否自动放款 - 0:手动 1:自动
  15725. type: integer
  15726. marginratio:
  15727. description: 保证金比率质押率 - [仓单质押]
  15728. type: number
  15729. marketid:
  15730. description: 市场ID
  15731. type: integer
  15732. minivalue:
  15733. description: 现货商品最小变动值
  15734. type: integer
  15735. optioncompare:
  15736. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15737. type: string
  15738. orderqty:
  15739. description: 委托数量(商品数量)
  15740. type: number
  15741. productdetailid:
  15742. description: 产品组合ID
  15743. type: integer
  15744. productid:
  15745. description: 金融产品ID
  15746. type: integer
  15747. productname:
  15748. description: 产品名称
  15749. type: string
  15750. remark:
  15751. description: 备注
  15752. type: string
  15753. scfcontractid:
  15754. description: 仓单回购合同ID
  15755. type: string
  15756. sellaccountid:
  15757. description: 卖方资金账号
  15758. type: integer
  15759. selluserid:
  15760. description: 卖方用户ID
  15761. type: integer
  15762. sellwrtradeorderid:
  15763. description: 卖方委托单ID
  15764. type: string
  15765. tradeamount:
  15766. description: 成交金额(借款金额)
  15767. type: number
  15768. tradedate:
  15769. description: 交易日(yyyyMMdd)
  15770. type: string
  15771. tradeprice:
  15772. description: 成交价格
  15773. type: number
  15774. warehouseid:
  15775. description: 仓库ID
  15776. type: integer
  15777. warehousename:
  15778. description: 仓库名称
  15779. type: string
  15780. wrfactortypeid:
  15781. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15782. type: string
  15783. wrfactortypename:
  15784. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15785. type: string
  15786. wrpricetype:
  15787. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  15788. type: integer
  15789. wrstandardcode:
  15790. description: 现货商品代码
  15791. type: string
  15792. wrstandardid:
  15793. description: 现货商品ID
  15794. type: integer
  15795. wrstandardname:
  15796. description: 商品名称
  15797. type: string
  15798. wrtypename:
  15799. description: 商品
  15800. type: string
  15801. type: object
  15802. models.WrFriendApply:
  15803. properties:
  15804. applicantid:
  15805. description: 申请人
  15806. type: integer
  15807. applyname:
  15808. description: 申请人名称
  15809. type: string
  15810. applysrc:
  15811. description: 申请来源 - 1:管理端 2:终端
  15812. type: integer
  15813. applystatus:
  15814. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15815. type: integer
  15816. applytime:
  15817. description: 申请时间
  15818. type: string
  15819. auditname:
  15820. description: 审核人名称
  15821. type: string
  15822. auditorid:
  15823. description: 审核人
  15824. type: integer
  15825. auditremark:
  15826. description: 审核备注
  15827. type: string
  15828. auditsrc:
  15829. description: 审核来源 - 1:管理端 2:终端
  15830. type: integer
  15831. audittime:
  15832. description: 审核时间
  15833. type: string
  15834. friendapplyid:
  15835. description: 申请ID(SEQ_FRIENDAPPLY)
  15836. type: string
  15837. friendname:
  15838. description: 好友名字(已脱敏)
  15839. type: string
  15840. frienduserid:
  15841. description: 好友用户ID
  15842. type: string
  15843. remark:
  15844. description: 备注
  15845. type: string
  15846. userid:
  15847. description: 申请人用户ID
  15848. type: integer
  15849. type: object
  15850. models.WrFtDeliveryGoods:
  15851. properties:
  15852. deliverygoodscode:
  15853. description: 品种代码
  15854. type: string
  15855. deliverygoodsid:
  15856. description: 品种ID
  15857. type: integer
  15858. deliverygoodsname:
  15859. description: 品种名称
  15860. type: string
  15861. wdlst:
  15862. description: 商品列表
  15863. items:
  15864. $ref: '#/definitions/models.WrFtWrstandard'
  15865. type: array
  15866. type: object
  15867. models.WrFtWrstandard:
  15868. properties:
  15869. enumdicname:
  15870. description: 单位名称
  15871. type: string
  15872. minivalue:
  15873. description: 最小变动值
  15874. type: integer
  15875. wrstandardcode:
  15876. description: 现货商品代码
  15877. type: string
  15878. wrstandardid:
  15879. description: 现货商品ID
  15880. type: integer
  15881. wrstandardname:
  15882. description: 商品名称
  15883. type: string
  15884. type: object
  15885. models.WrGoodsInfo:
  15886. properties:
  15887. haswr:
  15888. description: 0:仓单预售 1:仓单贸易
  15889. type: integer
  15890. lstitem:
  15891. description: 商品信息项
  15892. items:
  15893. $ref: '#/definitions/models.WrTypeItem'
  15894. type: array
  15895. lststep:
  15896. description: 履约规则
  15897. items:
  15898. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15899. type: array
  15900. marketid:
  15901. description: 市场id
  15902. type: integer
  15903. type: object
  15904. models.WrGoodsPerformanceStep:
  15905. properties:
  15906. autoid:
  15907. description: AutoID
  15908. type: integer
  15909. isauto:
  15910. description: 是否自动 - 0:不自动 1:自动
  15911. type: integer
  15912. remark:
  15913. description: 备注
  15914. type: string
  15915. stepdate:
  15916. description: 天数信息(T+N)
  15917. type: string
  15918. stepdays:
  15919. description: 距离上一步天数
  15920. type: integer
  15921. stepindex:
  15922. description: 步骤序号
  15923. type: integer
  15924. stepinfo:
  15925. description: 步骤信息(步骤名称+步骤值)
  15926. type: string
  15927. steptypeid:
  15928. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  15929. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15930. type: integer
  15931. steptypename:
  15932. description: 步骤名称
  15933. type: string
  15934. stepvalue:
  15935. description: 步骤值
  15936. type: number
  15937. templateid:
  15938. description: 履约计划模板ID
  15939. type: integer
  15940. type: object
  15941. models.WrHoldLB:
  15942. properties:
  15943. accountid:
  15944. description: 持有人帐户ID
  15945. type: integer
  15946. bannerpicurl:
  15947. description: Banner图
  15948. type: string
  15949. createtime:
  15950. description: 创建时间(过户时间)
  15951. type: string
  15952. deliverygoodscode:
  15953. description: 品种代码
  15954. type: string
  15955. deliverygoodsid:
  15956. description: 品种ID
  15957. type: integer
  15958. deliverygoodsname:
  15959. description: 品种名称
  15960. type: string
  15961. enableqty:
  15962. description: 可用数量
  15963. type: number
  15964. enumdicname:
  15965. description: 单位名称
  15966. type: string
  15967. freezerqty:
  15968. description: 冻结数量
  15969. type: number
  15970. ladingbillid:
  15971. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15972. type: string
  15973. minivalue:
  15974. description: 现货商品最小变动值
  15975. type: integer
  15976. optioncompare:
  15977. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15978. type: string
  15979. parentsubnum:
  15980. description: 拆分父子单号
  15981. type: integer
  15982. pledgeqty:
  15983. description: 质押数量
  15984. type: number
  15985. qty:
  15986. description: 数量
  15987. type: number
  15988. subnum:
  15989. description: 提单子单号
  15990. type: integer
  15991. thumurls:
  15992. description: 缩略图
  15993. type: string
  15994. tradedate:
  15995. description: 交易日(yyyyMMdd)
  15996. type: string
  15997. userid:
  15998. description: 持有人ID
  15999. type: integer
  16000. warehouseid:
  16001. description: 仓库ID
  16002. type: integer
  16003. warehousename:
  16004. description: 仓库名称
  16005. type: string
  16006. wrfactortypeid:
  16007. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16008. type: string
  16009. wrfactortypename:
  16010. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16011. type: string
  16012. wrholdeno:
  16013. description: 仓单编号
  16014. type: string
  16015. wrid:
  16016. description: 仓单变更ID
  16017. type: string
  16018. wrstandardcode:
  16019. description: 现货商品代码
  16020. type: string
  16021. wrstandardid:
  16022. description: 现货商品ID
  16023. type: integer
  16024. wrstandardname:
  16025. description: 商品名称
  16026. type: string
  16027. wrtypename:
  16028. description: 商品
  16029. type: string
  16030. type: object
  16031. models.WrMarketTradeConfig:
  16032. properties:
  16033. basisdownratio:
  16034. description: 浮动价基差下限比例(仓单贸易)
  16035. type: number
  16036. basisupratio:
  16037. description: 浮动价基差上限比例(仓单贸易)
  16038. type: number
  16039. buychargealgorithm:
  16040. description: 买方手续费收取方式 1:比率 2:固定
  16041. type: integer
  16042. buychargealgorithm2:
  16043. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  16044. type: integer
  16045. buychargealgorithmvalue:
  16046. description: 买方手续费设置值(交易所部分)
  16047. type: number
  16048. buychargealgorithmvalue2:
  16049. description: 买方手续费设置值(会员部分)
  16050. type: number
  16051. buychargealgorithmvalue3:
  16052. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  16053. type: number
  16054. buychargealgorithmvalue4:
  16055. description: 回购买方手续费设置值(会员部分) --77:现货商城
  16056. type: number
  16057. buyfirstmarginalgorithm:
  16058. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  16059. type: integer
  16060. buyfirstmarginvalue:
  16061. description: 买方出价保证金设置值 - [竞拍]
  16062. type: number
  16063. buymarginalgorithm:
  16064. description: 买方保证金方式 - 1:比率 2:固定
  16065. type: integer
  16066. buymarginvalue:
  16067. description: 买方保证金设置值
  16068. type: number
  16069. buyreleaseratio:
  16070. description: 买方释放比率[2:分步履约]
  16071. type: number
  16072. executemode:
  16073. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  16074. type: integer
  16075. executeside:
  16076. description: 执行方[2:分步履约] - 1:买方 2:卖方
  16077. type: integer
  16078. failedchargealgorithm:
  16079. description: 流拍手续费收取方式 1:比率 2:固定
  16080. type: integer
  16081. failedchargevalue:
  16082. description: 流拍手续费设置值
  16083. type: number
  16084. failedchargevalue2:
  16085. description: 流拍卖方手续费设置值
  16086. type: number
  16087. holddays:
  16088. description: 合同期限[2:分步履约]
  16089. type: integer
  16090. marketid:
  16091. description: 市场ID-仓单贸易、竞拍、预售
  16092. type: integer
  16093. minqty:
  16094. description: 最小执行量[2:分步履约]
  16095. type: number
  16096. modifierid:
  16097. description: 修改人
  16098. type: integer
  16099. performancetempid:
  16100. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  16101. 立即执行(-1)
  16102. type: integer
  16103. performancetempid2:
  16104. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  16105. 立即执行
  16106. type: integer
  16107. performancetempid2s:
  16108. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  16109. - 履约方式: 立即执行
  16110. type: string
  16111. performancetempids:
  16112. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  16113. - 履约方式: 立即执行(-1)
  16114. type: string
  16115. performanceway:
  16116. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  16117. type: integer
  16118. sellchargealgorithm:
  16119. description: 卖方手续费收取方式 1:比率 2:固定
  16120. type: integer
  16121. sellchargealgorithm2:
  16122. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  16123. type: integer
  16124. sellchargealgorithmvalue:
  16125. description: 卖方手续费设置值(交易所部分)
  16126. type: number
  16127. sellchargealgorithmvalue2:
  16128. description: 卖方手续费设置值(会员部分)
  16129. type: number
  16130. sellchargealgorithmvalue3:
  16131. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  16132. type: number
  16133. sellchargealgorithmvalue4:
  16134. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  16135. type: number
  16136. sellmarginalgorithm:
  16137. description: 卖方保证金方式 - 1:比率 2:固定
  16138. type: integer
  16139. sellmarginvalue:
  16140. description: 卖方保证金设置值
  16141. type: number
  16142. sellmarginvalue2:
  16143. description: 卖方保证金设置值(无仓单)
  16144. type: number
  16145. sellreleaseratio:
  16146. description: 卖方释放比率[2:分步履约]
  16147. type: number
  16148. updatetime:
  16149. description: 更新时间
  16150. type: string
  16151. type: object
  16152. models.WrOrderDetail:
  16153. properties:
  16154. accountid:
  16155. description: 交易账号(资金账号)
  16156. type: integer
  16157. allfriendsflag:
  16158. description: 是否全好友可见 - 0:否 1:是
  16159. type: integer
  16160. amount:
  16161. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  16162. type: number
  16163. bannerpicurl:
  16164. description: Banner图
  16165. type: string
  16166. begindate:
  16167. description: 开始交易日(yyyymmdd)
  16168. type: string
  16169. buyorsell:
  16170. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16171. type: integer
  16172. canbargain:
  16173. description: 是否可议价 - 0:不可 1:可
  16174. type: integer
  16175. cancelqty:
  16176. description: 撤销数量
  16177. type: number
  16178. canpart:
  16179. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  16180. type: integer
  16181. delistminqty:
  16182. description: 起摘数量
  16183. type: integer
  16184. deliverygoodscode:
  16185. description: 品种代码
  16186. type: string
  16187. deliverygoodsid:
  16188. description: 品种ID
  16189. type: integer
  16190. deliverygoodsname:
  16191. description: 品种名称
  16192. type: string
  16193. deliverymonth:
  16194. description: 交收月
  16195. type: string
  16196. enddate:
  16197. description: 结束交易日(yyyymmdd)
  16198. type: string
  16199. enumdicname:
  16200. description: 单位名称
  16201. type: string
  16202. fixedprice:
  16203. description: 固定价格 - [挂牌]
  16204. type: number
  16205. freezecharge:
  16206. description: 冻结手续费
  16207. type: number
  16208. freezemargin:
  16209. description: 冻结保证金(保证金)
  16210. type: number
  16211. futupricemove:
  16212. description: 期货升贴水
  16213. type: number
  16214. futushow:
  16215. description: 期货合约/升贴水
  16216. type: string
  16217. goodscode:
  16218. description: 期货合约
  16219. type: string
  16220. goodsid:
  16221. description: 期货商品id
  16222. type: integer
  16223. goodsname:
  16224. description: 商品名称
  16225. type: string
  16226. haswr:
  16227. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16228. type: integer
  16229. isspecified:
  16230. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  16231. type: integer
  16232. ladingbillid:
  16233. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  16234. type: string
  16235. marginvalue:
  16236. description: 保证金设置值(履约保证金)
  16237. type: number
  16238. marketid:
  16239. description: 市场ID
  16240. type: integer
  16241. matchusername:
  16242. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  16243. type: string
  16244. minivalue:
  16245. description: 现货商品最小变动值
  16246. type: integer
  16247. optioncompare:
  16248. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16249. type: string
  16250. orderqty:
  16251. description: 委托数量
  16252. type: number
  16253. ordertime:
  16254. description: 委托时间(挂牌时间)
  16255. type: string
  16256. performancetemplateid:
  16257. description: 履约模板id
  16258. type: integer
  16259. pricemove:
  16260. description: 升贴水(浮动价时填写) - [挂牌]
  16261. type: number
  16262. taname:
  16263. description: 交易用户名称(资金账号名称)
  16264. type: string
  16265. thumurls:
  16266. description: 缩略图
  16267. type: string
  16268. tradedate:
  16269. description: 交易日(yyyyMMdd)
  16270. type: string
  16271. tradeprice:
  16272. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  16273. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  16274. type: number
  16275. tradeqty:
  16276. description: 成交数量
  16277. type: number
  16278. userid:
  16279. description: 用户ID
  16280. type: integer
  16281. validtime:
  16282. description: 挂牌有效期
  16283. type: string
  16284. validtype:
  16285. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  16286. type: integer
  16287. warehouseid:
  16288. description: 仓库ID
  16289. type: integer
  16290. warehousename:
  16291. description: 仓库名称
  16292. type: string
  16293. wrfactortypeid:
  16294. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16295. type: string
  16296. wrfactortypename:
  16297. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16298. type: string
  16299. wrpricetype:
  16300. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  16301. type: integer
  16302. wrstandardcode:
  16303. description: 现货商品代码
  16304. type: string
  16305. wrstandardid:
  16306. description: 现货商品ID
  16307. type: integer
  16308. wrstandardname:
  16309. description: 商品名称
  16310. type: string
  16311. wrtradeorderid:
  16312. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16313. type: string
  16314. wrtradeorderstatus:
  16315. 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:撤单解冻贷款失败
  16316. type: integer
  16317. wrtradetype:
  16318. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16319. type: integer
  16320. wrtypename:
  16321. description: 商品
  16322. type: string
  16323. type: object
  16324. models.WrOrderQuote:
  16325. properties:
  16326. bannerpicurl:
  16327. description: Banner图
  16328. type: string
  16329. buyprice:
  16330. description: 买价
  16331. type: number
  16332. buypricemove:
  16333. description: 买升贴水(基差)
  16334. type: number
  16335. buyqty:
  16336. description: 买量
  16337. type: number
  16338. deliverygoodscode:
  16339. description: 品种代码
  16340. type: string
  16341. deliverygoodsid:
  16342. description: 品种id
  16343. type: integer
  16344. deliverygoodsname:
  16345. description: 品种名称
  16346. type: string
  16347. deliverymonth:
  16348. description: 交收月
  16349. type: string
  16350. enumdicname:
  16351. description: 单位名称
  16352. type: string
  16353. goodscode:
  16354. description: 商品合约(浮动价列表才有)
  16355. type: string
  16356. goodsid:
  16357. description: 商品id(浮动价列表才有)
  16358. type: integer
  16359. minivalue:
  16360. description: 现货商品最小变动值
  16361. type: integer
  16362. pictureurls:
  16363. description: 详情图片(逗号分隔)
  16364. type: string
  16365. sellprice:
  16366. description: 卖价
  16367. type: number
  16368. sellpricemove:
  16369. description: 卖升贴水(基差)
  16370. type: number
  16371. sellqty:
  16372. description: 卖量
  16373. type: number
  16374. thumurls:
  16375. description: 缩略图片(1:1)(逗号分隔)
  16376. type: string
  16377. warehousecode:
  16378. description: 仓库代码
  16379. type: string
  16380. warehouseid:
  16381. description: 仓库id
  16382. type: integer
  16383. warehousename:
  16384. description: 仓库名称
  16385. type: string
  16386. wrfactortypeid:
  16387. description: 仓单要素id
  16388. type: string
  16389. wrfactortypename:
  16390. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16391. type: string
  16392. wrgoodsname:
  16393. description: 商品(商品名称+仓库要素名称 拼接)
  16394. type: string
  16395. wrstandardcode:
  16396. description: 商品代码
  16397. type: string
  16398. wrstandardid:
  16399. description: 商品id
  16400. type: integer
  16401. wrstandardname:
  16402. description: 商品名称
  16403. type: string
  16404. type: object
  16405. models.WrOrderQuoteDetail:
  16406. properties:
  16407. buyorsell:
  16408. description: 买卖 - 0:买 1:卖
  16409. type: integer
  16410. delistminqty:
  16411. description: 起摘数量
  16412. type: number
  16413. deliverymonth:
  16414. description: 交收月
  16415. type: string
  16416. enumdicname:
  16417. description: 单位名称
  16418. type: string
  16419. fixedprice:
  16420. description: 买(卖)价
  16421. type: number
  16422. marketid:
  16423. description: 市场id
  16424. type: integer
  16425. minivalue:
  16426. description: 现货商品最小变动值
  16427. type: integer
  16428. orderqty:
  16429. description: 买(卖)量(=委托量-成交量)
  16430. type: number
  16431. ordertime:
  16432. description: 委托时间
  16433. type: string
  16434. pricemove:
  16435. description: 买(卖)升贴水- 基差
  16436. type: number
  16437. userid:
  16438. description: 购买方(销售方)用户ID
  16439. type: integer
  16440. username:
  16441. description: 购买方(销售方)
  16442. type: string
  16443. wrtradeorderid:
  16444. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16445. type: string
  16446. type: object
  16447. models.WrOutInApply:
  16448. properties:
  16449. applyid:
  16450. description: 申请单id
  16451. type: string
  16452. applystatus:
  16453. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  16454. 8:已撤销
  16455. type: integer
  16456. applytime:
  16457. description: 申请时间
  16458. type: string
  16459. applytype:
  16460. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  16461. type: integer
  16462. bannerpicurl:
  16463. description: Banner图
  16464. type: string
  16465. begindate:
  16466. description: 开始交易日(yyyymmdd)
  16467. type: string
  16468. deliverygoodscode:
  16469. description: 品种代码
  16470. type: string
  16471. deliverygoodsid:
  16472. description: 品种ID
  16473. type: integer
  16474. deliverygoodsname:
  16475. description: 品种名称
  16476. type: string
  16477. enddate:
  16478. description: 结束交易日(yyyymmdd)
  16479. type: string
  16480. enumdicname:
  16481. description: 单位名称
  16482. type: string
  16483. expresscompany:
  16484. description: 物流公司
  16485. type: string
  16486. expressnum:
  16487. description: 物流单号
  16488. type: string
  16489. minivalue:
  16490. description: 现货商品最小变动值
  16491. type: integer
  16492. optioncompare:
  16493. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16494. type: string
  16495. qty:
  16496. description: 数量
  16497. type: integer
  16498. userid:
  16499. description: 用户id
  16500. type: integer
  16501. warehouseid:
  16502. description: 仓库ID
  16503. type: integer
  16504. warehousename:
  16505. description: 仓库名称
  16506. type: string
  16507. wrfactortypeid:
  16508. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16509. type: string
  16510. wrfactortypename:
  16511. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16512. type: string
  16513. wrstandardcode:
  16514. description: 现货商品代码
  16515. type: string
  16516. wrstandardid:
  16517. description: 现货商品ID
  16518. type: integer
  16519. wrstandardname:
  16520. description: 商品名称
  16521. type: string
  16522. wrtypename:
  16523. description: 商品
  16524. type: string
  16525. type: object
  16526. models.WrPerformancePlan:
  16527. properties:
  16528. activatemonth:
  16529. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  16530. type: string
  16531. amount:
  16532. description: 履约金额(总金额)
  16533. type: number
  16534. begindate:
  16535. description: 开始交易日(yyyymmdd)
  16536. type: string
  16537. buyaccountid:
  16538. description: 买方账号
  16539. type: integer
  16540. buyerfreezeamount:
  16541. description: 履约冻结(买履约)
  16542. type: number
  16543. buyerfreezeamountremain:
  16544. description: 履约冻结剩余(买履约)
  16545. type: number
  16546. buyorsell:
  16547. description: 买卖方向 0-买 1-卖
  16548. type: integer
  16549. buypaidamount:
  16550. description: 买方已冻/已扣金额 (已付金额)
  16551. type: number
  16552. buyusername:
  16553. description: 买方名字
  16554. type: string
  16555. contractid:
  16556. description: 合同ID
  16557. type: integer
  16558. createtime:
  16559. description: 创建时间
  16560. type: string
  16561. creatorid:
  16562. description: 创建人
  16563. type: integer
  16564. curstepdeadline:
  16565. description: 当前步骤到期时间
  16566. type: string
  16567. curstepid:
  16568. description: 当前步骤ID
  16569. type: string
  16570. curstepname:
  16571. description: 当前步骤名称
  16572. type: string
  16573. deliverygoodscode:
  16574. description: 品种代码
  16575. type: string
  16576. deliverygoodsid:
  16577. description: 品种ID
  16578. type: integer
  16579. deliverygoodsname:
  16580. description: 品种名称
  16581. type: string
  16582. enddate:
  16583. description: 结束交易日(yyyymmdd)
  16584. type: string
  16585. enumdicname:
  16586. description: 单位名称
  16587. type: string
  16588. expressfee:
  16589. description: 运费
  16590. type: number
  16591. expressfeeconfirmed:
  16592. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  16593. type: integer
  16594. hasovershort:
  16595. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  16596. type: integer
  16597. haswr:
  16598. description: 类型 0-仓单预售 1-仓单贸易
  16599. type: integer
  16600. marketid:
  16601. description: 市场ID
  16602. type: integer
  16603. middleaccountid:
  16604. description: 中间商资金账号ID
  16605. type: integer
  16606. middleuserid:
  16607. description: 中间商用户ID
  16608. type: integer
  16609. minivalue:
  16610. description: 现货商品最小变动值
  16611. type: integer
  16612. optioncompare:
  16613. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16614. type: string
  16615. overshortamount:
  16616. description: 溢短金额
  16617. type: number
  16618. overshortqty:
  16619. description: 溢短数量
  16620. type: number
  16621. paymenttype:
  16622. description: 付款方式 - 1:冻结 2:扣款
  16623. type: integer
  16624. performanceplanid:
  16625. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  16626. type: string
  16627. performancestatus:
  16628. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  16629. 9:超时待处理 10:超时关闭
  16630. type: integer
  16631. performancetype:
  16632. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  16633. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  16634. type: integer
  16635. qty:
  16636. description: 履约数量
  16637. type: number
  16638. relatedorderid:
  16639. description: 关联单号(履约类型的关联单号)
  16640. type: string
  16641. remark:
  16642. description: 备注
  16643. type: string
  16644. sellaccountid:
  16645. description: 卖方账号
  16646. type: integer
  16647. sellerfreezeamount:
  16648. description: 履约冻结(卖履约)
  16649. type: number
  16650. sellerfreezeamountremain:
  16651. description: 履约冻结剩余(卖履约)
  16652. type: number
  16653. sellreceivedamount:
  16654. description: 卖方已收金额
  16655. type: number
  16656. sellusername:
  16657. description: 卖方名字
  16658. type: string
  16659. shipremark:
  16660. description: 发货备注[物流单号]
  16661. type: string
  16662. starttime:
  16663. description: 开始时间
  16664. type: string
  16665. steptypeid:
  16666. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  16667. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16668. type: integer
  16669. typename:
  16670. description: 履约类型 名称
  16671. type: string
  16672. unpaidamount:
  16673. description: 剩余款(待支付金额)
  16674. type: number
  16675. userid:
  16676. description: 用户id
  16677. type: integer
  16678. warehouseid:
  16679. description: 仓库ID
  16680. type: integer
  16681. warehousename:
  16682. description: 仓库名称
  16683. type: string
  16684. wrfactortypeid:
  16685. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16686. type: string
  16687. wrfactortypename:
  16688. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16689. type: string
  16690. wrstandardcode:
  16691. description: 现货商品代码
  16692. type: string
  16693. wrstandardid:
  16694. description: 现货商品ID
  16695. type: integer
  16696. wrstandardname:
  16697. description: 商品名称
  16698. type: string
  16699. wrtransferuserid:
  16700. description: 仓单受让用户
  16701. type: integer
  16702. wrtypename:
  16703. description: 商品
  16704. type: string
  16705. required:
  16706. - userid
  16707. type: object
  16708. models.WrPerformancePlanStep:
  16709. properties:
  16710. delaydays:
  16711. description: 延期申请天数
  16712. type: integer
  16713. deliverygoodscode:
  16714. description: 品种代码
  16715. type: string
  16716. deliverygoodsid:
  16717. description: 品种ID
  16718. type: integer
  16719. deliverygoodsname:
  16720. description: 品种名称
  16721. type: string
  16722. endtime:
  16723. description: 结束日期
  16724. type: string
  16725. enumdicname:
  16726. description: 单位名称
  16727. type: string
  16728. executeside:
  16729. description: 步骤执行方 - 1:买方 2:卖方
  16730. type: integer
  16731. handlestatus:
  16732. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  16733. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  16734. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  16735. type: integer
  16736. isauto:
  16737. description: 是否自动 - 0:不自动 1:自动
  16738. type: integer
  16739. islastreceivestep:
  16740. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  16741. type: integer
  16742. minivalue:
  16743. description: 现货商品最小变动值
  16744. type: integer
  16745. optioncompare:
  16746. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16747. type: string
  16748. overdays:
  16749. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  16750. type: integer
  16751. performancestepid:
  16752. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  16753. type: string
  16754. planid:
  16755. description: 所属履约计划ID
  16756. type: string
  16757. realamount:
  16758. description: 实际完成金额
  16759. type: number
  16760. relatedorderid:
  16761. description: 关联单号
  16762. type: string
  16763. remaindays:
  16764. description: 剩余天数
  16765. type: integer
  16766. remark:
  16767. description: 错误备注
  16768. type: string
  16769. starttime:
  16770. description: 开始日期
  16771. type: string
  16772. stepamount:
  16773. description: 步骤金额
  16774. type: number
  16775. stepdays:
  16776. description: 距离上一步天数(分钟)
  16777. type: integer
  16778. stepindex:
  16779. description: 步骤序号
  16780. type: integer
  16781. steplanchtype:
  16782. description: 步骤启动类型 - 1:系统自动 2:手动
  16783. type: integer
  16784. stepremark:
  16785. description: 步骤备注
  16786. type: string
  16787. stepstatus:
  16788. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  16789. type: integer
  16790. steptypeid:
  16791. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  16792. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16793. type: integer
  16794. steptypename:
  16795. description: 步骤名称
  16796. type: string
  16797. stepvalue:
  16798. description: 步骤值
  16799. type: number
  16800. warehouseid:
  16801. description: 仓库ID
  16802. type: integer
  16803. warehousename:
  16804. description: 仓库名称
  16805. type: string
  16806. wrfactortypeid:
  16807. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16808. type: string
  16809. wrfactortypename:
  16810. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16811. type: string
  16812. wrstandardcode:
  16813. description: 现货商品代码
  16814. type: string
  16815. wrstandardid:
  16816. description: 现货商品ID
  16817. type: integer
  16818. wrstandardname:
  16819. description: 商品名称
  16820. type: string
  16821. wrtypename:
  16822. description: 商品
  16823. type: string
  16824. type: object
  16825. models.WrPerformanceStepType:
  16826. properties:
  16827. canauto:
  16828. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  16829. type: integer
  16830. steptypeid:
  16831. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  16832. type: integer
  16833. steptypename:
  16834. description: 步骤类型名称
  16835. type: string
  16836. type: object
  16837. models.WrPerformanceTemplateEx:
  16838. properties:
  16839. autoid:
  16840. description: AutoID 模板id
  16841. type: integer
  16842. createtime:
  16843. description: 创建时间
  16844. type: string
  16845. creatorid:
  16846. description: 创建人
  16847. type: integer
  16848. lstStep:
  16849. description: 步骤信息列表
  16850. items:
  16851. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  16852. type: array
  16853. paymenttype:
  16854. description: 支付方式 - 1:冻结 2:扣款
  16855. type: integer
  16856. takemode:
  16857. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  16858. type: integer
  16859. templatename:
  16860. description: 模板名称
  16861. type: string
  16862. templatetype:
  16863. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  16864. (无仓单) 5:挂牌期权 6:竞拍-降价式
  16865. type: integer
  16866. userid:
  16867. description: 所属用户
  16868. type: integer
  16869. type: object
  16870. models.WrPosition:
  16871. properties:
  16872. accountid:
  16873. description: 帐户ID
  16874. type: integer
  16875. buyexcuteqty:
  16876. description: 采购履约中数量
  16877. type: number
  16878. creditcurqty:
  16879. description: 授信当前数量(预售仓单:预售当前量)
  16880. type: number
  16881. creditenableqty:
  16882. description: '授信可用数量(预售仓单: 可用数量)'
  16883. type: number
  16884. creditfreezeqty:
  16885. description: '授信冻结数量(预售仓单: 当前数量)'
  16886. type: number
  16887. credittotalqty:
  16888. description: 授信总数量(预售仓单:预售总量)
  16889. type: number
  16890. credittradeqty:
  16891. description: 授信成交数量(预售仓单:成交总量)
  16892. type: number
  16893. deliverygoodscode:
  16894. description: 品种代码
  16895. type: string
  16896. deliverygoodsid:
  16897. description: 品种ID
  16898. type: integer
  16899. deliverygoodsname:
  16900. description: 品种名称
  16901. type: string
  16902. enalbeqty:
  16903. description: 可用数量
  16904. type: number
  16905. enumdicname:
  16906. description: 单位名称
  16907. type: string
  16908. freezeqty:
  16909. description: 总冻结数量
  16910. type: number
  16911. haswr:
  16912. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16913. type: integer
  16914. minivalue:
  16915. description: 现货商品最小变动值
  16916. type: integer
  16917. modifytime:
  16918. description: 修改时间(过户时间)
  16919. type: string
  16920. optioncompare:
  16921. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16922. type: string
  16923. pledgeqty:
  16924. description: 质押数量
  16925. type: number
  16926. querytype:
  16927. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  16928. type: integer
  16929. sellexcuteqty:
  16930. description: 销售履约中数量
  16931. type: number
  16932. totalqty:
  16933. description: 总数量(库存数量)
  16934. type: number
  16935. warehouseid:
  16936. description: 仓库ID
  16937. type: integer
  16938. warehousename:
  16939. description: 仓库名称
  16940. type: string
  16941. wrfactortypeid:
  16942. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16943. type: string
  16944. wrfactortypename:
  16945. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16946. type: string
  16947. wrpositionid:
  16948. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  16949. type: string
  16950. wrpositionno:
  16951. description: 仓单编号
  16952. type: string
  16953. wrstandardcode:
  16954. description: 现货商品代码
  16955. type: string
  16956. wrstandardid:
  16957. description: 现货商品ID
  16958. type: integer
  16959. wrstandardname:
  16960. description: 商品名称
  16961. type: string
  16962. wrtypename:
  16963. description: 商品
  16964. type: string
  16965. wruserid:
  16966. description: 持有人ID
  16967. type: integer
  16968. type: object
  16969. models.WrPreSaleInfo:
  16970. properties:
  16971. bannerpicurl:
  16972. description: Banner图
  16973. type: string
  16974. baseqty:
  16975. description: 中签基数
  16976. type: number
  16977. createtime:
  16978. description: 创建时间
  16979. type: string
  16980. deliverygoodsid:
  16981. description: 现货品种ID
  16982. type: integer
  16983. enddate:
  16984. description: 预售结束日期
  16985. type: string
  16986. enumdicname:
  16987. description: 单位名称
  16988. type: string
  16989. lotteryflag:
  16990. description: 摇号标识 - 0:未摇号 1:已摇号
  16991. type: integer
  16992. lotteryqty:
  16993. description: 摇号总量
  16994. type: number
  16995. luckyqty:
  16996. description: 已中签量
  16997. type: number
  16998. marketid:
  16999. description: 市场ID
  17000. type: integer
  17001. maxbuyqty:
  17002. description: 单人最大申购量
  17003. type: number
  17004. maxluckyqty:
  17005. description: 单人最大中签量
  17006. type: number
  17007. pictureurls:
  17008. description: 详情图片(逗号分隔)
  17009. type: string
  17010. placeqty:
  17011. description: 已配售量
  17012. type: number
  17013. presaleapplyid:
  17014. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  17015. example: "0"
  17016. type: string
  17017. presaleqty:
  17018. description: 预售总量
  17019. type: number
  17020. presalestatus:
  17021. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  17022. type: integer
  17023. sellaccountid:
  17024. description: 发行方资金账户ID
  17025. type: integer
  17026. selluserid:
  17027. description: 发行方用户ID
  17028. type: integer
  17029. sellwrtradeorderid:
  17030. description: 发行方卖委托单ID
  17031. type: string
  17032. startdate:
  17033. description: 预售开始日期
  17034. type: string
  17035. takestartdate:
  17036. description: 提货开始日期
  17037. type: string
  17038. thumurls:
  17039. description: 缩略图片(1:1)(逗号分隔)
  17040. type: string
  17041. tradedate:
  17042. description: 交易日
  17043. type: string
  17044. unitid:
  17045. description: 单位ID
  17046. type: integer
  17047. unitprice:
  17048. description: 商品单价
  17049. type: number
  17050. username:
  17051. description: 发行方用户名称
  17052. type: string
  17053. warehousecode:
  17054. description: 仓库代码(仓库简称)
  17055. type: string
  17056. warehouseid:
  17057. description: 仓库ID
  17058. type: integer
  17059. warehousename:
  17060. description: 仓库名称
  17061. type: string
  17062. wrfactortypeid:
  17063. description: 仓单要素类型ID - 根据现货商品\仓库生成
  17064. example: "0"
  17065. type: string
  17066. wrstandardid:
  17067. description: 现货商品ID
  17068. type: integer
  17069. wrstandardname:
  17070. description: 现货商品名称
  17071. type: string
  17072. type: object
  17073. models.WrQuoteOrderMyq:
  17074. properties:
  17075. buyorsell:
  17076. description: 买卖 - 0:买 1:卖
  17077. type: integer
  17078. canbargain:
  17079. description: 是否可议价 - 0:不可 1:可
  17080. type: integer
  17081. canpart:
  17082. description: 是否允许部份摘牌 - 0:不允许 1:允许
  17083. type: integer
  17084. delistminqty:
  17085. description: 起摘数量
  17086. type: number
  17087. deliverygoodscode:
  17088. description: 品种代码
  17089. type: string
  17090. deliverygoodsid:
  17091. description: 品种ID
  17092. type: integer
  17093. deliverygoodsname:
  17094. description: 品种名称
  17095. type: string
  17096. deliverymonth:
  17097. description: 交收月
  17098. type: string
  17099. enumdicname:
  17100. description: 单位名称
  17101. type: string
  17102. fixedprice:
  17103. description: 买(卖)价
  17104. type: number
  17105. goodscode:
  17106. description: 商品合约代码
  17107. type: string
  17108. marginflag:
  17109. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  17110. type: integer
  17111. marginvalue:
  17112. description: 保证金设置值
  17113. type: number
  17114. minivalue:
  17115. description: 现货商品最小变动值
  17116. type: integer
  17117. orderqty:
  17118. description: 买(卖)量(=委托量-成交量)
  17119. type: number
  17120. ordertime:
  17121. description: 委托时间
  17122. type: string
  17123. performancetemplateid:
  17124. description: 履约模板id
  17125. type: integer
  17126. pricemove:
  17127. description: 买(卖)升贴水- 基差
  17128. type: number
  17129. templatename:
  17130. description: 履约模板名称
  17131. type: string
  17132. userid:
  17133. description: 购买方(销售方)用户ID
  17134. type: integer
  17135. username:
  17136. description: 购买方(销售方)
  17137. type: string
  17138. validtime:
  17139. description: 有效期限
  17140. type: string
  17141. validtype:
  17142. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  17143. type: integer
  17144. warehousename:
  17145. description: 仓库名称
  17146. type: string
  17147. wrfactortypeid:
  17148. description: 仓单要素id
  17149. type: string
  17150. wrstandardcode:
  17151. description: 现货商品代码
  17152. type: string
  17153. wrstandardid:
  17154. description: 现货商品ID
  17155. type: integer
  17156. wrstandardname:
  17157. description: 商品名称
  17158. type: string
  17159. wrtradeorderid:
  17160. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  17161. type: string
  17162. wrtypename:
  17163. description: 商品
  17164. type: string
  17165. type: object
  17166. models.WrReckonSpotGoodsTradeSum:
  17167. properties:
  17168. begindate:
  17169. description: 开始日期(结果含开始日期) yyyymmdd
  17170. type: string
  17171. enddate:
  17172. description: 结束日期(结果含结束日期) yyyymmdd
  17173. type: string
  17174. marketid:
  17175. description: 市场ID
  17176. type: integer
  17177. price:
  17178. description: 价格 = 日成交金额 / 日成交数量
  17179. type: string
  17180. reckondate:
  17181. description: 日期 格式 yyyymmdd
  17182. type: string
  17183. tradeamount:
  17184. description: 日成交金额(当日单方向成交金额)
  17185. type: number
  17186. tradeqty:
  17187. description: 日成交数量(当日单方向成交数量)
  17188. type: number
  17189. wrstandardid:
  17190. description: 现货商品ID
  17191. type: integer
  17192. type: object
  17193. models.WrScfContract:
  17194. properties:
  17195. borroweruserid:
  17196. description: 借款用户ID
  17197. type: integer
  17198. buybackwrpositionqty:
  17199. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  17200. type: number
  17201. closeinterest:
  17202. description: 已结利息 -> 已结费用
  17203. type: number
  17204. currisklevel:
  17205. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  17206. type: integer
  17207. deadline:
  17208. description: 截止日期(yyyyMMdd) -> 借款到期时间
  17209. type: string
  17210. deliverygoodscode:
  17211. description: 品种代码
  17212. type: string
  17213. deliverygoodsid:
  17214. description: 品种ID
  17215. type: integer
  17216. deliverygoodsname:
  17217. description: 品种名称
  17218. type: string
  17219. enumdicname:
  17220. description: 单位名称
  17221. type: string
  17222. financingdays:
  17223. description: 天数(天)
  17224. type: integer
  17225. initmargin:
  17226. description: 保证金 - [仓单回购]
  17227. type: number
  17228. interestamount:
  17229. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  17230. type: number
  17231. interestdebt:
  17232. description: 利息欠款(记录负数) -> 费用欠款
  17233. type: number
  17234. interestminlen:
  17235. description: 最小起息天数
  17236. type: integer
  17237. interestrate:
  17238. description: 利率
  17239. type: number
  17240. interestratemode:
  17241. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  17242. type: integer
  17243. interestsettlemode:
  17244. description: 结息方式 - 1:按日结息 3:按月结息
  17245. type: integer
  17246. interestsettlevalue:
  17247. description: 结息方式值
  17248. type: integer
  17249. isautoloan:
  17250. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  17251. type: integer
  17252. lastcloseinterestday:
  17253. description: 最近结息日(yyyyMMdd)
  17254. type: string
  17255. lenderamount:
  17256. description: 贷款金额 -> 借款金额
  17257. type: number
  17258. lenderuserid:
  17259. description: 贷款方用户ID -> 融出方用户ID
  17260. type: integer
  17261. lenderusername:
  17262. description: 融出方
  17263. type: string
  17264. marginratio:
  17265. description: 保证金比率质押率 - [仓单质押]
  17266. type: number
  17267. marketid:
  17268. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  17269. type: integer
  17270. minivalue:
  17271. description: 现货商品最小变动值
  17272. type: integer
  17273. optioncompare:
  17274. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17275. type: string
  17276. pricemove:
  17277. description: 估值升贴水值
  17278. type: number
  17279. productdetailid:
  17280. description: 产品组合ID
  17281. type: integer
  17282. productid:
  17283. description: 金融产品ID
  17284. type: integer
  17285. productname:
  17286. description: 产品名称
  17287. type: string
  17288. remainamount:
  17289. description: 合同剩余金额 -> 剩余金额
  17290. type: number
  17291. remainwrpositionqty:
  17292. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  17293. type: number
  17294. remark:
  17295. description: 备注
  17296. type: string
  17297. scfcontractid:
  17298. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  17299. type: string
  17300. scfcontractstatus:
  17301. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  17302. 9:违约结束 10:已注销 11:已关闭 99:未提交
  17303. type: integer
  17304. scfcontracttype:
  17305. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  17306. type: integer
  17307. startinterestday:
  17308. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  17309. type: string
  17310. totalinterest:
  17311. description: 已计利息 -> 已计费用
  17312. type: number
  17313. unpaidinterest:
  17314. description: 未结费用
  17315. type: number
  17316. updatetime:
  17317. description: 更新时间
  17318. type: string
  17319. warehouseid:
  17320. description: 仓库ID
  17321. type: integer
  17322. warehousename:
  17323. description: 仓库名称
  17324. type: string
  17325. wrfactortypeid:
  17326. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17327. type: string
  17328. wrfactortypename:
  17329. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17330. type: string
  17331. wrqty:
  17332. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  17333. type: number
  17334. wrstandardcode:
  17335. description: 现货商品代码
  17336. type: string
  17337. wrstandardid:
  17338. description: 现货商品ID
  17339. type: integer
  17340. wrstandardname:
  17341. description: 商品名称
  17342. type: string
  17343. wrtypename:
  17344. description: 商品
  17345. type: string
  17346. type: object
  17347. models.WrScfContractInterest:
  17348. properties:
  17349. closeinterest:
  17350. description: 已结利息
  17351. type: number
  17352. closeintereststatus:
  17353. description: 结息状态 - 1:未结 2:已结
  17354. type: integer
  17355. closetime:
  17356. description: 结息时间
  17357. type: string
  17358. closetradedate:
  17359. description: 结息交易日
  17360. type: string
  17361. creatorid:
  17362. description: 操作人ID
  17363. type: integer
  17364. dayrate:
  17365. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  17366. type: number
  17367. interest:
  17368. description: 利息
  17369. type: number
  17370. interestamount:
  17371. description: 计息金额
  17372. type: number
  17373. interestday:
  17374. description: 计息日(yyyyMMdd)
  17375. type: string
  17376. scfcontractid:
  17377. description: SCF合同ID
  17378. type: string
  17379. scfcontractinterestid:
  17380. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  17381. type: integer
  17382. updatetime:
  17383. description: 更新时间
  17384. type: string
  17385. type: object
  17386. models.WrSearchUser:
  17387. properties:
  17388. userid:
  17389. description: 用户ID
  17390. type: integer
  17391. username:
  17392. description: 用户名称(已脱敏)
  17393. type: string
  17394. username2:
  17395. description: 用户名称(未脱敏)
  17396. type: string
  17397. usertype:
  17398. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  17399. type: integer
  17400. required:
  17401. - username
  17402. type: object
  17403. models.WrSiteColumnDetail:
  17404. properties:
  17405. brief:
  17406. description: 简介
  17407. type: string
  17408. context:
  17409. description: 内容
  17410. type: string
  17411. coverimage:
  17412. description: 封面图片
  17413. type: string
  17414. creaedate:
  17415. description: 创建时间
  17416. type: string
  17417. id:
  17418. description: ID(SEQ_SITE_COLUMNDETAIL)
  17419. type: integer
  17420. istop:
  17421. description: 是否置顶 - 0:不置 1:置顶
  17422. type: integer
  17423. publishdate:
  17424. description: 发布日期
  17425. type: string
  17426. title:
  17427. description: 标题
  17428. type: string
  17429. updatedate:
  17430. description: 修改时间
  17431. type: string
  17432. type: object
  17433. models.WrSpecialMatchOrder:
  17434. properties:
  17435. amount:
  17436. description: 金额 = 数量 * 价格
  17437. type: number
  17438. buyorsell:
  17439. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  17440. type: integer
  17441. cancelqty:
  17442. description: 撤销数量
  17443. type: number
  17444. deliverygoodscode:
  17445. description: 品种代码
  17446. type: string
  17447. deliverygoodsid:
  17448. description: 品种ID
  17449. type: integer
  17450. deliverygoodsname:
  17451. description: 品种名称
  17452. type: string
  17453. enumdicname:
  17454. description: 单位名称
  17455. type: string
  17456. fixedprice:
  17457. description: 固定价格(价格)
  17458. type: number
  17459. haswr:
  17460. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  17461. type: integer
  17462. isspecified:
  17463. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  17464. type: integer
  17465. marketid:
  17466. description: 市场ID
  17467. type: integer
  17468. matchuserid:
  17469. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  17470. type: integer
  17471. matchusername:
  17472. description: 指定方
  17473. type: string
  17474. minivalue:
  17475. description: 现货商品最小变动值
  17476. type: integer
  17477. optioncompare:
  17478. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17479. type: string
  17480. orderqty:
  17481. description: 委托数量
  17482. type: number
  17483. ordertime:
  17484. description: 委托时间
  17485. type: string
  17486. pricemove:
  17487. description: 升贴水(浮动价时填写) - [挂牌]
  17488. type: number
  17489. tradedate:
  17490. description: 交易日(yyyyMMdd)
  17491. type: string
  17492. tradeprice:
  17493. description: 成交价格
  17494. type: number
  17495. tradeqty:
  17496. description: 成交数量
  17497. type: number
  17498. userid:
  17499. description: 用户ID
  17500. type: integer
  17501. username:
  17502. description: 发起方
  17503. type: string
  17504. warehouseid:
  17505. description: 仓库ID
  17506. type: integer
  17507. warehousename:
  17508. description: 仓库名称
  17509. type: string
  17510. wrfactortypeid:
  17511. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17512. type: string
  17513. wrfactortypename:
  17514. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17515. type: string
  17516. wrpricetype:
  17517. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  17518. type: integer
  17519. wrstandardcode:
  17520. description: 现货商品代码
  17521. type: string
  17522. wrstandardid:
  17523. description: 现货商品ID
  17524. type: integer
  17525. wrstandardname:
  17526. description: 商品名称
  17527. type: string
  17528. wrtradeorderid:
  17529. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  17530. type: string
  17531. wrtradeorderstatus:
  17532. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  17533. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  17534. type: integer
  17535. wrtradetype:
  17536. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  17537. type: integer
  17538. wrtypename:
  17539. description: 商品
  17540. type: string
  17541. type: object
  17542. models.WrSpotGroupTradeSum:
  17543. properties:
  17544. deliverygoodscode:
  17545. description: 现货品种代码
  17546. type: string
  17547. deliverygoodsid:
  17548. description: 现货品种ID(SEQ_DELIVERYGOODS)
  17549. type: integer
  17550. deliverygoodsname:
  17551. description: 现货品种名称
  17552. type: string
  17553. lastavgprice:
  17554. description: 上上个交易日价格(前2天价格)
  17555. type: string
  17556. lastreckondate:
  17557. description: 上上个交易日(前2天交易日)
  17558. type: string
  17559. reckondate:
  17560. description: 上个交易日(前1天交易日)
  17561. type: string
  17562. todayavgprice:
  17563. description: 上个交易日价格(前1天价格)
  17564. type: string
  17565. updown:
  17566. description: 涨跌
  17567. type: string
  17568. updownratio:
  17569. description: 涨幅(已格式化, 直接显示即可)
  17570. type: string
  17571. type: object
  17572. models.WrSpotGroupTradeSumDetail:
  17573. properties:
  17574. deliverygoodsid:
  17575. description: 现货商品id
  17576. type: integer
  17577. price:
  17578. description: 价格
  17579. type: number
  17580. reckondate:
  17581. description: 日期(yyymmdd, 如:20211031)
  17582. type: string
  17583. type: object
  17584. models.WrSpotGroupTradeSumEx:
  17585. properties:
  17586. lst:
  17587. description: 指数列表
  17588. items:
  17589. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  17590. type: array
  17591. prereckondate:
  17592. description: 上上个交易日(yyymmdd)
  17593. type: string
  17594. reckondate:
  17595. description: 上个交易日(yyyymmdd)
  17596. type: string
  17597. type: object
  17598. models.WrStandardFactoryItem:
  17599. properties:
  17600. dgfactoryitemid:
  17601. description: 选择项id
  17602. type: integer
  17603. dgfactoryitemvalue:
  17604. description: 要素项值
  17605. type: string
  17606. warehouseid:
  17607. description: 仓库id
  17608. type: integer
  17609. type: object
  17610. models.WrStandardFactoryItemEx:
  17611. properties:
  17612. dgfactoryitemtypeid:
  17613. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  17614. type: integer
  17615. itemlst:
  17616. description: 要素项列表
  17617. items:
  17618. $ref: '#/definitions/models.WrStandardFactoryItem'
  17619. type: array
  17620. itemtypename:
  17621. description: 要素项类型名称
  17622. type: string
  17623. wrstandardid:
  17624. description: 品类
  17625. type: integer
  17626. type: object
  17627. models.WrTradeDetail:
  17628. properties:
  17629. accountid:
  17630. description: 资金账号
  17631. type: integer
  17632. bannerpicurl:
  17633. description: Banner图
  17634. type: string
  17635. begindate:
  17636. description: 开始交易日(yyyymmdd)
  17637. type: string
  17638. buyorsell:
  17639. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  17640. type: integer
  17641. chargevalue:
  17642. description: 手续费
  17643. type: number
  17644. deliverygoodscode:
  17645. description: 品种代码
  17646. type: string
  17647. deliverygoodsid:
  17648. description: 品种ID
  17649. type: integer
  17650. deliverygoodsname:
  17651. description: 品种名称
  17652. type: string
  17653. deliverymonth:
  17654. description: 交收月
  17655. type: string
  17656. enddate:
  17657. description: 结束交易日(yyyymmdd)
  17658. type: string
  17659. enumdicname:
  17660. description: 单位名称
  17661. type: string
  17662. haswr:
  17663. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  17664. type: integer
  17665. marketid:
  17666. description: 市场ID
  17667. type: integer
  17668. matchaccountid:
  17669. description: 对手账号
  17670. type: integer
  17671. matchusername:
  17672. description: 对手方
  17673. type: string
  17674. minivalue:
  17675. description: 现货商品最小变动值
  17676. type: integer
  17677. optioncompare:
  17678. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17679. type: string
  17680. thumurls:
  17681. description: 缩略图
  17682. type: string
  17683. tradedate:
  17684. description: 交易日(yyyyMMdd)
  17685. type: string
  17686. tradeprice:
  17687. description: 成交价格
  17688. type: number
  17689. tradeqty:
  17690. description: 成交数量
  17691. type: number
  17692. tradetime:
  17693. description: 成交时间
  17694. type: string
  17695. userid:
  17696. description: 用户ID
  17697. type: integer
  17698. warehouseid:
  17699. description: 仓库ID
  17700. type: integer
  17701. warehousename:
  17702. description: 仓库名称
  17703. type: string
  17704. wrfactortypeid:
  17705. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17706. type: string
  17707. wrfactortypename:
  17708. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17709. type: string
  17710. wrstandardcode:
  17711. description: 现货商品代码
  17712. type: string
  17713. wrstandardid:
  17714. description: 现货商品ID
  17715. type: integer
  17716. wrstandardname:
  17717. description: 商品名称
  17718. type: string
  17719. wrtradedetailid:
  17720. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  17721. type: string
  17722. wrtradetype:
  17723. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  17724. type: integer
  17725. wrtypename:
  17726. description: 商品
  17727. type: string
  17728. type: object
  17729. models.WrTradeOrderDetail:
  17730. properties:
  17731. buyorsell:
  17732. description: 买卖方向 0-买 1-卖
  17733. type: integer
  17734. goodsid:
  17735. description: 商品id
  17736. type: integer
  17737. orderid:
  17738. description: 委托单号
  17739. type: string
  17740. orderprice:
  17741. description: 委托价格
  17742. type: number
  17743. orderqty:
  17744. description: 委托数量
  17745. type: integer
  17746. userid:
  17747. description: 用户id
  17748. type: integer
  17749. username:
  17750. description: 用户名称(已脱敏)
  17751. type: string
  17752. type: object
  17753. models.WrTypeItem:
  17754. properties:
  17755. name:
  17756. description: 名称
  17757. type: string
  17758. value:
  17759. description: 值
  17760. type: string
  17761. type: object
  17762. models.WrUserFriend:
  17763. properties:
  17764. friendname:
  17765. description: 朋友名称(已脱敏)
  17766. type: string
  17767. frienduserid:
  17768. description: 朋友id
  17769. type: integer
  17770. isfriend:
  17771. description: 是否好友 0-不是 1-是
  17772. type: integer
  17773. userid:
  17774. description: 用户id
  17775. type: integer
  17776. type: object
  17777. models.WrUserReceiptInfo:
  17778. properties:
  17779. address:
  17780. description: 地址[发票类型:企业]
  17781. type: string
  17782. autoid:
  17783. description: AutoID
  17784. type: integer
  17785. contactinfo:
  17786. description: 联系方式
  17787. type: string
  17788. idnum:
  17789. description: 身份证号码[发票类型:个人]
  17790. type: string
  17791. isdefault:
  17792. description: 是否默认地址 - 0:否 1:是
  17793. type: integer
  17794. receiptaccount:
  17795. description: 发票帐号[发票类型:企业]
  17796. type: string
  17797. receiptbank:
  17798. description: 发票开户行[发票类型:企业]
  17799. type: string
  17800. receipttype:
  17801. description: 发票类型 - 1:个人 2:企业
  17802. type: integer
  17803. taxpayerid:
  17804. description: 纳税人识别号
  17805. type: string
  17806. userid:
  17807. description: 用户ID
  17808. type: integer
  17809. username:
  17810. description: 户名(个人姓名或企业名称)
  17811. type: string
  17812. type: object
  17813. models.XHBRAND:
  17814. properties:
  17815. brandid:
  17816. description: 品牌id
  17817. type: integer
  17818. brandname:
  17819. description: 品牌名称
  17820. type: string
  17821. isvalid:
  17822. description: 是否有效 0-无效 1-有效
  17823. type: integer
  17824. type: object
  17825. models.XHDeliveryGoods:
  17826. properties:
  17827. areauserid:
  17828. description: 所属机构
  17829. type: integer
  17830. bdlst:
  17831. description: 品牌列表
  17832. items:
  17833. $ref: '#/definitions/models.XHBRAND'
  17834. type: array
  17835. deliverygoodscode:
  17836. description: 现货品种代码
  17837. type: string
  17838. deliverygoodsid:
  17839. description: 现货品种ID(SEQ_DELIVERYGOODS)
  17840. type: integer
  17841. deliverygoodsname:
  17842. description: 现货品种名称
  17843. type: string
  17844. dgstatus:
  17845. description: 品种状态 - 作废 - 0:未激活 1:正常
  17846. type: integer
  17847. filterSubEmpty:
  17848. description: 过滤下级为空的
  17849. type: integer
  17850. isvalid:
  17851. description: 是否有效 - 0:无效 1:有效
  17852. type: integer
  17853. remark:
  17854. description: 备注
  17855. type: string
  17856. unitid:
  17857. description: 单位id(目前看,数据库中是空值)
  17858. type: integer
  17859. wdlst:
  17860. description: 品类(现货商品)列表
  17861. items:
  17862. $ref: '#/definitions/models.XHWrstandard'
  17863. type: array
  17864. type: object
  17865. models.XHMiddleGoods:
  17866. properties:
  17867. GPLST:
  17868. description: 期货品种列表
  17869. items:
  17870. $ref: '#/definitions/models.TBGoodsGroup'
  17871. type: array
  17872. convertratio:
  17873. description: 拆算系数
  17874. type: number
  17875. costratio:
  17876. description: 成本权重
  17877. type: number
  17878. deliverygoodsid:
  17879. description: 现货商品id
  17880. type: integer
  17881. enumdicname:
  17882. description: 单位名称
  17883. type: string
  17884. middlegoodscode:
  17885. description: 套保品种代码
  17886. type: string
  17887. middlegoodsid:
  17888. description: 套保品种id
  17889. type: integer
  17890. middlegoodsname:
  17891. description: 套保品种名称
  17892. type: string
  17893. unitid:
  17894. description: 单位id
  17895. type: integer
  17896. type: object
  17897. models.XHWrstandard:
  17898. properties:
  17899. bannerpicurl:
  17900. description: banner图
  17901. type: string
  17902. deliverygoodsid:
  17903. description: 品种ID
  17904. type: integer
  17905. enumdicname:
  17906. description: 单位名称
  17907. type: string
  17908. mglst:
  17909. description: 套保品列表
  17910. items:
  17911. $ref: '#/definitions/models.XHMiddleGoods'
  17912. type: array
  17913. pictureurls:
  17914. description: 详情图片(逗号分隔)
  17915. type: string
  17916. thumurls:
  17917. description: 缩略图片(1:1)(逗号分隔)
  17918. type: string
  17919. unitid:
  17920. description: 单位id
  17921. type: integer
  17922. vatrate:
  17923. description: 增值税率
  17924. type: number
  17925. wrstandardcode:
  17926. description: 现货商品代码
  17927. type: string
  17928. wrstandardid:
  17929. description: 现货商品ID(SEQ_WRSTANDARD)
  17930. type: integer
  17931. wrstandardname:
  17932. description: 现货商品名称
  17933. type: string
  17934. type: object
  17935. order.QueryHisTradeDetailRsp:
  17936. properties:
  17937. accountid:
  17938. description: 账户ID[报价币种]
  17939. type: integer
  17940. advanceratio:
  17941. description: 首付比率
  17942. type: number
  17943. buildtype:
  17944. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17945. type: integer
  17946. buyorsell:
  17947. description: 方向 - 0:买 1:卖
  17948. type: integer
  17949. charge:
  17950. description: 手续费
  17951. type: number
  17952. closecharge:
  17953. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17954. type: number
  17955. closeexchagechargevalue:
  17956. description: 平仓交易所手续费设置值
  17957. type: number
  17958. closefeealgorithm:
  17959. description: 平仓手续费收取方式 1:比率 2:固定
  17960. type: integer
  17961. closememberchargevalue:
  17962. description: 平仓会员手续费设置值
  17963. type: number
  17964. closepl:
  17965. description: 平仓盈亏
  17966. type: number
  17967. closepl2:
  17968. description: 平仓盈亏[逐笔]
  17969. type: number
  17970. closeqty:
  17971. description: 平仓数量(先建后平操作 需要记录)
  17972. type: number
  17973. creditamount:
  17974. description: 授信金额
  17975. type: number
  17976. decimalplace:
  17977. description: 商品报价小数位
  17978. type: integer
  17979. enumdicname:
  17980. description: 单位名称
  17981. type: string
  17982. gcaccountid:
  17983. description: 账户ID[合约币种]
  17984. type: integer
  17985. goodscode:
  17986. description: 商品代码
  17987. type: string
  17988. goodsid:
  17989. description: 商品ID
  17990. type: integer
  17991. goodsname:
  17992. description: 商品名称
  17993. type: string
  17994. goodunitid:
  17995. description: 商品单位id
  17996. type: integer
  17997. histradedate:
  17998. description: 历史交易日
  17999. type: string
  18000. intclosepl:
  18001. description: 整型盈亏(用于交易结算试算平衡-收益权)
  18002. type: integer
  18003. isconfirmexercise:
  18004. description: 是否确认行权- 0:否 1:是
  18005. type: integer
  18006. ismain:
  18007. description: 是否主单 - 0:不是 1:是
  18008. type: integer
  18009. ispreexercise:
  18010. description: 是否预申报- 0:否 1:是
  18011. type: integer
  18012. isreckoned:
  18013. description: 是否结算 - 0:未结算 1:已结算
  18014. type: integer
  18015. isvaliddata:
  18016. description: 是否有效 - 0:无效 1:有效
  18017. type: integer
  18018. listingselecttype:
  18019. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  18020. type: integer
  18021. marketid:
  18022. description: 市场ID
  18023. type: integer
  18024. marketname:
  18025. description: 市场名称
  18026. type: string
  18027. matchaccountid:
  18028. description: 对手账号id
  18029. type: integer
  18030. memberuserid:
  18031. description: 会员id 个人投资者 需要填写
  18032. type: integer
  18033. opencharge:
  18034. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  18035. type: number
  18036. openexchagechargevalue:
  18037. description: 建仓交易所手续费设置值
  18038. type: number
  18039. openfeealgorithm:
  18040. description: 建仓手续费收取方式 1:比率 2:固定
  18041. type: integer
  18042. openmemberchargevalue:
  18043. description: 建仓会员手续费设置值
  18044. type: number
  18045. openqty:
  18046. description: 开仓数量(先建后平操作 需要记录)
  18047. type: number
  18048. optiontype:
  18049. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  18050. type: integer
  18051. orderid:
  18052. description: 委托单号
  18053. type: string
  18054. payamount:
  18055. description: 支付金额(付款金额)
  18056. type: number
  18057. performanceplanid:
  18058. description: 履约计划ID[期权]
  18059. type: integer
  18060. performancestatus:
  18061. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  18062. type: integer
  18063. preexerciseprice:
  18064. description: 预申报价格
  18065. type: number
  18066. premium:
  18067. description: 权利金 - [持仓单的权利金]
  18068. type: number
  18069. qtydecimalplace:
  18070. description: 商品报价小数位
  18071. type: integer
  18072. recvamount:
  18073. description: 到账金额 = 成交金额 - 手续费
  18074. type: number
  18075. relatedouttradeid:
  18076. description: 关联外部成交单ID
  18077. type: integer
  18078. status:
  18079. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  18080. type: integer
  18081. totalamount:
  18082. description: 订单总额 = 成交金额 + 手续费
  18083. type: number
  18084. tradeamount:
  18085. description: 成交金额[账户币种,用于所有权]
  18086. type: number
  18087. tradedate:
  18088. description: 交易日(yyyyMMdd)
  18089. type: string
  18090. tradeid:
  18091. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18092. type: string
  18093. trademode:
  18094. description: 交易模式
  18095. type: integer
  18096. tradeprice:
  18097. description: 成交价格
  18098. type: number
  18099. tradeproperty:
  18100. description: 交易属性
  18101. type: integer
  18102. tradeqty:
  18103. description: 成交数量
  18104. type: number
  18105. tradetime:
  18106. description: 成交时间
  18107. type: string
  18108. tradetype:
  18109. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  18110. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  18111. type: integer
  18112. required:
  18113. - accountid
  18114. - buyorsell
  18115. - goodsid
  18116. - histradedate
  18117. - marketid
  18118. - memberuserid
  18119. - orderid
  18120. - tradeamount
  18121. - tradedate
  18122. - tradeid
  18123. - tradeprice
  18124. - tradeqty
  18125. - tradetime
  18126. type: object
  18127. order.QueryHisTradeOrderDetailRsp:
  18128. properties:
  18129. accountid:
  18130. description: 账户ID[报价币种]
  18131. type: integer
  18132. buildtype:
  18133. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  18134. type: integer
  18135. buyorsell:
  18136. description: 买卖 - 0:买 1:卖
  18137. type: integer
  18138. cancelorderid:
  18139. description: 撤单单号(撤单时填写)
  18140. type: string
  18141. cancelqty:
  18142. description: 撤单数量
  18143. type: number
  18144. clientordertime:
  18145. description: 客户端委托时间
  18146. type: string
  18147. clientticket:
  18148. description: 客户端流水号
  18149. type: string
  18150. clienttype:
  18151. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  18152. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  18153. type: integer
  18154. closeexchagechargevalue:
  18155. description: 平仓交易所手续费设置值
  18156. type: number
  18157. closefeealgorithm:
  18158. description: 平仓手续费收取方式 1:比率 2:固定
  18159. type: integer
  18160. closefreezecharge:
  18161. description: 平仓冻结手续费(先建后平操作,需要记录)
  18162. type: number
  18163. closememberchargevalue:
  18164. description: 平仓会员手续费设置值
  18165. type: number
  18166. closeqty:
  18167. description: 平仓数量(先建后平操作 需要记录)
  18168. type: number
  18169. closetradeqty:
  18170. description: 平仓成交数量(先建后平操作,需要记录)
  18171. type: number
  18172. closeunfreezecharge:
  18173. description: 平仓解冻手续费(先建后平操作,需要记录)
  18174. type: number
  18175. decimalplace:
  18176. description: 商品报价小数位
  18177. type: integer
  18178. delistingtype:
  18179. description: 摘牌类型 - 1:价格最优 2:点选成交
  18180. type: integer
  18181. enumdicname:
  18182. description: 单位名称
  18183. type: string
  18184. freezecharge:
  18185. description: 冻结手续费
  18186. type: number
  18187. freezemargin:
  18188. description: 冻结保证金(冻结交易金额)
  18189. type: number
  18190. gcaccountid:
  18191. description: 账户ID[合约币种]
  18192. type: integer
  18193. goodscode:
  18194. description: 商品代码
  18195. type: string
  18196. goodsid:
  18197. description: 商品ID
  18198. type: integer
  18199. goodsname:
  18200. description: 商品名称
  18201. type: string
  18202. goodunitid:
  18203. description: 商品单位id
  18204. type: integer
  18205. histradedate:
  18206. description: 历史交易日
  18207. type: string
  18208. isconfirmexercise:
  18209. description: 是否确认行权- 0:否 1:是
  18210. type: integer
  18211. ispreexercise:
  18212. description: 是否预申报- 0:否 1:是
  18213. type: integer
  18214. isvaliddata:
  18215. description: 是否有效 - 0:无效 1:有效
  18216. type: integer
  18217. listingselecttype:
  18218. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  18219. type: integer
  18220. marginalgorithm:
  18221. description: 保证金收取方式 1:比率 2:固定
  18222. type: integer
  18223. marginvalue:
  18224. description: 即市保证金设置值
  18225. type: number
  18226. marketid:
  18227. description: 市场ID
  18228. type: integer
  18229. marketmaxsub:
  18230. description: 市价最大偏移范围
  18231. type: number
  18232. marketname:
  18233. description: 市场名称
  18234. type: string
  18235. memberuserid:
  18236. description: 所属会员UserID
  18237. type: integer
  18238. openexchagechargevalue:
  18239. description: 建仓交易所手续费设置值
  18240. type: number
  18241. openfeealgorithm:
  18242. description: 建仓手续费收取方式 1:比率 2:固定
  18243. type: integer
  18244. openfreezecharge:
  18245. description: 开仓冻结手续费(先建后平操作,需要记录)
  18246. type: number
  18247. openmemberchargevalue:
  18248. description: 建仓会员手续费设置值
  18249. type: number
  18250. openqty:
  18251. description: 开仓数量(先建后平操作,需要记录)
  18252. type: number
  18253. opentradeqty:
  18254. description: 开仓成交数量(先建后平操作,需要记录)
  18255. type: number
  18256. openunfreezecharge:
  18257. description: 开仓解冻手续费(先建后平操作,需要记录)
  18258. type: number
  18259. operatetype:
  18260. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  18261. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  18262. 15:管理端协议转让
  18263. type: integer
  18264. operatorid:
  18265. description: 登录账号(LoginID)
  18266. type: integer
  18267. optiontype:
  18268. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  18269. type: integer
  18270. orderid:
  18271. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18272. type: string
  18273. orderprice:
  18274. description: 委托价格
  18275. type: number
  18276. orderqty:
  18277. description: 委托数量
  18278. type: number
  18279. ordersrc:
  18280. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  18281. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  18282. type: integer
  18283. orderstatus:
  18284. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  18285. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  18286. 16:成交失败违约(荷兰式竞拍专用)
  18287. type: integer
  18288. ordertime:
  18289. description: 委托时间
  18290. type: string
  18291. preexerciseprice:
  18292. description: 预申报价格
  18293. type: number
  18294. premium:
  18295. description: 权利金
  18296. type: number
  18297. preorderid:
  18298. description: 关联预埋单号(止盈止损单时填写)
  18299. type: string
  18300. pricemode:
  18301. description: '取价方式 - 1:市价 2: 限价'
  18302. type: integer
  18303. qtydecimalplace:
  18304. description: 成交量小数位
  18305. type: integer
  18306. quoteid:
  18307. description: 报价单ID
  18308. type: integer
  18309. relatedid:
  18310. description: 关联单号(交割单)
  18311. type: string
  18312. retcode:
  18313. description: 错误代码
  18314. type: integer
  18315. sessionid:
  18316. description: 会话ID
  18317. type: integer
  18318. tradedate:
  18319. description: 交易日(yyyyMMdd)
  18320. type: string
  18321. trademode:
  18322. description: 交易模式
  18323. type: integer
  18324. tradeproperty:
  18325. description: 交易属性
  18326. type: integer
  18327. tradeqty:
  18328. description: 成交数量
  18329. type: number
  18330. unfreezecharge:
  18331. description: 解冻手续费
  18332. type: number
  18333. unfreezemargin:
  18334. description: 解冻保证金
  18335. type: number
  18336. updatetime:
  18337. description: 更新时间
  18338. type: string
  18339. uuid:
  18340. description: 发起端唯一id
  18341. type: string
  18342. validtime:
  18343. description: 有效期限
  18344. type: string
  18345. validtype:
  18346. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  18347. type: integer
  18348. volumetype:
  18349. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  18350. type: integer
  18351. required:
  18352. - accountid
  18353. - buildtype
  18354. - buyorsell
  18355. - goodsid
  18356. - histradedate
  18357. - marketid
  18358. - memberuserid
  18359. - operatetype
  18360. - orderid
  18361. - orderqty
  18362. - ordertime
  18363. - pricemode
  18364. - tradedate
  18365. - validtype
  18366. type: object
  18367. order.QueryTradeDetailRsp:
  18368. properties:
  18369. accountid:
  18370. description: 账户ID[报价币种]
  18371. type: integer
  18372. advanceratio:
  18373. description: 首付比率
  18374. type: number
  18375. buildtype:
  18376. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  18377. type: integer
  18378. buyorsell:
  18379. description: 方向 - 0:买 1:卖
  18380. type: integer
  18381. charge:
  18382. description: 手续费
  18383. type: number
  18384. closecharge:
  18385. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  18386. type: number
  18387. closeexchagechargevalue:
  18388. description: 平仓交易所手续费设置值
  18389. type: number
  18390. closefeealgorithm:
  18391. description: 平仓手续费收取方式 1:比率 2:固定
  18392. type: integer
  18393. closememberchargevalue:
  18394. description: 平仓会员手续费设置值
  18395. type: number
  18396. closepl:
  18397. description: 平仓盈亏
  18398. type: number
  18399. closepl2:
  18400. description: 平仓盈亏[逐笔]
  18401. type: number
  18402. closeqty:
  18403. description: 平仓数量(先建后平操作 需要记录)
  18404. type: number
  18405. creditamount:
  18406. description: 授信金额
  18407. type: number
  18408. decimalplace:
  18409. description: 商品报价小数位
  18410. type: integer
  18411. enumdicname:
  18412. description: 单位名称
  18413. type: string
  18414. gcaccountid:
  18415. description: 账户ID[合约币种]
  18416. type: integer
  18417. goodscode:
  18418. description: 商品代码
  18419. type: string
  18420. goodsid:
  18421. description: 商品ID
  18422. type: integer
  18423. goodsname:
  18424. description: 商品名称
  18425. type: string
  18426. goodunitid:
  18427. description: 商品单位id
  18428. type: integer
  18429. intclosepl:
  18430. description: 整型盈亏(用于交易结算试算平衡-收益权)
  18431. type: integer
  18432. isconfirmexercise:
  18433. description: 是否确认行权- 0:否 1:是
  18434. type: integer
  18435. ismain:
  18436. description: 是否主单 - 0:不是 1:是
  18437. type: integer
  18438. ispreexercise:
  18439. description: 是否预申报- 0:否 1:是
  18440. type: integer
  18441. isreckoned:
  18442. description: 是否结算 - 0:未结算 1:已结算
  18443. type: integer
  18444. listingselecttype:
  18445. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  18446. type: integer
  18447. marketid:
  18448. description: 市场ID
  18449. type: integer
  18450. marketname:
  18451. description: 市场名称
  18452. type: string
  18453. matchaccountid:
  18454. description: 对手账号id
  18455. type: integer
  18456. memberuserid:
  18457. description: 会员id 个人投资者 需要填写
  18458. type: integer
  18459. opencharge:
  18460. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  18461. type: number
  18462. openexchagechargevalue:
  18463. description: 建仓交易所手续费设置值
  18464. type: number
  18465. openfeealgorithm:
  18466. description: 建仓手续费收取方式 1:比率 2:固定
  18467. type: integer
  18468. openmemberchargevalue:
  18469. description: 建仓会员手续费设置值
  18470. type: number
  18471. openqty:
  18472. description: 开仓数量(先建后平操作 需要记录)
  18473. type: number
  18474. optiontype:
  18475. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  18476. type: integer
  18477. orderid:
  18478. description: 委托单号
  18479. type: string
  18480. payamount:
  18481. description: 支付金额(付款金额)
  18482. type: number
  18483. performanceplanid:
  18484. description: 履约计划ID[期权]
  18485. type: integer
  18486. performancestatus:
  18487. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  18488. type: integer
  18489. preexerciseprice:
  18490. description: 预申报价格
  18491. type: number
  18492. premium:
  18493. description: 权利金 - [持仓单的权利金]
  18494. type: number
  18495. qtydecimalplace:
  18496. description: 商品报价小数位
  18497. type: integer
  18498. recvamount:
  18499. description: 到账金额 = 成交金额 - 手续费
  18500. type: number
  18501. relatedouttradeid:
  18502. description: 关联外部成交单ID
  18503. type: integer
  18504. status:
  18505. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  18506. type: integer
  18507. totalamount:
  18508. description: 订单总额 = 成交金额 + 手续费
  18509. type: number
  18510. tradeamount:
  18511. description: 成交金额[账户币种,用于所有权]
  18512. type: number
  18513. tradedate:
  18514. description: 交易日(yyyyMMdd)
  18515. type: string
  18516. tradeid:
  18517. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18518. type: string
  18519. trademode:
  18520. description: 交易模式
  18521. type: integer
  18522. tradeprice:
  18523. description: 成交价格
  18524. type: number
  18525. tradeproperty:
  18526. description: 交易属性
  18527. type: integer
  18528. tradeqty:
  18529. description: 成交数量
  18530. type: number
  18531. tradetime:
  18532. description: 成交时间
  18533. type: string
  18534. tradetype:
  18535. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  18536. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  18537. type: integer
  18538. required:
  18539. - accountid
  18540. - buyorsell
  18541. - goodsid
  18542. - marketid
  18543. - memberuserid
  18544. - orderid
  18545. - tradeamount
  18546. - tradedate
  18547. - tradeid
  18548. - tradeprice
  18549. - tradeqty
  18550. - tradetime
  18551. type: object
  18552. order.QueryTradeOrderDetailRsp:
  18553. properties:
  18554. accountid:
  18555. description: 账户ID[报价币种]
  18556. type: integer
  18557. buildtype:
  18558. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  18559. type: integer
  18560. buyorsell:
  18561. description: 买卖 - 0:买 1:卖
  18562. type: integer
  18563. cancelorderid:
  18564. description: 撤单单号(撤单时填写)
  18565. type: string
  18566. cancelqty:
  18567. description: 撤单数量
  18568. type: number
  18569. clienttype:
  18570. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  18571. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  18572. type: integer
  18573. closefreezecharge:
  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. enableqty:
  18592. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  18593. type: number
  18594. enumdicname:
  18595. description: 单位名称
  18596. type: string
  18597. freezecharge:
  18598. description: 冻结手续费
  18599. type: number
  18600. freezemargin:
  18601. description: 冻结保证金(冻结交易金额)
  18602. type: number
  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. listingselecttype:
  18616. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  18617. type: integer
  18618. marketid:
  18619. description: 市场ID
  18620. type: integer
  18621. marketname:
  18622. description: 市场名称
  18623. type: string
  18624. openfreezecharge:
  18625. description: 开仓冻结手续费(先建后平操作,需要记录)
  18626. type: number
  18627. openqty:
  18628. description: 开仓数量(先建后平操作,需要记录)
  18629. type: number
  18630. opentradeqty:
  18631. description: 开仓成交数量(先建后平操作,需要记录)
  18632. type: number
  18633. openunfreezecharge:
  18634. description: 开仓解冻手续费(先建后平操作,需要记录)
  18635. type: number
  18636. operatetype:
  18637. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  18638. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  18639. 15:管理端协议转让
  18640. type: integer
  18641. operatorid:
  18642. description: 登录账号(LoginID)
  18643. type: integer
  18644. orderid:
  18645. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18646. type: string
  18647. orderprice:
  18648. description: 委托价格
  18649. type: number
  18650. orderqty:
  18651. description: 委托数量
  18652. type: number
  18653. ordersrc:
  18654. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  18655. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  18656. type: integer
  18657. orderstatus:
  18658. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  18659. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  18660. 16:成交失败违约(荷兰式竞拍专用)
  18661. type: integer
  18662. ordertime:
  18663. description: 委托时间
  18664. type: string
  18665. preorderid:
  18666. description: 关联预埋单号(止盈止损单时填写)
  18667. type: string
  18668. pricemode:
  18669. description: '取价方式 - 1:市价 2: 限价'
  18670. type: integer
  18671. qtydecimalplace:
  18672. description: 商品报价小数位
  18673. type: integer
  18674. relatedid:
  18675. description: 关联单号(交割单)
  18676. type: string
  18677. tradedate:
  18678. description: 交易日(yyyyMMdd)
  18679. type: string
  18680. trademode:
  18681. description: 交易模式
  18682. type: integer
  18683. tradeqty:
  18684. description: 成交数量
  18685. type: number
  18686. unfreezecharge:
  18687. description: 解冻手续费
  18688. type: number
  18689. unfreezemargin:
  18690. description: 解冻保证金
  18691. type: number
  18692. validtime:
  18693. description: 有效期限
  18694. type: string
  18695. validtype:
  18696. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  18697. type: integer
  18698. volumetype:
  18699. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  18700. type: integer
  18701. required:
  18702. - accountid
  18703. - buildtype
  18704. - buyorsell
  18705. - goodsid
  18706. - marketid
  18707. - operatetype
  18708. - orderqty
  18709. - ordertime
  18710. - pricemode
  18711. - tradedate
  18712. - validtype
  18713. type: object
  18714. order.QueryTradePositionRsp:
  18715. properties:
  18716. accountid:
  18717. description: 资金账户
  18718. type: integer
  18719. agreeunit:
  18720. description: 合约单位
  18721. type: number
  18722. averageprice:
  18723. description: 持仓均价
  18724. type: number
  18725. buyorsell:
  18726. description: 方向 - 0:买 1:卖
  18727. type: integer
  18728. closetotalqty:
  18729. description: 平仓总数量
  18730. type: number
  18731. curholderamount:
  18732. description: 当前持仓总金额[商品币种]
  18733. type: number
  18734. curpositionqty:
  18735. description: 当前持仓总数量
  18736. type: number
  18737. currencyid:
  18738. description: 报价货币ID
  18739. type: integer
  18740. curtdposition:
  18741. description: 期末今日头寸
  18742. type: number
  18743. decimalplace:
  18744. description: 报价小数位
  18745. type: integer
  18746. enableqty:
  18747. description: 可用量
  18748. type: number
  18749. fretdposition:
  18750. description: 冻结今日头寸
  18751. type: number
  18752. frozenqty:
  18753. description: 持仓冻结数量
  18754. type: number
  18755. goodscode:
  18756. description: 商品代码
  18757. type: string
  18758. goodsid:
  18759. description: 商品Id
  18760. type: integer
  18761. goodsname:
  18762. description: 商品名称
  18763. type: string
  18764. goodunit:
  18765. description: 报价单位
  18766. type: string
  18767. goodunitid:
  18768. description: 报价单位ID
  18769. type: integer
  18770. holderamount:
  18771. description: 期初持仓总金额[商品币种]
  18772. type: number
  18773. lastprice:
  18774. description: 最新价
  18775. type: number
  18776. marketamount:
  18777. description: 市值
  18778. type: number
  18779. marketid:
  18780. description: 所属市场ID
  18781. type: integer
  18782. openreqqty:
  18783. description: 开仓申请数量(用于比较最大持仓数量)
  18784. type: number
  18785. opentotalqty:
  18786. description: 开仓总数量
  18787. type: number
  18788. otherfrozenqty:
  18789. description: 持仓其他冻结数量(交割冻结)
  18790. type: number
  18791. positionpl:
  18792. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  18793. * 合约单位
  18794. type: number
  18795. positionplrate:
  18796. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  18797. type: number
  18798. positionqty:
  18799. description: 期初持仓数量
  18800. type: number
  18801. qtydecimalplace:
  18802. description: 成交量小数位
  18803. type: integer
  18804. refgoodscode:
  18805. description: 参考商品代码
  18806. type: string
  18807. refgoodsid:
  18808. description: 参考商品ID
  18809. type: integer
  18810. tnqty:
  18811. description: T+N冻结总量
  18812. type: number
  18813. tnusedqty:
  18814. description: T+N使用量(可以使用T+N的冻结数量)
  18815. type: number
  18816. trademode:
  18817. description: 交易模式
  18818. type: integer
  18819. tradeproperty:
  18820. description: 交易属性
  18821. type: integer
  18822. usedmargin:
  18823. description: 占用保证金[商品币种]
  18824. type: number
  18825. required:
  18826. - goodsid
  18827. type: object
  18828. pb.GoodsMarginCfgStruct:
  18829. properties:
  18830. CustomerTypeID:
  18831. description: 投资者客户类型
  18832. type: integer
  18833. GoodsID:
  18834. description: 商品ID
  18835. type: integer
  18836. IsDefault:
  18837. description: 是否默认标志位
  18838. type: integer
  18839. LockMarginValue:
  18840. description: 锁仓保证金
  18841. type: number
  18842. MarginAlgorithm:
  18843. description: 保证金计算方式
  18844. type: integer
  18845. MarketMarginValue:
  18846. description: 即市保证金值
  18847. type: number
  18848. RealMarginAlgorithm:
  18849. description: 实付保证金计算方式
  18850. type: integer
  18851. RealMarginValue:
  18852. description: 实付比例
  18853. type: number
  18854. ReckonMarginValue:
  18855. description: 结算保证金值
  18856. type: number
  18857. type: object
  18858. quote.HistoryData:
  18859. properties:
  18860. c:
  18861. description: 收盘价
  18862. type: number
  18863. f:
  18864. description: 是否补充数据
  18865. type: boolean
  18866. h:
  18867. description: 最高价
  18868. type: number
  18869. hv:
  18870. description: 持仓量
  18871. type: integer
  18872. l:
  18873. description: 最低价
  18874. type: number
  18875. o:
  18876. description: 开盘价
  18877. type: number
  18878. s:
  18879. description: 结算价,日线周期(包括)以上才有
  18880. type: number
  18881. ts:
  18882. description: 时间
  18883. type: string
  18884. tt:
  18885. description: 总金额
  18886. type: number
  18887. tv:
  18888. description: 总量(成交量)
  18889. type: integer
  18890. type: object
  18891. quote.HistoryTikData:
  18892. properties:
  18893. AV:
  18894. description: 卖量
  18895. type: integer
  18896. Ask:
  18897. description: 卖价
  18898. type: number
  18899. BV:
  18900. description: 买量
  18901. type: integer
  18902. Bid:
  18903. description: 买价
  18904. type: number
  18905. HI:
  18906. description: 单笔持仓
  18907. type: integer
  18908. HV:
  18909. description: 持仓量
  18910. type: integer
  18911. PE:
  18912. description: 现价
  18913. type: number
  18914. TDR:
  18915. description: 交易方向,0:买 1:卖
  18916. type: integer
  18917. TK:
  18918. description: 交易类型
  18919. type: integer
  18920. TS:
  18921. description: 行情时间文本
  18922. type: string
  18923. TT:
  18924. description: 现金额
  18925. type: number
  18926. Vol:
  18927. description: 现量
  18928. type: integer
  18929. type: object
  18930. quote.QueryQuoteDayRsp:
  18931. properties:
  18932. ask:
  18933. description: 卖1
  18934. type: number
  18935. ask2:
  18936. description: 卖2
  18937. type: number
  18938. ask3:
  18939. description: 卖3
  18940. type: number
  18941. ask4:
  18942. description: 卖4
  18943. type: number
  18944. ask5:
  18945. description: 卖5
  18946. type: number
  18947. ask6:
  18948. description: 卖6
  18949. type: number
  18950. ask7:
  18951. description: 卖7
  18952. type: number
  18953. ask8:
  18954. description: 卖8
  18955. type: number
  18956. ask9:
  18957. description: 卖9
  18958. type: number
  18959. ask10:
  18960. description: 卖10
  18961. type: number
  18962. askorderid:
  18963. description: 卖单号1
  18964. type: integer
  18965. askorderid2:
  18966. description: 卖单号2
  18967. type: integer
  18968. askorderid3:
  18969. description: 卖单号3
  18970. type: integer
  18971. askorderid4:
  18972. description: 卖单号4
  18973. type: integer
  18974. askorderid5:
  18975. description: 卖单号5
  18976. type: integer
  18977. askordervolume:
  18978. description: 卖单量1
  18979. type: integer
  18980. askordervolume2:
  18981. description: 卖单量2
  18982. type: integer
  18983. askordervolume3:
  18984. description: 卖单量3
  18985. type: integer
  18986. askordervolume4:
  18987. description: 卖单量4
  18988. type: integer
  18989. askordervolume5:
  18990. description: 卖单量5
  18991. type: integer
  18992. askordervolume6:
  18993. description: 卖单量6
  18994. type: integer
  18995. askordervolume7:
  18996. description: 卖单量7
  18997. type: integer
  18998. askordervolume8:
  18999. description: 卖单量8
  19000. type: integer
  19001. askordervolume9:
  19002. description: 卖单量9
  19003. type: integer
  19004. askordervolume10:
  19005. description: 卖单量10
  19006. type: integer
  19007. askqueueinfo:
  19008. description: 大利市卖港股用
  19009. type: string
  19010. askvolume:
  19011. description: 卖量1
  19012. type: integer
  19013. askvolume2:
  19014. description: 卖量2
  19015. type: integer
  19016. askvolume3:
  19017. description: 卖量3
  19018. type: integer
  19019. askvolume4:
  19020. description: 卖量4
  19021. type: integer
  19022. askvolume5:
  19023. description: 卖量5
  19024. type: integer
  19025. askvolume6:
  19026. description: 卖量6
  19027. type: integer
  19028. askvolume7:
  19029. description: 卖量7
  19030. type: integer
  19031. askvolume8:
  19032. description: 卖量8
  19033. type: integer
  19034. askvolume9:
  19035. description: 卖量9
  19036. type: integer
  19037. askvolume10:
  19038. description: 卖量10
  19039. type: integer
  19040. averageprice:
  19041. description: 均价
  19042. type: number
  19043. bid:
  19044. description: 买1
  19045. type: number
  19046. bid2:
  19047. description: 买2
  19048. type: number
  19049. bid3:
  19050. description: 买3
  19051. type: number
  19052. bid4:
  19053. description: 买4
  19054. type: number
  19055. bid5:
  19056. description: 买5
  19057. type: number
  19058. bid6:
  19059. description: 买6
  19060. type: number
  19061. bid7:
  19062. description: 买7
  19063. type: number
  19064. bid8:
  19065. description: 买8
  19066. type: number
  19067. bid9:
  19068. description: 买9
  19069. type: number
  19070. bid10:
  19071. description: 买10
  19072. type: number
  19073. bidorderid:
  19074. description: 买单号1
  19075. type: integer
  19076. bidorderid2:
  19077. description: 买单号2
  19078. type: integer
  19079. bidorderid3:
  19080. description: 买单号3
  19081. type: integer
  19082. bidorderid4:
  19083. description: 买单号4
  19084. type: integer
  19085. bidorderid5:
  19086. description: 买单号5
  19087. type: integer
  19088. bidordervolume:
  19089. description: 买单量1
  19090. type: integer
  19091. bidordervolume2:
  19092. description: 买单量2
  19093. type: integer
  19094. bidordervolume3:
  19095. description: 买单量3
  19096. type: integer
  19097. bidordervolume4:
  19098. description: 买单量4
  19099. type: integer
  19100. bidordervolume5:
  19101. description: 买单量5
  19102. type: integer
  19103. bidordervolume6:
  19104. description: 买单量6
  19105. type: integer
  19106. bidordervolume7:
  19107. description: 买单量7
  19108. type: integer
  19109. bidordervolume8:
  19110. description: 买单量8
  19111. type: integer
  19112. bidordervolume9:
  19113. description: 买单量9
  19114. type: integer
  19115. bidordervolume10:
  19116. description: 买单量10
  19117. type: integer
  19118. bidqueueinfo:
  19119. description: 大利市买港股用
  19120. type: string
  19121. bidvolume:
  19122. description: 买量1
  19123. type: integer
  19124. bidvolume2:
  19125. description: 买量2
  19126. type: integer
  19127. bidvolume3:
  19128. description: 买量3
  19129. type: integer
  19130. bidvolume4:
  19131. description: 买量4
  19132. type: integer
  19133. bidvolume5:
  19134. description: 买量5
  19135. type: integer
  19136. bidvolume6:
  19137. description: 买量6
  19138. type: integer
  19139. bidvolume7:
  19140. description: 买量7
  19141. type: integer
  19142. bidvolume8:
  19143. description: 买量8
  19144. type: integer
  19145. bidvolume9:
  19146. description: 买量9
  19147. type: integer
  19148. bidvolume10:
  19149. description: 买量10
  19150. type: integer
  19151. calloptionpremiums:
  19152. description: 认购期权1
  19153. type: integer
  19154. calloptionpremiums2:
  19155. description: 认购期权2
  19156. type: integer
  19157. calloptionpremiums3:
  19158. description: 认购期权3
  19159. type: integer
  19160. calloptionpremiums4:
  19161. description: 认购期权4
  19162. type: integer
  19163. calloptionpremiums5:
  19164. description: 认购期权5
  19165. type: integer
  19166. cleartime:
  19167. description: 清盘时间
  19168. type: integer
  19169. exchangecode:
  19170. description: 交易所代码
  19171. type: integer
  19172. exchangedate:
  19173. description: 交易日
  19174. type: integer
  19175. goodscode:
  19176. description: 商品代码
  19177. type: string
  19178. grepmarketprice:
  19179. description: 暗盘价 港股专用
  19180. type: number
  19181. highest:
  19182. description: 最高价
  19183. type: number
  19184. holdincrement:
  19185. description: 单笔持仓
  19186. type: integer
  19187. holdvolume:
  19188. description: 持仓
  19189. type: integer
  19190. iep:
  19191. description: 平衡价 港股专用
  19192. type: number
  19193. iev:
  19194. description: 平衡量 港股专用
  19195. type: number
  19196. inventory:
  19197. description: 库存
  19198. type: integer
  19199. iscleared:
  19200. description: 是否清盘标志
  19201. type: integer
  19202. issettled:
  19203. description: 是否结算标志
  19204. type: integer
  19205. last:
  19206. description: 最新价
  19207. type: number
  19208. lastlot:
  19209. description: 最新成交手数
  19210. type: integer
  19211. lasttime:
  19212. description: 行情时间(只有现价变化行情时间才变化)
  19213. type: string
  19214. lastturnover:
  19215. description: 最新成交金额
  19216. type: number
  19217. lastvolume:
  19218. description: 最新成交量
  19219. type: integer
  19220. limitdown:
  19221. description: 跌停价
  19222. type: number
  19223. limitup:
  19224. description: 涨停价
  19225. type: number
  19226. lowest:
  19227. description: 最低价
  19228. type: number
  19229. nontotalholdervolume:
  19230. description: 非交易持仓量
  19231. type: integer
  19232. nontotallot:
  19233. description: 非交易总手数
  19234. type: integer
  19235. nontotalturnover:
  19236. description: 非交易总金额
  19237. type: integer
  19238. nontotalvolume:
  19239. description: 非交易总量
  19240. type: integer
  19241. opened:
  19242. description: 开盘价
  19243. type: number
  19244. opentime:
  19245. description: 开盘时间
  19246. type: string
  19247. orderid:
  19248. description: 序号
  19249. type: integer
  19250. preclose:
  19251. description: 昨收
  19252. type: number
  19253. preholdvolume:
  19254. description: 昨持仓
  19255. type: integer
  19256. presettle:
  19257. description: 昨结价
  19258. type: number
  19259. publictradetype:
  19260. description: 公共交易标志类型 港股专用
  19261. type: string
  19262. putoptionpremiums:
  19263. description: 认沽期权1
  19264. type: integer
  19265. putoptionpremiums2:
  19266. description: 认沽期权2
  19267. type: integer
  19268. putoptionpremiums3:
  19269. description: 认沽期权3
  19270. type: integer
  19271. putoptionpremiums4:
  19272. description: 认沽期权4
  19273. type: integer
  19274. putoptionpremiums5:
  19275. description: 认沽期权5
  19276. type: integer
  19277. settle:
  19278. description: 结算价
  19279. type: number
  19280. strikeprice:
  19281. description: 发行价
  19282. type: number
  19283. totalaskvolume:
  19284. description: 内盘
  19285. type: integer
  19286. totalbidvolume:
  19287. description: 外盘
  19288. type: integer
  19289. totallot:
  19290. description: 总手数
  19291. type: integer
  19292. totalturnover:
  19293. description: 总金额
  19294. type: number
  19295. totalvolume:
  19296. description: 总量
  19297. type: integer
  19298. utclasttime:
  19299. description: utc的行情时间
  19300. type: string
  19301. type: object
  19302. quote.QueryTSDataRsp:
  19303. properties:
  19304. Count:
  19305. description: 交易日应有数据个数
  19306. type: integer
  19307. decimalPlace:
  19308. description: 小数位
  19309. type: integer
  19310. endTime:
  19311. description: 结束时间
  19312. type: string
  19313. goodsCode:
  19314. description: 商品代码
  19315. type: string
  19316. historyDatas:
  19317. description: 历史数据
  19318. items:
  19319. $ref: '#/definitions/quote.HistoryData'
  19320. type: array
  19321. outGoodsCode:
  19322. description: 外部商品代码
  19323. type: string
  19324. preSettle:
  19325. description: 昨结价
  19326. type: number
  19327. runSteps:
  19328. description: 交易日开休市计划
  19329. items:
  19330. $ref: '#/definitions/quote.TSDataRunStep'
  19331. type: array
  19332. startTime:
  19333. description: 开始时间
  19334. type: string
  19335. tradeDate:
  19336. description: 交易日
  19337. type: string
  19338. type: object
  19339. quote.TSDataRunStep:
  19340. properties:
  19341. end:
  19342. description: 真实结束时间
  19343. type: string
  19344. endflag:
  19345. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  19346. type: integer
  19347. endtime:
  19348. description: 结束时间(HH:mm)
  19349. type: string
  19350. endweekday:
  19351. description: 结束周几
  19352. type: integer
  19353. groupid:
  19354. description: 分组ID
  19355. type: integer
  19356. runstep:
  19357. description: 运行阶段 - 2:连续交易
  19358. type: integer
  19359. sectionid:
  19360. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  19361. 结束时间=结算时间 结束周几=结算周几
  19362. type: integer
  19363. start:
  19364. description: 真实开始时间
  19365. type: string
  19366. startflag:
  19367. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  19368. type: integer
  19369. starttime:
  19370. description: 起始时间(HH:mm)
  19371. type: string
  19372. startweekday:
  19373. description: 起始周几
  19374. type: integer
  19375. tradeweekday:
  19376. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  19377. type: integer
  19378. type: object
  19379. szdz.QueryConvertLogRsp:
  19380. properties:
  19381. accountid:
  19382. description: 资金账户ID
  19383. type: integer
  19384. clientticket:
  19385. description: 客户端流水号
  19386. type: string
  19387. converttype:
  19388. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  19389. type: integer
  19390. createtime:
  19391. description: 记账时间
  19392. type: string
  19393. daymaxvalue:
  19394. description: 配置当日最大转入限制
  19395. type: number
  19396. daymaxvalue2:
  19397. description: 配置当日最大转入限制(转入)
  19398. type: number
  19399. goodscode:
  19400. description: 商品代码
  19401. type: string
  19402. goodsname:
  19403. description: 商品名称
  19404. type: string
  19405. handlestatus:
  19406. description: 处理状态
  19407. type: integer
  19408. innergoodsid:
  19409. description: 内部商品ID
  19410. type: integer
  19411. inratio:
  19412. description: 配置转入比值
  19413. type: integer
  19414. invalue:
  19415. description: 目标值
  19416. type: number
  19417. logid:
  19418. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  19419. type: integer
  19420. mobile:
  19421. description: 手机号码(加密存储)
  19422. type: string
  19423. outergoodscode:
  19424. description: 外部商品代码[JD\PD]
  19425. type: string
  19426. outratio:
  19427. description: 配置转出比值
  19428. type: integer
  19429. outvalue:
  19430. description: 源值
  19431. type: number
  19432. pddecimalplace:
  19433. description: PD小数位
  19434. type: integer
  19435. qty:
  19436. description: 数量
  19437. type: string
  19438. remark:
  19439. description: 备注
  19440. type: string
  19441. sessionid:
  19442. description: 会话ID
  19443. type: integer
  19444. timemaxvalue:
  19445. description: 配置单次最大转入限制
  19446. type: number
  19447. timemaxvalue2:
  19448. description: 配置单次最大转入限制(转入)
  19449. type: number
  19450. timeminvalue:
  19451. description: 配置单次最小数量限制
  19452. type: number
  19453. timeminvalue2:
  19454. description: 配置单次最小数量限制(转入)
  19455. type: number
  19456. tradedate:
  19457. description: 交易日(yyyyMMdd)
  19458. type: string
  19459. userid:
  19460. description: 用户ID
  19461. type: integer
  19462. required:
  19463. - logid
  19464. type: object
  19465. szdz.QueryGoodsPickupRsp:
  19466. properties:
  19467. accountid:
  19468. description: 账户ID
  19469. type: integer
  19470. address:
  19471. description: 提货人详细地址
  19472. type: string
  19473. auditer:
  19474. description: 审核人
  19475. type: integer
  19476. audittime:
  19477. description: 审核时间
  19478. type: string
  19479. cardnum:
  19480. description: 提货人证件号码
  19481. type: string
  19482. cardtypeid:
  19483. description: 提货人证件类型
  19484. type: integer
  19485. checkremark:
  19486. description: 审核备注
  19487. type: string
  19488. goodscode:
  19489. description: 商品代码
  19490. type: string
  19491. goodsid:
  19492. description: 商品ID
  19493. type: integer
  19494. goodsname:
  19495. description: 商品名称
  19496. type: string
  19497. handlestatus:
  19498. description: 处理状态
  19499. type: integer
  19500. marketid:
  19501. description: 市场ID
  19502. type: integer
  19503. phonenum:
  19504. description: 提货人联系方式
  19505. type: string
  19506. qty:
  19507. description: 提货数量
  19508. type: number
  19509. recivername:
  19510. description: 提货人姓名
  19511. type: string
  19512. reqtime:
  19513. description: 更新时间
  19514. type: string
  19515. takemode:
  19516. description: 提货方式 - 2:自提 3:配送
  19517. type: integer
  19518. takeorderid:
  19519. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  19520. type: string
  19521. takeorderstatus:
  19522. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  19523. type: integer
  19524. takeremark:
  19525. description: 提货备注
  19526. type: string
  19527. tradedate:
  19528. description: 交易日(yyyyMMdd)
  19529. type: string
  19530. userid:
  19531. description: 用户ID
  19532. type: integer
  19533. required:
  19534. - takeorderid
  19535. type: object
  19536. szdz.QueryRecieptOrderRsp:
  19537. properties:
  19538. accountName:
  19539. description: 所属账号名称(已脱敏)
  19540. type: string
  19541. accountid:
  19542. description: 资金账号
  19543. type: integer
  19544. buyorsell:
  19545. description: 方向 - 0:买 1:卖
  19546. type: integer
  19547. enableqty:
  19548. description: 可摘数量
  19549. type: integer
  19550. goodscode:
  19551. description: 商品代码
  19552. type: string
  19553. goodsid:
  19554. description: 商品ID
  19555. type: integer
  19556. goodsname:
  19557. description: 商品名称
  19558. type: string
  19559. orderid:
  19560. description: 委托单号
  19561. type: string
  19562. orderprice:
  19563. description: 委托价格
  19564. type: number
  19565. ordertime:
  19566. description: 委托时间
  19567. type: string
  19568. tradedate:
  19569. description: 交易日(yyyyMMdd)
  19570. type: string
  19571. required:
  19572. - ordertime
  19573. type: object
  19574. szdz.QuerySZDZTradePositionRsp:
  19575. properties:
  19576. accountid:
  19577. description: 账号Id
  19578. type: integer
  19579. agreeunit:
  19580. description: 合约单位
  19581. type: number
  19582. averageprice:
  19583. description: 持仓均价
  19584. type: number
  19585. buyorsell:
  19586. description: 方向 - 0:买 1:卖
  19587. type: integer
  19588. closetotalqty:
  19589. description: 平仓总数量
  19590. type: integer
  19591. curholderamount:
  19592. description: 当前持仓总金额
  19593. type: number
  19594. curpositionqty:
  19595. description: 当前持仓总数量
  19596. type: integer
  19597. currencyid:
  19598. description: 报价货币ID
  19599. type: integer
  19600. curtdposition:
  19601. description: 期末今日头寸
  19602. type: integer
  19603. decimalplace:
  19604. description: 报价小数位
  19605. type: integer
  19606. enableqty:
  19607. description: 可用量
  19608. type: integer
  19609. fretdposition:
  19610. description: 冻结今日头寸
  19611. type: integer
  19612. frozenqty:
  19613. description: 持仓冻结数量
  19614. type: integer
  19615. goodscode:
  19616. description: 商品代码(内部)
  19617. type: string
  19618. goodsid:
  19619. description: 商品Id
  19620. type: integer
  19621. goodsname:
  19622. description: 商品名称
  19623. type: string
  19624. goodunit:
  19625. description: 报价单位
  19626. type: string
  19627. goodunitid:
  19628. description: 报价单位ID
  19629. type: integer
  19630. holderamount:
  19631. description: 期初持仓总金额
  19632. type: number
  19633. marketid:
  19634. description: 市场ID
  19635. type: integer
  19636. openreqqty:
  19637. description: 开仓申请数量
  19638. type: integer
  19639. opentotalqty:
  19640. description: 开仓总数量
  19641. type: integer
  19642. otherfrozenqty:
  19643. description: 持仓其他冻结数量(交割冻结)
  19644. type: integer
  19645. positionqty:
  19646. description: 期初持仓数量
  19647. type: integer
  19648. szdz3freezqty:
  19649. description: 尚志大宗转换冻结总数量
  19650. type: integer
  19651. tnqty:
  19652. description: T+N冻结总量
  19653. type: integer
  19654. tnusedqty:
  19655. description: T+N使用量
  19656. type: integer
  19657. trademode:
  19658. description: 交易模式
  19659. type: integer
  19660. usedmargin:
  19661. description: 占用保证金
  19662. type: number
  19663. type: object
  19664. taaccount.QueryAmountLogRsp:
  19665. properties:
  19666. OPERATETYPENAME:
  19667. description: 资金操作类型名称
  19668. type: string
  19669. accountid:
  19670. description: 资金账户ID
  19671. type: integer
  19672. agoodscode:
  19673. description: 竞拍商品代码
  19674. type: string
  19675. agoodsname:
  19676. description: 竞拍商品名称
  19677. type: string
  19678. amount:
  19679. description: 资金金额
  19680. type: number
  19681. amountadjusttype:
  19682. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  19683. type: integer
  19684. autoid:
  19685. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  19686. type: integer
  19687. balance:
  19688. description: 期初余额
  19689. type: number
  19690. businesscode:
  19691. description: 业务编号
  19692. type: integer
  19693. createtime:
  19694. description: 发生时间
  19695. type: string
  19696. currencyid:
  19697. description: 币种ID
  19698. type: integer
  19699. currentbalance:
  19700. description: 期末余额(变动后金额)
  19701. type: number
  19702. dgoodscode:
  19703. description: 交割商品代码
  19704. type: string
  19705. dgoodsname:
  19706. description: 交割商品名称
  19707. type: string
  19708. goodscode:
  19709. description: 商品代码
  19710. type: string
  19711. goodsid:
  19712. description: 商品ID
  19713. type: integer
  19714. goodsname:
  19715. description: 商品名称
  19716. type: string
  19717. marketid:
  19718. description: 市场ID
  19719. type: integer
  19720. marketname:
  19721. description: 市场名称
  19722. type: string
  19723. moneyticket:
  19724. description: 资金流水号:银行端流水号
  19725. type: integer
  19726. operatetype:
  19727. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  19728. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  19729. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  19730. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  19731. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  19732. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  19733. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  19734. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  19735. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  19736. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  19737. type: integer
  19738. relationorderid:
  19739. description: 关联单号
  19740. type: string
  19741. remark:
  19742. description: 备注
  19743. type: string
  19744. trademode:
  19745. description: 交易模式
  19746. type: integer
  19747. required:
  19748. - accountid
  19749. - amount
  19750. - amountadjusttype
  19751. - autoid
  19752. - balance
  19753. - createtime
  19754. - currentbalance
  19755. - operatetype
  19756. type: object
  19757. taaccount.QueryHisAmountLogRsp:
  19758. properties:
  19759. OPERATETYPENAME:
  19760. description: 资金操作类型名称
  19761. type: string
  19762. accountid:
  19763. description: 资金账户ID
  19764. type: integer
  19765. agoodscode:
  19766. description: 竞拍商品代码
  19767. type: string
  19768. agoodsname:
  19769. description: 竞拍商品名称
  19770. type: string
  19771. amount:
  19772. description: 资金金额
  19773. type: number
  19774. amountadjusttype:
  19775. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  19776. type: integer
  19777. autoid:
  19778. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  19779. type: integer
  19780. balance:
  19781. description: 期初余额
  19782. type: number
  19783. businesscode:
  19784. description: 业务编号
  19785. type: integer
  19786. createtime:
  19787. description: 发生时间
  19788. type: string
  19789. currencyid:
  19790. description: 币种ID
  19791. type: integer
  19792. currentbalance:
  19793. description: 期末余额(变动后金额)
  19794. type: number
  19795. dgoodscode:
  19796. description: 交割商品代码
  19797. type: string
  19798. dgoodsname:
  19799. description: 交割商品名称
  19800. type: string
  19801. goodscode:
  19802. description: 商品代码
  19803. type: string
  19804. goodsid:
  19805. description: 商品ID
  19806. type: integer
  19807. goodsname:
  19808. description: 商品名称
  19809. type: string
  19810. histradedate:
  19811. description: 历史交易日
  19812. type: string
  19813. isvaliddata:
  19814. description: 是否有效 - 0:无效 1:有效
  19815. type: integer
  19816. marketid:
  19817. description: 市场ID
  19818. type: integer
  19819. marketname:
  19820. description: 市场名称
  19821. type: string
  19822. moneyticket:
  19823. description: 资金流水号:银行端流水号
  19824. type: integer
  19825. operatetype:
  19826. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  19827. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  19828. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  19829. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  19830. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  19831. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  19832. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  19833. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  19834. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  19835. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  19836. type: integer
  19837. relationorderid:
  19838. description: 关联单号
  19839. type: string
  19840. remark:
  19841. description: 备注
  19842. type: string
  19843. trademode:
  19844. description: 交易模式
  19845. type: integer
  19846. required:
  19847. - accountid
  19848. - amount
  19849. - amountadjusttype
  19850. - autoid
  19851. - balance
  19852. - createtime
  19853. - currentbalance
  19854. - histradedate
  19855. - operatetype
  19856. type: object
  19857. trade.QueryRecieptOrderRsp:
  19858. properties:
  19859. accountName:
  19860. description: 所属账号名称(已脱敏)
  19861. type: string
  19862. accountid:
  19863. description: 资金账号
  19864. type: integer
  19865. buyorsell:
  19866. description: 方向 - 0:买 1:卖
  19867. type: integer
  19868. enableqty:
  19869. description: 可摘数量
  19870. type: integer
  19871. goodscode:
  19872. description: 商品代码
  19873. type: string
  19874. goodsid:
  19875. description: 商品ID
  19876. type: integer
  19877. goodsname:
  19878. description: 商品名称
  19879. type: string
  19880. orderid:
  19881. description: 委托单号
  19882. type: string
  19883. orderprice:
  19884. description: 委托价格
  19885. type: number
  19886. ordertime:
  19887. description: 委托时间
  19888. type: string
  19889. tradedate:
  19890. description: 交易日(yyyyMMdd)
  19891. type: string
  19892. required:
  19893. - ordertime
  19894. type: object
  19895. user.LoginQueryRsp:
  19896. properties:
  19897. areaRoles:
  19898. description: 所属角色信息
  19899. items:
  19900. $ref: '#/definitions/models.Arearole'
  19901. type: array
  19902. externalExchanges:
  19903. description: 外部交易所
  19904. items:
  19905. $ref: '#/definitions/models.Externalexchange'
  19906. type: array
  19907. goodsgroups:
  19908. description: 商品组
  19909. items:
  19910. $ref: '#/definitions/models.Goodsgroup'
  19911. type: array
  19912. loginAccount:
  19913. $ref: '#/definitions/models.Loginaccount'
  19914. description: 登录账号
  19915. markets:
  19916. description: 市场
  19917. items:
  19918. $ref: '#/definitions/models.Market'
  19919. type: array
  19920. systemParams:
  19921. description: 系统参数
  19922. items:
  19923. $ref: '#/definitions/models.Systemparam'
  19924. type: array
  19925. userAccount:
  19926. $ref: '#/definitions/models.Useraccount'
  19927. description: 用户账号
  19928. userInfo:
  19929. $ref: '#/definitions/models.Userinfo'
  19930. description: 用户信息
  19931. username:
  19932. description: 用户姓名
  19933. type: string
  19934. type: object
  19935. info:
  19936. contact: {}
  19937. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  19938. termsOfService: http://www.muchinfo.cn
  19939. title: MTP2.0 查询服务 API
  19940. version: "1.0"
  19941. paths:
  19942. /CPTrade/QueryCPTradeMyBidInfos:
  19943. get:
  19944. parameters:
  19945. - description: 资金账户
  19946. in: query
  19947. name: accountid
  19948. required: true
  19949. type: integer
  19950. - description: 预售市场ID
  19951. in: query
  19952. name: marketid
  19953. type: integer
  19954. - description: 预售商品ID
  19955. in: query
  19956. name: goodsid
  19957. type: integer
  19958. produces:
  19959. - application/json
  19960. responses:
  19961. "200":
  19962. description: OK
  19963. schema:
  19964. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  19965. "500":
  19966. description: Internal Server Error
  19967. schema:
  19968. $ref: '#/definitions/app.Response'
  19969. security:
  19970. - ApiKeyAuth: []
  19971. summary: 查询产能预售我的出价信息
  19972. tags:
  19973. - 产能预售
  19974. /CPTrade/QueryCPTradeOrderDetail:
  19975. get:
  19976. parameters:
  19977. - description: 预售商品ID
  19978. in: query
  19979. name: goodsid
  19980. type: integer
  19981. - description: 预售市场ID
  19982. in: query
  19983. name: marketid
  19984. type: integer
  19985. - description: 预售商品ID列表 - 格式:1,2,3
  19986. in: query
  19987. name: goodsids
  19988. type: string
  19989. produces:
  19990. - application/json
  19991. responses:
  19992. "200":
  19993. description: OK
  19994. schema:
  19995. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  19996. "500":
  19997. description: Internal Server Error
  19998. schema:
  19999. $ref: '#/definitions/app.Response'
  20000. security:
  20001. - ApiKeyAuth: []
  20002. summary: 查询产能预售委托单信息
  20003. tags:
  20004. - 产能预售
  20005. /CPTrade/QueryMyCPTradeGoods:
  20006. get:
  20007. parameters:
  20008. - description: 资金账户
  20009. in: query
  20010. name: accountid
  20011. required: true
  20012. type: integer
  20013. produces:
  20014. - application/json
  20015. responses:
  20016. "200":
  20017. description: OK
  20018. schema:
  20019. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  20020. "500":
  20021. description: Internal Server Error
  20022. schema:
  20023. $ref: '#/definitions/app.Response'
  20024. security:
  20025. - ApiKeyAuth: []
  20026. summary: 查询我的预售信息
  20027. tags:
  20028. - 产能预售
  20029. /CPTrade/QueryPositionCancel:
  20030. get:
  20031. parameters:
  20032. - description: 账户ID
  20033. in: query
  20034. name: userid
  20035. required: true
  20036. type: integer
  20037. - description: 注销ID
  20038. in: query
  20039. name: cancelid
  20040. type: integer
  20041. - description: 资金账户ID
  20042. in: query
  20043. name: accountid
  20044. type: integer
  20045. produces:
  20046. - application/json
  20047. responses:
  20048. "200":
  20049. description: OK
  20050. schema:
  20051. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  20052. "500":
  20053. description: Internal Server Error
  20054. schema:
  20055. $ref: '#/definitions/app.Response'
  20056. security:
  20057. - ApiKeyAuth: []
  20058. summary: 查询远期订单注销申请信息
  20059. tags:
  20060. - 产能预售
  20061. /CPTrade/QueryPreasleApply:
  20062. get:
  20063. parameters:
  20064. - description: 账户ID
  20065. in: query
  20066. name: userid
  20067. required: true
  20068. type: integer
  20069. - description: 申请ID
  20070. in: query
  20071. name: applyid
  20072. type: integer
  20073. - description: 资金账户ID
  20074. in: query
  20075. name: accountid
  20076. type: integer
  20077. produces:
  20078. - application/json
  20079. responses:
  20080. "200":
  20081. description: OK
  20082. schema:
  20083. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  20084. "500":
  20085. description: Internal Server Error
  20086. schema:
  20087. $ref: '#/definitions/app.Response'
  20088. security:
  20089. - ApiKeyAuth: []
  20090. summary: 查询产能预售申请信息
  20091. tags:
  20092. - 产能预售
  20093. /CPTrade/QueryPresaleGoodsEx:
  20094. get:
  20095. parameters:
  20096. - description: 预售商品ID
  20097. in: query
  20098. name: goodsid
  20099. type: integer
  20100. - description: 预售市场ID
  20101. in: query
  20102. name: marketid
  20103. type: integer
  20104. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  20105. in: query
  20106. name: presalemode
  20107. type: integer
  20108. - description: 预售商品ID列表 - 格式:1,2,3
  20109. in: query
  20110. name: goodsids
  20111. type: string
  20112. - description: 预售商品代码
  20113. in: query
  20114. name: goodscode
  20115. type: string
  20116. produces:
  20117. - application/json
  20118. responses:
  20119. "200":
  20120. description: OK
  20121. schema:
  20122. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  20123. "500":
  20124. description: Internal Server Error
  20125. schema:
  20126. $ref: '#/definitions/app.Response'
  20127. security:
  20128. - ApiKeyAuth: []
  20129. summary: 查询产能预售商品扩展信息
  20130. tags:
  20131. - 产能预售
  20132. /CPTrade/QueryUserGoodsData:
  20133. get:
  20134. parameters:
  20135. - description: 资金账户ID
  20136. in: query
  20137. name: accountid
  20138. required: true
  20139. type: integer
  20140. produces:
  20141. - application/json
  20142. responses:
  20143. "200":
  20144. description: OK
  20145. schema:
  20146. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  20147. "500":
  20148. description: Internal Server Error
  20149. schema:
  20150. $ref: '#/definitions/app.Response'
  20151. security:
  20152. - ApiKeyAuth: []
  20153. summary: 查询远期订单信息
  20154. tags:
  20155. - 产能预售
  20156. /Common/GetAllEnums:
  20157. get:
  20158. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  20159. parameters:
  20160. - description: 起始自增ID
  20161. in: query
  20162. name: autoid
  20163. type: integer
  20164. produces:
  20165. - application/json
  20166. responses:
  20167. "200":
  20168. description: OK
  20169. schema:
  20170. $ref: '#/definitions/models.Enumdicitem'
  20171. "500":
  20172. description: Internal Server Error
  20173. schema:
  20174. $ref: '#/definitions/app.Response'
  20175. summary: 获取所有枚举信息
  20176. tags:
  20177. - 通用服务
  20178. /Common/GetClientMenus:
  20179. get:
  20180. parameters:
  20181. - description: 登录账号
  20182. in: query
  20183. name: loginID
  20184. required: true
  20185. type: integer
  20186. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  20187. in: query
  20188. name: clientType
  20189. type: integer
  20190. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  20191. in: query
  20192. name: name
  20193. type: string
  20194. produces:
  20195. - application/json
  20196. responses:
  20197. "200":
  20198. description: OK
  20199. schema:
  20200. items:
  20201. $ref: '#/definitions/common.ClientMenu'
  20202. type: array
  20203. "500":
  20204. description: Internal Server Error
  20205. schema:
  20206. $ref: '#/definitions/app.Response'
  20207. security:
  20208. - ApiKeyAuth: []
  20209. summary: 获取交易端菜单
  20210. tags:
  20211. - 通用服务
  20212. /Common/GetDivisions:
  20213. get:
  20214. produces:
  20215. - application/json
  20216. responses:
  20217. "200":
  20218. description: OK
  20219. schema:
  20220. $ref: '#/definitions/models.Division'
  20221. "500":
  20222. description: Internal Server Error
  20223. schema:
  20224. $ref: '#/definitions/app.Response'
  20225. summary: 查询区域信息
  20226. tags:
  20227. - 通用服务
  20228. /Common/GetPCWebMenus:
  20229. get:
  20230. parameters:
  20231. - description: 登录账号
  20232. in: query
  20233. name: loginID
  20234. required: true
  20235. type: integer
  20236. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  20237. in: query
  20238. name: name
  20239. type: string
  20240. produces:
  20241. - application/json
  20242. responses:
  20243. "200":
  20244. description: OK
  20245. schema:
  20246. items:
  20247. $ref: '#/definitions/common.PCWebMenu'
  20248. type: array
  20249. "500":
  20250. description: Internal Server Error
  20251. schema:
  20252. $ref: '#/definitions/app.Response'
  20253. security:
  20254. - ApiKeyAuth: []
  20255. summary: 获取PCWeb交易端菜单
  20256. tags:
  20257. - 通用服务
  20258. /Common/GetServerTime:
  20259. get:
  20260. produces:
  20261. - application/json
  20262. responses:
  20263. "200":
  20264. description: OK
  20265. schema:
  20266. $ref: '#/definitions/app.Response'
  20267. "500":
  20268. description: Internal Server Error
  20269. schema:
  20270. $ref: '#/definitions/app.Response'
  20271. summary: 获取服务器时间
  20272. tags:
  20273. - 通用服务
  20274. /Common/NoticeReaded:
  20275. post:
  20276. parameters:
  20277. - description: 登录账号
  20278. in: query
  20279. name: loginID
  20280. required: true
  20281. type: integer
  20282. - description: 通知公告ID
  20283. in: query
  20284. name: noticeID
  20285. required: true
  20286. type: integer
  20287. produces:
  20288. - application/json
  20289. responses:
  20290. "200":
  20291. description: OK
  20292. schema:
  20293. $ref: '#/definitions/app.Response'
  20294. "500":
  20295. description: Internal Server Error
  20296. schema:
  20297. $ref: '#/definitions/app.Response'
  20298. security:
  20299. - ApiKeyAuth: []
  20300. summary: 通知公告设置已读请求
  20301. tags:
  20302. - 通用服务
  20303. /Common/QueryErrorInfos:
  20304. get:
  20305. description: 如果传入rowNumber,则返回此rowNumber后的数据
  20306. parameters:
  20307. - description: 起始行号前索引
  20308. in: query
  20309. name: rowNumber
  20310. type: string
  20311. produces:
  20312. - application/json
  20313. responses:
  20314. "200":
  20315. description: OK
  20316. schema:
  20317. $ref: '#/definitions/models.QueryErrorInfosRsp'
  20318. "500":
  20319. description: Internal Server Error
  20320. schema:
  20321. $ref: '#/definitions/app.Response'
  20322. summary: 获取数据库错误信息
  20323. tags:
  20324. - 通用服务
  20325. /Common/QueryImageConfigs:
  20326. get:
  20327. parameters:
  20328. - description: 用户id
  20329. in: query
  20330. name: userId
  20331. type: integer
  20332. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  20333. in: query
  20334. name: imageType
  20335. type: integer
  20336. produces:
  20337. - application/json
  20338. responses:
  20339. "200":
  20340. description: OK
  20341. schema:
  20342. $ref: '#/definitions/common.QueryImageConfigsRsp'
  20343. "500":
  20344. description: Internal Server Error
  20345. schema:
  20346. $ref: '#/definitions/app.Response'
  20347. summary: 查询轮播图配置信息
  20348. tags:
  20349. - 通用服务
  20350. /Common/QueryNotice:
  20351. get:
  20352. parameters:
  20353. - description: 页码
  20354. in: query
  20355. name: page
  20356. type: integer
  20357. - description: 每页条数
  20358. in: query
  20359. name: pagesize
  20360. type: integer
  20361. - description: 登录账号
  20362. in: query
  20363. name: loginID
  20364. required: true
  20365. type: integer
  20366. - description: 消息类型 - 1:公告通知 2:系统消息
  20367. in: query
  20368. name: msgType
  20369. type: integer
  20370. - description: 是否只获取未读信息
  20371. in: query
  20372. name: onlyUnRead
  20373. type: boolean
  20374. - description: 自增ID,传入后会返回这个ID后面的记录
  20375. in: query
  20376. name: lastID
  20377. type: integer
  20378. produces:
  20379. - application/json
  20380. responses:
  20381. "200":
  20382. description: OK
  20383. schema:
  20384. $ref: '#/definitions/common.QueryNoticeRsp'
  20385. "500":
  20386. description: Internal Server Error
  20387. schema:
  20388. $ref: '#/definitions/app.Response'
  20389. security:
  20390. - ApiKeyAuth: []
  20391. summary: 通知公告系统消息查询
  20392. tags:
  20393. - 通用服务
  20394. /Common/QueryProvincesAndCities:
  20395. get:
  20396. parameters:
  20397. - description: 省ID
  20398. in: query
  20399. name: provinceID
  20400. type: integer
  20401. produces:
  20402. - application/json
  20403. responses:
  20404. "200":
  20405. description: OK
  20406. schema:
  20407. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  20408. "500":
  20409. description: Internal Server Error
  20410. schema:
  20411. $ref: '#/definitions/app.Response'
  20412. summary: 查询省市信息(不包括区)
  20413. tags:
  20414. - 通用服务
  20415. /Common/QueryTableDefine:
  20416. get:
  20417. parameters:
  20418. - description: 表key
  20419. in: query
  20420. name: tableKey
  20421. type: string
  20422. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  20423. in: query
  20424. name: tableType
  20425. type: integer
  20426. produces:
  20427. - application/json
  20428. responses:
  20429. "200":
  20430. description: OK
  20431. schema:
  20432. $ref: '#/definitions/common.QueryTableDefineRsp'
  20433. "500":
  20434. description: Internal Server Error
  20435. schema:
  20436. $ref: '#/definitions/app.Response'
  20437. summary: 查询交易端列表头信息
  20438. tags:
  20439. - 通用服务
  20440. /Common/QueryTraderMenu:
  20441. get:
  20442. parameters:
  20443. - description: 登录账号
  20444. in: query
  20445. name: loginid
  20446. required: true
  20447. type: integer
  20448. produces:
  20449. - application/json
  20450. responses:
  20451. "200":
  20452. description: OK
  20453. schema:
  20454. $ref: '#/definitions/common.QueryTraderMenuRsp'
  20455. "500":
  20456. description: Internal Server Error
  20457. schema:
  20458. $ref: '#/definitions/app.Response'
  20459. summary: 查询交易端菜单
  20460. tags:
  20461. - 通用服务
  20462. /Delivery/QueryDeliveryRelation:
  20463. get:
  20464. parameters:
  20465. - description: 商品ID
  20466. in: query
  20467. name: goodsid
  20468. type: integer
  20469. - description: 品种ID
  20470. in: query
  20471. name: deliverygoodsid
  20472. type: integer
  20473. - description: 市场ID
  20474. in: query
  20475. name: marketid
  20476. type: integer
  20477. produces:
  20478. - application/json
  20479. responses:
  20480. "200":
  20481. description: OK
  20482. schema:
  20483. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  20484. "500":
  20485. description: Internal Server Error
  20486. schema:
  20487. $ref: '#/definitions/app.Response'
  20488. security:
  20489. - ApiKeyAuth: []
  20490. summary: 查询商品交割关系表
  20491. tags:
  20492. - 交割服务
  20493. /Ermcp/GetErmcpGoods:
  20494. get:
  20495. parameters:
  20496. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  20497. in: query
  20498. name: userid
  20499. type: integer
  20500. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  20501. in: query
  20502. name: lastUpdateTime
  20503. type: string
  20504. produces:
  20505. - application/json
  20506. responses:
  20507. "200":
  20508. description: OK
  20509. schema:
  20510. $ref: '#/definitions/models.ErmcpGoods'
  20511. "500":
  20512. description: Internal Server Error
  20513. schema:
  20514. $ref: '#/definitions/app.Response'
  20515. security:
  20516. - ApiKeyAuth: []
  20517. summary: 查询企业风管期货商品信息
  20518. tags:
  20519. - 企业风险管理(app)
  20520. /Ermcp/GetErmcpGoodsSortByPosition:
  20521. get:
  20522. parameters:
  20523. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  20524. in: query
  20525. name: sortIndex
  20526. type: string
  20527. produces:
  20528. - application/json
  20529. responses:
  20530. "200":
  20531. description: OK
  20532. schema:
  20533. $ref: '#/definitions/models.Goodssortbypreposition'
  20534. "500":
  20535. description: Internal Server Error
  20536. schema:
  20537. $ref: '#/definitions/app.Response'
  20538. security:
  20539. - ApiKeyAuth: []
  20540. summary: 查询企业风管期货主力、次主力商品信息
  20541. tags:
  20542. - 企业风险管理(app)
  20543. /Ermcp/GetErmcpOutAccountStatus:
  20544. get:
  20545. parameters:
  20546. - description: 登录账号
  20547. in: query
  20548. name: loginID
  20549. required: true
  20550. type: integer
  20551. produces:
  20552. - application/json
  20553. responses:
  20554. "200":
  20555. description: OK
  20556. schema:
  20557. $ref: '#/definitions/models.Hedgemarketopenlog'
  20558. "500":
  20559. description: Internal Server Error
  20560. schema:
  20561. $ref: '#/definitions/app.Response'
  20562. security:
  20563. - ApiKeyAuth: []
  20564. summary: 获取目标登录账号当前对冲账号在线状态
  20565. tags:
  20566. - 企业风险管理(app)
  20567. /Ermcp/GetErmcpRoleFuncMenuLists:
  20568. get:
  20569. parameters:
  20570. - description: 登录账号
  20571. in: query
  20572. name: loginID
  20573. required: true
  20574. type: integer
  20575. produces:
  20576. - application/json
  20577. responses:
  20578. "200":
  20579. description: OK
  20580. schema:
  20581. $ref: '#/definitions/models.Funcmenulist'
  20582. "500":
  20583. description: Internal Server Error
  20584. schema:
  20585. $ref: '#/definitions/app.Response'
  20586. security:
  20587. - ApiKeyAuth: []
  20588. summary: 获取企业风管终端权限
  20589. tags:
  20590. - 企业风险管理(app)
  20591. /Ermcp/QueryAccMgrBizGroupSet:
  20592. get:
  20593. parameters:
  20594. - description: 用户ID
  20595. in: query
  20596. name: userid
  20597. required: true
  20598. type: integer
  20599. - description: 现货商品id
  20600. in: query
  20601. name: deliverygoodsid
  20602. type: integer
  20603. produces:
  20604. - application/json
  20605. responses:
  20606. "200":
  20607. description: OK
  20608. schema:
  20609. items:
  20610. $ref: '#/definitions/models.ErmcpBizGroupEx'
  20611. type: array
  20612. "500":
  20613. description: Internal Server Error
  20614. schema:
  20615. $ref: '#/definitions/app.Response'
  20616. security:
  20617. - ApiKeyAuth: []
  20618. summary: 查询业务类型分组(账户管理/账户设置)
  20619. tags:
  20620. - 企业风险管理(app)
  20621. /Ermcp/QueryAccMgrLoginUser:
  20622. get:
  20623. parameters:
  20624. - description: 用户ID
  20625. in: query
  20626. name: userid
  20627. required: true
  20628. type: integer
  20629. - description: 用户类型 2-机构 7-企业成员
  20630. in: query
  20631. name: usertype
  20632. type: integer
  20633. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  20634. in: query
  20635. name: querytype
  20636. required: true
  20637. type: integer
  20638. produces:
  20639. - application/json
  20640. responses:
  20641. "200":
  20642. description: OK
  20643. schema:
  20644. items:
  20645. $ref: '#/definitions/models.ErmcpLoginUserEx'
  20646. type: array
  20647. "500":
  20648. description: Internal Server Error
  20649. schema:
  20650. $ref: '#/definitions/app.Response'
  20651. security:
  20652. - ApiKeyAuth: []
  20653. summary: 查询账户管理登录账号(账户管理/登录账号)
  20654. tags:
  20655. - 企业风险管理(app)
  20656. /Ermcp/QueryAccMgrMainAccountInfo:
  20657. get:
  20658. parameters:
  20659. - description: 用户ID
  20660. in: query
  20661. name: userid
  20662. type: integer
  20663. - description: 主账号id
  20664. in: query
  20665. name: accountid
  20666. type: integer
  20667. produces:
  20668. - application/json
  20669. responses:
  20670. "200":
  20671. description: OK
  20672. schema:
  20673. items:
  20674. $ref: '#/definitions/models.MainAccountInfo'
  20675. type: array
  20676. "500":
  20677. description: Internal Server Error
  20678. schema:
  20679. $ref: '#/definitions/app.Response'
  20680. security:
  20681. - ApiKeyAuth: []
  20682. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  20683. tags:
  20684. - 企业风险管理(app)
  20685. /Ermcp/QueryAccMgrRole:
  20686. get:
  20687. parameters:
  20688. - description: 用户ID
  20689. in: query
  20690. name: userid
  20691. required: true
  20692. type: integer
  20693. produces:
  20694. - application/json
  20695. responses:
  20696. "200":
  20697. description: OK
  20698. schema:
  20699. items:
  20700. $ref: '#/definitions/models.ErmcpRole'
  20701. type: array
  20702. "500":
  20703. description: Internal Server Error
  20704. schema:
  20705. $ref: '#/definitions/app.Response'
  20706. security:
  20707. - ApiKeyAuth: []
  20708. summary: 查询账户管理角色设置(账户管理/角色设置)
  20709. tags:
  20710. - 企业风险管理(app)
  20711. /Ermcp/QueryAccMgrRoleMenu:
  20712. get:
  20713. parameters:
  20714. - description: 用户ID
  20715. in: query
  20716. name: userid
  20717. required: true
  20718. type: integer
  20719. - description: 角色id(可多个,逗号隔开)
  20720. in: query
  20721. name: roleid
  20722. type: string
  20723. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  20724. in: query
  20725. name: menutype
  20726. type: integer
  20727. produces:
  20728. - application/json
  20729. responses:
  20730. "200":
  20731. description: OK
  20732. schema:
  20733. items:
  20734. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  20735. type: array
  20736. "500":
  20737. description: Internal Server Error
  20738. schema:
  20739. $ref: '#/definitions/app.Response'
  20740. security:
  20741. - ApiKeyAuth: []
  20742. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  20743. tags:
  20744. - 企业风险管理(app)
  20745. /Ermcp/QueryAccMgrTaAccountInfo:
  20746. get:
  20747. parameters:
  20748. - description: 用户ID
  20749. in: query
  20750. name: userid
  20751. required: true
  20752. type: integer
  20753. - description: 账号id
  20754. in: query
  20755. name: accountid
  20756. type: integer
  20757. produces:
  20758. - application/json
  20759. responses:
  20760. "200":
  20761. description: OK
  20762. schema:
  20763. items:
  20764. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  20765. type: array
  20766. "500":
  20767. description: Internal Server Error
  20768. schema:
  20769. $ref: '#/definitions/app.Response'
  20770. security:
  20771. - ApiKeyAuth: []
  20772. summary: 查询账户管理授信(账户管理/账户设置/授信)
  20773. tags:
  20774. - 企业风险管理(app)
  20775. /Ermcp/QueryAccMgrTaaccount:
  20776. get:
  20777. parameters:
  20778. - description: 用户ID
  20779. in: query
  20780. name: userid
  20781. required: true
  20782. type: integer
  20783. produces:
  20784. - application/json
  20785. responses:
  20786. "200":
  20787. description: OK
  20788. schema:
  20789. items:
  20790. $ref: '#/definitions/models.ErmcpTaAccountEx'
  20791. type: array
  20792. "500":
  20793. description: Internal Server Error
  20794. schema:
  20795. $ref: '#/definitions/app.Response'
  20796. security:
  20797. - ApiKeyAuth: []
  20798. summary: 查询账户管理期货账号(账户管理/期货账号)
  20799. tags:
  20800. - 企业风险管理(app)
  20801. /Ermcp/QueryAvaildGoodsGroup:
  20802. get:
  20803. parameters:
  20804. - description: 所属机构ID
  20805. in: query
  20806. name: userid
  20807. required: true
  20808. type: integer
  20809. produces:
  20810. - application/json
  20811. responses:
  20812. "200":
  20813. description: OK
  20814. schema:
  20815. items:
  20816. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  20817. type: array
  20818. "500":
  20819. description: Internal Server Error
  20820. schema:
  20821. $ref: '#/definitions/app.Response'
  20822. security:
  20823. - ApiKeyAuth: []
  20824. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  20825. tags:
  20826. - 企业风险管理(app)
  20827. /Ermcp/QueryBusinessDj:
  20828. get:
  20829. parameters:
  20830. - description: 用户ID
  20831. in: query
  20832. name: UserId
  20833. required: true
  20834. type: integer
  20835. - description: 用户类型 2-机构 7-企业成员
  20836. in: query
  20837. name: usertype
  20838. type: integer
  20839. - description: 现货合同ID, 不填则查所有
  20840. in: query
  20841. name: relatedid
  20842. type: string
  20843. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20844. in: query
  20845. name: applystatus
  20846. type: string
  20847. produces:
  20848. - application/json
  20849. responses:
  20850. "200":
  20851. description: OK
  20852. schema:
  20853. items:
  20854. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  20855. type: array
  20856. "500":
  20857. description: Internal Server Error
  20858. schema:
  20859. $ref: '#/definitions/app.Response'
  20860. security:
  20861. - ApiKeyAuth: []
  20862. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  20863. tags:
  20864. - 企业风险管理(app)
  20865. /Ermcp/QueryBusinessFp:
  20866. get:
  20867. parameters:
  20868. - description: 用户ID
  20869. in: query
  20870. name: UserId
  20871. required: true
  20872. type: integer
  20873. - description: 用户类型 2-机构 7-企业成员
  20874. in: query
  20875. name: usertype
  20876. type: integer
  20877. - description: 现货合同ID, 不填则查所有
  20878. in: query
  20879. name: relatedid
  20880. type: string
  20881. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20882. in: query
  20883. name: applystatus
  20884. type: string
  20885. produces:
  20886. - application/json
  20887. responses:
  20888. "200":
  20889. description: OK
  20890. schema:
  20891. items:
  20892. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  20893. type: array
  20894. "500":
  20895. description: Internal Server Error
  20896. schema:
  20897. $ref: '#/definitions/app.Response'
  20898. security:
  20899. - ApiKeyAuth: []
  20900. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  20901. tags:
  20902. - 企业风险管理(app)
  20903. /Ermcp/QueryBusinessJs:
  20904. get:
  20905. parameters:
  20906. - description: 用户ID
  20907. in: query
  20908. name: UserId
  20909. required: true
  20910. type: integer
  20911. - description: 用户类型 2-机构 7-企业成员
  20912. in: query
  20913. name: usertype
  20914. type: integer
  20915. - description: 现货合同ID, 不填则查所有
  20916. in: query
  20917. name: relatedid
  20918. type: string
  20919. - description: 操作申请id
  20920. in: query
  20921. name: operateapplyid
  20922. type: string
  20923. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20924. in: query
  20925. name: applystatus
  20926. type: string
  20927. produces:
  20928. - application/json
  20929. responses:
  20930. "200":
  20931. description: OK
  20932. schema:
  20933. items:
  20934. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  20935. type: array
  20936. "500":
  20937. description: Internal Server Error
  20938. schema:
  20939. $ref: '#/definitions/app.Response'
  20940. security:
  20941. - ApiKeyAuth: []
  20942. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  20943. tags:
  20944. - 企业风险管理(app)
  20945. /Ermcp/QueryBusinessJsEx:
  20946. get:
  20947. parameters:
  20948. - description: 用户ID
  20949. in: query
  20950. name: UserId
  20951. required: true
  20952. type: integer
  20953. - description: 用户类型 2-机构 7-企业成员
  20954. in: query
  20955. name: usertype
  20956. type: integer
  20957. - description: 现货合同ID, 不填则查所有
  20958. in: query
  20959. name: relatedid
  20960. type: string
  20961. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20962. in: query
  20963. name: applystatus
  20964. type: string
  20965. produces:
  20966. - application/json
  20967. responses:
  20968. "200":
  20969. description: OK
  20970. schema:
  20971. items:
  20972. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  20973. type: array
  20974. "500":
  20975. description: Internal Server Error
  20976. schema:
  20977. $ref: '#/definitions/app.Response'
  20978. security:
  20979. - ApiKeyAuth: []
  20980. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  20981. tags:
  20982. - 企业风险管理(app)
  20983. /Ermcp/QueryBusinessKx:
  20984. get:
  20985. parameters:
  20986. - description: 用户ID
  20987. in: query
  20988. name: UserId
  20989. required: true
  20990. type: integer
  20991. - description: 用户类型 2-机构 7-企业成员
  20992. in: query
  20993. name: usertype
  20994. type: integer
  20995. - description: 现货合同ID, 不填则查所有
  20996. in: query
  20997. name: relatedid
  20998. type: string
  20999. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21000. in: query
  21001. name: applystatus
  21002. type: string
  21003. produces:
  21004. - application/json
  21005. responses:
  21006. "200":
  21007. description: OK
  21008. schema:
  21009. items:
  21010. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  21011. type: array
  21012. "500":
  21013. description: Internal Server Error
  21014. schema:
  21015. $ref: '#/definitions/app.Response'
  21016. security:
  21017. - ApiKeyAuth: []
  21018. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  21019. tags:
  21020. - 企业风险管理(app)
  21021. /Ermcp/QueryChangeLog:
  21022. get:
  21023. parameters:
  21024. - description: 合同ID
  21025. in: query
  21026. name: RelatedId
  21027. required: true
  21028. type: string
  21029. produces:
  21030. - application/json
  21031. responses:
  21032. "200":
  21033. description: OK
  21034. schema:
  21035. items:
  21036. $ref: '#/definitions/ermcp.QryOPLogRsp'
  21037. type: array
  21038. "500":
  21039. description: Internal Server Error
  21040. schema:
  21041. $ref: '#/definitions/app.Response'
  21042. security:
  21043. - ApiKeyAuth: []
  21044. summary: 查询变更记录
  21045. tags:
  21046. - 企业风险管理(app)
  21047. /Ermcp/QueryErmcpHisOrderDetails:
  21048. get:
  21049. parameters:
  21050. - description: 资金账户ID
  21051. in: query
  21052. name: accountID
  21053. required: true
  21054. type: integer
  21055. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  21056. in: query
  21057. name: startDate
  21058. type: string
  21059. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  21060. in: query
  21061. name: endDate
  21062. type: string
  21063. produces:
  21064. - application/json
  21065. responses:
  21066. "200":
  21067. description: OK
  21068. schema:
  21069. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  21070. "500":
  21071. description: Internal Server Error
  21072. schema:
  21073. $ref: '#/definitions/app.Response'
  21074. security:
  21075. - ApiKeyAuth: []
  21076. summary: 获取企业风管期货历史委托单信息
  21077. tags:
  21078. - 企业风险管理(app)
  21079. /Ermcp/QueryErmcpHisTradeDetails:
  21080. get:
  21081. parameters:
  21082. - description: 资金账户ID
  21083. in: query
  21084. name: accountID
  21085. required: true
  21086. type: integer
  21087. - description: 商品ID
  21088. in: query
  21089. name: goodsID
  21090. type: integer
  21091. - description: 买卖方向,0:买 1:卖
  21092. in: query
  21093. name: buyOrSell
  21094. type: integer
  21095. - description: 关联委托单号
  21096. in: query
  21097. name: orderID
  21098. type: integer
  21099. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  21100. in: query
  21101. name: startDate
  21102. type: string
  21103. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  21104. in: query
  21105. name: endDate
  21106. type: string
  21107. produces:
  21108. - application/json
  21109. responses:
  21110. "200":
  21111. description: OK
  21112. schema:
  21113. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  21114. "500":
  21115. description: Internal Server Error
  21116. schema:
  21117. $ref: '#/definitions/app.Response'
  21118. security:
  21119. - ApiKeyAuth: []
  21120. summary: 获取企业风管期货历史成交单信息
  21121. tags:
  21122. - 企业风险管理(app)
  21123. /Ermcp/QueryErmcpInnerHolderDetails:
  21124. get:
  21125. parameters:
  21126. - description: 资金账户ID
  21127. in: query
  21128. name: accountID
  21129. required: true
  21130. type: integer
  21131. - description: 商品ID
  21132. in: query
  21133. name: goodsID
  21134. type: integer
  21135. - description: 买卖方向,0:买 1:卖
  21136. in: query
  21137. name: buyOrSell
  21138. type: integer
  21139. produces:
  21140. - application/json
  21141. responses:
  21142. "200":
  21143. description: OK
  21144. schema:
  21145. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  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/QueryErmcpOrderDetails:
  21156. get:
  21157. parameters:
  21158. - description: 资金账户ID
  21159. in: query
  21160. name: accountID
  21161. required: true
  21162. type: integer
  21163. produces:
  21164. - application/json
  21165. responses:
  21166. "200":
  21167. description: OK
  21168. schema:
  21169. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  21170. "500":
  21171. description: Internal Server Error
  21172. schema:
  21173. $ref: '#/definitions/app.Response'
  21174. security:
  21175. - ApiKeyAuth: []
  21176. summary: 获取企业风管期货委托单信息
  21177. tags:
  21178. - 企业风险管理(app)
  21179. /Ermcp/QueryErmcpTradeDetails:
  21180. get:
  21181. parameters:
  21182. - description: 资金账户ID
  21183. in: query
  21184. name: accountID
  21185. required: true
  21186. type: integer
  21187. - description: 商品ID
  21188. in: query
  21189. name: goodsID
  21190. type: integer
  21191. - description: 买卖方向,0:买 1:卖
  21192. in: query
  21193. name: buyOrSell
  21194. type: integer
  21195. - description: 关联委托单号
  21196. in: query
  21197. name: orderID
  21198. type: integer
  21199. produces:
  21200. - application/json
  21201. responses:
  21202. "200":
  21203. description: OK
  21204. schema:
  21205. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  21206. "500":
  21207. description: Internal Server Error
  21208. schema:
  21209. $ref: '#/definitions/app.Response'
  21210. security:
  21211. - ApiKeyAuth: []
  21212. summary: 获取企业风管期货成交单信息
  21213. tags:
  21214. - 企业风险管理(app)
  21215. /Ermcp/QueryErmcpTradePosition:
  21216. get:
  21217. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  21218. parameters:
  21219. - description: 资金账户ID
  21220. in: query
  21221. name: accountID
  21222. required: true
  21223. type: integer
  21224. - description: 所属市场ID
  21225. in: query
  21226. name: marketID
  21227. type: integer
  21228. produces:
  21229. - application/json
  21230. responses:
  21231. "200":
  21232. description: OK
  21233. schema:
  21234. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  21235. "500":
  21236. description: Internal Server Error
  21237. schema:
  21238. $ref: '#/definitions/app.Response'
  21239. security:
  21240. - ApiKeyAuth: []
  21241. summary: 获取企业风管期货持仓头寸信息
  21242. tags:
  21243. - 企业风险管理(app)
  21244. /Ermcp/QueryExposureDetail:
  21245. get:
  21246. parameters:
  21247. - description: 所属机构ID
  21248. in: query
  21249. name: areaUserId
  21250. required: true
  21251. type: integer
  21252. - description: 套保商品
  21253. in: query
  21254. name: middleGoodsId
  21255. required: true
  21256. type: integer
  21257. produces:
  21258. - application/json
  21259. responses:
  21260. "200":
  21261. description: OK
  21262. schema:
  21263. items:
  21264. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  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/QueryExposureGoods:
  21276. get:
  21277. parameters:
  21278. - description: 套保商品id
  21279. in: query
  21280. name: middlegoodsid
  21281. required: true
  21282. type: integer
  21283. produces:
  21284. - application/json
  21285. responses:
  21286. "200":
  21287. description: OK
  21288. schema:
  21289. items:
  21290. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  21291. type: array
  21292. "500":
  21293. description: Internal Server Error
  21294. schema:
  21295. $ref: '#/definitions/app.Response'
  21296. security:
  21297. - ApiKeyAuth: []
  21298. summary: 查询敞口主力合约
  21299. tags:
  21300. - 企业风险管理(app)
  21301. /Ermcp/QueryExposureHedgePosition:
  21302. get:
  21303. parameters:
  21304. - description: 用户id
  21305. in: query
  21306. name: userid
  21307. required: true
  21308. type: integer
  21309. produces:
  21310. - application/json
  21311. responses:
  21312. "200":
  21313. description: OK
  21314. schema:
  21315. items:
  21316. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  21317. type: array
  21318. "500":
  21319. description: Internal Server Error
  21320. schema:
  21321. $ref: '#/definitions/app.Response'
  21322. security:
  21323. - ApiKeyAuth: []
  21324. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  21325. tags:
  21326. - 企业风险管理(app)
  21327. /Ermcp/QueryExposureHedgePositionDetail:
  21328. get:
  21329. parameters:
  21330. - description: 所属机构ID
  21331. in: query
  21332. name: userid
  21333. required: true
  21334. type: integer
  21335. - description: 商品id
  21336. in: query
  21337. name: goodsId
  21338. required: true
  21339. type: integer
  21340. produces:
  21341. - application/json
  21342. responses:
  21343. "200":
  21344. description: OK
  21345. schema:
  21346. items:
  21347. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  21348. type: array
  21349. "500":
  21350. description: Internal Server Error
  21351. schema:
  21352. $ref: '#/definitions/app.Response'
  21353. security:
  21354. - ApiKeyAuth: []
  21355. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  21356. tags:
  21357. - 企业风险管理(app)
  21358. /Ermcp/QueryExposureSpot:
  21359. get:
  21360. parameters:
  21361. - description: 所属机构ID
  21362. in: query
  21363. name: areaUserId
  21364. required: true
  21365. type: integer
  21366. produces:
  21367. - application/json
  21368. responses:
  21369. "200":
  21370. description: OK
  21371. schema:
  21372. items:
  21373. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  21374. type: array
  21375. "500":
  21376. description: Internal Server Error
  21377. schema:
  21378. $ref: '#/definitions/app.Response'
  21379. security:
  21380. - ApiKeyAuth: []
  21381. summary: 查询敞口现货头寸(敞口/现货头寸)
  21382. tags:
  21383. - 企业风险管理(app)
  21384. /Ermcp/QueryExposureSpotDetail:
  21385. get:
  21386. parameters:
  21387. - description: 所属机构ID
  21388. in: query
  21389. name: areaUserId
  21390. required: true
  21391. type: integer
  21392. - description: 现货品种ID
  21393. in: query
  21394. name: wrstandardId
  21395. required: true
  21396. type: integer
  21397. produces:
  21398. - application/json
  21399. responses:
  21400. "200":
  21401. description: OK
  21402. schema:
  21403. items:
  21404. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  21405. type: array
  21406. "500":
  21407. description: Internal Server Error
  21408. schema:
  21409. $ref: '#/definitions/app.Response'
  21410. security:
  21411. - ApiKeyAuth: []
  21412. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  21413. tags:
  21414. - 企业风险管理(app)
  21415. /Ermcp/QueryFuturesCompany:
  21416. get:
  21417. produces:
  21418. - application/json
  21419. responses:
  21420. "200":
  21421. description: OK
  21422. schema:
  21423. items:
  21424. $ref: '#/definitions/models.ErmcpFuturesCompany'
  21425. type: array
  21426. "500":
  21427. description: Internal Server Error
  21428. schema:
  21429. $ref: '#/definitions/app.Response'
  21430. security:
  21431. - ApiKeyAuth: []
  21432. summary: 查询期货公司
  21433. tags:
  21434. - 企业风险管理(app)
  21435. /Ermcp/QueryGGConvertConfig:
  21436. get:
  21437. parameters:
  21438. - description: 品种id(不填则查所有)
  21439. in: query
  21440. name: goodsgroupid
  21441. type: integer
  21442. produces:
  21443. - application/json
  21444. responses:
  21445. "200":
  21446. description: OK
  21447. schema:
  21448. items:
  21449. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  21450. type: array
  21451. "500":
  21452. description: Internal Server Error
  21453. schema:
  21454. $ref: '#/definitions/app.Response'
  21455. security:
  21456. - ApiKeyAuth: []
  21457. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  21458. tags:
  21459. - 企业风险管理(app)
  21460. /Ermcp/QueryGoodsBrand:
  21461. get:
  21462. parameters:
  21463. - description: 用户ID
  21464. in: query
  21465. name: userid
  21466. required: true
  21467. type: integer
  21468. - description: 现货商品ID
  21469. in: query
  21470. name: wrstandardid
  21471. type: integer
  21472. produces:
  21473. - application/json
  21474. responses:
  21475. "200":
  21476. description: OK
  21477. schema:
  21478. items:
  21479. $ref: '#/definitions/models.ErmcpGoodsBrand'
  21480. type: array
  21481. "500":
  21482. description: Internal Server Error
  21483. schema:
  21484. $ref: '#/definitions/app.Response'
  21485. security:
  21486. - ApiKeyAuth: []
  21487. summary: 查询商品品牌
  21488. tags:
  21489. - 企业风险管理(app)
  21490. /Ermcp/QueryGoodsModel:
  21491. get:
  21492. parameters:
  21493. - description: 用户ID
  21494. in: query
  21495. name: userid
  21496. required: true
  21497. type: integer
  21498. produces:
  21499. - application/json
  21500. responses:
  21501. "200":
  21502. description: OK
  21503. schema:
  21504. items:
  21505. $ref: '#/definitions/models.ErmcpGoodsModel'
  21506. type: array
  21507. "500":
  21508. description: Internal Server Error
  21509. schema:
  21510. $ref: '#/definitions/app.Response'
  21511. security:
  21512. - ApiKeyAuth: []
  21513. summary: 查询商品型号
  21514. tags:
  21515. - 企业风险管理(app)
  21516. /Ermcp/QueryHisExposure:
  21517. get:
  21518. parameters:
  21519. - description: 用户id
  21520. in: query
  21521. name: userid
  21522. required: true
  21523. type: integer
  21524. - description: 每个品种记录数
  21525. in: query
  21526. name: lastNum
  21527. required: true
  21528. type: integer
  21529. produces:
  21530. - application/json
  21531. responses:
  21532. "200":
  21533. description: OK
  21534. schema:
  21535. items:
  21536. $ref: '#/definitions/ermcp.HisExposureRsp'
  21537. type: array
  21538. "500":
  21539. description: Internal Server Error
  21540. schema:
  21541. $ref: '#/definitions/app.Response'
  21542. security:
  21543. - ApiKeyAuth: []
  21544. summary: 查询历史敞口(菜单:敞口/历史敞口)
  21545. tags:
  21546. - 企业风险管理(app)
  21547. /Ermcp/QueryMiddleGoods:
  21548. get:
  21549. parameters:
  21550. - description: 所属机构ID
  21551. in: query
  21552. name: userid
  21553. required: true
  21554. type: integer
  21555. - description: 状态 0-停用 1-正常
  21556. in: query
  21557. name: status
  21558. required: true
  21559. type: integer
  21560. produces:
  21561. - application/json
  21562. responses:
  21563. "200":
  21564. description: OK
  21565. schema:
  21566. items:
  21567. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  21568. type: array
  21569. "500":
  21570. description: Internal Server Error
  21571. schema:
  21572. $ref: '#/definitions/app.Response'
  21573. security:
  21574. - ApiKeyAuth: []
  21575. summary: 查询套保品种(菜单:套保品种)
  21576. tags:
  21577. - 企业风险管理(app)
  21578. /Ermcp/QueryMiddleGoodsChangeLog:
  21579. get:
  21580. parameters:
  21581. - description: 所属机构ID
  21582. in: query
  21583. name: userid
  21584. required: true
  21585. type: integer
  21586. - description: 套保品种id
  21587. in: query
  21588. name: middlegoodsid
  21589. required: true
  21590. type: integer
  21591. produces:
  21592. - application/json
  21593. responses:
  21594. "200":
  21595. description: OK
  21596. schema:
  21597. items:
  21598. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  21599. type: array
  21600. "500":
  21601. description: Internal Server Error
  21602. schema:
  21603. $ref: '#/definitions/app.Response'
  21604. security:
  21605. - ApiKeyAuth: []
  21606. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  21607. tags:
  21608. - 企业风险管理(app)
  21609. /Ermcp/QueryMiddleGoodsDetail:
  21610. get:
  21611. parameters:
  21612. - description: 所属机构ID
  21613. in: query
  21614. name: userid
  21615. required: true
  21616. type: integer
  21617. - description: 套保品种id
  21618. in: query
  21619. name: middlegoodsid
  21620. type: integer
  21621. produces:
  21622. - application/json
  21623. responses:
  21624. "200":
  21625. description: OK
  21626. schema:
  21627. items:
  21628. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  21629. type: array
  21630. "500":
  21631. description: Internal Server Error
  21632. schema:
  21633. $ref: '#/definitions/app.Response'
  21634. security:
  21635. - ApiKeyAuth: []
  21636. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  21637. tags:
  21638. - 企业风险管理(app)
  21639. /Ermcp/QueryPendingAuditInfo:
  21640. get:
  21641. parameters:
  21642. - description: 用户ID
  21643. in: query
  21644. name: UserId
  21645. required: true
  21646. type: integer
  21647. produces:
  21648. - application/json
  21649. responses:
  21650. "200":
  21651. description: OK
  21652. schema:
  21653. items:
  21654. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  21655. type: array
  21656. "500":
  21657. description: Internal Server Error
  21658. schema:
  21659. $ref: '#/definitions/app.Response'
  21660. security:
  21661. - ApiKeyAuth: []
  21662. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  21663. tags:
  21664. - 企业风险管理(app)
  21665. /Ermcp/QueryRealtimeExposure:
  21666. get:
  21667. parameters:
  21668. - description: 所属机构ID
  21669. in: query
  21670. name: userid
  21671. required: true
  21672. type: integer
  21673. produces:
  21674. - application/json
  21675. responses:
  21676. "200":
  21677. description: OK
  21678. schema:
  21679. items:
  21680. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  21681. type: array
  21682. "500":
  21683. description: Internal Server Error
  21684. schema:
  21685. $ref: '#/definitions/app.Response'
  21686. security:
  21687. - ApiKeyAuth: []
  21688. summary: 查询实时敞口
  21689. tags:
  21690. - 企业风险管理(app)
  21691. /Ermcp/QueryRealtimeExposurePosition:
  21692. get:
  21693. parameters:
  21694. - description: 用户id
  21695. in: query
  21696. name: userid
  21697. required: true
  21698. type: integer
  21699. - description: 套保商品ID
  21700. in: query
  21701. name: middleGoodsId
  21702. required: true
  21703. type: integer
  21704. produces:
  21705. - application/json
  21706. responses:
  21707. "200":
  21708. description: OK
  21709. schema:
  21710. items:
  21711. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  21712. type: array
  21713. "500":
  21714. description: Internal Server Error
  21715. schema:
  21716. $ref: '#/definitions/app.Response'
  21717. security:
  21718. - ApiKeyAuth: []
  21719. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  21720. tags:
  21721. - 企业风险管理(app)
  21722. /Ermcp/QueryRoleMenu:
  21723. get:
  21724. parameters:
  21725. - description: 登录ID
  21726. in: query
  21727. name: loginid
  21728. required: true
  21729. type: integer
  21730. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  21731. in: query
  21732. name: menutype
  21733. type: integer
  21734. produces:
  21735. - application/json
  21736. responses:
  21737. "200":
  21738. description: OK
  21739. schema:
  21740. items:
  21741. $ref: '#/definitions/models.RoleMenu'
  21742. type: array
  21743. "500":
  21744. description: Internal Server Error
  21745. schema:
  21746. $ref: '#/definitions/app.Response'
  21747. security:
  21748. - ApiKeyAuth: []
  21749. summary: 查询角色菜单和权限
  21750. tags:
  21751. - 企业风险管理(app)
  21752. /Ermcp/QueryTradeConfigTMP:
  21753. get:
  21754. parameters:
  21755. - description: 所属机构id
  21756. in: query
  21757. name: areauserid
  21758. type: integer
  21759. produces:
  21760. - application/json
  21761. responses:
  21762. "200":
  21763. description: OK
  21764. schema:
  21765. items:
  21766. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  21767. type: array
  21768. "500":
  21769. description: Internal Server Error
  21770. schema:
  21771. $ref: '#/definitions/app.Response'
  21772. security:
  21773. - ApiKeyAuth: []
  21774. summary: 查询交易模板配置
  21775. tags:
  21776. - 企业风险管理(app)
  21777. /Ermcp/QueryUserInfo:
  21778. get:
  21779. parameters:
  21780. - description: 所属机构用户ID
  21781. in: query
  21782. name: MemberUserID
  21783. required: true
  21784. type: integer
  21785. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  21786. in: query
  21787. name: queryType
  21788. required: true
  21789. type: integer
  21790. produces:
  21791. - application/json
  21792. responses:
  21793. "200":
  21794. description: OK
  21795. schema:
  21796. items:
  21797. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  21798. type: array
  21799. "500":
  21800. description: Internal Server Error
  21801. schema:
  21802. $ref: '#/definitions/app.Response'
  21803. security:
  21804. - ApiKeyAuth: []
  21805. summary: 查询客户资料
  21806. tags:
  21807. - 企业风险管理(app)
  21808. /Ermcp/QueryWarehouseInfo:
  21809. get:
  21810. parameters:
  21811. - description: 用户ID
  21812. in: query
  21813. name: userid
  21814. required: true
  21815. type: integer
  21816. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  21817. in: query
  21818. name: status
  21819. type: string
  21820. produces:
  21821. - application/json
  21822. responses:
  21823. "200":
  21824. description: OK
  21825. schema:
  21826. items:
  21827. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  21828. type: array
  21829. "500":
  21830. description: Internal Server Error
  21831. schema:
  21832. $ref: '#/definitions/app.Response'
  21833. security:
  21834. - ApiKeyAuth: []
  21835. summary: 查询仓库信息
  21836. tags:
  21837. - 企业风险管理(app)
  21838. /Ermcp3/QryAreaExpourseContractDetail:
  21839. get:
  21840. parameters:
  21841. - description: 用户ID
  21842. in: query
  21843. name: userid
  21844. required: true
  21845. type: integer
  21846. - description: 套保商品id
  21847. in: query
  21848. name: middlegoodsid
  21849. required: true
  21850. type: integer
  21851. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21852. in: query
  21853. name: cycletype
  21854. required: true
  21855. type: integer
  21856. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21857. 全(0)【原值】
  21858. in: query
  21859. name: cycletime
  21860. required: true
  21861. type: string
  21862. produces:
  21863. - application/json
  21864. responses:
  21865. "200":
  21866. description: OK
  21867. schema:
  21868. items:
  21869. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  21870. type: array
  21871. "500":
  21872. description: Internal Server Error
  21873. schema:
  21874. $ref: '#/definitions/app.Response'
  21875. security:
  21876. - ApiKeyAuth: []
  21877. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  21878. tags:
  21879. - 企业风险管理v3(app)
  21880. /Ermcp3/QryAreaExpourseFutuDetail:
  21881. get:
  21882. parameters:
  21883. - description: 用户ID
  21884. in: query
  21885. name: userid
  21886. required: true
  21887. type: integer
  21888. - description: 套保商品id
  21889. in: query
  21890. name: middlegoodsid
  21891. required: true
  21892. type: integer
  21893. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21894. in: query
  21895. name: cycletype
  21896. required: true
  21897. type: integer
  21898. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21899. 全(0)【原值】
  21900. in: query
  21901. name: cycletime
  21902. required: true
  21903. type: string
  21904. produces:
  21905. - application/json
  21906. responses:
  21907. "200":
  21908. description: OK
  21909. schema:
  21910. items:
  21911. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  21912. type: array
  21913. "500":
  21914. description: Internal Server Error
  21915. schema:
  21916. $ref: '#/definitions/app.Response'
  21917. security:
  21918. - ApiKeyAuth: []
  21919. summary: 查询敞口期货明细(敞口报表/期货明细)
  21920. tags:
  21921. - 企业风险管理v3(app)
  21922. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  21923. get:
  21924. parameters:
  21925. - description: 用户ID
  21926. in: query
  21927. name: userid
  21928. required: true
  21929. type: integer
  21930. - description: 套保商品id
  21931. in: query
  21932. name: middlegoodsid
  21933. required: true
  21934. type: integer
  21935. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21936. in: query
  21937. name: cycletype
  21938. required: true
  21939. type: integer
  21940. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21941. 全(0)【原值】
  21942. in: query
  21943. name: cycletime
  21944. required: true
  21945. type: string
  21946. produces:
  21947. - application/json
  21948. responses:
  21949. "200":
  21950. description: OK
  21951. schema:
  21952. items:
  21953. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  21954. type: array
  21955. "500":
  21956. description: Internal Server Error
  21957. schema:
  21958. $ref: '#/definitions/app.Response'
  21959. security:
  21960. - ApiKeyAuth: []
  21961. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  21962. tags:
  21963. - 企业风险管理v3(app)
  21964. /Ermcp3/QryAreaExpourseParamChLogDetail:
  21965. get:
  21966. parameters:
  21967. - description: 用户ID
  21968. in: query
  21969. name: userid
  21970. required: true
  21971. type: integer
  21972. - description: 套保商品id
  21973. in: query
  21974. name: middlegoodsid
  21975. required: true
  21976. type: integer
  21977. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21978. in: query
  21979. name: cycletype
  21980. required: true
  21981. type: integer
  21982. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21983. 全(0)【原值】
  21984. in: query
  21985. name: cycletime
  21986. required: true
  21987. type: string
  21988. produces:
  21989. - application/json
  21990. responses:
  21991. "200":
  21992. description: OK
  21993. schema:
  21994. items:
  21995. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  21996. type: array
  21997. "500":
  21998. description: Internal Server Error
  21999. schema:
  22000. $ref: '#/definitions/app.Response'
  22001. security:
  22002. - ApiKeyAuth: []
  22003. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  22004. tags:
  22005. - 企业风险管理v3(app)
  22006. /Ermcp3/QryAreaExpourseReport:
  22007. get:
  22008. parameters:
  22009. - description: 用户ID
  22010. in: query
  22011. name: userid
  22012. required: true
  22013. type: integer
  22014. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  22015. in: query
  22016. name: querytype
  22017. required: true
  22018. type: integer
  22019. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22020. in: query
  22021. name: cycletype
  22022. required: true
  22023. type: integer
  22024. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22025. 全(0)【原值】
  22026. in: query
  22027. name: cycletime
  22028. required: true
  22029. type: string
  22030. produces:
  22031. - application/json
  22032. responses:
  22033. "200":
  22034. description: OK
  22035. schema:
  22036. items:
  22037. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  22038. type: array
  22039. "500":
  22040. description: Internal Server Error
  22041. schema:
  22042. $ref: '#/definitions/app.Response'
  22043. security:
  22044. - ApiKeyAuth: []
  22045. summary: 查询敞口报表
  22046. tags:
  22047. - 企业风险管理v3(app)
  22048. /Ermcp3/QryAreaSpotplReport:
  22049. get:
  22050. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  22051. parameters:
  22052. - description: 用户ID
  22053. in: query
  22054. name: userid
  22055. required: true
  22056. type: integer
  22057. - description: 查询类型 1-报表 2-报表明细
  22058. in: query
  22059. name: querytype
  22060. required: true
  22061. type: integer
  22062. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22063. in: query
  22064. name: cycletype
  22065. required: true
  22066. type: integer
  22067. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22068. 全(0)【原值】
  22069. in: query
  22070. name: cycletime
  22071. required: true
  22072. type: string
  22073. - description: 现货品种id(明细必填)
  22074. in: query
  22075. name: deliverygoodsid
  22076. type: integer
  22077. - description: 币种id(明细必填)
  22078. in: query
  22079. name: currencyid
  22080. type: integer
  22081. - description: 日/周/月报表汇总维度 1:品种+品类
  22082. in: query
  22083. name: sumflag
  22084. type: integer
  22085. produces:
  22086. - application/json
  22087. responses:
  22088. "200":
  22089. description: OK
  22090. schema:
  22091. items:
  22092. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  22093. type: array
  22094. "500":
  22095. description: Internal Server Error
  22096. schema:
  22097. $ref: '#/definitions/app.Response'
  22098. security:
  22099. - ApiKeyAuth: []
  22100. summary: 查询现货报表
  22101. tags:
  22102. - 企业风险管理v3(app)
  22103. /Ermcp3/QryAreaStockReport:
  22104. get:
  22105. parameters:
  22106. - description: 用户ID
  22107. in: query
  22108. name: userid
  22109. required: true
  22110. type: integer
  22111. - description: 查询类型 1-报表 2-报表明细
  22112. in: query
  22113. name: querytype
  22114. required: true
  22115. type: integer
  22116. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22117. in: query
  22118. name: cycletype
  22119. required: true
  22120. type: integer
  22121. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22122. 全(0)【原值】
  22123. in: query
  22124. name: cycletime
  22125. required: true
  22126. type: string
  22127. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  22128. in: query
  22129. name: sumfields
  22130. type: string
  22131. - description: 品种ID
  22132. in: query
  22133. name: deliverygoodsid
  22134. type: integer
  22135. - description: 品类ID
  22136. in: query
  22137. name: wrstandardid
  22138. type: integer
  22139. - description: 品牌ID
  22140. in: query
  22141. name: spotgoodsbrandid
  22142. type: integer
  22143. - description: 仓库ID
  22144. in: query
  22145. name: warehouseinfoid
  22146. type: integer
  22147. produces:
  22148. - application/json
  22149. responses:
  22150. "200":
  22151. description: OK
  22152. schema:
  22153. items:
  22154. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  22155. type: array
  22156. "500":
  22157. description: Internal Server Error
  22158. schema:
  22159. $ref: '#/definitions/app.Response'
  22160. security:
  22161. - ApiKeyAuth: []
  22162. summary: 查询库存报表
  22163. tags:
  22164. - 企业风险管理v3(app)
  22165. /Ermcp3/QryAreaSumPL:
  22166. get:
  22167. parameters:
  22168. - description: 用户ID
  22169. in: query
  22170. name: userid
  22171. required: true
  22172. type: integer
  22173. - description: 查询类型 1-报表 2-报表明细
  22174. in: query
  22175. name: querytype
  22176. required: true
  22177. type: integer
  22178. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22179. in: query
  22180. name: cycletype
  22181. required: true
  22182. type: integer
  22183. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22184. 全(0)【原值】
  22185. in: query
  22186. name: cycletime
  22187. required: true
  22188. type: string
  22189. - description: 币种id(明细必填)
  22190. in: query
  22191. name: currencyid
  22192. type: integer
  22193. produces:
  22194. - application/json
  22195. responses:
  22196. "200":
  22197. description: OK
  22198. schema:
  22199. items:
  22200. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  22201. type: array
  22202. "500":
  22203. description: Internal Server Error
  22204. schema:
  22205. $ref: '#/definitions/app.Response'
  22206. security:
  22207. - ApiKeyAuth: []
  22208. summary: 查询汇总损益表
  22209. tags:
  22210. - 企业风险管理v3(app)
  22211. /Ermcp3/QryFinanceReport:
  22212. get:
  22213. parameters:
  22214. - description: 用户ID
  22215. in: query
  22216. name: userid
  22217. required: true
  22218. type: integer
  22219. - description: 查询类型 1-报表 2-报表明细
  22220. in: query
  22221. name: querytype
  22222. required: true
  22223. type: integer
  22224. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22225. in: query
  22226. name: cycletype
  22227. required: true
  22228. type: integer
  22229. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22230. 全(0)【原值】
  22231. in: query
  22232. name: cycletime
  22233. required: true
  22234. type: string
  22235. - description: 币种id(报表明细必填)
  22236. in: query
  22237. name: currencyid
  22238. type: integer
  22239. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  22240. in: query
  22241. name: sumfields
  22242. type: string
  22243. produces:
  22244. - application/json
  22245. responses:
  22246. "200":
  22247. description: OK
  22248. schema:
  22249. items:
  22250. $ref: '#/definitions/models.Ermcp3FinanceReport'
  22251. type: array
  22252. "500":
  22253. description: Internal Server Error
  22254. schema:
  22255. $ref: '#/definitions/app.Response'
  22256. security:
  22257. - ApiKeyAuth: []
  22258. summary: 查询财务报表
  22259. tags:
  22260. - 企业风险管理v3(app)
  22261. /Ermcp3/QrySCMiddleGoodsReport:
  22262. get:
  22263. parameters:
  22264. - description: 用户ID
  22265. in: query
  22266. name: userid
  22267. required: true
  22268. type: integer
  22269. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22270. in: query
  22271. name: cycletype
  22272. required: true
  22273. type: integer
  22274. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22275. 全(0)【原值】
  22276. in: query
  22277. name: cycletime
  22278. required: true
  22279. type: string
  22280. - description: 合同id
  22281. in: query
  22282. name: spotcontractid
  22283. type: integer
  22284. - description: 套保品种id
  22285. in: query
  22286. name: middlegoodsid
  22287. type: integer
  22288. - description: 现货品种id
  22289. in: query
  22290. name: deliverygoodsid
  22291. type: integer
  22292. - description: 现货商品id
  22293. in: query
  22294. name: wrstandardid
  22295. type: integer
  22296. - description: 合同编号(模糊匹配)
  22297. in: query
  22298. name: contractno
  22299. type: string
  22300. produces:
  22301. - application/json
  22302. responses:
  22303. "200":
  22304. description: OK
  22305. schema:
  22306. items:
  22307. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  22308. type: array
  22309. "500":
  22310. description: Internal Server Error
  22311. schema:
  22312. $ref: '#/definitions/app.Response'
  22313. security:
  22314. - ApiKeyAuth: []
  22315. summary: 查询定价报表
  22316. tags:
  22317. - 企业风险管理v3(app)
  22318. /Ermcp3/QryTaFutureDataReport:
  22319. get:
  22320. parameters:
  22321. - description: 用户ID
  22322. in: query
  22323. name: userid
  22324. required: true
  22325. type: integer
  22326. - description: 查询类型 1-报表 2-报表明细
  22327. in: query
  22328. name: querytype
  22329. required: true
  22330. type: integer
  22331. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22332. in: query
  22333. name: cycletype
  22334. required: true
  22335. type: integer
  22336. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22337. 全(0)【原值】
  22338. in: query
  22339. name: cycletime
  22340. required: true
  22341. type: string
  22342. - description: 币种id(查明细必填)
  22343. in: query
  22344. name: currencyid
  22345. type: integer
  22346. - description: 品种id(查明细必填)
  22347. in: query
  22348. name: goodsgroupid
  22349. type: integer
  22350. - description: 商品id(查明细必填)
  22351. in: query
  22352. name: goodsid
  22353. type: integer
  22354. - description: 买卖方向(查明细必填)
  22355. in: query
  22356. name: buyorsell
  22357. type: integer
  22358. produces:
  22359. - application/json
  22360. responses:
  22361. "200":
  22362. description: OK
  22363. schema:
  22364. items:
  22365. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  22366. type: array
  22367. "500":
  22368. description: Internal Server Error
  22369. schema:
  22370. $ref: '#/definitions/app.Response'
  22371. security:
  22372. - ApiKeyAuth: []
  22373. summary: 查询期货报表
  22374. tags:
  22375. - 企业风险管理v3(app)
  22376. /Ermcp3/QueryAreaStock:
  22377. get:
  22378. parameters:
  22379. - description: 用户ID
  22380. in: query
  22381. name: userid
  22382. required: true
  22383. type: integer
  22384. produces:
  22385. - application/json
  22386. responses:
  22387. "200":
  22388. description: OK
  22389. schema:
  22390. items:
  22391. $ref: '#/definitions/models.Ermcp3AreaStock'
  22392. type: array
  22393. "500":
  22394. description: Internal Server Error
  22395. schema:
  22396. $ref: '#/definitions/app.Response'
  22397. security:
  22398. - ApiKeyAuth: []
  22399. summary: 查询机构库存(库存管理/当前库存)
  22400. tags:
  22401. - 企业风险管理v3(app)
  22402. /Ermcp3/QueryAreaStockApply:
  22403. get:
  22404. parameters:
  22405. - description: 用户ID
  22406. in: query
  22407. name: userid
  22408. required: true
  22409. type: integer
  22410. - description: 用户类型 2-机构 7-企业成员
  22411. in: query
  22412. name: usertype
  22413. type: integer
  22414. - description: 现货商品ID
  22415. in: query
  22416. name: deliverygoodsid
  22417. type: integer
  22418. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  22419. in: query
  22420. name: inouttype
  22421. type: string
  22422. - description: 合同ID
  22423. in: query
  22424. name: spotcontractid
  22425. type: integer
  22426. - description: 品类ID
  22427. in: query
  22428. name: wrstandardid
  22429. type: integer
  22430. - description: 品牌ID
  22431. in: query
  22432. name: spotgoodsbrandid
  22433. type: integer
  22434. - description: 仓库ID
  22435. in: query
  22436. name: warehouseinfoid
  22437. type: integer
  22438. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22439. in: query
  22440. name: applystatus
  22441. type: string
  22442. produces:
  22443. - application/json
  22444. responses:
  22445. "200":
  22446. description: OK
  22447. schema:
  22448. items:
  22449. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  22450. type: array
  22451. "500":
  22452. description: Internal Server Error
  22453. schema:
  22454. $ref: '#/definitions/app.Response'
  22455. security:
  22456. - ApiKeyAuth: []
  22457. summary: 查询库存申请(出入库记录|库存审核)
  22458. tags:
  22459. - 企业风险管理v3(app)
  22460. /Ermcp3/QueryAreaStockApplySum:
  22461. get:
  22462. parameters:
  22463. - description: 合同ID
  22464. in: query
  22465. name: spotcontractid
  22466. required: true
  22467. type: integer
  22468. produces:
  22469. - application/json
  22470. responses:
  22471. "200":
  22472. description: OK
  22473. schema:
  22474. items:
  22475. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  22476. type: array
  22477. "500":
  22478. description: Internal Server Error
  22479. schema:
  22480. $ref: '#/definitions/app.Response'
  22481. security:
  22482. - ApiKeyAuth: []
  22483. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  22484. tags:
  22485. - 企业风险管理v3(app)
  22486. /Ermcp3/QueryDGFactoryItem:
  22487. get:
  22488. parameters:
  22489. - description: 用户id
  22490. in: query
  22491. name: userid
  22492. type: integer
  22493. - description: 用户类型 2-机构 7-企业成员
  22494. in: query
  22495. name: usertype
  22496. type: integer
  22497. - description: 选择项ID(SEQ_DGFACTORYITEM)
  22498. in: query
  22499. name: dgfactoryitemid
  22500. type: integer
  22501. - description: 现货品种ID
  22502. in: query
  22503. name: deliverygoodsid
  22504. type: integer
  22505. - description: 要素项类型
  22506. in: query
  22507. name: dgfactoryitemtypeid
  22508. type: integer
  22509. - description: 顺序
  22510. in: query
  22511. name: orderindex
  22512. type: integer
  22513. produces:
  22514. - application/json
  22515. responses:
  22516. "200":
  22517. description: OK
  22518. schema:
  22519. items:
  22520. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  22521. type: array
  22522. "500":
  22523. description: Internal Server Error
  22524. schema:
  22525. $ref: '#/definitions/app.Response'
  22526. security:
  22527. - ApiKeyAuth: []
  22528. summary: 查询品种要素定义项
  22529. tags:
  22530. - 企业风险管理v3(app)
  22531. /Ermcp3/QueryDeliveryGoods:
  22532. get:
  22533. parameters:
  22534. - description: 用户id
  22535. in: query
  22536. name: userid
  22537. required: true
  22538. type: integer
  22539. - description: 用户类型 2-机构 7-企业成员
  22540. in: query
  22541. name: usertype
  22542. type: integer
  22543. - description: 排除已配置的业务类型商品 1-套保 2-套利
  22544. in: query
  22545. name: excludecfg
  22546. type: integer
  22547. produces:
  22548. - application/json
  22549. responses:
  22550. "200":
  22551. description: OK
  22552. schema:
  22553. items:
  22554. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  22555. type: array
  22556. "500":
  22557. description: Internal Server Error
  22558. schema:
  22559. $ref: '#/definitions/app.Response'
  22560. security:
  22561. - ApiKeyAuth: []
  22562. summary: 查询现货商品
  22563. tags:
  22564. - 企业风险管理v3(app)
  22565. /Ermcp3/QueryDeliveryGoodsDetail:
  22566. get:
  22567. parameters:
  22568. - description: 用户id
  22569. in: query
  22570. name: userid
  22571. required: true
  22572. type: integer
  22573. - description: 用户类型 2-机构 7-企业成员
  22574. in: query
  22575. name: usertype
  22576. type: integer
  22577. - description: 现货商品id
  22578. in: query
  22579. name: deliverygoodsid
  22580. type: integer
  22581. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  22582. in: query
  22583. name: filtersubempty
  22584. type: integer
  22585. produces:
  22586. - application/json
  22587. responses:
  22588. "200":
  22589. description: OK
  22590. schema:
  22591. items:
  22592. $ref: '#/definitions/models.XHDeliveryGoods'
  22593. type: array
  22594. "500":
  22595. description: Internal Server Error
  22596. schema:
  22597. $ref: '#/definitions/app.Response'
  22598. security:
  22599. - ApiKeyAuth: []
  22600. summary: 查询现货商品详情
  22601. tags:
  22602. - 企业风险管理v3(app)
  22603. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  22604. get:
  22605. parameters:
  22606. - description: 合同id
  22607. in: query
  22608. name: spotcontractid
  22609. required: true
  22610. type: string
  22611. produces:
  22612. - application/json
  22613. responses:
  22614. "200":
  22615. description: OK
  22616. schema:
  22617. items:
  22618. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  22619. type: array
  22620. "500":
  22621. description: Internal Server Error
  22622. schema:
  22623. $ref: '#/definitions/app.Response'
  22624. security:
  22625. - ApiKeyAuth: []
  22626. summary: 查询现货合同期现配置信息
  22627. tags:
  22628. - 企业风险管理v3(app)
  22629. /Ermcp3/QueryExposureDetail:
  22630. get:
  22631. parameters:
  22632. - description: 用户id
  22633. in: query
  22634. name: userid
  22635. required: true
  22636. type: integer
  22637. - description: 用户类型 2-机构 7-企业成员
  22638. in: query
  22639. name: usertype
  22640. type: integer
  22641. - description: 套保商品
  22642. in: query
  22643. name: middlegoodsid
  22644. required: true
  22645. type: integer
  22646. produces:
  22647. - application/json
  22648. responses:
  22649. "200":
  22650. description: OK
  22651. schema:
  22652. items:
  22653. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  22654. type: array
  22655. "500":
  22656. description: Internal Server Error
  22657. schema:
  22658. $ref: '#/definitions/app.Response'
  22659. security:
  22660. - ApiKeyAuth: []
  22661. summary: 查询敞口现货明细
  22662. tags:
  22663. - 企业风险管理v3(app)
  22664. /Ermcp3/QueryExposureSpot:
  22665. get:
  22666. parameters:
  22667. - description: 用户id
  22668. in: query
  22669. name: userid
  22670. required: true
  22671. type: integer
  22672. - description: 用户类型 2-机构 7-企业成员
  22673. in: query
  22674. name: usertype
  22675. type: integer
  22676. produces:
  22677. - application/json
  22678. responses:
  22679. "200":
  22680. description: OK
  22681. schema:
  22682. items:
  22683. $ref: '#/definitions/models.Ermcp3AreaSpot'
  22684. type: array
  22685. "500":
  22686. description: Internal Server Error
  22687. schema:
  22688. $ref: '#/definitions/app.Response'
  22689. security:
  22690. - ApiKeyAuth: []
  22691. summary: 查询敞口现货头寸(敞口/现货头寸)
  22692. tags:
  22693. - 企业风险管理v3(app)
  22694. /Ermcp3/QueryExposureSpotDetail:
  22695. get:
  22696. parameters:
  22697. - description: 用户id
  22698. in: query
  22699. name: userid
  22700. required: true
  22701. type: integer
  22702. - description: 用户类型 2-机构 7-企业成员
  22703. in: query
  22704. name: usertype
  22705. type: integer
  22706. - description: 现货商品ID
  22707. in: query
  22708. name: wrstandardid
  22709. required: true
  22710. type: integer
  22711. produces:
  22712. - application/json
  22713. responses:
  22714. "200":
  22715. description: OK
  22716. schema:
  22717. items:
  22718. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  22719. type: array
  22720. "500":
  22721. description: Internal Server Error
  22722. schema:
  22723. $ref: '#/definitions/app.Response'
  22724. security:
  22725. - ApiKeyAuth: []
  22726. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  22727. tags:
  22728. - 企业风险管理v3(app)
  22729. /Ermcp3/QueryGoodsGroup:
  22730. get:
  22731. parameters:
  22732. - description: 用户id
  22733. in: query
  22734. name: userid
  22735. required: true
  22736. type: integer
  22737. - description: 用户类型 2-机构 7-企业成员
  22738. in: query
  22739. name: usertype
  22740. type: integer
  22741. - description: 排除套保品中已关联的商品组 1-排除
  22742. in: query
  22743. name: excludecfg
  22744. type: integer
  22745. produces:
  22746. - application/json
  22747. responses:
  22748. "200":
  22749. description: OK
  22750. schema:
  22751. items:
  22752. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  22753. type: array
  22754. "500":
  22755. description: Internal Server Error
  22756. schema:
  22757. $ref: '#/definitions/app.Response'
  22758. security:
  22759. - ApiKeyAuth: []
  22760. summary: 查询期货商品组
  22761. tags:
  22762. - 企业风险管理v3(app)
  22763. /Ermcp3/QueryGoodsWrstandard:
  22764. get:
  22765. parameters:
  22766. - description: 用户id
  22767. in: query
  22768. name: userid
  22769. required: true
  22770. type: integer
  22771. - description: 用户类型 2-机构 7-企业成员
  22772. in: query
  22773. name: usertype
  22774. type: integer
  22775. - description: 现货商品id
  22776. in: query
  22777. name: deliverygoodsid
  22778. type: integer
  22779. produces:
  22780. - application/json
  22781. responses:
  22782. "200":
  22783. description: OK
  22784. schema:
  22785. items:
  22786. $ref: '#/definitions/models.Ermcp3Wrstandard'
  22787. type: array
  22788. "500":
  22789. description: Internal Server Error
  22790. schema:
  22791. $ref: '#/definitions/app.Response'
  22792. security:
  22793. - ApiKeyAuth: []
  22794. summary: 查询商品品类
  22795. tags:
  22796. - 企业风险管理v3(app)
  22797. /Ermcp3/QueryGoodsbrand:
  22798. get:
  22799. parameters:
  22800. - description: 用户id
  22801. in: query
  22802. name: userid
  22803. required: true
  22804. type: integer
  22805. - description: 用户类型 2-机构 7-企业成员
  22806. in: query
  22807. name: usertype
  22808. type: integer
  22809. produces:
  22810. - application/json
  22811. responses:
  22812. "200":
  22813. description: OK
  22814. schema:
  22815. items:
  22816. $ref: '#/definitions/models.Ermcp3Brand'
  22817. type: array
  22818. "500":
  22819. description: Internal Server Error
  22820. schema:
  22821. $ref: '#/definitions/app.Response'
  22822. security:
  22823. - ApiKeyAuth: []
  22824. summary: 查询商品品牌
  22825. tags:
  22826. - 企业风险管理v3(app)
  22827. /Ermcp3/QueryHPMiddleGoods:
  22828. get:
  22829. parameters:
  22830. - description: 用户ID(填登录用户的userid)
  22831. in: query
  22832. name: userid
  22833. required: true
  22834. type: integer
  22835. - description: 买卖方向 0-买 1-卖
  22836. in: query
  22837. name: buyorsell
  22838. required: true
  22839. type: integer
  22840. - description: 商品组id
  22841. in: query
  22842. name: goodsgroupid
  22843. required: true
  22844. type: integer
  22845. - description: 套保计划编号(模糊匹配)
  22846. in: query
  22847. name: hedgeplanno
  22848. type: string
  22849. - description: 现货商品名称(模糊匹配)
  22850. in: query
  22851. name: wrstandardname
  22852. type: string
  22853. produces:
  22854. - application/json
  22855. responses:
  22856. "200":
  22857. description: OK
  22858. schema:
  22859. items:
  22860. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  22861. type: array
  22862. "500":
  22863. description: Internal Server Error
  22864. schema:
  22865. $ref: '#/definitions/app.Response'
  22866. security:
  22867. - ApiKeyAuth: []
  22868. summary: 查询可关联套保计划
  22869. tags:
  22870. - 企业风险管理v3(app)
  22871. /Ermcp3/QueryHedgePlan:
  22872. get:
  22873. parameters:
  22874. - description: 用户ID
  22875. in: query
  22876. name: userid
  22877. required: true
  22878. type: integer
  22879. - description: 用户类型 2-机构 7-企业成员
  22880. in: query
  22881. name: usertype
  22882. type: integer
  22883. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22884. in: query
  22885. name: hedgeplanstatus
  22886. required: true
  22887. type: string
  22888. produces:
  22889. - application/json
  22890. responses:
  22891. "200":
  22892. description: OK
  22893. schema:
  22894. items:
  22895. $ref: '#/definitions/models.Ermcp3HedgePlan'
  22896. type: array
  22897. "500":
  22898. description: Internal Server Error
  22899. schema:
  22900. $ref: '#/definitions/app.Response'
  22901. security:
  22902. - ApiKeyAuth: []
  22903. summary: 查询套保计划
  22904. tags:
  22905. - 企业风险管理v3(app)
  22906. /Ermcp3/QueryInnerTradeLink:
  22907. get:
  22908. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  22909. parameters:
  22910. - description: 外部成交单号
  22911. in: query
  22912. name: outtradeid
  22913. required: true
  22914. type: integer
  22915. produces:
  22916. - application/json
  22917. responses:
  22918. "200":
  22919. description: OK
  22920. schema:
  22921. items:
  22922. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  22923. type: array
  22924. "500":
  22925. description: Internal Server Error
  22926. schema:
  22927. $ref: '#/definitions/app.Response'
  22928. security:
  22929. - ApiKeyAuth: []
  22930. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  22931. tags:
  22932. - 企业风险管理v3(app)
  22933. /Ermcp3/QueryMiddleGoodsDetail:
  22934. get:
  22935. parameters:
  22936. - description: 用户id
  22937. in: query
  22938. name: userid
  22939. required: true
  22940. type: integer
  22941. - description: 用户类型 2-机构 7-企业成员
  22942. in: query
  22943. name: usertype
  22944. type: integer
  22945. - description: 套保品种id
  22946. in: query
  22947. name: middlegoodsid
  22948. type: integer
  22949. produces:
  22950. - application/json
  22951. responses:
  22952. "200":
  22953. description: OK
  22954. schema:
  22955. items:
  22956. $ref: '#/definitions/models.TBMiddleGoods'
  22957. type: array
  22958. "500":
  22959. description: Internal Server Error
  22960. schema:
  22961. $ref: '#/definitions/app.Response'
  22962. security:
  22963. - ApiKeyAuth: []
  22964. summary: 查询套保品种详情(套保品种/商品详情)
  22965. tags:
  22966. - 企业风险管理v3(app)
  22967. /Ermcp3/QueryOutTradeLink:
  22968. get:
  22969. description: 页面 app 现货->期现关联->外部成交单关联
  22970. parameters:
  22971. - description: 用户ID(填登录用户的userid)
  22972. in: query
  22973. name: userid
  22974. required: true
  22975. type: integer
  22976. - description: 外部订单号(模糊匹配)
  22977. in: query
  22978. name: outtradeid
  22979. type: string
  22980. - description: 合约名称/代码(模糊匹配)
  22981. in: query
  22982. name: goodsname
  22983. type: string
  22984. - description: 关联状态 0-未关联 1-已关联
  22985. in: query
  22986. name: hasinnerorder
  22987. type: integer
  22988. produces:
  22989. - application/json
  22990. responses:
  22991. "200":
  22992. description: OK
  22993. schema:
  22994. items:
  22995. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  22996. type: array
  22997. "500":
  22998. description: Internal Server Error
  22999. schema:
  23000. $ref: '#/definitions/app.Response'
  23001. security:
  23002. - ApiKeyAuth: []
  23003. summary: 查询外部成交单关联
  23004. tags:
  23005. - 企业风险管理v3(app)
  23006. /Ermcp3/QueryPaAreaAuditCfg:
  23007. get:
  23008. parameters:
  23009. - description: 用户id
  23010. in: query
  23011. name: userid
  23012. required: true
  23013. type: integer
  23014. produces:
  23015. - application/json
  23016. responses:
  23017. "200":
  23018. description: OK
  23019. schema:
  23020. items:
  23021. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  23022. type: array
  23023. "500":
  23024. description: Internal Server Error
  23025. schema:
  23026. $ref: '#/definitions/app.Response'
  23027. security:
  23028. - ApiKeyAuth: []
  23029. summary: 查询审核设置
  23030. tags:
  23031. - 企业风险管理v3(app)
  23032. /Ermcp3/QueryPaAreaSubject:
  23033. get:
  23034. parameters:
  23035. - description: 用户id
  23036. in: query
  23037. name: userid
  23038. required: true
  23039. type: integer
  23040. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  23041. in: query
  23042. name: subjectid
  23043. type: integer
  23044. - description: 主体类型 - 1:交易主体 2:业务部门
  23045. in: query
  23046. name: subjecttype
  23047. type: integer
  23048. - description: '主体状态 - 1:正常 2: 停用'
  23049. in: query
  23050. name: subjectstatus
  23051. type: integer
  23052. produces:
  23053. - application/json
  23054. responses:
  23055. "200":
  23056. description: OK
  23057. schema:
  23058. items:
  23059. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  23060. type: array
  23061. "500":
  23062. description: Internal Server Error
  23063. schema:
  23064. $ref: '#/definitions/app.Response'
  23065. security:
  23066. - ApiKeyAuth: []
  23067. summary: 查询交易主体
  23068. tags:
  23069. - 企业风险管理v3(app)
  23070. /Ermcp3/QueryPaTradeLink:
  23071. get:
  23072. description: 页面 app 现货->期现关联->期现单据关联
  23073. parameters:
  23074. - description: 用户ID
  23075. in: query
  23076. name: userid
  23077. required: true
  23078. type: integer
  23079. produces:
  23080. - application/json
  23081. responses:
  23082. "200":
  23083. description: OK
  23084. schema:
  23085. items:
  23086. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  23087. type: array
  23088. "500":
  23089. description: Internal Server Error
  23090. schema:
  23091. $ref: '#/definitions/app.Response'
  23092. security:
  23093. - ApiKeyAuth: []
  23094. summary: 查询期现单据关联
  23095. tags:
  23096. - 企业风险管理v3(app)
  23097. /Ermcp3/QueryPaTradeLinkDetail:
  23098. get:
  23099. description: 页面 app 现货->期现关联->关联记录
  23100. parameters:
  23101. - description: 用户ID(填登录用户的userid)
  23102. in: query
  23103. name: userid
  23104. required: true
  23105. type: integer
  23106. - description: 关联状态 1:成功 2:失败 3:解绑
  23107. in: query
  23108. name: linkstatus
  23109. type: integer
  23110. - description: 期货订单号(模糊匹配)
  23111. in: query
  23112. name: tradeid
  23113. type: string
  23114. - description: 现货编号(模糊匹配)
  23115. in: query
  23116. name: contractno
  23117. type: string
  23118. - description: 期货账户(模糊匹配)
  23119. in: query
  23120. name: taname
  23121. type: string
  23122. produces:
  23123. - application/json
  23124. responses:
  23125. "200":
  23126. description: OK
  23127. schema:
  23128. items:
  23129. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  23130. type: array
  23131. "500":
  23132. description: Internal Server Error
  23133. schema:
  23134. $ref: '#/definitions/app.Response'
  23135. security:
  23136. - ApiKeyAuth: []
  23137. summary: 查询期现关联记录
  23138. tags:
  23139. - 企业风险管理v3(app)
  23140. /Ermcp3/QueryParamChangeApp:
  23141. get:
  23142. description: |-
  23143. 原型页面:
  23144. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  23145. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  23146. parameters:
  23147. - description: 用户ID
  23148. in: query
  23149. name: userid
  23150. required: true
  23151. type: integer
  23152. - description: 现货品种id
  23153. in: query
  23154. name: deliverygoodsid
  23155. type: integer
  23156. - description: 现货商品id
  23157. in: query
  23158. name: wrstandardid
  23159. type: integer
  23160. - description: 套保商品id
  23161. in: query
  23162. name: middlegoodsid
  23163. type: integer
  23164. - description: 操作类型 1:新增 2:修改
  23165. in: query
  23166. name: operatetype
  23167. type: integer
  23168. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  23169. in: query
  23170. name: paramchangetype
  23171. type: integer
  23172. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23173. in: query
  23174. name: ftstatus
  23175. type: string
  23176. produces:
  23177. - application/json
  23178. responses:
  23179. "200":
  23180. description: OK
  23181. schema:
  23182. items:
  23183. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  23184. type: array
  23185. "500":
  23186. description: Internal Server Error
  23187. schema:
  23188. $ref: '#/definitions/app.Response'
  23189. security:
  23190. - ApiKeyAuth: []
  23191. summary: 查询现货商品参数变更申请(流水)
  23192. tags:
  23193. - 企业风险管理v3(app)
  23194. /Ermcp3/QueryRootUserAccount:
  23195. get:
  23196. parameters:
  23197. - description: 用户ID
  23198. in: query
  23199. name: userid
  23200. required: true
  23201. type: integer
  23202. produces:
  23203. - application/json
  23204. responses:
  23205. "200":
  23206. description: OK
  23207. schema:
  23208. items:
  23209. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  23210. type: array
  23211. "500":
  23212. description: Internal Server Error
  23213. schema:
  23214. $ref: '#/definitions/app.Response'
  23215. security:
  23216. - ApiKeyAuth: []
  23217. summary: 查询顶级用户信息
  23218. tags:
  23219. - 企业风险管理v3(app)
  23220. /Ermcp3/QuerySCMiddleGoods:
  23221. get:
  23222. description: |-
  23223. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  23224. 现货编号 即 合同编号
  23225. parameters:
  23226. - description: 用户ID(填登录用户的userid)
  23227. in: query
  23228. name: userid
  23229. required: true
  23230. type: integer
  23231. - description: 买卖方向 0-买 1-卖
  23232. in: query
  23233. name: buyorsell
  23234. required: true
  23235. type: integer
  23236. - description: 商品组id
  23237. in: query
  23238. name: goodsgroupid
  23239. required: true
  23240. type: integer
  23241. - description: 业务类型 1:套保 2:套利
  23242. in: query
  23243. name: biztype
  23244. type: integer
  23245. - description: 现货编号(模糊匹配)
  23246. in: query
  23247. name: contractno
  23248. type: string
  23249. - description: 对手方(模糊匹配)
  23250. in: query
  23251. name: customername
  23252. type: string
  23253. - description: 现货商品名称(模糊匹配)
  23254. in: query
  23255. name: wrstandardname
  23256. type: string
  23257. produces:
  23258. - application/json
  23259. responses:
  23260. "200":
  23261. description: OK
  23262. schema:
  23263. items:
  23264. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  23265. type: array
  23266. "500":
  23267. description: Internal Server Error
  23268. schema:
  23269. $ref: '#/definitions/app.Response'
  23270. security:
  23271. - ApiKeyAuth: []
  23272. summary: 查询现货订单
  23273. tags:
  23274. - 企业风险管理v3(app)
  23275. /Ermcp3/QuerySpotContract:
  23276. get:
  23277. parameters:
  23278. - description: 用户id(当指定contractid, userid可不填)
  23279. in: query
  23280. name: userid
  23281. required: true
  23282. type: integer
  23283. - description: 用户类型 2-机构 7-企业成员
  23284. in: query
  23285. name: usertype
  23286. type: integer
  23287. - description: 合同类型 1-采购, -1-销售
  23288. in: query
  23289. name: contracttype
  23290. type: integer
  23291. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  23292. in: query
  23293. name: querytype
  23294. type: string
  23295. - description: 合同ID(SpotContractId)
  23296. in: query
  23297. name: contractid
  23298. type: string
  23299. - description: 合同编号(模糊匹配)
  23300. in: query
  23301. name: contractno
  23302. type: string
  23303. - description: 商品名称(模糊匹配)
  23304. in: query
  23305. name: wrstandardname
  23306. type: string
  23307. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  23308. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  23309. in: query
  23310. name: status
  23311. type: string
  23312. - description: 是否只查今日的合同 1-查今日合同
  23313. in: query
  23314. name: istoday
  23315. type: integer
  23316. produces:
  23317. - application/json
  23318. responses:
  23319. "200":
  23320. description: OK
  23321. schema:
  23322. items:
  23323. $ref: '#/definitions/models.Ermcp3Contract'
  23324. type: array
  23325. "500":
  23326. description: Internal Server Error
  23327. schema:
  23328. $ref: '#/definitions/app.Response'
  23329. security:
  23330. - ApiKeyAuth: []
  23331. summary: 查询现货合同
  23332. tags:
  23333. - 企业风险管理v3(app)
  23334. /Ermcp3/QuerySpotContractBS:
  23335. get:
  23336. parameters:
  23337. - description: 用户id
  23338. in: query
  23339. name: userid
  23340. required: true
  23341. type: integer
  23342. - description: 用户类型 2-机构 7-企业成员
  23343. in: query
  23344. name: usertype
  23345. type: integer
  23346. - description: 合同类型 1-采购, -1-销售
  23347. in: query
  23348. name: contracttype
  23349. required: true
  23350. type: integer
  23351. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  23352. in: query
  23353. name: querytype
  23354. type: integer
  23355. - description: 合同ID(SpotContractId)
  23356. in: query
  23357. name: contractid
  23358. type: string
  23359. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  23360. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  23361. in: query
  23362. name: status
  23363. type: string
  23364. - description: 是否只查今日的合同 1-查今日合同
  23365. in: query
  23366. name: istoday
  23367. type: integer
  23368. produces:
  23369. - application/json
  23370. responses:
  23371. "200":
  23372. description: OK
  23373. schema:
  23374. items:
  23375. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  23376. type: array
  23377. "500":
  23378. description: Internal Server Error
  23379. schema:
  23380. $ref: '#/definitions/app.Response'
  23381. security:
  23382. - ApiKeyAuth: []
  23383. summary: 查询合同(采购/销售)
  23384. tags:
  23385. - 企业风险管理v3(app)
  23386. /Ermcp3/QuerySpotGoodsPrice:
  23387. get:
  23388. parameters:
  23389. - description: 用户ID
  23390. in: query
  23391. name: userid
  23392. required: true
  23393. type: integer
  23394. produces:
  23395. - application/json
  23396. responses:
  23397. "200":
  23398. description: OK
  23399. schema:
  23400. items:
  23401. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  23402. type: array
  23403. "500":
  23404. description: Internal Server Error
  23405. schema:
  23406. $ref: '#/definitions/app.Response'
  23407. security:
  23408. - ApiKeyAuth: []
  23409. summary: 查询现货市价(现货市价)
  23410. tags:
  23411. - 企业风险管理v3(app)
  23412. /Ermcp3/QuerySpotGoodsPriceLog:
  23413. get:
  23414. parameters:
  23415. - description: 用户ID
  23416. in: query
  23417. name: userid
  23418. required: true
  23419. type: integer
  23420. - description: 现货商品ID
  23421. in: query
  23422. name: deliverygoodsid
  23423. required: true
  23424. type: integer
  23425. - description: 品牌ID
  23426. in: query
  23427. name: brandid
  23428. type: integer
  23429. - description: 品类ID
  23430. in: query
  23431. name: wrstandardid
  23432. type: integer
  23433. produces:
  23434. - application/json
  23435. responses:
  23436. "200":
  23437. description: OK
  23438. schema:
  23439. items:
  23440. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  23441. type: array
  23442. "500":
  23443. description: Internal Server Error
  23444. schema:
  23445. $ref: '#/definitions/app.Response'
  23446. security:
  23447. - ApiKeyAuth: []
  23448. summary: 查询现货市价详情(现货市价/详情)
  23449. tags:
  23450. - 企业风险管理v3(app)
  23451. /Ermcp3/QuerySubTaaccount:
  23452. get:
  23453. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  23454. parameters:
  23455. - description: 母账号id
  23456. in: query
  23457. name: parentaccountid
  23458. type: integer
  23459. - description: 母账号代码
  23460. in: query
  23461. name: parentaccountcode
  23462. type: string
  23463. produces:
  23464. - application/json
  23465. responses:
  23466. "200":
  23467. description: OK
  23468. schema:
  23469. items:
  23470. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  23471. type: array
  23472. "500":
  23473. description: Internal Server Error
  23474. schema:
  23475. $ref: '#/definitions/app.Response'
  23476. security:
  23477. - ApiKeyAuth: []
  23478. summary: 查询期货子账户
  23479. tags:
  23480. - 企业风险管理v3(app)
  23481. /Erms2/QueryArbitrageStrategy:
  23482. get:
  23483. parameters:
  23484. - description: 账户ID
  23485. in: query
  23486. name: userid
  23487. required: true
  23488. type: integer
  23489. - description: 商品组ID(品种ID)
  23490. in: query
  23491. name: goodsgroupid
  23492. type: string
  23493. produces:
  23494. - application/json
  23495. responses:
  23496. "200":
  23497. description: OK
  23498. schema:
  23499. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  23500. "500":
  23501. description: Internal Server Error
  23502. schema:
  23503. $ref: '#/definitions/app.Response'
  23504. security:
  23505. - ApiKeyAuth: []
  23506. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  23507. tags:
  23508. - 风险管理
  23509. /Erms2/QueryInnerTradeDetail:
  23510. get:
  23511. parameters:
  23512. - description: 资金账户
  23513. in: query
  23514. name: accountid
  23515. required: true
  23516. type: integer
  23517. produces:
  23518. - application/json
  23519. responses:
  23520. "200":
  23521. description: OK
  23522. schema:
  23523. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  23524. "500":
  23525. description: Internal Server Error
  23526. schema:
  23527. $ref: '#/definitions/app.Response'
  23528. security:
  23529. - ApiKeyAuth: []
  23530. summary: 查询内部成交单信息
  23531. tags:
  23532. - 风险管理
  23533. /Erms2/QuerySpotContract:
  23534. get:
  23535. parameters:
  23536. - description: 策略申请ID
  23537. in: query
  23538. name: asapplyid
  23539. required: true
  23540. type: integer
  23541. - description: 现货合同ID
  23542. in: query
  23543. name: spotcontractid
  23544. type: integer
  23545. produces:
  23546. - application/json
  23547. responses:
  23548. "200":
  23549. description: OK
  23550. schema:
  23551. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  23552. "500":
  23553. description: Internal Server Error
  23554. schema:
  23555. $ref: '#/definitions/app.Response'
  23556. security:
  23557. - ApiKeyAuth: []
  23558. summary: 查询现货合同表信息(指定策略ID、未结束的)
  23559. tags:
  23560. - 风险管理
  23561. /Erms3/AddErms2ASApply:
  23562. post:
  23563. parameters:
  23564. - description: 申请参数
  23565. in: body
  23566. name: jsonBody
  23567. required: true
  23568. schema:
  23569. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  23570. produces:
  23571. - application/json
  23572. responses:
  23573. "200":
  23574. description: OK
  23575. schema:
  23576. $ref: '#/definitions/app.Response'
  23577. "500":
  23578. description: Internal Server Error
  23579. schema:
  23580. $ref: '#/definitions/app.Response'
  23581. security:
  23582. - ApiKeyAuth: []
  23583. summary: 新增期现套利业务申请
  23584. tags:
  23585. - 风险管理v3
  23586. /Erms3/AddErms2SpotTradeApply:
  23587. post:
  23588. parameters:
  23589. - description: 申请参数
  23590. in: body
  23591. name: jsonBody
  23592. required: true
  23593. schema:
  23594. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  23595. produces:
  23596. - application/json
  23597. responses:
  23598. "200":
  23599. description: OK
  23600. schema:
  23601. $ref: '#/definitions/app.Response'
  23602. "500":
  23603. description: Internal Server Error
  23604. schema:
  23605. $ref: '#/definitions/app.Response'
  23606. security:
  23607. - ApiKeyAuth: []
  23608. summary: 新增现货贸易业务申请
  23609. tags:
  23610. - 风险管理v3
  23611. /Erms3/AddSpotContractApply:
  23612. post:
  23613. parameters:
  23614. - description: 申请参数
  23615. in: body
  23616. name: jsonBody
  23617. required: true
  23618. schema:
  23619. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  23620. produces:
  23621. - application/json
  23622. responses:
  23623. "200":
  23624. description: OK
  23625. schema:
  23626. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  23627. "500":
  23628. description: Internal Server Error
  23629. schema:
  23630. $ref: '#/definitions/app.Response'
  23631. security:
  23632. - ApiKeyAuth: []
  23633. summary: 新增现货合同申请
  23634. tags:
  23635. - 风险管理v3
  23636. /Erms3/AddUserInfoApply:
  23637. post:
  23638. parameters:
  23639. - description: 用户信息
  23640. in: body
  23641. name: jsonBody
  23642. required: true
  23643. schema:
  23644. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  23645. produces:
  23646. - application/json
  23647. responses:
  23648. "200":
  23649. description: OK
  23650. schema:
  23651. $ref: '#/definitions/app.Response'
  23652. "500":
  23653. description: Internal Server Error
  23654. schema:
  23655. $ref: '#/definitions/app.Response'
  23656. security:
  23657. - ApiKeyAuth: []
  23658. summary: 新增客户申请
  23659. tags:
  23660. - 风险管理v3
  23661. /Erms3/DeleteUserInfoApply:
  23662. get:
  23663. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  23664. parameters:
  23665. - description: 用户ID
  23666. in: query
  23667. name: userID
  23668. required: true
  23669. type: integer
  23670. produces:
  23671. - application/json
  23672. responses:
  23673. "200":
  23674. description: OK
  23675. schema:
  23676. $ref: '#/definitions/app.Response'
  23677. "500":
  23678. description: Internal Server Error
  23679. schema:
  23680. $ref: '#/definitions/app.Response'
  23681. security:
  23682. - ApiKeyAuth: []
  23683. summary: 删除客户申请
  23684. tags:
  23685. - 风险管理v3
  23686. /Erms3/ModifyUserInfoApply:
  23687. post:
  23688. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  23689. int, "userstate": 2 }'
  23690. parameters:
  23691. - description: 用户信息
  23692. in: body
  23693. name: jsonBody
  23694. required: true
  23695. schema:
  23696. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  23697. produces:
  23698. - application/json
  23699. responses:
  23700. "200":
  23701. description: OK
  23702. schema:
  23703. $ref: '#/definitions/app.Response'
  23704. "500":
  23705. description: Internal Server Error
  23706. schema:
  23707. $ref: '#/definitions/app.Response'
  23708. security:
  23709. - ApiKeyAuth: []
  23710. summary: 修改客户申请
  23711. tags:
  23712. - 风险管理v3
  23713. /Erms3/QueryBusinessInfo:
  23714. get:
  23715. parameters:
  23716. - description: 资金账号ID列表,用逗号分隔
  23717. in: query
  23718. name: accountids
  23719. required: true
  23720. type: string
  23721. - description: 状态,0为未结束 1为已结束
  23722. in: query
  23723. name: status
  23724. required: true
  23725. type: integer
  23726. produces:
  23727. - application/json
  23728. responses:
  23729. "200":
  23730. description: OK
  23731. schema:
  23732. items:
  23733. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  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
  23744. /Erms3/QueryPendingAuditContract:
  23745. get:
  23746. parameters:
  23747. - description: 资金账号ID列表,逗号隔开
  23748. in: query
  23749. name: accountids
  23750. required: true
  23751. type: string
  23752. - description: 合同类型 1-采购 -1-销售
  23753. in: query
  23754. name: contracttype
  23755. required: true
  23756. type: integer
  23757. - description: 合同模式 1-普通 2-回购
  23758. in: query
  23759. name: contractmode
  23760. required: true
  23761. type: integer
  23762. produces:
  23763. - application/json
  23764. responses:
  23765. "200":
  23766. description: OK
  23767. schema:
  23768. items:
  23769. $ref: '#/definitions/erms3.QryAuditContractRsp'
  23770. type: array
  23771. "500":
  23772. description: Internal Server Error
  23773. schema:
  23774. $ref: '#/definitions/app.Response'
  23775. security:
  23776. - ApiKeyAuth: []
  23777. summary: 查询待审核合同
  23778. tags:
  23779. - 风险管理v3
  23780. /Erms3/QueryPendingBusiness:
  23781. get:
  23782. parameters:
  23783. - description: 资金账号ID列表,逗号隔开
  23784. in: query
  23785. name: accountids
  23786. required: true
  23787. type: string
  23788. produces:
  23789. - application/json
  23790. responses:
  23791. "200":
  23792. description: OK
  23793. schema:
  23794. items:
  23795. $ref: '#/definitions/erms3.QryPendingBizRsp'
  23796. type: array
  23797. "500":
  23798. description: Internal Server Error
  23799. schema:
  23800. $ref: '#/definitions/app.Response'
  23801. security:
  23802. - ApiKeyAuth: []
  23803. summary: 查询待审核基差贸易业务
  23804. tags:
  23805. - 风险管理v3
  23806. /Erms3/QuerySpotContractAppleForm:
  23807. get:
  23808. parameters:
  23809. - description: 登录账号
  23810. in: query
  23811. name: loginID
  23812. required: true
  23813. type: integer
  23814. produces:
  23815. - application/json
  23816. responses:
  23817. "200":
  23818. description: OK
  23819. schema:
  23820. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  23821. "500":
  23822. description: Internal Server Error
  23823. schema:
  23824. $ref: '#/definitions/app.Response'
  23825. security:
  23826. - ApiKeyAuth: []
  23827. summary: 查询合同申请表单数据
  23828. tags:
  23829. - 风险管理v3
  23830. /Erms3/QuerySpotContractDetail:
  23831. get:
  23832. parameters:
  23833. - description: 资金账号ID列表,用逗号分隔
  23834. in: query
  23835. name: accountids
  23836. required: true
  23837. type: string
  23838. - description: 合同类型,1为采购合同 -1为销售合同
  23839. in: query
  23840. name: contracttype
  23841. required: true
  23842. type: integer
  23843. - description: 合同模式,1为普通合同 2为回购销售合同
  23844. in: query
  23845. name: contractmode
  23846. required: true
  23847. type: integer
  23848. - description: 状态,0为履约中 1为已完成
  23849. in: query
  23850. name: status
  23851. required: true
  23852. type: integer
  23853. produces:
  23854. - application/json
  23855. responses:
  23856. "200":
  23857. description: OK
  23858. schema:
  23859. items:
  23860. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  23861. type: array
  23862. "500":
  23863. description: Internal Server Error
  23864. schema:
  23865. $ref: '#/definitions/app.Response'
  23866. security:
  23867. - ApiKeyAuth: []
  23868. summary: 查询合同详细信息
  23869. tags:
  23870. - 风险管理v3
  23871. /Erms3/QueryUserInfoApplies:
  23872. get:
  23873. parameters:
  23874. - description: 页码
  23875. in: query
  23876. name: page
  23877. type: integer
  23878. - description: 每页条数
  23879. in: query
  23880. name: pagesize
  23881. type: integer
  23882. - description: 客户名称,支持模糊查询
  23883. in: query
  23884. name: userName
  23885. type: string
  23886. produces:
  23887. - application/json
  23888. responses:
  23889. "200":
  23890. description: OK
  23891. schema:
  23892. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  23893. "500":
  23894. description: Internal Server Error
  23895. schema:
  23896. $ref: '#/definitions/app.Response'
  23897. security:
  23898. - ApiKeyAuth: []
  23899. summary: 客户申请信息查询
  23900. tags:
  23901. - 风险管理v3
  23902. /Erms3/QueryUserInfos:
  23903. get:
  23904. parameters:
  23905. - description: 页码
  23906. in: query
  23907. name: page
  23908. type: integer
  23909. - description: 每页条数
  23910. in: query
  23911. name: pagesize
  23912. type: integer
  23913. - description: 客户名称,支持模糊查询
  23914. in: query
  23915. name: userName
  23916. type: string
  23917. produces:
  23918. - application/json
  23919. responses:
  23920. "200":
  23921. description: OK
  23922. schema:
  23923. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  23924. "500":
  23925. description: Internal Server Error
  23926. schema:
  23927. $ref: '#/definitions/app.Response'
  23928. security:
  23929. - ApiKeyAuth: []
  23930. summary: 客户信息查询
  23931. tags:
  23932. - 风险管理v3
  23933. /HSBY/GetHsbyMyCount:
  23934. get:
  23935. description: 说明: 不包括已完成的数量。
  23936. parameters:
  23937. - description: 资金账户列表,格式:1,2,3
  23938. in: query
  23939. name: accountIDs
  23940. required: true
  23941. type: string
  23942. produces:
  23943. - application/json
  23944. responses:
  23945. "200":
  23946. description: OK
  23947. schema:
  23948. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  23949. "500":
  23950. description: Internal Server Error
  23951. schema:
  23952. $ref: '#/definitions/app.Response'
  23953. security:
  23954. - ApiKeyAuth: []
  23955. summary: 获取我的订单与包裹数量
  23956. tags:
  23957. - 定制【海商报业】
  23958. /HSBY/QueryClientFixedADConfigs:
  23959. get:
  23960. produces:
  23961. - application/json
  23962. responses:
  23963. "200":
  23964. description: OK
  23965. schema:
  23966. $ref: '#/definitions/models.Clientfixedadconfig'
  23967. "500":
  23968. description: Internal Server Error
  23969. schema:
  23970. $ref: '#/definitions/app.Response'
  23971. security:
  23972. - ApiKeyAuth: []
  23973. summary: 获取终端固定广告配置
  23974. tags:
  23975. - 定制【海商报业】
  23976. /HSBY/QueryHsbyBuyMyTradeDetail:
  23977. get:
  23978. parameters:
  23979. - description: 页码
  23980. in: query
  23981. name: page
  23982. type: integer
  23983. - description: 每页条数
  23984. in: query
  23985. name: pagesize
  23986. type: integer
  23987. - description: 资金账户列表,格式:1,2,3
  23988. in: query
  23989. name: accountIDs
  23990. required: true
  23991. type: string
  23992. produces:
  23993. - application/json
  23994. responses:
  23995. "200":
  23996. description: OK
  23997. schema:
  23998. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  23999. "500":
  24000. description: Internal Server Error
  24001. schema:
  24002. $ref: '#/definitions/app.Response'
  24003. security:
  24004. - ApiKeyAuth: []
  24005. summary: 查询"我的订单 - 已完成"单据信息
  24006. tags:
  24007. - 定制【海商报业】
  24008. /HSBY/QueryHsbyGoodsOrderDetails:
  24009. get:
  24010. description: 说明:查询结果已按委托价格和委托时间排序
  24011. parameters:
  24012. - description: 商品ID
  24013. in: query
  24014. name: goodsID
  24015. required: true
  24016. type: integer
  24017. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  24018. in: query
  24019. name: accountIDs
  24020. type: string
  24021. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  24022. in: query
  24023. name: buyOrSell
  24024. type: integer
  24025. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  24026. in: query
  24027. name: price
  24028. type: number
  24029. - description: 档位,不传则默认为3档
  24030. in: query
  24031. name: speed
  24032. type: integer
  24033. produces:
  24034. - application/json
  24035. responses:
  24036. "200":
  24037. description: OK
  24038. schema:
  24039. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  24040. "500":
  24041. description: Internal Server Error
  24042. schema:
  24043. $ref: '#/definitions/app.Response'
  24044. security:
  24045. - ApiKeyAuth: []
  24046. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  24047. tags:
  24048. - 定制【海商报业】
  24049. /HSBY/QueryHsbyListingGoodsDetail:
  24050. get:
  24051. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  24052. parameters:
  24053. - description: 商品ID
  24054. in: query
  24055. name: goodsID
  24056. required: true
  24057. type: integer
  24058. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  24059. in: query
  24060. name: accountID
  24061. type: integer
  24062. produces:
  24063. - application/json
  24064. responses:
  24065. "200":
  24066. description: OK
  24067. schema:
  24068. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  24069. "500":
  24070. description: Internal Server Error
  24071. schema:
  24072. $ref: '#/definitions/app.Response'
  24073. security:
  24074. - ApiKeyAuth: []
  24075. summary: 查询二级市场(挂牌点选)商品信息详情
  24076. tags:
  24077. - 定制【海商报业】
  24078. /HSBY/QueryHsbyMarketGoodsDetail:
  24079. get:
  24080. parameters:
  24081. - description: 委托单号
  24082. in: query
  24083. name: orderID
  24084. required: true
  24085. type: integer
  24086. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  24087. in: query
  24088. name: accountID
  24089. type: integer
  24090. produces:
  24091. - application/json
  24092. responses:
  24093. "200":
  24094. description: OK
  24095. schema:
  24096. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  24097. "500":
  24098. description: Internal Server Error
  24099. schema:
  24100. $ref: '#/definitions/app.Response'
  24101. security:
  24102. - ApiKeyAuth: []
  24103. summary: 查询三级市场(商城)商品信息详情
  24104. tags:
  24105. - 定制【海商报业】
  24106. /HSBY/QueryHsbyMarketGoodses:
  24107. get:
  24108. parameters:
  24109. - description: 页码
  24110. in: query
  24111. name: page
  24112. type: integer
  24113. - description: 每页条数
  24114. in: query
  24115. name: pagesize
  24116. type: integer
  24117. - description: 市场ID列表,格式:1,2,3
  24118. in: query
  24119. name: marketIDs
  24120. required: true
  24121. type: string
  24122. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  24123. in: query
  24124. name: accountID
  24125. required: true
  24126. type: integer
  24127. - description: 类别ID
  24128. in: query
  24129. name: categoryID
  24130. type: integer
  24131. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  24132. in: query
  24133. name: goodsIDs
  24134. type: string
  24135. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  24136. in: query
  24137. name: couponTypeID
  24138. type: integer
  24139. produces:
  24140. - application/json
  24141. responses:
  24142. "200":
  24143. description: OK
  24144. schema:
  24145. $ref: '#/definitions/models.HsbyMarketGoods'
  24146. "500":
  24147. description: Internal Server Error
  24148. schema:
  24149. $ref: '#/definitions/app.Response'
  24150. security:
  24151. - ApiKeyAuth: []
  24152. summary: 查询特卖商品列表(三级商城)
  24153. tags:
  24154. - 定制【海商报业】
  24155. /HSBY/QueryHsbyMarkets:
  24156. get:
  24157. produces:
  24158. - application/json
  24159. responses:
  24160. "200":
  24161. description: OK
  24162. schema:
  24163. $ref: '#/definitions/models.HsbyMarketInfo'
  24164. "500":
  24165. description: Internal Server Error
  24166. schema:
  24167. $ref: '#/definitions/app.Response'
  24168. security:
  24169. - ApiKeyAuth: []
  24170. summary: 查询海商报业相关市场信息
  24171. tags:
  24172. - 定制【海商报业】
  24173. /HSBY/QueryHsbyMyBuyOrderDetails:
  24174. get:
  24175. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  24176. parameters:
  24177. - description: 资金账户列表,格式:1,2,3
  24178. in: query
  24179. name: accountIDs
  24180. required: true
  24181. type: string
  24182. produces:
  24183. - application/json
  24184. responses:
  24185. "200":
  24186. description: OK
  24187. schema:
  24188. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  24189. "500":
  24190. description: Internal Server Error
  24191. schema:
  24192. $ref: '#/definitions/app.Response'
  24193. security:
  24194. - ApiKeyAuth: []
  24195. summary: 查询“我的订单”信息
  24196. tags:
  24197. - 定制【海商报业】
  24198. /HSBY/QueryHsbyMyGoods:
  24199. get:
  24200. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  24201. parameters:
  24202. - description: 资金账户列表,格式:1,2,3
  24203. in: query
  24204. name: accountIDs
  24205. required: true
  24206. type: string
  24207. produces:
  24208. - application/json
  24209. responses:
  24210. "200":
  24211. description: OK
  24212. schema:
  24213. $ref: '#/definitions/models.HsbyMyGoods'
  24214. "500":
  24215. description: Internal Server Error
  24216. schema:
  24217. $ref: '#/definitions/app.Response'
  24218. security:
  24219. - ApiKeyAuth: []
  24220. summary: 查询“我的商品”信息
  24221. tags:
  24222. - 定制【海商报业】
  24223. /HSBY/QueryHsbyMyPackages:
  24224. get:
  24225. parameters:
  24226. - description: 资金账户列表,格式:1,2,3
  24227. in: query
  24228. name: accountIDs
  24229. required: true
  24230. type: string
  24231. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  24232. in: query
  24233. name: takeOrderStatus
  24234. type: integer
  24235. produces:
  24236. - application/json
  24237. responses:
  24238. "200":
  24239. description: OK
  24240. schema:
  24241. $ref: '#/definitions/models.HsbyMyPackage'
  24242. "500":
  24243. description: Internal Server Error
  24244. schema:
  24245. $ref: '#/definitions/app.Response'
  24246. security:
  24247. - ApiKeyAuth: []
  24248. summary: 查询我的包裹信息
  24249. tags:
  24250. - 定制【海商报业】
  24251. /HSBY/QueryHsbyPreGoodsDetail:
  24252. get:
  24253. parameters:
  24254. - description: 商品ID
  24255. in: query
  24256. name: goodsID
  24257. required: true
  24258. type: integer
  24259. - description: 资金账户,主要用于获取预售商品购买上限
  24260. in: query
  24261. name: accountID
  24262. type: integer
  24263. produces:
  24264. - application/json
  24265. responses:
  24266. "200":
  24267. description: OK
  24268. schema:
  24269. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  24270. "500":
  24271. description: Internal Server Error
  24272. schema:
  24273. $ref: '#/definitions/app.Response'
  24274. security:
  24275. - ApiKeyAuth: []
  24276. summary: 查询一级市场(预售)商品信息详情
  24277. tags:
  24278. - 定制【海商报业】
  24279. /HSBY/QueryHsbyPreGoodses:
  24280. get:
  24281. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  24282. parameters:
  24283. - description: 页码
  24284. in: query
  24285. name: page
  24286. type: integer
  24287. - description: 每页条数
  24288. in: query
  24289. name: pagesize
  24290. type: integer
  24291. - description: 市场ID列表,格式:1,2,3
  24292. in: query
  24293. name: marketIDs
  24294. required: true
  24295. type: string
  24296. - description: 目的地(省)ID
  24297. in: query
  24298. name: descProvinceID
  24299. type: integer
  24300. - description: 目的地(市)ID
  24301. in: query
  24302. name: descCityID
  24303. type: integer
  24304. produces:
  24305. - application/json
  24306. responses:
  24307. "200":
  24308. description: OK
  24309. schema:
  24310. $ref: '#/definitions/models.HsbyPreGoods'
  24311. "500":
  24312. description: Internal Server Error
  24313. schema:
  24314. $ref: '#/definitions/app.Response'
  24315. security:
  24316. - ApiKeyAuth: []
  24317. summary: 查询新品上市商品列表(一级市场预售)
  24318. tags:
  24319. - 定制【海商报业】
  24320. /HSBY/QueryHsbySellMyDetails:
  24321. get:
  24322. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  24323. parameters:
  24324. - description: 页码
  24325. in: query
  24326. name: page
  24327. type: integer
  24328. - description: 每页条数
  24329. in: query
  24330. name: pagesize
  24331. type: integer
  24332. - description: 资金账户列表,格式:1,2,3
  24333. in: query
  24334. name: accountIDs
  24335. required: true
  24336. type: string
  24337. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  24338. in: query
  24339. name: orderType
  24340. type: integer
  24341. produces:
  24342. - application/json
  24343. responses:
  24344. "200":
  24345. description: OK
  24346. schema:
  24347. $ref: '#/definitions/models.HsbySellMyDetail'
  24348. "500":
  24349. description: Internal Server Error
  24350. schema:
  24351. $ref: '#/definitions/app.Response'
  24352. security:
  24353. - ApiKeyAuth: []
  24354. summary: 查询"我的闲置"单据信息
  24355. tags:
  24356. - 定制【海商报业】
  24357. /HSBY/QueryHsbyTopGoodses:
  24358. get:
  24359. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  24360. parameters:
  24361. - description: 页码
  24362. in: query
  24363. name: page
  24364. type: integer
  24365. - description: 每页条数
  24366. in: query
  24367. name: pagesize
  24368. type: integer
  24369. - description: 市场ID列表,格式:1,2,3
  24370. in: query
  24371. name: marketIDs
  24372. required: true
  24373. type: string
  24374. - description: 目的地(省)ID
  24375. in: query
  24376. name: descProvinceID
  24377. type: integer
  24378. - description: 目的地(市)ID
  24379. in: query
  24380. name: descCityID
  24381. type: integer
  24382. produces:
  24383. - application/json
  24384. responses:
  24385. "200":
  24386. description: OK
  24387. schema:
  24388. $ref: '#/definitions/models.HsbyTopGoods'
  24389. "500":
  24390. description: Internal Server Error
  24391. schema:
  24392. $ref: '#/definitions/app.Response'
  24393. security:
  24394. - ApiKeyAuth: []
  24395. summary: 查询热卖商品列表(二级市场挂牌点选)
  24396. tags:
  24397. - 定制【海商报业】
  24398. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  24399. get:
  24400. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  24401. parameters:
  24402. - description: 商品ID
  24403. in: query
  24404. name: goodsID
  24405. required: true
  24406. type: integer
  24407. produces:
  24408. - application/json
  24409. responses:
  24410. "200":
  24411. description: OK
  24412. schema:
  24413. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  24414. "500":
  24415. description: Internal Server Error
  24416. schema:
  24417. $ref: '#/definitions/app.Response'
  24418. security:
  24419. - ApiKeyAuth: []
  24420. summary: 查询游客三级市场(商城)商品信息详情
  24421. tags:
  24422. - 定制【海商报业】
  24423. /HSBY/QueryHsbyVisitorMarketGoodses:
  24424. get:
  24425. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  24426. parameters:
  24427. - description: 页码
  24428. in: query
  24429. name: page
  24430. type: integer
  24431. - description: 每页条数
  24432. in: query
  24433. name: pagesize
  24434. type: integer
  24435. - description: 市场ID列表,格式:1,2,3
  24436. in: query
  24437. name: marketIDs
  24438. required: true
  24439. type: string
  24440. - description: 类别ID
  24441. in: query
  24442. name: categoryID
  24443. type: integer
  24444. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  24445. in: query
  24446. name: goodsIDs
  24447. type: string
  24448. produces:
  24449. - application/json
  24450. responses:
  24451. "200":
  24452. description: OK
  24453. schema:
  24454. $ref: '#/definitions/models.HsbyMarketGoods'
  24455. "500":
  24456. description: Internal Server Error
  24457. schema:
  24458. $ref: '#/definitions/app.Response'
  24459. security:
  24460. - ApiKeyAuth: []
  24461. summary: 查询游客特卖商品列表(三级商城)
  24462. tags:
  24463. - 定制【海商报业】
  24464. /HSBY/QueryMyCollectionOrders:
  24465. get:
  24466. parameters:
  24467. - description: 页码
  24468. in: query
  24469. name: page
  24470. type: integer
  24471. - description: 每页条数
  24472. in: query
  24473. name: pagesize
  24474. type: integer
  24475. - description: 资金账户,格式:1,2,3
  24476. in: query
  24477. name: accountIDs
  24478. required: true
  24479. type: string
  24480. produces:
  24481. - application/json
  24482. responses:
  24483. "200":
  24484. description: OK
  24485. schema:
  24486. $ref: '#/definitions/models.HsbySellCollectionOrder'
  24487. "500":
  24488. description: Internal Server Error
  24489. schema:
  24490. $ref: '#/definitions/app.Response'
  24491. security:
  24492. - ApiKeyAuth: []
  24493. summary: 我的闲置中收款信息查询
  24494. tags:
  24495. - 定制【海商报业】
  24496. /HSBY/QueryMyCouponHolds:
  24497. get:
  24498. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  24499. parameters:
  24500. - description: 资金账户列表,格式:1,2,3
  24501. in: query
  24502. name: accountIDs
  24503. required: true
  24504. type: string
  24505. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  24506. in: query
  24507. name: holdStatus
  24508. type: string
  24509. produces:
  24510. - application/json
  24511. responses:
  24512. "200":
  24513. description: OK
  24514. schema:
  24515. $ref: '#/definitions/models.MyCouponHold'
  24516. "500":
  24517. description: Internal Server Error
  24518. schema:
  24519. $ref: '#/definitions/app.Response'
  24520. security:
  24521. - ApiKeyAuth: []
  24522. summary: 我的优惠卷持仓查询
  24523. tags:
  24524. - 定制【海商报业】
  24525. /HSBY/QueryMyCoupons:
  24526. get:
  24527. parameters:
  24528. - description: 资金账户列表,格式:1,2,3
  24529. in: query
  24530. name: accountIDs
  24531. required: true
  24532. type: string
  24533. - description: 商品ID, 一般与sellUserID配套传入
  24534. in: query
  24535. name: goodsID
  24536. type: integer
  24537. - description: 卖方UserID
  24538. in: query
  24539. name: sellUserID
  24540. type: integer
  24541. produces:
  24542. - application/json
  24543. responses:
  24544. "200":
  24545. description: OK
  24546. schema:
  24547. $ref: '#/definitions/models.MyCoupon'
  24548. "500":
  24549. description: Internal Server Error
  24550. schema:
  24551. $ref: '#/definitions/app.Response'
  24552. security:
  24553. - ApiKeyAuth: []
  24554. summary: 我的优惠卷查询
  24555. tags:
  24556. - 定制【海商报业】
  24557. /HSBY/QueryMyPayOrders:
  24558. get:
  24559. parameters:
  24560. - description: 页码
  24561. in: query
  24562. name: page
  24563. type: integer
  24564. - description: 每页条数
  24565. in: query
  24566. name: pagesize
  24567. type: integer
  24568. - description: 资金账户列表,格式:1,2,3
  24569. in: query
  24570. name: accountIDs
  24571. required: true
  24572. type: string
  24573. - description: 买方委托单号
  24574. in: query
  24575. name: buyOrderID
  24576. type: integer
  24577. - description: 卖方委托单号
  24578. in: query
  24579. name: sellOrderID
  24580. type: integer
  24581. produces:
  24582. - application/json
  24583. responses:
  24584. "200":
  24585. description: OK
  24586. schema:
  24587. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  24588. "500":
  24589. description: Internal Server Error
  24590. schema:
  24591. $ref: '#/definitions/app.Response'
  24592. security:
  24593. - ApiKeyAuth: []
  24594. summary: 获取我的订单中待付款信息
  24595. tags:
  24596. - 定制【海商报业】
  24597. /HSBY/QueryMyUsedCoupon:
  24598. get:
  24599. parameters:
  24600. - description: 资金账户列表,格式:1,2,3
  24601. in: query
  24602. name: accountIDs
  24603. required: true
  24604. type: string
  24605. produces:
  24606. - application/json
  24607. responses:
  24608. "200":
  24609. description: OK
  24610. schema:
  24611. $ref: '#/definitions/models.MyUsedCoupon'
  24612. "500":
  24613. description: Internal Server Error
  24614. schema:
  24615. $ref: '#/definitions/app.Response'
  24616. security:
  24617. - ApiKeyAuth: []
  24618. summary: 已使用优惠卷查询
  24619. tags:
  24620. - 定制【海商报业】
  24621. /HSBY/QueryProvincesAndCities:
  24622. get:
  24623. description: 查询结果只包括二级市场商品已关连的省市信息。
  24624. parameters:
  24625. - description: 省ID
  24626. in: query
  24627. name: provinceID
  24628. type: integer
  24629. produces:
  24630. - application/json
  24631. responses:
  24632. "200":
  24633. description: OK
  24634. schema:
  24635. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  24636. "500":
  24637. description: Internal Server Error
  24638. schema:
  24639. $ref: '#/definitions/app.Response'
  24640. security:
  24641. - ApiKeyAuth: []
  24642. summary: 查询省市信息(不包括区)
  24643. tags:
  24644. - 定制【海商报业】
  24645. /HSBY/SetHsbyMyPackagesStatus:
  24646. post:
  24647. parameters:
  24648. - description: 提货单号
  24649. in: query
  24650. name: takeOrderID
  24651. required: true
  24652. type: string
  24653. - description: 资金账号
  24654. in: query
  24655. name: accountID
  24656. required: true
  24657. type: integer
  24658. produces:
  24659. - application/json
  24660. responses:
  24661. "200":
  24662. description: OK
  24663. schema:
  24664. $ref: '#/definitions/app.Response'
  24665. "500":
  24666. description: Internal Server Error
  24667. schema:
  24668. $ref: '#/definitions/app.Response'
  24669. security:
  24670. - ApiKeyAuth: []
  24671. summary: 设置我的包裹已收货状态
  24672. tags:
  24673. - 定制【海商报业】
  24674. /Market/GetAllExExchanges:
  24675. get:
  24676. produces:
  24677. - application/json
  24678. responses:
  24679. "200":
  24680. description: OK
  24681. schema:
  24682. $ref: '#/definitions/models.Goods'
  24683. "500":
  24684. description: Internal Server Error
  24685. schema:
  24686. $ref: '#/definitions/app.Response'
  24687. security:
  24688. - ApiKeyAuth: []
  24689. summary: 获取所有外部交易所信息
  24690. tags:
  24691. - 通用市场
  24692. /Market/QueryGoodsesByLoginID:
  24693. get:
  24694. parameters:
  24695. - description: 登录账号
  24696. in: query
  24697. name: loginID
  24698. required: true
  24699. type: integer
  24700. - description: 市场ID列表,格式:1,2,3
  24701. in: query
  24702. name: marketIDs
  24703. type: string
  24704. produces:
  24705. - application/json
  24706. responses:
  24707. "200":
  24708. description: OK
  24709. schema:
  24710. $ref: '#/definitions/models.Goods'
  24711. "500":
  24712. description: Internal Server Error
  24713. schema:
  24714. $ref: '#/definitions/app.Response'
  24715. security:
  24716. - ApiKeyAuth: []
  24717. summary: 获取登录账号有权限的商品信息
  24718. tags:
  24719. - 通用市场
  24720. /Market/QueryMarketRun:
  24721. get:
  24722. parameters:
  24723. - description: 市场ID,不传返回所有
  24724. in: query
  24725. name: marketID
  24726. type: integer
  24727. produces:
  24728. - application/json
  24729. responses:
  24730. "200":
  24731. description: OK
  24732. schema:
  24733. $ref: '#/definitions/models.Marketrun'
  24734. "500":
  24735. description: Internal Server Error
  24736. schema:
  24737. $ref: '#/definitions/app.Response'
  24738. security:
  24739. - ApiKeyAuth: []
  24740. summary: 查询市场运行信息
  24741. tags:
  24742. - 通用市场
  24743. /Market/QueryMarketsByLoginID:
  24744. get:
  24745. parameters:
  24746. - description: 登录账号
  24747. in: query
  24748. name: loginID
  24749. required: true
  24750. type: integer
  24751. produces:
  24752. - application/json
  24753. responses:
  24754. "200":
  24755. description: OK
  24756. schema:
  24757. $ref: '#/definitions/models.Market'
  24758. "500":
  24759. description: Internal Server Error
  24760. schema:
  24761. $ref: '#/definitions/app.Response'
  24762. security:
  24763. - ApiKeyAuth: []
  24764. summary: 获取登录账号有权限的市场信息
  24765. tags:
  24766. - 通用市场
  24767. /Order/QueryHisTradeDetail:
  24768. get:
  24769. parameters:
  24770. - description: 资金账户 - 格式:1,2,3
  24771. in: query
  24772. name: accountID
  24773. required: true
  24774. type: string
  24775. - description: 成交单号
  24776. in: query
  24777. name: tradeID
  24778. type: integer
  24779. - description: 委托单号
  24780. in: query
  24781. name: orderID
  24782. type: integer
  24783. - description: 商品ID
  24784. in: query
  24785. name: goodsID
  24786. type: integer
  24787. - description: 交易模式 - 格式:1,2,3
  24788. in: query
  24789. name: tradeMode
  24790. type: string
  24791. - description: 委托单据类型
  24792. in: query
  24793. name: buildType
  24794. type: integer
  24795. - description: 成交类别 - 格式:1,2,3
  24796. in: query
  24797. name: tradeType
  24798. type: string
  24799. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24800. in: query
  24801. name: startDate
  24802. type: string
  24803. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24804. in: query
  24805. name: endDate
  24806. type: string
  24807. produces:
  24808. - application/json
  24809. responses:
  24810. "200":
  24811. description: OK
  24812. schema:
  24813. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  24814. "500":
  24815. description: Internal Server Error
  24816. schema:
  24817. $ref: '#/definitions/app.Response'
  24818. security:
  24819. - ApiKeyAuth: []
  24820. summary: 历史成交单查询(合约市场)
  24821. tags:
  24822. - 通用单据
  24823. /Order/QueryHisTradeOrderDetail:
  24824. get:
  24825. parameters:
  24826. - description: 资金账户 - 格式:1,2,3
  24827. in: query
  24828. name: accountID
  24829. required: true
  24830. type: string
  24831. - description: 交易模式 - 格式:1,2,3
  24832. in: query
  24833. name: tradeMode
  24834. type: string
  24835. - description: 委托状态 - 格式:1,2,3
  24836. in: query
  24837. name: orderStatus
  24838. type: string
  24839. - description: 委托单号
  24840. in: query
  24841. name: orderID
  24842. type: integer
  24843. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24844. in: query
  24845. name: startDate
  24846. type: string
  24847. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24848. in: query
  24849. name: endDate
  24850. type: string
  24851. produces:
  24852. - application/json
  24853. responses:
  24854. "200":
  24855. description: OK
  24856. schema:
  24857. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  24858. "500":
  24859. description: Internal Server Error
  24860. schema:
  24861. $ref: '#/definitions/app.Response'
  24862. security:
  24863. - ApiKeyAuth: []
  24864. summary: 历史委托单查询请求(合约市场)
  24865. tags:
  24866. - 通用单据
  24867. /Order/QueryTradeDetail:
  24868. get:
  24869. parameters:
  24870. - description: 资金账户 - 格式:1,2,3
  24871. in: query
  24872. name: accountID
  24873. required: true
  24874. type: string
  24875. - description: 成交单号
  24876. in: query
  24877. name: tradeID
  24878. type: integer
  24879. - description: 委托单号
  24880. in: query
  24881. name: orderID
  24882. type: integer
  24883. - description: 交易模式 - 格式:1,2,3
  24884. in: query
  24885. name: tradeMode
  24886. type: string
  24887. - description: 委托单据类型
  24888. in: query
  24889. name: buildType
  24890. type: integer
  24891. - description: 成交类别 - 格式:1,2,3
  24892. in: query
  24893. name: tradeType
  24894. type: string
  24895. - description: 商品ID
  24896. in: query
  24897. name: goodsID
  24898. type: integer
  24899. produces:
  24900. - application/json
  24901. responses:
  24902. "200":
  24903. description: OK
  24904. schema:
  24905. $ref: '#/definitions/order.QueryTradeDetailRsp'
  24906. "500":
  24907. description: Internal Server Error
  24908. schema:
  24909. $ref: '#/definitions/app.Response'
  24910. security:
  24911. - ApiKeyAuth: []
  24912. summary: 成交单查询(合约市场)
  24913. tags:
  24914. - 通用单据
  24915. /Order/QueryTradeHolderDetail:
  24916. get:
  24917. parameters:
  24918. - description: 用户id
  24919. in: query
  24920. name: userid
  24921. type: integer
  24922. - description: 资金账号, 格式 1,2,3
  24923. in: query
  24924. name: accids
  24925. type: string
  24926. - description: 交易模式, 格式 1,2,3
  24927. in: query
  24928. name: trademodes
  24929. type: string
  24930. - description: 市场id, 格式 1,2,3
  24931. in: query
  24932. name: marketids
  24933. type: string
  24934. - description: 商品id
  24935. in: query
  24936. name: goodsid
  24937. type: integer
  24938. - description: 买卖方向 0-买 1-卖
  24939. in: query
  24940. name: buyorsell
  24941. type: integer
  24942. produces:
  24943. - application/json
  24944. responses:
  24945. "200":
  24946. description: OK
  24947. schema:
  24948. items:
  24949. $ref: '#/definitions/models.TradeHolderDetail'
  24950. type: array
  24951. "500":
  24952. description: Internal Server Error
  24953. schema:
  24954. $ref: '#/definitions/app.Response'
  24955. security:
  24956. - ApiKeyAuth: []
  24957. summary: 查询持仓明细
  24958. tags:
  24959. - 通用单据
  24960. /Order/QueryTradeOrderDetail:
  24961. get:
  24962. parameters:
  24963. - description: 资金账户 - 格式:1,2,3
  24964. in: query
  24965. name: accountID
  24966. required: true
  24967. type: string
  24968. - description: 交易模式 - 格式:1,2,3
  24969. in: query
  24970. name: tradeMode
  24971. type: string
  24972. - description: 委托状态 - 格式:1,2,3
  24973. in: query
  24974. name: orderStatus
  24975. type: string
  24976. - description: 委托单号
  24977. in: query
  24978. name: orderID
  24979. type: integer
  24980. produces:
  24981. - application/json
  24982. responses:
  24983. "200":
  24984. description: OK
  24985. schema:
  24986. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  24987. "500":
  24988. description: Internal Server Error
  24989. schema:
  24990. $ref: '#/definitions/app.Response'
  24991. security:
  24992. - ApiKeyAuth: []
  24993. summary: 委托单查询请求(合约市场)
  24994. tags:
  24995. - 通用单据
  24996. /Order/QueryTradePosition:
  24997. get:
  24998. parameters:
  24999. - description: 资金账户 - 格式:1,2,3
  25000. in: query
  25001. name: accountID
  25002. required: true
  25003. type: string
  25004. - description: 交易模式 - 格式:1,2,3
  25005. in: query
  25006. name: tradeMode
  25007. type: string
  25008. produces:
  25009. - application/json
  25010. responses:
  25011. "200":
  25012. description: OK
  25013. schema:
  25014. $ref: '#/definitions/order.QueryTradePositionRsp'
  25015. "500":
  25016. description: Internal Server Error
  25017. schema:
  25018. $ref: '#/definitions/app.Response'
  25019. security:
  25020. - ApiKeyAuth: []
  25021. summary: 持仓汇总查询(合约市场)
  25022. tags:
  25023. - 通用单据
  25024. /Qhj/QueryAccountInOutApply:
  25025. get:
  25026. parameters:
  25027. - description: 用户ID
  25028. in: query
  25029. name: userid
  25030. required: true
  25031. type: integer
  25032. - description: 申请起始日期(格式yyyymmdd)
  25033. in: query
  25034. name: begindate
  25035. type: string
  25036. - description: 申请截止日期(格式yyyymmdd)
  25037. in: query
  25038. name: enddate
  25039. type: string
  25040. - description: 模糊搜索名称
  25041. in: query
  25042. name: likename
  25043. type: string
  25044. produces:
  25045. - application/json
  25046. responses:
  25047. "200":
  25048. description: OK
  25049. schema:
  25050. items:
  25051. $ref: '#/definitions/models.QhjAccountOutInApply'
  25052. type: array
  25053. "500":
  25054. description: Internal Server Error
  25055. schema:
  25056. $ref: '#/definitions/app.Response'
  25057. security:
  25058. - ApiKeyAuth: []
  25059. summary: 查询充值提现
  25060. tags:
  25061. - 大连千海金
  25062. /Qhj/QueryAreaFinanceConfig:
  25063. get:
  25064. parameters:
  25065. - description: 机构用户ID 其他做市关系,都设置为 1
  25066. in: query
  25067. name: userid
  25068. type: integer
  25069. produces:
  25070. - application/json
  25071. responses:
  25072. "200":
  25073. description: OK
  25074. schema:
  25075. items:
  25076. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  25077. type: array
  25078. "500":
  25079. description: Internal Server Error
  25080. schema:
  25081. $ref: '#/definitions/app.Response'
  25082. security:
  25083. - ApiKeyAuth: []
  25084. summary: 查询企业配置表
  25085. tags:
  25086. - 大连千海金
  25087. /Qhj/QueryBankAccountSign:
  25088. get:
  25089. parameters:
  25090. - description: 用户ID
  25091. in: query
  25092. name: userid
  25093. required: true
  25094. type: integer
  25095. produces:
  25096. - application/json
  25097. responses:
  25098. "200":
  25099. description: OK
  25100. schema:
  25101. items:
  25102. $ref: '#/definitions/models.QhjBankAccountSign'
  25103. type: array
  25104. "500":
  25105. description: Internal Server Error
  25106. schema:
  25107. $ref: '#/definitions/app.Response'
  25108. security:
  25109. - ApiKeyAuth: []
  25110. summary: 查询签约银行信息(提现账户管理)
  25111. tags:
  25112. - 大连千海金
  25113. /Qhj/QueryBankInfo:
  25114. get:
  25115. produces:
  25116. - application/json
  25117. responses:
  25118. "200":
  25119. description: OK
  25120. schema:
  25121. items:
  25122. $ref: '#/definitions/models.QhjBankInfo'
  25123. type: array
  25124. "500":
  25125. description: Internal Server Error
  25126. schema:
  25127. $ref: '#/definitions/app.Response'
  25128. security:
  25129. - ApiKeyAuth: []
  25130. summary: 查询开户行
  25131. tags:
  25132. - 大连千海金
  25133. /Qhj/QueryBrokerApply:
  25134. get:
  25135. parameters:
  25136. - description: 所属机构ID
  25137. in: query
  25138. name: userid
  25139. type: integer
  25140. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25141. in: query
  25142. name: filterstatus
  25143. type: string
  25144. produces:
  25145. - application/json
  25146. responses:
  25147. "200":
  25148. description: OK
  25149. schema:
  25150. items:
  25151. $ref: '#/definitions/models.QhjBrokerApply'
  25152. type: array
  25153. "500":
  25154. description: Internal Server Error
  25155. schema:
  25156. $ref: '#/definitions/app.Response'
  25157. security:
  25158. - ApiKeyAuth: []
  25159. summary: 查询经纪人申请
  25160. tags:
  25161. - 大连千海金
  25162. /Qhj/QueryBrokerApplyEx:
  25163. get:
  25164. parameters:
  25165. - description: 所属机构ID
  25166. in: query
  25167. name: userid
  25168. type: integer
  25169. produces:
  25170. - application/json
  25171. responses:
  25172. "200":
  25173. description: OK
  25174. schema:
  25175. items:
  25176. $ref: '#/definitions/models.QhjBrokerApplyEx'
  25177. type: array
  25178. "500":
  25179. description: Internal Server Error
  25180. schema:
  25181. $ref: '#/definitions/app.Response'
  25182. security:
  25183. - ApiKeyAuth: []
  25184. summary: 查询经纪人信息和申请记录
  25185. tags:
  25186. - 大连千海金
  25187. /Qhj/QueryBrokerRewardLog:
  25188. get:
  25189. parameters:
  25190. - description: 用户ID
  25191. in: query
  25192. name: userid
  25193. required: true
  25194. type: integer
  25195. - description: 开始交易日(yyyymmdd)
  25196. in: query
  25197. name: begindate
  25198. type: string
  25199. - description: 结束交易日(yyyymmdd)
  25200. in: query
  25201. name: enddate
  25202. type: string
  25203. produces:
  25204. - application/json
  25205. responses:
  25206. "200":
  25207. description: OK
  25208. schema:
  25209. items:
  25210. $ref: '#/definitions/models.QhjBrokerRewardLog'
  25211. type: array
  25212. "500":
  25213. description: Internal Server Error
  25214. schema:
  25215. $ref: '#/definitions/app.Response'
  25216. security:
  25217. - ApiKeyAuth: []
  25218. summary: 查询奖励流水(我的奖励)
  25219. tags:
  25220. - 大连千海金
  25221. /Qhj/QueryContract:
  25222. get:
  25223. parameters:
  25224. - description: 用户ID
  25225. in: query
  25226. name: userid
  25227. type: integer
  25228. - description: scf合同id
  25229. in: query
  25230. name: scfcontractid
  25231. type: integer
  25232. produces:
  25233. - application/json
  25234. responses:
  25235. "200":
  25236. description: OK
  25237. schema:
  25238. items:
  25239. $ref: '#/definitions/models.QhjContract'
  25240. type: array
  25241. "500":
  25242. description: Internal Server Error
  25243. schema:
  25244. $ref: '#/definitions/app.Response'
  25245. security:
  25246. - ApiKeyAuth: []
  25247. summary: 查询融资明细(合同)
  25248. tags:
  25249. - 大连千海金
  25250. /Qhj/QueryContractLog:
  25251. get:
  25252. parameters:
  25253. - description: scf合同id
  25254. in: query
  25255. name: scfcontractid
  25256. required: true
  25257. type: integer
  25258. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  25259. in: query
  25260. name: amounttype
  25261. type: string
  25262. produces:
  25263. - application/json
  25264. responses:
  25265. "200":
  25266. description: OK
  25267. schema:
  25268. items:
  25269. $ref: '#/definitions/models.QhjContractLog'
  25270. type: array
  25271. "500":
  25272. description: Internal Server Error
  25273. schema:
  25274. $ref: '#/definitions/app.Response'
  25275. security:
  25276. - ApiKeyAuth: []
  25277. summary: 查询融资明细流水(融资明细详情页中的流水)
  25278. tags:
  25279. - 大连千海金
  25280. /Qhj/QueryCusBankSignBank:
  25281. get:
  25282. produces:
  25283. - application/json
  25284. responses:
  25285. "200":
  25286. description: OK
  25287. schema:
  25288. items:
  25289. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  25290. type: array
  25291. "500":
  25292. description: Internal Server Error
  25293. schema:
  25294. $ref: '#/definitions/app.Response'
  25295. security:
  25296. - ApiKeyAuth: []
  25297. summary: 查询托管银行
  25298. tags:
  25299. - 大连千海金
  25300. /Qhj/QueryCustomerInfo:
  25301. get:
  25302. parameters:
  25303. - description: 用户ID
  25304. in: query
  25305. name: userid
  25306. required: true
  25307. type: integer
  25308. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  25309. in: query
  25310. name: querytype
  25311. required: true
  25312. type: integer
  25313. - description: 客户类型 1-个人 2-企业
  25314. in: query
  25315. name: userinfotype
  25316. type: integer
  25317. - description: 客户名称(模糊匹配)
  25318. in: query
  25319. name: customername
  25320. type: string
  25321. - description: 昵称(模糊匹配)
  25322. in: query
  25323. name: nickname
  25324. type: string
  25325. - description: 是否包含子级 1-包含
  25326. in: query
  25327. name: includesub
  25328. type: integer
  25329. produces:
  25330. - application/json
  25331. responses:
  25332. "200":
  25333. description: OK
  25334. schema:
  25335. items:
  25336. $ref: '#/definitions/models.QhjCustomer'
  25337. type: array
  25338. "500":
  25339. description: Internal Server Error
  25340. schema:
  25341. $ref: '#/definitions/app.Response'
  25342. security:
  25343. - ApiKeyAuth: []
  25344. summary: 查询客户资料
  25345. tags:
  25346. - 大连千海金
  25347. /Qhj/QueryGoodsEx:
  25348. get:
  25349. parameters:
  25350. - description: 商品id
  25351. in: query
  25352. name: goodsid
  25353. type: integer
  25354. produces:
  25355. - application/json
  25356. responses:
  25357. "200":
  25358. description: OK
  25359. schema:
  25360. items:
  25361. $ref: '#/definitions/models.Qhjgoodsex'
  25362. type: array
  25363. "500":
  25364. description: Internal Server Error
  25365. schema:
  25366. $ref: '#/definitions/app.Response'
  25367. security:
  25368. - ApiKeyAuth: []
  25369. summary: 交易商品扩展表
  25370. tags:
  25371. - 大连千海金
  25372. /Qhj/QueryMyTeam:
  25373. get:
  25374. parameters:
  25375. - description: 用户ID
  25376. in: query
  25377. name: userid
  25378. required: true
  25379. type: integer
  25380. produces:
  25381. - application/json
  25382. responses:
  25383. "200":
  25384. description: OK
  25385. schema:
  25386. items:
  25387. $ref: '#/definitions/models.QhjMyTeamEx'
  25388. type: array
  25389. "500":
  25390. description: Internal Server Error
  25391. schema:
  25392. $ref: '#/definitions/app.Response'
  25393. security:
  25394. - ApiKeyAuth: []
  25395. summary: 查询我的团队
  25396. tags:
  25397. - 大连千海金
  25398. /Qhj/QueryMyTeamOrder:
  25399. get:
  25400. parameters:
  25401. - description: 页码
  25402. in: query
  25403. name: page
  25404. type: integer
  25405. - description: 每页条数
  25406. in: query
  25407. name: pagesize
  25408. type: integer
  25409. - description: 用户ID
  25410. in: query
  25411. name: userid
  25412. required: true
  25413. type: integer
  25414. - description: 交易模式
  25415. in: query
  25416. name: trademode
  25417. type: integer
  25418. - description: 名称(模糊搜索账户)
  25419. in: query
  25420. name: filtername
  25421. type: string
  25422. produces:
  25423. - application/json
  25424. responses:
  25425. "200":
  25426. description: OK
  25427. schema:
  25428. items:
  25429. $ref: '#/definitions/models.QhjTeamOrder'
  25430. type: array
  25431. "500":
  25432. description: Internal Server Error
  25433. schema:
  25434. $ref: '#/definitions/app.Response'
  25435. security:
  25436. - ApiKeyAuth: []
  25437. summary: 查询团队订单(我的团队/团队订单)
  25438. tags:
  25439. - 大连千海金
  25440. /Qhj/QueryParentAreaList:
  25441. get:
  25442. parameters:
  25443. - description: 用户ID
  25444. in: query
  25445. name: userid
  25446. required: true
  25447. type: integer
  25448. produces:
  25449. - application/json
  25450. responses:
  25451. "200":
  25452. description: OK
  25453. schema:
  25454. items:
  25455. $ref: '#/definitions/models.QhjParentAreaList'
  25456. type: array
  25457. "500":
  25458. description: Internal Server Error
  25459. schema:
  25460. $ref: '#/definitions/app.Response'
  25461. security:
  25462. - ApiKeyAuth: []
  25463. summary: 查询所属机构列表
  25464. tags:
  25465. - 大连千海金
  25466. /Qhj/QueryPayOrder:
  25467. get:
  25468. parameters:
  25469. - description: 资金账号id
  25470. in: query
  25471. name: accountid
  25472. required: true
  25473. type: integer
  25474. - description: 成交单号
  25475. in: query
  25476. name: tradeid
  25477. type: integer
  25478. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  25479. in: query
  25480. name: payflag
  25481. type: string
  25482. produces:
  25483. - application/json
  25484. responses:
  25485. "200":
  25486. description: OK
  25487. schema:
  25488. items:
  25489. $ref: '#/definitions/models.QhjPayOrder'
  25490. type: array
  25491. "500":
  25492. description: Internal Server Error
  25493. schema:
  25494. $ref: '#/definitions/app.Response'
  25495. security:
  25496. - ApiKeyAuth: []
  25497. summary: 查询待付款单据
  25498. tags:
  25499. - 大连千海金
  25500. /Qhj/QueryPickArea:
  25501. get:
  25502. parameters:
  25503. - description: 用户ID
  25504. in: query
  25505. name: userid
  25506. type: integer
  25507. produces:
  25508. - application/json
  25509. responses:
  25510. "200":
  25511. description: OK
  25512. schema:
  25513. items:
  25514. $ref: '#/definitions/models.QhjPickArea'
  25515. type: array
  25516. "500":
  25517. description: Internal Server Error
  25518. schema:
  25519. $ref: '#/definitions/app.Response'
  25520. security:
  25521. - ApiKeyAuth: []
  25522. summary: 查询提货门店
  25523. tags:
  25524. - 大连千海金
  25525. /Qhj/QueryPickGoods:
  25526. get:
  25527. parameters:
  25528. - description: 交易商品id
  25529. in: query
  25530. name: goodsid
  25531. required: true
  25532. type: integer
  25533. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  25534. in: query
  25535. name: status
  25536. type: string
  25537. produces:
  25538. - application/json
  25539. responses:
  25540. "200":
  25541. description: OK
  25542. schema:
  25543. items:
  25544. $ref: '#/definitions/models.QhjPickGoods'
  25545. type: array
  25546. "500":
  25547. description: Internal Server Error
  25548. schema:
  25549. $ref: '#/definitions/app.Response'
  25550. security:
  25551. - ApiKeyAuth: []
  25552. summary: 查询提货商品
  25553. tags:
  25554. - 大连千海金
  25555. /Qhj/QueryRSTriggerLog:
  25556. get:
  25557. parameters:
  25558. - description: 用户ID
  25559. in: query
  25560. name: userid
  25561. type: integer
  25562. - description: 定投策略id
  25563. in: query
  25564. name: regularlystrategyid
  25565. type: integer
  25566. - description: 商品id
  25567. in: query
  25568. name: goodsid
  25569. type: integer
  25570. - description: 开始交易日(yyyymmdd)
  25571. in: query
  25572. name: begindate
  25573. type: string
  25574. - description: 结束交易日(yyyymmdd)
  25575. in: query
  25576. name: enddate
  25577. type: string
  25578. - description: 名称(模糊搜索账户)
  25579. in: query
  25580. name: filtername
  25581. type: string
  25582. produces:
  25583. - application/json
  25584. responses:
  25585. "200":
  25586. description: OK
  25587. schema:
  25588. items:
  25589. $ref: '#/definitions/models.QhjRSTriggerLog'
  25590. type: array
  25591. "500":
  25592. description: Internal Server Error
  25593. schema:
  25594. $ref: '#/definitions/app.Response'
  25595. security:
  25596. - ApiKeyAuth: []
  25597. summary: 查询定投记录(定投管理/详情/定投记录)
  25598. tags:
  25599. - 大连千海金
  25600. /Qhj/QueryRStrategy:
  25601. get:
  25602. parameters:
  25603. - description: 用户ID
  25604. in: query
  25605. name: userid
  25606. type: integer
  25607. - description: 商品id
  25608. in: query
  25609. name: goodsid
  25610. type: integer
  25611. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  25612. in: query
  25613. name: status
  25614. type: string
  25615. - description: 名称(模糊搜索账户)
  25616. in: query
  25617. name: filtername
  25618. type: string
  25619. produces:
  25620. - application/json
  25621. responses:
  25622. "200":
  25623. description: OK
  25624. schema:
  25625. items:
  25626. $ref: '#/definitions/models.QhjRStrategy'
  25627. type: array
  25628. "500":
  25629. description: Internal Server Error
  25630. schema:
  25631. $ref: '#/definitions/app.Response'
  25632. security:
  25633. - ApiKeyAuth: []
  25634. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  25635. tags:
  25636. - 大连千海金
  25637. /Qhj/QueryReckonPriceLog:
  25638. get:
  25639. parameters:
  25640. - description: 商品ID
  25641. in: query
  25642. name: goodsid
  25643. type: integer
  25644. - description: 交易日 格式(yyyymmdd)
  25645. in: query
  25646. name: tradedate
  25647. type: string
  25648. produces:
  25649. - application/json
  25650. responses:
  25651. "200":
  25652. description: OK
  25653. schema:
  25654. items:
  25655. $ref: '#/definitions/models.QhjReckonPriceLog'
  25656. type: array
  25657. "500":
  25658. description: Internal Server Error
  25659. schema:
  25660. $ref: '#/definitions/app.Response'
  25661. security:
  25662. - ApiKeyAuth: []
  25663. summary: 查询定投价(结算价)
  25664. tags:
  25665. - 大连千海金
  25666. /Qhj/QueryScoreLog:
  25667. get:
  25668. parameters:
  25669. - description: 用户ID
  25670. in: query
  25671. name: userid
  25672. required: true
  25673. type: integer
  25674. - description: 开始交易日(yyyymmdd)
  25675. in: query
  25676. name: begindate
  25677. type: string
  25678. - description: 结束交易日(yyyymmdd)
  25679. in: query
  25680. name: enddate
  25681. type: string
  25682. - description: 最近多少条
  25683. in: query
  25684. name: lastnum
  25685. type: integer
  25686. produces:
  25687. - application/json
  25688. responses:
  25689. "200":
  25690. description: OK
  25691. schema:
  25692. items:
  25693. $ref: '#/definitions/models.QhjScoreLog'
  25694. type: array
  25695. "500":
  25696. description: Internal Server Error
  25697. schema:
  25698. $ref: '#/definitions/app.Response'
  25699. security:
  25700. - ApiKeyAuth: []
  25701. summary: 查询积分流水(我的积分)
  25702. tags:
  25703. - 大连千海金
  25704. /Qhj/QuerySiteColumnDetail:
  25705. get:
  25706. parameters:
  25707. - description: 用户ID
  25708. in: query
  25709. name: userid
  25710. required: true
  25711. type: integer
  25712. produces:
  25713. - application/json
  25714. responses:
  25715. "200":
  25716. description: OK
  25717. schema:
  25718. items:
  25719. $ref: '#/definitions/models.QhjSiteColumnDetail'
  25720. type: array
  25721. "500":
  25722. description: Internal Server Error
  25723. schema:
  25724. $ref: '#/definitions/app.Response'
  25725. security:
  25726. - ApiKeyAuth: []
  25727. summary: 查询资讯
  25728. tags:
  25729. - 大连千海金
  25730. /Qhj/QueryTradeGoodsPickup:
  25731. get:
  25732. parameters:
  25733. - description: 用户ID
  25734. in: query
  25735. name: userid
  25736. required: true
  25737. type: integer
  25738. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  25739. 7:已拒绝 8:已撤销
  25740. in: query
  25741. name: takeorderstatus
  25742. type: integer
  25743. produces:
  25744. - application/json
  25745. responses:
  25746. "200":
  25747. description: OK
  25748. schema:
  25749. items:
  25750. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  25751. type: array
  25752. "500":
  25753. description: Internal Server Error
  25754. schema:
  25755. $ref: '#/definitions/app.Response'
  25756. security:
  25757. - ApiKeyAuth: []
  25758. summary: 查询提货
  25759. tags:
  25760. - 大连千海金
  25761. /Qhj/QueryUserCollectConfig:
  25762. get:
  25763. parameters:
  25764. - description: 用户ID
  25765. in: query
  25766. name: userid
  25767. required: true
  25768. type: integer
  25769. produces:
  25770. - application/json
  25771. responses:
  25772. "200":
  25773. description: OK
  25774. schema:
  25775. items:
  25776. $ref: '#/definitions/models.UserCollectConfig'
  25777. type: array
  25778. "500":
  25779. description: Internal Server Error
  25780. schema:
  25781. $ref: '#/definitions/app.Response'
  25782. security:
  25783. - ApiKeyAuth: []
  25784. summary: 查询提现账户设置
  25785. tags:
  25786. - 大连千海金
  25787. /Qhj/QueryUserReceiveInfo:
  25788. get:
  25789. parameters:
  25790. - description: 用户ID
  25791. in: query
  25792. name: userid
  25793. required: true
  25794. type: integer
  25795. produces:
  25796. - application/json
  25797. responses:
  25798. "200":
  25799. description: OK
  25800. schema:
  25801. items:
  25802. $ref: '#/definitions/models.UserReceiveInfo'
  25803. type: array
  25804. "500":
  25805. description: Internal Server Error
  25806. schema:
  25807. $ref: '#/definitions/app.Response'
  25808. security:
  25809. - ApiKeyAuth: []
  25810. summary: 查询收货地址信息
  25811. tags:
  25812. - 大连千海金
  25813. /QhjMgr/QueryAccountInOutApply:
  25814. get:
  25815. parameters:
  25816. - description: 查询类型 1-提现(出金) 2-充值(出金)
  25817. in: query
  25818. name: querytype
  25819. required: true
  25820. type: integer
  25821. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  25822. in: query
  25823. name: applystatus
  25824. type: integer
  25825. - description: 申请起始日期(格式yyyymmdd)
  25826. in: query
  25827. name: begindate
  25828. type: string
  25829. - description: 申请截止日期(格式yyyymmdd)
  25830. in: query
  25831. name: enddate
  25832. type: string
  25833. - description: 模糊搜索名称
  25834. in: query
  25835. name: likename
  25836. type: string
  25837. produces:
  25838. - application/json
  25839. responses:
  25840. "200":
  25841. description: OK
  25842. schema:
  25843. items:
  25844. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  25845. type: array
  25846. "500":
  25847. description: Internal Server Error
  25848. schema:
  25849. $ref: '#/definitions/app.Response'
  25850. security:
  25851. - ApiKeyAuth: []
  25852. summary: 查询充值提现
  25853. tags:
  25854. - 大连千海金(PCWeb)
  25855. /QhjMgr/QueryBrokerApply:
  25856. get:
  25857. parameters:
  25858. - description: 所属机构ID
  25859. in: query
  25860. name: userid
  25861. type: integer
  25862. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25863. in: query
  25864. name: filterstatus
  25865. type: string
  25866. - description: 名称(模糊匹配)
  25867. in: query
  25868. name: filtername
  25869. type: string
  25870. - description: 是否包含子级 1-包含
  25871. in: query
  25872. name: includesub
  25873. type: integer
  25874. produces:
  25875. - application/json
  25876. responses:
  25877. "200":
  25878. description: OK
  25879. schema:
  25880. items:
  25881. $ref: '#/definitions/models.QhjMgrBrokerApply'
  25882. type: array
  25883. "500":
  25884. description: Internal Server Error
  25885. schema:
  25886. $ref: '#/definitions/app.Response'
  25887. security:
  25888. - ApiKeyAuth: []
  25889. summary: 查询经纪人申请
  25890. tags:
  25891. - 大连千海金(PCWeb)
  25892. /QhjMgr/QueryBrokerRewardReport:
  25893. get:
  25894. parameters:
  25895. - description: 所属机构ID
  25896. in: query
  25897. name: userid
  25898. required: true
  25899. type: integer
  25900. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25901. in: query
  25902. name: cycletype
  25903. required: true
  25904. type: integer
  25905. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  25906. in: query
  25907. name: cycletime
  25908. required: true
  25909. type: string
  25910. - description: 名称(模糊匹配)
  25911. in: query
  25912. name: filtername
  25913. type: string
  25914. - description: 是否包含子级 1-包含
  25915. in: query
  25916. name: includesub
  25917. type: integer
  25918. produces:
  25919. - application/json
  25920. responses:
  25921. "200":
  25922. description: OK
  25923. schema:
  25924. items:
  25925. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  25926. type: array
  25927. "500":
  25928. description: Internal Server Error
  25929. schema:
  25930. $ref: '#/definitions/app.Response'
  25931. security:
  25932. - ApiKeyAuth: []
  25933. summary: 查询经纪人奖励报表(废弃)
  25934. tags:
  25935. - 大连千海金(PCWeb)
  25936. /QhjMgr/QueryContract:
  25937. get:
  25938. parameters:
  25939. - description: 用户ID
  25940. in: query
  25941. name: userid
  25942. type: integer
  25943. - description: 商品id
  25944. in: query
  25945. name: goodsid
  25946. type: integer
  25947. - description: 名称(模糊搜索账户)
  25948. in: query
  25949. name: filtername
  25950. type: string
  25951. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  25952. in: query
  25953. name: risklevel
  25954. type: string
  25955. - description: 开始交易日(yyyymmdd)
  25956. in: query
  25957. name: begindate
  25958. type: string
  25959. - description: 结束交易日(yyyymmdd)
  25960. in: query
  25961. name: enddate
  25962. type: string
  25963. produces:
  25964. - application/json
  25965. responses:
  25966. "200":
  25967. description: OK
  25968. schema:
  25969. items:
  25970. $ref: '#/definitions/models.QhjMgrContract'
  25971. type: array
  25972. "500":
  25973. description: Internal Server Error
  25974. schema:
  25975. $ref: '#/definitions/app.Response'
  25976. security:
  25977. - ApiKeyAuth: []
  25978. summary: 查询融资信息(合同)
  25979. tags:
  25980. - 大连千海金(PCWeb)
  25981. /QhjMgr/QueryCustomerInfo:
  25982. get:
  25983. parameters:
  25984. - description: 用户ID
  25985. in: query
  25986. name: userid
  25987. required: true
  25988. type: integer
  25989. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  25990. in: query
  25991. name: querytype
  25992. required: true
  25993. type: integer
  25994. - description: 客户类型 1-个人 2-企业
  25995. in: query
  25996. name: userinfotype
  25997. type: integer
  25998. - description: 客户名称(模糊匹配)
  25999. in: query
  26000. name: customername
  26001. type: string
  26002. - description: 昵称(模糊匹配)
  26003. in: query
  26004. name: nickname
  26005. type: string
  26006. - description: 所属客户经理(模糊匹配)
  26007. in: query
  26008. name: brokername
  26009. type: string
  26010. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  26011. 如0503 -5月3日)
  26012. in: query
  26013. name: birthday
  26014. type: string
  26015. - description: 是否包含子级 1-包含
  26016. in: query
  26017. name: includesub
  26018. type: integer
  26019. produces:
  26020. - application/json
  26021. responses:
  26022. "200":
  26023. description: OK
  26024. schema:
  26025. items:
  26026. $ref: '#/definitions/models.QhjMgrCustomer'
  26027. type: array
  26028. "500":
  26029. description: Internal Server Error
  26030. schema:
  26031. $ref: '#/definitions/app.Response'
  26032. security:
  26033. - ApiKeyAuth: []
  26034. summary: 查询客户资料
  26035. tags:
  26036. - 大连千海金(PCWeb)
  26037. /QhjMgr/QueryPickGoods:
  26038. get:
  26039. parameters:
  26040. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  26041. in: query
  26042. name: status
  26043. type: string
  26044. produces:
  26045. - application/json
  26046. responses:
  26047. "200":
  26048. description: OK
  26049. schema:
  26050. items:
  26051. $ref: '#/definitions/models.QhjMgrPickGoods'
  26052. type: array
  26053. "500":
  26054. description: Internal Server Error
  26055. schema:
  26056. $ref: '#/definitions/app.Response'
  26057. security:
  26058. - ApiKeyAuth: []
  26059. summary: 查询提货商品
  26060. tags:
  26061. - 大连千海金(PCWeb)
  26062. /QhjMgr/QuerySubArea:
  26063. get:
  26064. parameters:
  26065. - description: 用户ID
  26066. in: query
  26067. name: userid
  26068. required: true
  26069. type: integer
  26070. produces:
  26071. - application/json
  26072. responses:
  26073. "200":
  26074. description: OK
  26075. schema:
  26076. items:
  26077. $ref: '#/definitions/models.QhjMgrSubArea'
  26078. type: array
  26079. "500":
  26080. description: Internal Server Error
  26081. schema:
  26082. $ref: '#/definitions/app.Response'
  26083. security:
  26084. - ApiKeyAuth: []
  26085. summary: 查询子机构列表
  26086. tags:
  26087. - 大连千海金(PCWeb)
  26088. /QhjMgr/QueryTradeDetail:
  26089. get:
  26090. parameters:
  26091. - description: 用户ID
  26092. in: query
  26093. name: userid
  26094. required: true
  26095. type: integer
  26096. - description: 用户类型 1-个人 2-企业
  26097. in: query
  26098. name: userinfotype
  26099. type: integer
  26100. - description: 交易模式
  26101. in: query
  26102. name: trademode
  26103. type: integer
  26104. - description: 商品id
  26105. in: query
  26106. name: goodsid
  26107. type: integer
  26108. - description: 名称(模糊搜索账户)
  26109. in: query
  26110. name: filtername
  26111. type: string
  26112. - description: 开始交易日(yyyymmdd)
  26113. in: query
  26114. name: begindate
  26115. type: string
  26116. - description: 结束交易日(yyyymmdd)
  26117. in: query
  26118. name: enddate
  26119. type: string
  26120. - description: 是否包含子级 1-包含
  26121. in: query
  26122. name: includesub
  26123. type: integer
  26124. produces:
  26125. - application/json
  26126. responses:
  26127. "200":
  26128. description: OK
  26129. schema:
  26130. items:
  26131. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  26132. type: array
  26133. "500":
  26134. description: Internal Server Error
  26135. schema:
  26136. $ref: '#/definitions/app.Response'
  26137. security:
  26138. - ApiKeyAuth: []
  26139. summary: 查询成交明细
  26140. tags:
  26141. - 大连千海金(PCWeb)
  26142. /QhjMgr/QueryTradeOrderDetail:
  26143. get:
  26144. parameters:
  26145. - description: 用户ID
  26146. in: query
  26147. name: userid
  26148. required: true
  26149. type: integer
  26150. - description: 用户类型 1-个人 2-企业
  26151. in: query
  26152. name: userinfotype
  26153. type: integer
  26154. - description: 交易模式
  26155. in: query
  26156. name: trademode
  26157. type: integer
  26158. - description: 商品id
  26159. in: query
  26160. name: goodsid
  26161. type: integer
  26162. - description: 名称(模糊搜索账户)
  26163. in: query
  26164. name: filtername
  26165. type: string
  26166. - description: 开始交易日(yyyymmdd)
  26167. in: query
  26168. name: begindate
  26169. type: string
  26170. - description: 结束交易日(yyyymmdd)
  26171. in: query
  26172. name: enddate
  26173. type: string
  26174. - description: 是否包含子级 1-包含
  26175. in: query
  26176. name: includesub
  26177. type: integer
  26178. produces:
  26179. - application/json
  26180. responses:
  26181. "200":
  26182. description: OK
  26183. schema:
  26184. items:
  26185. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  26186. type: array
  26187. "500":
  26188. description: Internal Server Error
  26189. schema:
  26190. $ref: '#/definitions/app.Response'
  26191. security:
  26192. - ApiKeyAuth: []
  26193. summary: 查询委托明细
  26194. tags:
  26195. - 大连千海金(PCWeb)
  26196. /QhjMgr/QueryTradePayOrder:
  26197. get:
  26198. parameters:
  26199. - description: 用户ID
  26200. in: query
  26201. name: userid
  26202. required: true
  26203. type: integer
  26204. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  26205. in: query
  26206. name: payflag
  26207. type: string
  26208. - description: 用户类型 1-个人 2-企业
  26209. in: query
  26210. name: userinfotype
  26211. type: integer
  26212. - description: 交易模式
  26213. in: query
  26214. name: trademode
  26215. type: integer
  26216. - description: 商品id
  26217. in: query
  26218. name: goodsid
  26219. type: integer
  26220. - description: 名称(模糊搜索账户)
  26221. in: query
  26222. name: filtername
  26223. type: string
  26224. - description: 开始交易日(yyyymmdd)
  26225. in: query
  26226. name: begindate
  26227. type: string
  26228. - description: 结束交易日(yyyymmdd)
  26229. in: query
  26230. name: enddate
  26231. type: string
  26232. - description: 是否包含子级 1-包含
  26233. in: query
  26234. name: includesub
  26235. type: integer
  26236. produces:
  26237. - application/json
  26238. responses:
  26239. "200":
  26240. description: OK
  26241. schema:
  26242. items:
  26243. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  26244. type: array
  26245. "500":
  26246. description: Internal Server Error
  26247. schema:
  26248. $ref: '#/definitions/app.Response'
  26249. security:
  26250. - ApiKeyAuth: []
  26251. summary: 查询待付款单
  26252. tags:
  26253. - 大连千海金(PCWeb)
  26254. /QhjMgr/QueryTradePosition:
  26255. get:
  26256. parameters:
  26257. - description: 用户ID
  26258. in: query
  26259. name: userid
  26260. required: true
  26261. type: integer
  26262. - description: 用户类型 1-个人 2-企业
  26263. in: query
  26264. name: userinfotype
  26265. type: integer
  26266. - description: 交易模式
  26267. in: query
  26268. name: trademode
  26269. type: integer
  26270. - description: 商品id
  26271. in: query
  26272. name: goodsid
  26273. type: integer
  26274. - description: 名称(模糊搜索账户)
  26275. in: query
  26276. name: filtername
  26277. type: string
  26278. - description: 是否包含子级 1-包含
  26279. in: query
  26280. name: includesub
  26281. type: integer
  26282. produces:
  26283. - application/json
  26284. responses:
  26285. "200":
  26286. description: OK
  26287. schema:
  26288. items:
  26289. $ref: '#/definitions/models.QhjMgrPositionRsp'
  26290. type: array
  26291. "500":
  26292. description: Internal Server Error
  26293. schema:
  26294. $ref: '#/definitions/app.Response'
  26295. security:
  26296. - ApiKeyAuth: []
  26297. summary: 查询持仓汇总
  26298. tags:
  26299. - 大连千海金(PCWeb)
  26300. /QhjSys/QueryAgreementChangeLog:
  26301. get:
  26302. parameters:
  26303. - description: 协议ID
  26304. in: query
  26305. name: agreementid
  26306. type: integer
  26307. - description: 协议版本号
  26308. in: query
  26309. name: agreementversion
  26310. type: integer
  26311. - description: 协议类型 - 1:注册 2:登录 3:交易
  26312. in: query
  26313. name: agreementtype
  26314. type: integer
  26315. - description: 协议编号(模糊匹配)
  26316. in: query
  26317. name: agreementno
  26318. type: string
  26319. - description: 协议名称(模糊匹配)
  26320. in: query
  26321. name: agreementname
  26322. type: string
  26323. produces:
  26324. - application/json
  26325. responses:
  26326. "200":
  26327. description: OK
  26328. schema:
  26329. items:
  26330. $ref: '#/definitions/models.QhjAgreementChangeLog'
  26331. type: array
  26332. "500":
  26333. description: Internal Server Error
  26334. schema:
  26335. $ref: '#/definitions/app.Response'
  26336. security:
  26337. - ApiKeyAuth: []
  26338. summary: 查询协议配置变更流水
  26339. tags:
  26340. - 大连千海金(协议和签约信息)
  26341. /QhjSys/QueryAgreementConfig:
  26342. get:
  26343. parameters:
  26344. - description: 协议ID
  26345. in: query
  26346. name: agreementid
  26347. type: integer
  26348. - description: 协议版本号
  26349. in: query
  26350. name: agreementversion
  26351. type: integer
  26352. - description: 协议类型 - 1:注册 2:登录 3:交易
  26353. in: query
  26354. name: agreementtype
  26355. type: integer
  26356. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  26357. in: query
  26358. name: isvalid
  26359. type: integer
  26360. - description: 协议编号(模糊匹配)
  26361. in: query
  26362. name: agreementno
  26363. type: string
  26364. - description: 协议名称(模糊匹配)
  26365. in: query
  26366. name: agreementname
  26367. type: string
  26368. produces:
  26369. - application/json
  26370. responses:
  26371. "200":
  26372. description: OK
  26373. schema:
  26374. items:
  26375. $ref: '#/definitions/models.QhjAgreementConfig'
  26376. type: array
  26377. "500":
  26378. description: Internal Server Error
  26379. schema:
  26380. $ref: '#/definitions/app.Response'
  26381. security:
  26382. - ApiKeyAuth: []
  26383. summary: 查询协议配置
  26384. tags:
  26385. - 大连千海金(协议和签约信息)
  26386. /QhjSys/QueryCustomerSignStatus:
  26387. get:
  26388. parameters:
  26389. - description: 客户ID
  26390. in: query
  26391. name: userid
  26392. type: integer
  26393. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  26394. in: query
  26395. name: nodetype
  26396. type: integer
  26397. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  26398. in: query
  26399. name: goodsid
  26400. type: integer
  26401. - description: 创建交易日(yyyyMMdd)
  26402. in: query
  26403. name: tradedate
  26404. type: string
  26405. - description: 用户名称(模糊匹配)
  26406. in: query
  26407. name: username
  26408. type: string
  26409. produces:
  26410. - application/json
  26411. responses:
  26412. "200":
  26413. description: OK
  26414. schema:
  26415. items:
  26416. $ref: '#/definitions/models.QhjCustomerSignStatus'
  26417. type: array
  26418. "500":
  26419. description: Internal Server Error
  26420. schema:
  26421. $ref: '#/definitions/app.Response'
  26422. security:
  26423. - ApiKeyAuth: []
  26424. summary: 查询客户协议签约状态
  26425. tags:
  26426. - 大连千海金(协议和签约信息)
  26427. /QhjSys/QueryNodeAgreementConfig:
  26428. get:
  26429. parameters:
  26430. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  26431. in: query
  26432. name: configid
  26433. type: integer
  26434. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  26435. in: query
  26436. name: nodetype
  26437. type: integer
  26438. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  26439. in: query
  26440. name: goodsid
  26441. type: integer
  26442. - description: 协议ID
  26443. in: query
  26444. name: agreementid
  26445. type: integer
  26446. - description: 协议类型 - 1:注册 2:登录 3:交易
  26447. in: query
  26448. name: agreementtype
  26449. type: integer
  26450. - description: 协议版本号
  26451. in: query
  26452. name: agreementversion
  26453. type: integer
  26454. - description: 协议编号(模糊匹配)
  26455. in: query
  26456. name: agreementno
  26457. type: string
  26458. - description: 协议名称(模糊匹配)
  26459. in: query
  26460. name: agreementname
  26461. type: string
  26462. produces:
  26463. - application/json
  26464. responses:
  26465. "200":
  26466. description: OK
  26467. schema:
  26468. items:
  26469. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  26470. type: array
  26471. "500":
  26472. description: Internal Server Error
  26473. schema:
  26474. $ref: '#/definitions/app.Response'
  26475. security:
  26476. - ApiKeyAuth: []
  26477. summary: 查询协议节点配置
  26478. tags:
  26479. - 大连千海金(协议和签约信息)
  26480. /QhjSys/QueryQhjCustomerSignLog:
  26481. get:
  26482. parameters:
  26483. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  26484. in: query
  26485. name: logid
  26486. type: integer
  26487. - description: 客户ID
  26488. in: query
  26489. name: userid
  26490. type: integer
  26491. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  26492. in: query
  26493. name: nodetype
  26494. type: integer
  26495. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  26496. in: query
  26497. name: goodsid
  26498. type: integer
  26499. - description: 协议ID
  26500. in: query
  26501. name: agreementid
  26502. type: integer
  26503. - description: 用户名称(模糊匹配)
  26504. in: query
  26505. name: username
  26506. type: string
  26507. - description: 协议编号(模糊匹配)
  26508. in: query
  26509. name: agreementno
  26510. type: string
  26511. - description: 协议名称(模糊匹配)
  26512. in: query
  26513. name: agreementname
  26514. type: string
  26515. produces:
  26516. - application/json
  26517. responses:
  26518. "200":
  26519. description: OK
  26520. schema:
  26521. items:
  26522. $ref: '#/definitions/models.QhjCustomerSignLog'
  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. - 大连千海金(协议和签约信息)
  26533. /QhjSys/QueryUserNodeCfgAndStatus:
  26534. get:
  26535. parameters:
  26536. - description: 客户ID
  26537. in: query
  26538. name: userid
  26539. type: integer
  26540. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  26541. in: query
  26542. name: configid
  26543. type: integer
  26544. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  26545. in: query
  26546. name: nodetype
  26547. type: string
  26548. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  26549. in: query
  26550. name: goodsid
  26551. type: integer
  26552. - description: 协议ID
  26553. in: query
  26554. name: agreementid
  26555. type: integer
  26556. - description: 协议类型 - 1:注册 2:登录 3:交易
  26557. in: query
  26558. name: agreementtype
  26559. type: integer
  26560. - description: 协议版本号
  26561. in: query
  26562. name: agreementversion
  26563. type: integer
  26564. - description: 协议编号(模糊匹配)
  26565. in: query
  26566. name: agreementno
  26567. type: string
  26568. - description: 协议名称(模糊匹配)
  26569. in: query
  26570. name: agreementname
  26571. type: string
  26572. produces:
  26573. - application/json
  26574. responses:
  26575. "200":
  26576. description: OK
  26577. schema:
  26578. items:
  26579. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  26580. type: array
  26581. "500":
  26582. description: Internal Server Error
  26583. schema:
  26584. $ref: '#/definitions/app.Response'
  26585. security:
  26586. - ApiKeyAuth: []
  26587. summary: 查询用户协议节点配置和状态
  26588. tags:
  26589. - 大连千海金(协议和签约信息)
  26590. /Quote/QueryHistoryDatas:
  26591. get:
  26592. parameters:
  26593. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  26594. 日线 12:周线 13:月线 14:年线'
  26595. in: query
  26596. name: cycleType
  26597. required: true
  26598. type: integer
  26599. - description: 商品代码
  26600. in: query
  26601. name: goodsCode
  26602. required: true
  26603. type: string
  26604. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  26605. in: query
  26606. name: startTime
  26607. type: string
  26608. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  26609. in: query
  26610. name: endTime
  26611. type: string
  26612. - description: 条数
  26613. in: query
  26614. name: count
  26615. type: integer
  26616. - description: 是否按时间顺序排序(默认为时间倒序排序)
  26617. in: query
  26618. name: isAsc
  26619. type: boolean
  26620. produces:
  26621. - application/json
  26622. responses:
  26623. "200":
  26624. description: OK
  26625. schema:
  26626. $ref: '#/definitions/quote.HistoryData'
  26627. "500":
  26628. description: Internal Server Error
  26629. schema:
  26630. $ref: '#/definitions/app.Response'
  26631. security:
  26632. - ApiKeyAuth: []
  26633. summary: 查询行情历史数据
  26634. tags:
  26635. - 行情服务
  26636. /Quote/QueryHistoryTikDatas:
  26637. get:
  26638. parameters:
  26639. - description: 商品代码
  26640. in: query
  26641. name: goodsCode
  26642. required: true
  26643. type: string
  26644. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  26645. in: query
  26646. name: startTime
  26647. type: string
  26648. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  26649. in: query
  26650. name: endTime
  26651. type: string
  26652. - description: 条数
  26653. in: query
  26654. name: count
  26655. type: integer
  26656. - description: 是否按时间顺序排序(默认为时间倒序排序)
  26657. in: query
  26658. name: isAsc
  26659. type: boolean
  26660. produces:
  26661. - application/json
  26662. responses:
  26663. "200":
  26664. description: OK
  26665. schema:
  26666. $ref: '#/definitions/quote.HistoryTikData'
  26667. "500":
  26668. description: Internal Server Error
  26669. schema:
  26670. $ref: '#/definitions/app.Response'
  26671. security:
  26672. - ApiKeyAuth: []
  26673. summary: 查询行情Tik数据
  26674. tags:
  26675. - 行情服务
  26676. /Quote/QueryQuoteDay:
  26677. get:
  26678. parameters:
  26679. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  26680. in: query
  26681. name: goodsCodes
  26682. type: string
  26683. produces:
  26684. - application/json
  26685. responses:
  26686. "200":
  26687. description: OK
  26688. schema:
  26689. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  26690. "500":
  26691. description: Internal Server Error
  26692. schema:
  26693. $ref: '#/definitions/app.Response'
  26694. security:
  26695. - ApiKeyAuth: []
  26696. summary: 获取商品盘面信息
  26697. tags:
  26698. - 行情服务
  26699. /Quote/QueryTSData:
  26700. get:
  26701. parameters:
  26702. - description: 商品代码
  26703. in: query
  26704. name: goodsCode
  26705. required: true
  26706. type: string
  26707. produces:
  26708. - application/json
  26709. responses:
  26710. "200":
  26711. description: OK
  26712. schema:
  26713. $ref: '#/definitions/quote.QueryTSDataRsp'
  26714. "500":
  26715. description: Internal Server Error
  26716. schema:
  26717. $ref: '#/definitions/app.Response'
  26718. security:
  26719. - ApiKeyAuth: []
  26720. summary: 分时图数据查询
  26721. tags:
  26722. - 行情服务
  26723. /SZDZ/QueryConvertConfig:
  26724. get:
  26725. parameters:
  26726. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  26727. 6:交易转花生米(不设置)
  26728. in: query
  26729. name: convertType
  26730. type: integer
  26731. - description: 外部商品代码[JD\PD]
  26732. in: query
  26733. name: outerGoodsCode
  26734. type: string
  26735. - description: 内部商品ID列表[交易],格式:1,2,3
  26736. in: query
  26737. name: innerGoodsIDs
  26738. type: string
  26739. produces:
  26740. - application/json
  26741. responses:
  26742. "200":
  26743. description: OK
  26744. schema:
  26745. $ref: '#/definitions/models.Szdz3convertconfig'
  26746. "500":
  26747. description: Internal Server Error
  26748. schema:
  26749. $ref: '#/definitions/app.Response'
  26750. security:
  26751. - ApiKeyAuth: []
  26752. summary: 查询交易系统转换设置
  26753. tags:
  26754. - 定制【尚志大宗】
  26755. /SZDZ/QueryConvertLog:
  26756. get:
  26757. parameters:
  26758. - description: 资金账户 - 格式:1,2,3
  26759. in: query
  26760. name: accountID
  26761. required: true
  26762. type: string
  26763. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  26764. in: query
  26765. name: startDate
  26766. type: string
  26767. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  26768. in: query
  26769. name: endDate
  26770. type: string
  26771. produces:
  26772. - application/json
  26773. responses:
  26774. "200":
  26775. description: OK
  26776. schema:
  26777. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  26778. "500":
  26779. description: Internal Server Error
  26780. schema:
  26781. $ref: '#/definitions/app.Response'
  26782. security:
  26783. - ApiKeyAuth: []
  26784. summary: 交易系统转换流水查询
  26785. tags:
  26786. - 定制【尚志大宗】
  26787. /SZDZ/QueryGoodsPickup:
  26788. get:
  26789. parameters:
  26790. - description: 资金账户 - 格式:1,2,3
  26791. in: query
  26792. name: accountID
  26793. required: true
  26794. type: string
  26795. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  26796. in: query
  26797. name: takeOrderStatus
  26798. type: integer
  26799. produces:
  26800. - application/json
  26801. responses:
  26802. "200":
  26803. description: OK
  26804. schema:
  26805. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  26806. "500":
  26807. description: Internal Server Error
  26808. schema:
  26809. $ref: '#/definitions/app.Response'
  26810. security:
  26811. - ApiKeyAuth: []
  26812. summary: 商品提货单查询
  26813. tags:
  26814. - 定制【尚志大宗】
  26815. /SZDZ/QueryRecieptOrder:
  26816. get:
  26817. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  26818. parameters:
  26819. - description: 页码
  26820. in: query
  26821. name: page
  26822. type: integer
  26823. - description: 每页条数
  26824. in: query
  26825. name: pagesize
  26826. type: integer
  26827. - description: 商品ID
  26828. in: query
  26829. name: goodsID
  26830. required: true
  26831. type: integer
  26832. - description: 所属账户名称
  26833. in: query
  26834. name: accountName
  26835. type: string
  26836. - description: 市场ID
  26837. in: query
  26838. name: marketID
  26839. type: integer
  26840. - description: 方向 - 0:买 1:卖
  26841. in: query
  26842. name: buyorsell
  26843. required: true
  26844. type: integer
  26845. produces:
  26846. - application/json
  26847. responses:
  26848. "200":
  26849. description: OK
  26850. schema:
  26851. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  26852. "500":
  26853. description: Internal Server Error
  26854. schema:
  26855. $ref: '#/definitions/app.Response'
  26856. security:
  26857. - ApiKeyAuth: []
  26858. summary: 点选挂牌委托单据查询(摘牌大厅)
  26859. tags:
  26860. - 定制【尚志大宗】
  26861. /SZDZ/QuerySZDZTradePosition:
  26862. get:
  26863. parameters:
  26864. - description: 资金账户
  26865. in: query
  26866. name: accountID
  26867. required: true
  26868. type: integer
  26869. produces:
  26870. - application/json
  26871. responses:
  26872. "200":
  26873. description: OK
  26874. schema:
  26875. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  26876. "500":
  26877. description: Internal Server Error
  26878. schema:
  26879. $ref: '#/definitions/app.Response'
  26880. security:
  26881. - ApiKeyAuth: []
  26882. summary: 持仓汇总查询(尚志大宗)
  26883. tags:
  26884. - 定制【尚志大宗】
  26885. /SZDZ/SearchWhite:
  26886. get:
  26887. parameters:
  26888. - description: 用户ID
  26889. in: query
  26890. name: userID
  26891. required: true
  26892. type: integer
  26893. produces:
  26894. - application/json
  26895. responses:
  26896. "200":
  26897. description: OK
  26898. schema:
  26899. $ref: '#/definitions/models.Szdz3searchwhitelist'
  26900. "500":
  26901. description: Internal Server Error
  26902. schema:
  26903. $ref: '#/definitions/app.Response'
  26904. security:
  26905. - ApiKeyAuth: []
  26906. summary: 搜索白名单
  26907. tags:
  26908. - 定制【尚志大宗】
  26909. /Search/SearchGoodses:
  26910. get:
  26911. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  26912. parameters:
  26913. - description: 检索内容
  26914. in: query
  26915. name: content
  26916. required: true
  26917. type: string
  26918. - description: 交易模式,格式:1,2,3
  26919. in: query
  26920. name: tradeModes
  26921. type: string
  26922. produces:
  26923. - application/json
  26924. responses:
  26925. "200":
  26926. description: OK
  26927. schema:
  26928. $ref: '#/definitions/models.SearchGoods'
  26929. "500":
  26930. description: Internal Server Error
  26931. schema:
  26932. $ref: '#/definitions/app.Response'
  26933. summary: 检索商品信息
  26934. tags:
  26935. - 检索服务
  26936. /TaAccount/GetTaAccounts:
  26937. get:
  26938. parameters:
  26939. - description: 登录账户
  26940. in: query
  26941. name: loginID
  26942. required: true
  26943. type: integer
  26944. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  26945. in: query
  26946. name: taAccountType
  26947. type: integer
  26948. produces:
  26949. - application/json
  26950. responses:
  26951. "200":
  26952. description: OK
  26953. schema:
  26954. $ref: '#/definitions/models.Taaccount'
  26955. "500":
  26956. description: Internal Server Error
  26957. schema:
  26958. $ref: '#/definitions/app.Response'
  26959. security:
  26960. - ApiKeyAuth: []
  26961. summary: 获取资金账户信息
  26962. tags:
  26963. - 资金账户
  26964. /TaAccount/QueryAmountLog:
  26965. get:
  26966. parameters:
  26967. - description: 页码
  26968. in: query
  26969. name: page
  26970. type: integer
  26971. - description: 每页条数
  26972. in: query
  26973. name: pagesize
  26974. type: integer
  26975. - description: 资金账户 - 格式:1,2,3
  26976. in: query
  26977. name: accountID
  26978. required: true
  26979. type: string
  26980. - description: 资金操作类型 - 格式:1,2,3
  26981. in: query
  26982. name: OperateType
  26983. type: string
  26984. produces:
  26985. - application/json
  26986. responses:
  26987. "200":
  26988. description: OK
  26989. schema:
  26990. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  26991. "500":
  26992. description: Internal Server Error
  26993. schema:
  26994. $ref: '#/definitions/app.Response'
  26995. security:
  26996. - ApiKeyAuth: []
  26997. summary: 资金流水查询(当前)
  26998. tags:
  26999. - 资金账户
  27000. /TaAccount/QueryHisAmountLog:
  27001. get:
  27002. parameters:
  27003. - description: 页码
  27004. in: query
  27005. name: page
  27006. type: integer
  27007. - description: 每页条数
  27008. in: query
  27009. name: pagesize
  27010. type: integer
  27011. - description: 资金账户 - 格式:1,2,3
  27012. in: query
  27013. name: accountID
  27014. required: true
  27015. type: string
  27016. - description: 资金操作类型 - 格式:1,2,3
  27017. in: query
  27018. name: OperateType
  27019. type: string
  27020. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  27021. in: query
  27022. name: startDate
  27023. type: string
  27024. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  27025. in: query
  27026. name: endDate
  27027. type: string
  27028. produces:
  27029. - application/json
  27030. responses:
  27031. "200":
  27032. description: OK
  27033. schema:
  27034. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  27035. "500":
  27036. description: Internal Server Error
  27037. schema:
  27038. $ref: '#/definitions/app.Response'
  27039. security:
  27040. - ApiKeyAuth: []
  27041. summary: 资金流水查询(历史)
  27042. tags:
  27043. - 资金账户
  27044. /Tjmd/QueryQuoteGoodsList:
  27045. get:
  27046. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  27047. parameters:
  27048. - description: 用户类型
  27049. in: query
  27050. name: usertype
  27051. required: true
  27052. type: integer
  27053. - description: 市场id, 格式 1,2,3
  27054. in: query
  27055. name: marketids
  27056. type: string
  27057. - description: 商品组id
  27058. in: query
  27059. name: goodsgroupid
  27060. type: integer
  27061. - description: 商品id
  27062. in: query
  27063. name: goodsid
  27064. type: integer
  27065. produces:
  27066. - application/json
  27067. responses:
  27068. "200":
  27069. description: OK
  27070. schema:
  27071. items:
  27072. $ref: '#/definitions/models.TjmdQuoteGoods'
  27073. type: array
  27074. "500":
  27075. description: Internal Server Error
  27076. schema:
  27077. $ref: '#/definitions/app.Response'
  27078. security:
  27079. - ApiKeyAuth: []
  27080. summary: 查询掉期报价列表
  27081. tags:
  27082. - 天津麦顿
  27083. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  27084. get:
  27085. parameters:
  27086. - description: 成交单号
  27087. in: query
  27088. name: tradeid
  27089. required: true
  27090. type: string
  27091. produces:
  27092. - application/json
  27093. responses:
  27094. "200":
  27095. description: OK
  27096. schema:
  27097. items:
  27098. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  27099. type: array
  27100. "500":
  27101. description: Internal Server Error
  27102. schema:
  27103. $ref: '#/definitions/app.Response'
  27104. security:
  27105. - ApiKeyAuth: []
  27106. summary: 掉期商品订单详情(交易确认书)
  27107. tags:
  27108. - 天津麦顿
  27109. /Tjmd/QueryTjmdMarketSection:
  27110. get:
  27111. produces:
  27112. - application/json
  27113. responses:
  27114. "200":
  27115. description: OK
  27116. schema:
  27117. items:
  27118. $ref: '#/definitions/models.TjmdMarketSection'
  27119. type: array
  27120. "500":
  27121. description: Internal Server Error
  27122. schema:
  27123. $ref: '#/definitions/app.Response'
  27124. security:
  27125. - ApiKeyAuth: []
  27126. summary: 查询市场板块
  27127. tags:
  27128. - 天津麦顿
  27129. /Tjmd/QueryTjmdTodayAccountMargin:
  27130. get:
  27131. parameters:
  27132. - description: 市场id
  27133. in: query
  27134. name: marketid
  27135. type: string
  27136. - description: 商品id
  27137. in: query
  27138. name: goodsid
  27139. type: string
  27140. - description: 资金账号
  27141. in: query
  27142. name: accountid
  27143. type: string
  27144. produces:
  27145. - application/json
  27146. responses:
  27147. "200":
  27148. description: OK
  27149. schema:
  27150. items:
  27151. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  27152. type: array
  27153. "500":
  27154. description: Internal Server Error
  27155. schema:
  27156. $ref: '#/definitions/app.Response'
  27157. security:
  27158. - ApiKeyAuth: []
  27159. summary: 查询今日账户保证金配置
  27160. tags:
  27161. - 天津麦顿
  27162. /Tjmd/QueryTjmdTradeOrderDetail:
  27163. get:
  27164. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  27165. parameters:
  27166. - description: 页码
  27167. in: query
  27168. name: page
  27169. type: integer
  27170. - description: 每页条数
  27171. in: query
  27172. name: pagesize
  27173. type: integer
  27174. - description: 用户id
  27175. in: query
  27176. name: userid
  27177. required: true
  27178. type: integer
  27179. - description: 用户类型
  27180. in: query
  27181. name: usertype
  27182. required: true
  27183. type: integer
  27184. - description: 市场id, 格式 1,2,3
  27185. in: query
  27186. name: marketids
  27187. type: string
  27188. - description: 商品id
  27189. in: query
  27190. name: goodsid
  27191. required: true
  27192. type: integer
  27193. - description: 买卖方向 0-买 1-卖
  27194. in: query
  27195. name: buyorsell
  27196. required: true
  27197. type: integer
  27198. produces:
  27199. - application/json
  27200. responses:
  27201. "200":
  27202. description: OK
  27203. schema:
  27204. items:
  27205. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  27206. type: array
  27207. "500":
  27208. description: Internal Server Error
  27209. schema:
  27210. $ref: '#/definitions/app.Response'
  27211. security:
  27212. - ApiKeyAuth: []
  27213. summary: 查询掉期买卖大厅
  27214. tags:
  27215. - 天津麦顿
  27216. /Tjmd/QueryTjmdTransferApply:
  27217. get:
  27218. parameters:
  27219. - description: 类型 1-我的申请 2-对方申请
  27220. in: query
  27221. name: applytype
  27222. required: true
  27223. type: integer
  27224. - description: 市场id, 格式 1,2,3
  27225. in: query
  27226. name: marketids
  27227. type: string
  27228. - description: 资金账号, 格式 25000000001,25000000003
  27229. in: query
  27230. name: accountids
  27231. type: string
  27232. - description: 开始交易日(yyyymmdd)
  27233. in: query
  27234. name: begindate
  27235. type: string
  27236. - description: 结束交易日(yyyymmdd)
  27237. in: query
  27238. name: enddate
  27239. type: string
  27240. produces:
  27241. - application/json
  27242. responses:
  27243. "200":
  27244. description: OK
  27245. schema:
  27246. items:
  27247. $ref: '#/definitions/models.TjmdTransferApply'
  27248. type: array
  27249. "500":
  27250. description: Internal Server Error
  27251. schema:
  27252. $ref: '#/definitions/app.Response'
  27253. security:
  27254. - ApiKeyAuth: []
  27255. summary: 查询掉期协议单
  27256. tags:
  27257. - 天津麦顿
  27258. /Trade/QueryRecieptOrder:
  27259. get:
  27260. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  27261. parameters:
  27262. - description: 页码
  27263. in: query
  27264. name: page
  27265. type: integer
  27266. - description: 每页条数
  27267. in: query
  27268. name: pagesize
  27269. type: integer
  27270. - description: 商品ID
  27271. in: query
  27272. name: goodsID
  27273. required: true
  27274. type: integer
  27275. - description: 所属账户名称
  27276. in: query
  27277. name: accountName
  27278. type: string
  27279. - description: 市场ID
  27280. in: query
  27281. name: marketID
  27282. type: integer
  27283. - description: 方向 - 0:买 1:卖
  27284. in: query
  27285. name: buyorsell
  27286. required: true
  27287. type: integer
  27288. produces:
  27289. - application/json
  27290. responses:
  27291. "200":
  27292. description: OK
  27293. schema:
  27294. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  27295. "500":
  27296. description: Internal Server Error
  27297. schema:
  27298. $ref: '#/definitions/app.Response'
  27299. security:
  27300. - ApiKeyAuth: []
  27301. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  27302. tags:
  27303. - 通用交易
  27304. /User/AddMessageBoard:
  27305. post:
  27306. parameters:
  27307. - description: 用户ID
  27308. in: query
  27309. name: userID
  27310. required: true
  27311. type: integer
  27312. - description: 留言信息
  27313. in: query
  27314. name: message
  27315. required: true
  27316. type: string
  27317. - description: 联系电话
  27318. in: query
  27319. name: contactNum
  27320. required: true
  27321. type: string
  27322. produces:
  27323. - application/json
  27324. responses:
  27325. "200":
  27326. description: OK
  27327. schema:
  27328. $ref: '#/definitions/app.Response'
  27329. "500":
  27330. description: Internal Server Error
  27331. schema:
  27332. $ref: '#/definitions/app.Response'
  27333. security:
  27334. - ApiKeyAuth: []
  27335. summary: 添加用户留言板信息
  27336. tags:
  27337. - 用户信息
  27338. /User/AddUserFavoriteGoods:
  27339. post:
  27340. parameters:
  27341. - description: 用户ID
  27342. in: query
  27343. name: userID
  27344. required: true
  27345. type: integer
  27346. - description: 商品ID
  27347. in: query
  27348. name: goodsID
  27349. required: true
  27350. type: integer
  27351. produces:
  27352. - application/json
  27353. responses:
  27354. "200":
  27355. description: OK
  27356. schema:
  27357. $ref: '#/definitions/app.Response'
  27358. "500":
  27359. description: Internal Server Error
  27360. schema:
  27361. $ref: '#/definitions/app.Response'
  27362. security:
  27363. - ApiKeyAuth: []
  27364. summary: 添加用户商品收藏信息
  27365. tags:
  27366. - 用户信息
  27367. /User/GetLoginID:
  27368. get:
  27369. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  27370. parameters:
  27371. - description: 登录代码
  27372. in: query
  27373. name: username
  27374. required: true
  27375. type: string
  27376. produces:
  27377. - application/json
  27378. responses:
  27379. "200":
  27380. description: OK
  27381. schema:
  27382. $ref: '#/definitions/app.Response'
  27383. "500":
  27384. description: Internal Server Error
  27385. schema:
  27386. $ref: '#/definitions/app.Response'
  27387. summary: 获取登录ID
  27388. tags:
  27389. - 用户信息
  27390. /User/GetUserAccount:
  27391. get:
  27392. parameters:
  27393. - description: 用户ID
  27394. in: query
  27395. name: userID
  27396. required: true
  27397. type: integer
  27398. produces:
  27399. - application/json
  27400. responses:
  27401. "200":
  27402. description: OK
  27403. schema:
  27404. $ref: '#/definitions/models.Useraccount'
  27405. "500":
  27406. description: Internal Server Error
  27407. schema:
  27408. $ref: '#/definitions/app.Response'
  27409. security:
  27410. - ApiKeyAuth: []
  27411. summary: 获取用户账号信息
  27412. tags:
  27413. - 用户信息
  27414. /User/GetUserAuthStatus:
  27415. get:
  27416. parameters:
  27417. - description: 用户ID
  27418. in: query
  27419. name: userID
  27420. required: true
  27421. type: integer
  27422. produces:
  27423. - application/json
  27424. responses:
  27425. "200":
  27426. description: OK
  27427. schema:
  27428. $ref: '#/definitions/app.Response'
  27429. "500":
  27430. description: Internal Server Error
  27431. schema:
  27432. $ref: '#/definitions/app.Response'
  27433. security:
  27434. - ApiKeyAuth: []
  27435. summary: 获取用户实名认证状态
  27436. tags:
  27437. - 用户信息
  27438. /User/LoginQuery:
  27439. get:
  27440. parameters:
  27441. - description: 登录账号
  27442. in: query
  27443. name: loginID
  27444. required: true
  27445. type: integer
  27446. produces:
  27447. - application/json
  27448. responses:
  27449. "200":
  27450. description: OK
  27451. schema:
  27452. $ref: '#/definitions/user.LoginQueryRsp'
  27453. "500":
  27454. description: Internal Server Error
  27455. schema:
  27456. $ref: '#/definitions/app.Response'
  27457. security:
  27458. - ApiKeyAuth: []
  27459. summary: 账户登录后信息查询
  27460. tags:
  27461. - 用户信息
  27462. /User/QueryMessageBoard:
  27463. get:
  27464. parameters:
  27465. - description: 用户ID
  27466. in: query
  27467. name: userID
  27468. required: true
  27469. type: integer
  27470. produces:
  27471. - application/json
  27472. responses:
  27473. "200":
  27474. description: OK
  27475. schema:
  27476. $ref: '#/definitions/models.Messageboard'
  27477. "500":
  27478. description: Internal Server Error
  27479. schema:
  27480. $ref: '#/definitions/app.Response'
  27481. security:
  27482. - ApiKeyAuth: []
  27483. summary: 获取用户留言板信息
  27484. tags:
  27485. - 用户信息
  27486. /User/QueryUserFavoriteGoodses:
  27487. get:
  27488. parameters:
  27489. - description: 用户ID
  27490. in: query
  27491. name: userID
  27492. required: true
  27493. type: integer
  27494. produces:
  27495. - application/json
  27496. responses:
  27497. "200":
  27498. description: OK
  27499. schema:
  27500. $ref: '#/definitions/models.Userfavoritegoods'
  27501. "500":
  27502. description: Internal Server Error
  27503. schema:
  27504. $ref: '#/definitions/app.Response'
  27505. security:
  27506. - ApiKeyAuth: []
  27507. summary: 获取用户商品收藏信息
  27508. tags:
  27509. - 用户信息
  27510. /User/QueryUserInfo:
  27511. get:
  27512. parameters:
  27513. - description: 用户ID
  27514. in: query
  27515. name: userID
  27516. required: true
  27517. type: integer
  27518. - description: 是否解密
  27519. in: query
  27520. name: isDecrypt
  27521. type: boolean
  27522. produces:
  27523. - application/json
  27524. responses:
  27525. "200":
  27526. description: OK
  27527. schema:
  27528. $ref: '#/definitions/models.Userinfo'
  27529. "500":
  27530. description: Internal Server Error
  27531. schema:
  27532. $ref: '#/definitions/app.Response'
  27533. security:
  27534. - ApiKeyAuth: []
  27535. summary: 获取用户信息
  27536. tags:
  27537. - 用户信息
  27538. /User/QueryUserReferNum:
  27539. get:
  27540. parameters:
  27541. - description: 用户ID
  27542. in: query
  27543. name: userID
  27544. required: true
  27545. type: integer
  27546. produces:
  27547. - application/json
  27548. responses:
  27549. "200":
  27550. description: OK
  27551. schema:
  27552. $ref: '#/definitions/app.Response'
  27553. "500":
  27554. description: Internal Server Error
  27555. schema:
  27556. $ref: '#/definitions/app.Response'
  27557. summary: 获取用户邀请码
  27558. tags:
  27559. - 用户信息
  27560. /User/RemoveUserFavoriteGoods:
  27561. post:
  27562. parameters:
  27563. - description: 用户ID
  27564. in: query
  27565. name: userID
  27566. required: true
  27567. type: integer
  27568. - description: 商品ID
  27569. in: query
  27570. name: goodsID
  27571. required: true
  27572. type: integer
  27573. produces:
  27574. - application/json
  27575. responses:
  27576. "200":
  27577. description: OK
  27578. schema:
  27579. $ref: '#/definitions/app.Response'
  27580. "500":
  27581. description: Internal Server Error
  27582. schema:
  27583. $ref: '#/definitions/app.Response'
  27584. security:
  27585. - ApiKeyAuth: []
  27586. summary: 移除用户商品收藏信息
  27587. tags:
  27588. - 用户信息
  27589. /User/UpdateUserAccountStatus:
  27590. post:
  27591. parameters:
  27592. - description: 用户ID
  27593. in: query
  27594. name: userID
  27595. required: true
  27596. type: integer
  27597. - description: 账户状态 - 4:正常 6:注销(停用)
  27598. in: query
  27599. name: accountStatus
  27600. required: true
  27601. type: integer
  27602. produces:
  27603. - application/json
  27604. responses:
  27605. "200":
  27606. description: OK
  27607. schema:
  27608. $ref: '#/definitions/app.Response'
  27609. "500":
  27610. description: Internal Server Error
  27611. schema:
  27612. $ref: '#/definitions/app.Response'
  27613. security:
  27614. - ApiKeyAuth: []
  27615. summary: 更新用户状态
  27616. tags:
  27617. - 用户信息
  27618. /WRTrade/GetAllDeliveryGoods:
  27619. get:
  27620. produces:
  27621. - application/json
  27622. responses:
  27623. "200":
  27624. description: OK
  27625. schema:
  27626. $ref: '#/definitions/app.Response'
  27627. "500":
  27628. description: Internal Server Error
  27629. schema:
  27630. $ref: '#/definitions/app.Response'
  27631. security:
  27632. - ApiKeyAuth: []
  27633. summary: 获取带仓单分类的种类信息
  27634. tags:
  27635. - 仓单贸易
  27636. - 仓单贸易
  27637. /WrTrade2/QueryDeliveryGoodsSection:
  27638. get:
  27639. produces:
  27640. - application/json
  27641. responses:
  27642. "200":
  27643. description: OK
  27644. schema:
  27645. items:
  27646. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  27647. type: array
  27648. "500":
  27649. description: Internal Server Error
  27650. schema:
  27651. $ref: '#/definitions/app.Response'
  27652. security:
  27653. - ApiKeyAuth: []
  27654. summary: 查询板块(分类)
  27655. tags:
  27656. - 仓单贸易v2
  27657. /WrTrade2/QueryFaProductDetail:
  27658. get:
  27659. description: 页面 买卖大厅 -> 选择融资方案
  27660. parameters:
  27661. - description: 仓单要素id
  27662. in: query
  27663. name: wrfactortypeid
  27664. required: true
  27665. type: integer
  27666. produces:
  27667. - application/json
  27668. responses:
  27669. "200":
  27670. description: OK
  27671. schema:
  27672. items:
  27673. $ref: '#/definitions/models.WrFAProductDetail'
  27674. type: array
  27675. "500":
  27676. description: Internal Server Error
  27677. schema:
  27678. $ref: '#/definitions/app.Response'
  27679. security:
  27680. - ApiKeyAuth: []
  27681. summary: 查询融资产品列表
  27682. tags:
  27683. - 仓单贸易v2
  27684. /WrTrade2/QueryFilterItem:
  27685. get:
  27686. parameters:
  27687. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  27688. in: query
  27689. name: itype
  27690. required: true
  27691. type: string
  27692. produces:
  27693. - application/json
  27694. responses:
  27695. "200":
  27696. description: OK
  27697. schema:
  27698. items:
  27699. $ref: '#/definitions/models.WrFilterItem'
  27700. type: array
  27701. "500":
  27702. description: Internal Server Error
  27703. schema:
  27704. $ref: '#/definitions/app.Response'
  27705. security:
  27706. - ApiKeyAuth: []
  27707. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  27708. tags:
  27709. - 仓单贸易v2
  27710. /WrTrade2/QueryFtDeliveryGoods:
  27711. get:
  27712. produces:
  27713. - application/json
  27714. responses:
  27715. "200":
  27716. description: OK
  27717. schema:
  27718. items:
  27719. $ref: '#/definitions/models.WrFtDeliveryGoods'
  27720. type: array
  27721. "500":
  27722. description: Internal Server Error
  27723. schema:
  27724. $ref: '#/definitions/app.Response'
  27725. security:
  27726. - ApiKeyAuth: []
  27727. summary: 查询品种品类筛选框列表
  27728. tags:
  27729. - 仓单贸易v2
  27730. /WrTrade2/QueryHoldLB:
  27731. get:
  27732. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  27733. parameters:
  27734. - description: 资金账号
  27735. in: query
  27736. name: accountid
  27737. required: true
  27738. type: integer
  27739. - description: 仓库id
  27740. in: query
  27741. name: warehouseid
  27742. type: integer
  27743. - description: 品种id
  27744. in: query
  27745. name: deliverygoodsid
  27746. type: integer
  27747. - description: 品类id
  27748. in: query
  27749. name: wrstandardid
  27750. type: integer
  27751. - description: 仓单要素id
  27752. in: query
  27753. name: wrfactortypeid
  27754. type: integer
  27755. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27756. in: query
  27757. name: dgitemname
  27758. type: string
  27759. produces:
  27760. - application/json
  27761. responses:
  27762. "200":
  27763. description: OK
  27764. schema:
  27765. items:
  27766. $ref: '#/definitions/models.WrHoldLB'
  27767. type: array
  27768. "500":
  27769. description: Internal Server Error
  27770. schema:
  27771. $ref: '#/definitions/app.Response'
  27772. security:
  27773. - ApiKeyAuth: []
  27774. summary: 查询仓单持有记录
  27775. tags:
  27776. - 仓单贸易v2
  27777. /WrTrade2/QueryOrderQuote:
  27778. get:
  27779. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  27780. 唯一确定1条记录
  27781. parameters:
  27782. - description: 页码
  27783. in: query
  27784. name: page
  27785. type: integer
  27786. - description: 每页条数
  27787. in: query
  27788. name: pagesize
  27789. type: integer
  27790. - description: 仓单贸易市场id
  27791. in: query
  27792. name: marketid
  27793. type: integer
  27794. - description: 价格方式 - 1:固定价 2-浮动价
  27795. in: query
  27796. name: wrpricetype
  27797. required: true
  27798. type: integer
  27799. - description: 0:仓单预售 1:仓单贸易
  27800. in: query
  27801. name: haswr
  27802. type: integer
  27803. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27804. in: query
  27805. name: dgitemname
  27806. type: string
  27807. - description: 仓库id(筛选条件)
  27808. in: query
  27809. name: warehouseid
  27810. type: integer
  27811. - description: 品种id
  27812. in: query
  27813. name: deliverygoodsid
  27814. type: integer
  27815. - description: 品类id
  27816. in: query
  27817. name: wrstandardid
  27818. type: integer
  27819. - description: 品牌id(dgfactoryitemid)
  27820. in: query
  27821. name: brandid
  27822. type: integer
  27823. - description: 年份id(dgfactoryitemid)
  27824. in: query
  27825. name: yearsid
  27826. type: integer
  27827. - description: 仓单要素id
  27828. in: query
  27829. name: wrfactortypeid
  27830. type: integer
  27831. - description: 交收月(yyyy-mm) 仓单预售填写
  27832. in: query
  27833. name: deliverymonth
  27834. type: string
  27835. produces:
  27836. - application/json
  27837. responses:
  27838. "200":
  27839. description: OK
  27840. schema:
  27841. items:
  27842. $ref: '#/definitions/models.WrOrderQuote'
  27843. type: array
  27844. "500":
  27845. description: Internal Server Error
  27846. schema:
  27847. $ref: '#/definitions/app.Response'
  27848. security:
  27849. - ApiKeyAuth: []
  27850. summary: 查询大厅行情列表
  27851. tags:
  27852. - 仓单贸易v2
  27853. /WrTrade2/QueryOrderQuoteDetail:
  27854. get:
  27855. parameters:
  27856. - description: 页码
  27857. in: query
  27858. name: page
  27859. type: integer
  27860. - description: 每页条数
  27861. in: query
  27862. name: pagesize
  27863. type: integer
  27864. - description: 仓单贸易市场id
  27865. in: query
  27866. name: marketid
  27867. type: integer
  27868. - description: 价格方式 - 1:固定价 2-浮动价
  27869. in: query
  27870. name: wrpricetype
  27871. required: true
  27872. type: integer
  27873. - description: 0:仓单预售 1:仓单贸易
  27874. in: query
  27875. name: haswr
  27876. type: integer
  27877. - description: 仓单要素id
  27878. in: query
  27879. name: wrfactortypeid
  27880. required: true
  27881. type: integer
  27882. - description: 期货商品id(浮动价方式时填)
  27883. in: query
  27884. name: goodsid
  27885. type: integer
  27886. - description: 买卖方向 0-买 1-卖
  27887. in: query
  27888. name: buyorsell
  27889. required: true
  27890. type: integer
  27891. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  27892. in: query
  27893. name: deliverymonth
  27894. type: string
  27895. produces:
  27896. - application/json
  27897. responses:
  27898. "200":
  27899. description: OK
  27900. schema:
  27901. items:
  27902. $ref: '#/definitions/models.WrOrderQuoteDetail'
  27903. type: array
  27904. "500":
  27905. description: Internal Server Error
  27906. schema:
  27907. $ref: '#/definitions/app.Response'
  27908. security:
  27909. - ApiKeyAuth: []
  27910. summary: 查询买卖大厅
  27911. tags:
  27912. - 仓单贸易v2
  27913. /WrTrade2/QueryOrderQuoteMyq:
  27914. get:
  27915. parameters:
  27916. - description: 页码
  27917. in: query
  27918. name: page
  27919. type: integer
  27920. - description: 每页条数
  27921. in: query
  27922. name: pagesize
  27923. type: integer
  27924. - description: 用户id
  27925. in: query
  27926. name: userid
  27927. required: true
  27928. type: integer
  27929. - description: 仓单贸易市场id
  27930. in: query
  27931. name: marketid
  27932. type: integer
  27933. - description: 0:仓单预售 1:仓单贸易
  27934. in: query
  27935. name: haswr
  27936. type: integer
  27937. - description: 买卖方向 0-买 1-卖
  27938. in: query
  27939. name: buyorsell
  27940. required: true
  27941. type: integer
  27942. - description: 品种id
  27943. in: query
  27944. name: deliverygoodsid
  27945. type: integer
  27946. - description: 品类id
  27947. in: query
  27948. name: wrstandardid
  27949. type: integer
  27950. - description: 交收月(yyyy-mm) 仓单预售填写
  27951. in: query
  27952. name: deliverymonth
  27953. type: string
  27954. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27955. in: query
  27956. name: dgitemname
  27957. type: string
  27958. produces:
  27959. - application/json
  27960. responses:
  27961. "200":
  27962. description: OK
  27963. schema:
  27964. items:
  27965. $ref: '#/definitions/models.WrQuoteOrderMyq'
  27966. type: array
  27967. "500":
  27968. description: Internal Server Error
  27969. schema:
  27970. $ref: '#/definitions/app.Response'
  27971. security:
  27972. - ApiKeyAuth: []
  27973. summary: 查询贸易圈挂牌大厅
  27974. tags:
  27975. - 仓单贸易v2
  27976. /WrTrade2/QueryPerformancePlan:
  27977. get:
  27978. parameters:
  27979. - description: 用户id
  27980. in: query
  27981. name: userid
  27982. required: true
  27983. type: integer
  27984. - description: 买卖方向 0-买 1-卖
  27985. in: query
  27986. name: buyorsell
  27987. required: true
  27988. type: integer
  27989. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  27990. 8:释放冻结失败 9:超时待处理 10:超时关闭
  27991. in: query
  27992. name: status
  27993. type: string
  27994. - description: 开始交易日(yyyymmdd)
  27995. in: query
  27996. name: begindate
  27997. type: string
  27998. - description: 结束交易日(yyyymmdd)
  27999. in: query
  28000. name: enddate
  28001. type: string
  28002. produces:
  28003. - application/json
  28004. responses:
  28005. "200":
  28006. description: OK
  28007. schema:
  28008. items:
  28009. $ref: '#/definitions/models.WrPerformancePlan'
  28010. type: array
  28011. "500":
  28012. description: Internal Server Error
  28013. schema:
  28014. $ref: '#/definitions/app.Response'
  28015. security:
  28016. - ApiKeyAuth: []
  28017. summary: 查询履约信息
  28018. tags:
  28019. - 仓单贸易v2
  28020. /WrTrade2/QueryPermancePlanTmp:
  28021. get:
  28022. description: |-
  28023. 返回指定用户的模板和公共模板(用户id为空)
  28024. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  28025. parameters:
  28026. - description: 用户id
  28027. in: query
  28028. name: userid
  28029. type: integer
  28030. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  28031. (无仓单) 5:挂牌期权 6:竞拍-降价式
  28032. in: query
  28033. name: tmptype
  28034. type: string
  28035. - description: 是否包含公共模板(用户id为空的) 1-包含
  28036. in: query
  28037. name: includepub
  28038. type: integer
  28039. - description: 市场id(天津麦顿指定此参数,其它不用)
  28040. in: query
  28041. name: marketid
  28042. type: integer
  28043. produces:
  28044. - application/json
  28045. responses:
  28046. "200":
  28047. description: OK
  28048. schema:
  28049. items:
  28050. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  28051. type: array
  28052. "500":
  28053. description: Internal Server Error
  28054. schema:
  28055. $ref: '#/definitions/app.Response'
  28056. security:
  28057. - ApiKeyAuth: []
  28058. summary: 查询履约模板
  28059. tags:
  28060. - 仓单贸易v2
  28061. /WrTrade2/QuerySiteColumnDetail:
  28062. get:
  28063. parameters:
  28064. - description: 页码
  28065. in: query
  28066. name: page
  28067. type: integer
  28068. - description: 每页条数
  28069. in: query
  28070. name: pagesize
  28071. type: integer
  28072. - description: 所属栏目id
  28073. in: query
  28074. name: columnid
  28075. type: integer
  28076. produces:
  28077. - application/json
  28078. responses:
  28079. "200":
  28080. description: OK
  28081. schema:
  28082. items:
  28083. $ref: '#/definitions/models.WrSiteColumnDetail'
  28084. type: array
  28085. "500":
  28086. description: Internal Server Error
  28087. schema:
  28088. $ref: '#/definitions/app.Response'
  28089. security:
  28090. - ApiKeyAuth: []
  28091. summary: 查询资讯
  28092. tags:
  28093. - 仓单贸易v2
  28094. /WrTrade2/QuerySpotGroupTradeSum:
  28095. get:
  28096. produces:
  28097. - application/json
  28098. responses:
  28099. "200":
  28100. description: OK
  28101. schema:
  28102. items:
  28103. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  28104. type: array
  28105. "500":
  28106. description: Internal Server Error
  28107. schema:
  28108. $ref: '#/definitions/app.Response'
  28109. security:
  28110. - ApiKeyAuth: []
  28111. summary: 查询指数
  28112. tags:
  28113. - 仓单贸易v2
  28114. /WrTrade2/QuerySpotGroupTradeSumDetail:
  28115. get:
  28116. description: 查询的结果将会按日期 从小到大 排序
  28117. parameters:
  28118. - description: 现货商品id
  28119. in: query
  28120. name: deliverygoodsid
  28121. required: true
  28122. type: integer
  28123. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  28124. in: query
  28125. name: lastnum
  28126. type: integer
  28127. produces:
  28128. - application/json
  28129. responses:
  28130. "200":
  28131. description: OK
  28132. schema:
  28133. items:
  28134. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  28135. type: array
  28136. "500":
  28137. description: Internal Server Error
  28138. schema:
  28139. $ref: '#/definitions/app.Response'
  28140. security:
  28141. - ApiKeyAuth: []
  28142. summary: 查询指数详细(价格走势图)
  28143. tags:
  28144. - 仓单贸易v2
  28145. /WrTrade2/QueryWrAverageTradePrice:
  28146. get:
  28147. parameters:
  28148. - description: 页码
  28149. in: query
  28150. name: page
  28151. type: integer
  28152. - description: 每页条数
  28153. in: query
  28154. name: pagesize
  28155. type: integer
  28156. - description: 0:仓单预售 1:仓单贸易
  28157. in: query
  28158. name: haswr
  28159. required: true
  28160. type: integer
  28161. - description: 仓单要素id
  28162. in: query
  28163. name: wrfactortypeid
  28164. required: true
  28165. type: integer
  28166. produces:
  28167. - application/json
  28168. responses:
  28169. "200":
  28170. description: OK
  28171. schema:
  28172. items:
  28173. $ref: '#/definitions/models.WrAverageTradePrice'
  28174. type: array
  28175. "500":
  28176. description: Internal Server Error
  28177. schema:
  28178. $ref: '#/definitions/app.Response'
  28179. security:
  28180. - ApiKeyAuth: []
  28181. summary: 查询成交价(历史走势)
  28182. tags:
  28183. - 仓单贸易v2
  28184. /WrTrade2/QueryWrBrandAndYears:
  28185. get:
  28186. produces:
  28187. - application/json
  28188. responses:
  28189. "200":
  28190. description: OK
  28191. schema:
  28192. items:
  28193. $ref: '#/definitions/models.WrBrandAndYears'
  28194. type: array
  28195. "500":
  28196. description: Internal Server Error
  28197. schema:
  28198. $ref: '#/definitions/app.Response'
  28199. security:
  28200. - ApiKeyAuth: []
  28201. summary: 查询品牌和年份
  28202. tags:
  28203. - 仓单贸易v2
  28204. /WrTrade2/QueryWrBsGoodsInfo:
  28205. get:
  28206. description: 合约交易/买卖大厅/详情
  28207. parameters:
  28208. - description: 商品id
  28209. in: query
  28210. name: goodsid
  28211. required: true
  28212. type: integer
  28213. produces:
  28214. - application/json
  28215. responses:
  28216. "200":
  28217. description: OK
  28218. schema:
  28219. items:
  28220. $ref: '#/definitions/models.WrBsGoodsInfo'
  28221. type: array
  28222. "500":
  28223. description: Internal Server Error
  28224. schema:
  28225. $ref: '#/definitions/app.Response'
  28226. security:
  28227. - ApiKeyAuth: []
  28228. summary: 查询合约交易买卖大厅详情
  28229. tags:
  28230. - 仓单贸易v2
  28231. /WrTrade2/QueryWrBuybackDetail:
  28232. get:
  28233. parameters:
  28234. - description: 融资合同id
  28235. in: query
  28236. name: scfcontractid
  28237. type: integer
  28238. produces:
  28239. - application/json
  28240. responses:
  28241. "200":
  28242. description: OK
  28243. schema:
  28244. items:
  28245. $ref: '#/definitions/models.WrBuybackDetail'
  28246. type: array
  28247. "500":
  28248. description: Internal Server Error
  28249. schema:
  28250. $ref: '#/definitions/app.Response'
  28251. security:
  28252. - ApiKeyAuth: []
  28253. summary: 查询仓单回购明细
  28254. tags:
  28255. - 仓单贸易v2
  28256. /WrTrade2/QueryWrClientAdSpaceConfig:
  28257. get:
  28258. produces:
  28259. - application/json
  28260. responses:
  28261. "200":
  28262. description: OK
  28263. schema:
  28264. items:
  28265. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  28266. type: array
  28267. "500":
  28268. description: Internal Server Error
  28269. schema:
  28270. $ref: '#/definitions/app.Response'
  28271. security:
  28272. - ApiKeyAuth: []
  28273. summary: 查询固定广告配置
  28274. tags:
  28275. - 仓单贸易v2
  28276. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  28277. get:
  28278. parameters:
  28279. - description: 资金账号
  28280. in: query
  28281. name: accountid
  28282. required: true
  28283. type: integer
  28284. - description: 商品id
  28285. in: query
  28286. name: goodsid
  28287. required: true
  28288. type: integer
  28289. produces:
  28290. - application/json
  28291. responses:
  28292. "200":
  28293. description: OK
  28294. schema:
  28295. items:
  28296. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  28297. type: array
  28298. "500":
  28299. description: Internal Server Error
  28300. schema:
  28301. $ref: '#/definitions/app.Response'
  28302. security:
  28303. - ApiKeyAuth: []
  28304. summary: 查询合约交收可点选仓单
  28305. tags:
  28306. - 仓单贸易v2
  28307. /WrTrade2/QueryWrDeliveryDetail:
  28308. get:
  28309. parameters:
  28310. - description: 用户id
  28311. in: query
  28312. name: userid
  28313. required: true
  28314. type: integer
  28315. - description: 资金账号id
  28316. in: query
  28317. name: accountid
  28318. type: integer
  28319. - description: 开始交易日(yyyymmdd)
  28320. in: query
  28321. name: begindate
  28322. type: string
  28323. - description: 结束交易日(yyyymmdd)
  28324. in: query
  28325. name: enddate
  28326. type: string
  28327. produces:
  28328. - application/json
  28329. responses:
  28330. "200":
  28331. description: OK
  28332. schema:
  28333. items:
  28334. $ref: '#/definitions/models.WrDeliveryDetail'
  28335. type: array
  28336. "500":
  28337. description: Internal Server Error
  28338. schema:
  28339. $ref: '#/definitions/app.Response'
  28340. security:
  28341. - ApiKeyAuth: []
  28342. summary: 查询交收
  28343. tags:
  28344. - 仓单贸易v2
  28345. /WrTrade2/QueryWrDraftUserInfo:
  28346. get:
  28347. parameters:
  28348. - description: 用户ID
  28349. in: query
  28350. name: userid
  28351. required: true
  28352. type: integer
  28353. - description: 用户状态 1:正常 2:注销
  28354. in: query
  28355. name: userstatus
  28356. type: integer
  28357. produces:
  28358. - application/json
  28359. responses:
  28360. "200":
  28361. description: OK
  28362. schema:
  28363. items:
  28364. $ref: '#/definitions/models.WrDraftUserInfo'
  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/QueryWrFactorTypeInfo:
  28376. get:
  28377. parameters:
  28378. - description: 仓单要素id
  28379. in: query
  28380. name: wrfactortypeid
  28381. required: true
  28382. type: integer
  28383. produces:
  28384. - application/json
  28385. responses:
  28386. "200":
  28387. description: OK
  28388. schema:
  28389. items:
  28390. $ref: '#/definitions/models.WrFactorTypeInfo'
  28391. type: array
  28392. "500":
  28393. description: Internal Server Error
  28394. schema:
  28395. $ref: '#/definitions/app.Response'
  28396. security:
  28397. - ApiKeyAuth: []
  28398. summary: 查询仓单要素详细信息
  28399. tags:
  28400. - 仓单贸易v2
  28401. /WrTrade2/QueryWrFactorTypeInfoEx:
  28402. get:
  28403. parameters:
  28404. - description: 仓单要素id
  28405. in: query
  28406. name: wrfactortypeid
  28407. required: true
  28408. type: integer
  28409. produces:
  28410. - application/json
  28411. responses:
  28412. "200":
  28413. description: OK
  28414. schema:
  28415. items:
  28416. $ref: '#/definitions/models.WrTypeItem'
  28417. type: array
  28418. "500":
  28419. description: Internal Server Error
  28420. schema:
  28421. $ref: '#/definitions/app.Response'
  28422. security:
  28423. - ApiKeyAuth: []
  28424. summary: 查询仓单要素详细信息列表项
  28425. tags:
  28426. - 仓单贸易v2
  28427. /WrTrade2/QueryWrFinanceBuyApply:
  28428. get:
  28429. description: 页面 融资信息+ / 申请单
  28430. parameters:
  28431. - description: 用户id
  28432. in: query
  28433. name: userid
  28434. required: true
  28435. type: integer
  28436. produces:
  28437. - application/json
  28438. responses:
  28439. "200":
  28440. description: OK
  28441. schema:
  28442. items:
  28443. $ref: '#/definitions/models.WrFinanceBuyApply'
  28444. type: array
  28445. "500":
  28446. description: Internal Server Error
  28447. schema:
  28448. $ref: '#/definitions/app.Response'
  28449. security:
  28450. - ApiKeyAuth: []
  28451. summary: 查询融资购买申请
  28452. tags:
  28453. - 仓单贸易v2
  28454. /WrTrade2/QueryWrFriendApply:
  28455. get:
  28456. parameters:
  28457. - description: 用户id
  28458. in: query
  28459. name: userid
  28460. required: true
  28461. type: integer
  28462. produces:
  28463. - application/json
  28464. responses:
  28465. "200":
  28466. description: OK
  28467. schema:
  28468. items:
  28469. $ref: '#/definitions/models.WrFriendApply'
  28470. type: array
  28471. "500":
  28472. description: Internal Server Error
  28473. schema:
  28474. $ref: '#/definitions/app.Response'
  28475. security:
  28476. - ApiKeyAuth: []
  28477. summary: 查询好友申请记录
  28478. tags:
  28479. - 仓单贸易v2
  28480. /WrTrade2/QueryWrGoodsInfo:
  28481. get:
  28482. parameters:
  28483. - description: 仓单贸易市场id
  28484. in: query
  28485. name: marketid
  28486. type: integer
  28487. - description: 0:仓单预售 1:仓单贸易
  28488. in: query
  28489. name: haswr
  28490. required: true
  28491. type: integer
  28492. - description: 仓单要素id
  28493. in: query
  28494. name: wrfactortypeid
  28495. required: true
  28496. type: integer
  28497. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  28498. in: query
  28499. name: tmplateid
  28500. type: integer
  28501. produces:
  28502. - application/json
  28503. responses:
  28504. "200":
  28505. description: OK
  28506. schema:
  28507. items:
  28508. $ref: '#/definitions/models.WrGoodsInfo'
  28509. type: array
  28510. "500":
  28511. description: Internal Server Error
  28512. schema:
  28513. $ref: '#/definitions/app.Response'
  28514. security:
  28515. - ApiKeyAuth: []
  28516. summary: 查询仓单商品信息
  28517. tags:
  28518. - 仓单贸易v2
  28519. /WrTrade2/QueryWrMarketTradeConfig:
  28520. get:
  28521. parameters:
  28522. - description: 市场id
  28523. in: query
  28524. name: marketid
  28525. type: integer
  28526. produces:
  28527. - application/json
  28528. responses:
  28529. "200":
  28530. description: OK
  28531. schema:
  28532. items:
  28533. $ref: '#/definitions/models.WrMarketTradeConfig'
  28534. type: array
  28535. "500":
  28536. description: Internal Server Error
  28537. schema:
  28538. $ref: '#/definitions/app.Response'
  28539. security:
  28540. - ApiKeyAuth: []
  28541. summary: 查询市场交易参数配置
  28542. tags:
  28543. - 仓单贸易v2
  28544. /WrTrade2/QueryWrOrderDetail:
  28545. get:
  28546. description: 页面 现货仓单 | 预售仓单 -> 委托单
  28547. parameters:
  28548. - description: 页码
  28549. in: query
  28550. name: page
  28551. type: integer
  28552. - description: 每页条数
  28553. in: query
  28554. name: pagesize
  28555. type: integer
  28556. - description: 用户id
  28557. in: query
  28558. name: userid
  28559. required: true
  28560. type: integer
  28561. - description: 仓单贸易市场id
  28562. in: query
  28563. name: marketid
  28564. type: integer
  28565. - description: 0:仓单预售 1:仓单贸易
  28566. in: query
  28567. name: haswr
  28568. required: true
  28569. type: integer
  28570. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  28571. in: query
  28572. name: bcancel
  28573. type: integer
  28574. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  28575. in: query
  28576. name: wrtradetype
  28577. type: integer
  28578. - description: 开始交易日(yyyymmdd)
  28579. in: query
  28580. name: begindate
  28581. type: string
  28582. - description: 结束交易日(yyyymmdd)
  28583. in: query
  28584. name: enddate
  28585. type: string
  28586. produces:
  28587. - application/json
  28588. responses:
  28589. "200":
  28590. description: OK
  28591. schema:
  28592. items:
  28593. $ref: '#/definitions/models.WrOrderDetail'
  28594. type: array
  28595. "500":
  28596. description: Internal Server Error
  28597. schema:
  28598. $ref: '#/definitions/app.Response'
  28599. security:
  28600. - ApiKeyAuth: []
  28601. summary: 查询仓单委托单
  28602. tags:
  28603. - 仓单贸易v2
  28604. /WrTrade2/QueryWrOutInApply:
  28605. get:
  28606. parameters:
  28607. - description: 用户id
  28608. in: query
  28609. name: userid
  28610. required: true
  28611. type: integer
  28612. - description: 开始交易日(yyyymmdd)
  28613. in: query
  28614. name: begindate
  28615. type: string
  28616. - description: 结束交易日(yyyymmdd)
  28617. in: query
  28618. name: enddate
  28619. type: string
  28620. produces:
  28621. - application/json
  28622. responses:
  28623. "200":
  28624. description: OK
  28625. schema:
  28626. items:
  28627. $ref: '#/definitions/models.WrOutInApply'
  28628. type: array
  28629. "500":
  28630. description: Internal Server Error
  28631. schema:
  28632. $ref: '#/definitions/app.Response'
  28633. security:
  28634. - ApiKeyAuth: []
  28635. summary: 查询提货申请
  28636. tags:
  28637. - 仓单贸易v2
  28638. /WrTrade2/QueryWrPerformancePlanStep:
  28639. get:
  28640. parameters:
  28641. - description: 履约计划id(performanceplanid)
  28642. in: query
  28643. name: planid
  28644. required: true
  28645. type: integer
  28646. - description: 当前步骤id
  28647. in: query
  28648. name: curstepid
  28649. type: integer
  28650. produces:
  28651. - application/json
  28652. responses:
  28653. "200":
  28654. description: OK
  28655. schema:
  28656. items:
  28657. $ref: '#/definitions/models.WrPerformancePlanStep'
  28658. type: array
  28659. "500":
  28660. description: Internal Server Error
  28661. schema:
  28662. $ref: '#/definitions/app.Response'
  28663. security:
  28664. - ApiKeyAuth: []
  28665. summary: 查询履约信息详情
  28666. tags:
  28667. - 仓单贸易v2
  28668. /WrTrade2/QueryWrPerformanceStepType:
  28669. get:
  28670. produces:
  28671. - application/json
  28672. responses:
  28673. "200":
  28674. description: OK
  28675. schema:
  28676. items:
  28677. $ref: '#/definitions/models.WrPerformanceStepType'
  28678. type: array
  28679. "500":
  28680. description: Internal Server Error
  28681. schema:
  28682. $ref: '#/definitions/app.Response'
  28683. security:
  28684. - ApiKeyAuth: []
  28685. summary: 查询履约步骤枚举
  28686. tags:
  28687. - 仓单贸易v2
  28688. /WrTrade2/QueryWrPosition:
  28689. get:
  28690. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  28691. parameters:
  28692. - description: 用户id
  28693. in: query
  28694. name: userid
  28695. required: true
  28696. type: integer
  28697. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  28698. in: query
  28699. name: querytype
  28700. required: true
  28701. type: integer
  28702. - description: 0:仓单预售 1:仓单贸易
  28703. in: query
  28704. name: haswr
  28705. required: true
  28706. type: integer
  28707. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  28708. in: query
  28709. name: dgitemname
  28710. type: string
  28711. - description: 仓库id(筛选条件)
  28712. in: query
  28713. name: warehouseid
  28714. type: integer
  28715. - description: 品种id
  28716. in: query
  28717. name: deliverygoodsid
  28718. type: integer
  28719. - description: 品类id
  28720. in: query
  28721. name: wrstandardid
  28722. type: integer
  28723. produces:
  28724. - application/json
  28725. responses:
  28726. "200":
  28727. description: OK
  28728. schema:
  28729. items:
  28730. $ref: '#/definitions/models.WrPosition'
  28731. type: array
  28732. "500":
  28733. description: Internal Server Error
  28734. schema:
  28735. $ref: '#/definitions/app.Response'
  28736. security:
  28737. - ApiKeyAuth: []
  28738. summary: 查询现货(预售)仓单持仓
  28739. tags:
  28740. - 仓单贸易v2
  28741. /WrTrade2/QueryWrPreSaleInfo:
  28742. get:
  28743. parameters:
  28744. - description: 市场id
  28745. in: query
  28746. name: marketid
  28747. type: integer
  28748. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  28749. in: query
  28750. name: presalestatus
  28751. type: string
  28752. - description: 摇号标识 - 0:未摇号 1:已摇号
  28753. in: query
  28754. name: lotteryflag
  28755. type: integer
  28756. - description: 最近多少条记录(按创建时间倒序)
  28757. in: query
  28758. name: lastnum
  28759. type: integer
  28760. produces:
  28761. - application/json
  28762. responses:
  28763. "200":
  28764. description: OK
  28765. schema:
  28766. items:
  28767. $ref: '#/definitions/models.WrPreSaleInfo'
  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/QueryWrReckonSpotGoodsTradeSum:
  28779. get:
  28780. parameters:
  28781. - description: 市场id
  28782. in: query
  28783. name: marketid
  28784. required: true
  28785. type: integer
  28786. - description: 现货商品id
  28787. in: query
  28788. name: wrstandardid
  28789. required: true
  28790. type: integer
  28791. - description: 开始交易日(yyyymmdd)
  28792. in: query
  28793. name: begindate
  28794. type: string
  28795. - description: 结束交易日(yyyymmdd)
  28796. in: query
  28797. name: enddate
  28798. type: string
  28799. - description: 最近多少条记录(按交易日倒序)
  28800. in: query
  28801. name: lastnum
  28802. type: integer
  28803. produces:
  28804. - application/json
  28805. responses:
  28806. "200":
  28807. description: OK
  28808. schema:
  28809. items:
  28810. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  28811. type: array
  28812. "500":
  28813. description: Internal Server Error
  28814. schema:
  28815. $ref: '#/definitions/app.Response'
  28816. security:
  28817. - ApiKeyAuth: []
  28818. summary: 查询价格走势
  28819. tags:
  28820. - 仓单贸易v2
  28821. /WrTrade2/QueryWrScfContract:
  28822. get:
  28823. parameters:
  28824. - description: 用户id
  28825. in: query
  28826. name: userid
  28827. required: true
  28828. type: integer
  28829. - description: 融资合同id
  28830. in: query
  28831. name: scfcontractid
  28832. type: integer
  28833. produces:
  28834. - application/json
  28835. responses:
  28836. "200":
  28837. description: OK
  28838. schema:
  28839. items:
  28840. $ref: '#/definitions/models.WrScfContract'
  28841. type: array
  28842. "500":
  28843. description: Internal Server Error
  28844. schema:
  28845. $ref: '#/definitions/app.Response'
  28846. security:
  28847. - ApiKeyAuth: []
  28848. summary: 查询仓单贸易融资合同
  28849. tags:
  28850. - 仓单贸易v2
  28851. /WrTrade2/QueryWrScfContractInterest:
  28852. get:
  28853. parameters:
  28854. - description: 融资合同id
  28855. in: query
  28856. name: scfcontractid
  28857. type: integer
  28858. produces:
  28859. - application/json
  28860. responses:
  28861. "200":
  28862. description: OK
  28863. schema:
  28864. items:
  28865. $ref: '#/definitions/models.WrScfContractInterest'
  28866. type: array
  28867. "500":
  28868. description: Internal Server Error
  28869. schema:
  28870. $ref: '#/definitions/app.Response'
  28871. security:
  28872. - ApiKeyAuth: []
  28873. summary: 查询融资合同费用明细
  28874. tags:
  28875. - 仓单贸易v2
  28876. /WrTrade2/QueryWrSearchUser:
  28877. get:
  28878. parameters:
  28879. - description: 用户名称(模糊匹配)
  28880. in: query
  28881. name: username
  28882. required: true
  28883. type: string
  28884. produces:
  28885. - application/json
  28886. responses:
  28887. "200":
  28888. description: OK
  28889. schema:
  28890. items:
  28891. $ref: '#/definitions/models.WrSearchUser'
  28892. type: array
  28893. "500":
  28894. description: Internal Server Error
  28895. schema:
  28896. $ref: '#/definitions/app.Response'
  28897. security:
  28898. - ApiKeyAuth: []
  28899. summary: 查询用户
  28900. tags:
  28901. - 仓单贸易v2
  28902. /WrTrade2/QueryWrSpecialMatchOrder:
  28903. get:
  28904. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  28905. parameters:
  28906. - description: 页码
  28907. in: query
  28908. name: page
  28909. type: integer
  28910. - description: 每页条数
  28911. in: query
  28912. name: pagesize
  28913. type: integer
  28914. - description: 用户id
  28915. in: query
  28916. name: userid
  28917. required: true
  28918. type: integer
  28919. - description: 仓单贸易市场id
  28920. in: query
  28921. name: marketid
  28922. type: integer
  28923. - description: 0:仓单预售 1:仓单贸易
  28924. in: query
  28925. name: haswr
  28926. required: true
  28927. type: integer
  28928. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  28929. in: query
  28930. name: isspecified
  28931. type: integer
  28932. produces:
  28933. - application/json
  28934. responses:
  28935. "200":
  28936. description: OK
  28937. schema:
  28938. items:
  28939. $ref: '#/definitions/models.WrSpecialMatchOrder'
  28940. type: array
  28941. "500":
  28942. description: Internal Server Error
  28943. schema:
  28944. $ref: '#/definitions/app.Response'
  28945. security:
  28946. - ApiKeyAuth: []
  28947. summary: 查询指定成交
  28948. tags:
  28949. - 仓单贸易v2
  28950. /WrTrade2/QueryWrStandardFactoryItem:
  28951. get:
  28952. parameters:
  28953. - description: 品类id
  28954. in: query
  28955. name: wrstandardid
  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.WrStandardFactoryItemEx'
  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/QueryWrTradeBargainApply:
  28977. get:
  28978. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  28979. 议价->对方议价 填写matchuserid=登录用户id
  28980. parameters:
  28981. - description: 议价人id(摘牌方)
  28982. in: query
  28983. name: userid
  28984. type: integer
  28985. - description: 挂牌方id(查对方议价时,填写此项)
  28986. in: query
  28987. name: matchuserid
  28988. type: integer
  28989. - description: 关联委托单id
  28990. in: query
  28991. name: wrtradeorderid
  28992. type: integer
  28993. - description: 0:仓单预售 1:仓单贸易
  28994. in: query
  28995. name: haswr
  28996. required: true
  28997. type: integer
  28998. - description: 开始交易日(yyyymmdd)
  28999. in: query
  29000. name: begindate
  29001. type: string
  29002. - description: 结束交易日(yyyymmdd)
  29003. in: query
  29004. name: enddate
  29005. type: string
  29006. produces:
  29007. - application/json
  29008. responses:
  29009. "200":
  29010. description: OK
  29011. schema:
  29012. items:
  29013. $ref: '#/definitions/models.WRTradeBargainApply'
  29014. type: array
  29015. "500":
  29016. description: Internal Server Error
  29017. schema:
  29018. $ref: '#/definitions/app.Response'
  29019. security:
  29020. - ApiKeyAuth: []
  29021. summary: 查询议价单
  29022. tags:
  29023. - 仓单贸易v2
  29024. /WrTrade2/QueryWrTradeDetail:
  29025. get:
  29026. parameters:
  29027. - description: 页码
  29028. in: query
  29029. name: page
  29030. type: integer
  29031. - description: 每页条数
  29032. in: query
  29033. name: pagesize
  29034. type: integer
  29035. - description: 用户id
  29036. in: query
  29037. name: userid
  29038. required: true
  29039. type: integer
  29040. - description: 仓单贸易市场id
  29041. in: query
  29042. name: marketid
  29043. type: integer
  29044. - description: 0:仓单预售 1:仓单贸易
  29045. in: query
  29046. name: haswr
  29047. required: true
  29048. type: integer
  29049. - description: 开始交易日(yyyymmdd)
  29050. in: query
  29051. name: begindate
  29052. type: string
  29053. - description: 结束交易日(yyyymmdd)
  29054. in: query
  29055. name: enddate
  29056. type: string
  29057. produces:
  29058. - application/json
  29059. responses:
  29060. "200":
  29061. description: OK
  29062. schema:
  29063. items:
  29064. $ref: '#/definitions/models.WrTradeDetail'
  29065. type: array
  29066. "500":
  29067. description: Internal Server Error
  29068. schema:
  29069. $ref: '#/definitions/app.Response'
  29070. security:
  29071. - ApiKeyAuth: []
  29072. summary: 查询仓单成交明细
  29073. tags:
  29074. - 仓单贸易v2
  29075. /WrTrade2/QueryWrTradeOrderDetail:
  29076. get:
  29077. parameters:
  29078. - description: 页码
  29079. in: query
  29080. name: page
  29081. type: integer
  29082. - description: 每页条数
  29083. in: query
  29084. name: pagesize
  29085. type: integer
  29086. - description: 商品id
  29087. in: query
  29088. name: goodsid
  29089. required: true
  29090. type: integer
  29091. - description: 买卖方向 0-买 1-卖
  29092. in: query
  29093. name: buyorsell
  29094. required: true
  29095. type: integer
  29096. produces:
  29097. - application/json
  29098. responses:
  29099. "200":
  29100. description: OK
  29101. schema:
  29102. items:
  29103. $ref: '#/definitions/models.WrTradeOrderDetail'
  29104. type: array
  29105. "500":
  29106. description: Internal Server Error
  29107. schema:
  29108. $ref: '#/definitions/app.Response'
  29109. security:
  29110. - ApiKeyAuth: []
  29111. summary: 查询合约交易买卖大厅
  29112. tags:
  29113. - 仓单贸易v2
  29114. /WrTrade2/QueryWrUserFriend:
  29115. get:
  29116. parameters:
  29117. - description: 用户id
  29118. in: query
  29119. name: userid
  29120. required: true
  29121. type: integer
  29122. - description: 新朋友userid, 如果填写了此项则查找新朋友
  29123. in: query
  29124. name: newuserid
  29125. type: integer
  29126. produces:
  29127. - application/json
  29128. responses:
  29129. "200":
  29130. description: OK
  29131. schema:
  29132. items:
  29133. $ref: '#/definitions/models.WrUserFriend'
  29134. type: array
  29135. "500":
  29136. description: Internal Server Error
  29137. schema:
  29138. $ref: '#/definitions/app.Response'
  29139. security:
  29140. - ApiKeyAuth: []
  29141. summary: 查询我的朋友
  29142. tags:
  29143. - 仓单贸易v2
  29144. /WrTrade2/QueryWrUserReceiptInfo:
  29145. get:
  29146. parameters:
  29147. - description: 用户id
  29148. in: query
  29149. name: userid
  29150. type: integer
  29151. - description: 发票类型 - 1:个人 2:企业
  29152. in: query
  29153. name: receipttype
  29154. type: integer
  29155. produces:
  29156. - application/json
  29157. responses:
  29158. "200":
  29159. description: OK
  29160. schema:
  29161. items:
  29162. $ref: '#/definitions/models.WrUserReceiptInfo'
  29163. type: array
  29164. "500":
  29165. description: Internal Server Error
  29166. schema:
  29167. $ref: '#/definitions/app.Response'
  29168. security:
  29169. - ApiKeyAuth: []
  29170. summary: 查询发票信息
  29171. tags:
  29172. - 仓单贸易v2
  29173. /ZJ/GetBankTip:
  29174. get:
  29175. produces:
  29176. - application/json
  29177. responses:
  29178. "200":
  29179. description: OK
  29180. schema:
  29181. type: string
  29182. "500":
  29183. description: Internal Server Error
  29184. schema:
  29185. $ref: '#/definitions/app.Response'
  29186. summary: 获取中江网银端出入金提示信息
  29187. tags:
  29188. - 中江
  29189. /ZJ/GetCusBankChannels:
  29190. get:
  29191. produces:
  29192. - application/json
  29193. responses:
  29194. "200":
  29195. description: OK
  29196. schema:
  29197. items:
  29198. type: string
  29199. type: array
  29200. "500":
  29201. description: Internal Server Error
  29202. schema:
  29203. $ref: '#/definitions/app.Response'
  29204. summary: 获取中江出入金渠道显示列表
  29205. tags:
  29206. - 中江
  29207. securityDefinitions:
  29208. ApiKeyAuth:
  29209. in: header
  29210. name: Authorization
  29211. type: apiKey
  29212. swagger: "2.0"