swagger.yaml 803 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957
  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.Ermcp3ExposureContractDetail:
  4814. properties:
  4815. biztype:
  4816. description: 业务类型 1-套保 2-套利
  4817. type: integer
  4818. brandname:
  4819. description: 品牌名称
  4820. type: string
  4821. buyuserid:
  4822. description: 采购方id
  4823. type: integer
  4824. buyusername:
  4825. description: 采购方名称
  4826. type: string
  4827. contractno:
  4828. description: 合同编号
  4829. type: string
  4830. contracttype:
  4831. description: 现货合同类型 - 1:采购 -1:销售
  4832. type: integer
  4833. convertfactor:
  4834. description: 标仓系数
  4835. type: number
  4836. convertratio:
  4837. description: 折算系数(套保品种)
  4838. type: number
  4839. curqty:
  4840. description: 今定价量
  4841. type: number
  4842. deliverygoodscode:
  4843. description: 现货品种代码
  4844. type: string
  4845. deliverygoodsid:
  4846. description: 现货品种id
  4847. type: integer
  4848. deliverygoodsname:
  4849. description: 现货品种名称
  4850. type: string
  4851. diffhedgeqty:
  4852. description: 套保变动量
  4853. type: number
  4854. diffneedhedgeqty:
  4855. description: 应套保变动量
  4856. type: number
  4857. diffqty:
  4858. description: 套保品种今变动量
  4859. type: number
  4860. enumdicname:
  4861. description: 单位名称
  4862. type: string
  4863. mgunitname:
  4864. description: 套保品种单位名称
  4865. type: string
  4866. middlegoodscode:
  4867. description: 套保品种代码
  4868. type: string
  4869. middlegoodsid:
  4870. description: 套保品种id
  4871. type: integer
  4872. middlegoodsname:
  4873. description: 套保品种名称
  4874. type: string
  4875. needarbitrageratio:
  4876. description: 应套利比例
  4877. type: number
  4878. needhedgeratio:
  4879. description: 应套保比例
  4880. type: number
  4881. pricedqty:
  4882. description: 已定价量
  4883. type: number
  4884. qty:
  4885. description: 合同量
  4886. type: number
  4887. reckondate:
  4888. description: 交易日(reckondate)
  4889. type: string
  4890. selluserid:
  4891. description: 销售方id
  4892. type: integer
  4893. sellusername:
  4894. description: 销售方名称
  4895. type: string
  4896. spotcontractid:
  4897. description: 合同id
  4898. type: string
  4899. todaypricedqty:
  4900. description: 今定价量
  4901. type: number
  4902. tradedate:
  4903. description: 交易日
  4904. type: string
  4905. unitid:
  4906. description: 品类单位id
  4907. type: integer
  4908. userid:
  4909. description: 机构id
  4910. type: integer
  4911. username:
  4912. description: 交易用户
  4913. type: string
  4914. wrstandardcode:
  4915. description: 现货商品代码
  4916. type: string
  4917. wrstandardid:
  4918. description: 现货商品id
  4919. type: integer
  4920. wrstandardname:
  4921. description: 现货商品名称
  4922. type: string
  4923. type: object
  4924. models.Ermcp3ExposureDetail:
  4925. properties:
  4926. areauserid:
  4927. description: 机构ID
  4928. type: integer
  4929. changeQty:
  4930. description: 套保变动量
  4931. type: number
  4932. contracttype:
  4933. description: 现货合同类型 - 1:采购 -1:销售
  4934. type: integer
  4935. convertfactor:
  4936. description: 标仓系数
  4937. type: number
  4938. convertratio:
  4939. description: 折算系数
  4940. type: number
  4941. createtime:
  4942. description: 时间
  4943. type: string
  4944. enumdicname:
  4945. description: 现货商品单位名称
  4946. type: string
  4947. logtype:
  4948. description: 类型 - 1:套保计划 2:现货合同
  4949. type: integer
  4950. mgunitid:
  4951. description: 套保品种单位id
  4952. type: integer
  4953. mgunitidname:
  4954. description: 套保品种单位名称
  4955. type: string
  4956. middlegoodsId:
  4957. description: 套保商品id
  4958. type: integer
  4959. middlegoodscode:
  4960. description: 套保商品代码
  4961. type: string
  4962. middlegoodsname:
  4963. description: 套保商品名称
  4964. type: string
  4965. qty:
  4966. description: 数量
  4967. type: number
  4968. relateNo:
  4969. description: 现货合同/套保计划编号
  4970. type: string
  4971. unitid:
  4972. description: 现货商品单位id
  4973. type: integer
  4974. wrstandardcode:
  4975. description: 现货商品代码
  4976. type: string
  4977. wrstandardid:
  4978. description: 现货商品ID(SEQ_WRSTANDARD)
  4979. type: integer
  4980. wrstandardname:
  4981. description: 现货商品名称
  4982. type: string
  4983. type: object
  4984. models.Ermcp3ExposureFutuDetail:
  4985. properties:
  4986. accountid:
  4987. description: 交易账户id
  4988. type: integer
  4989. accountname:
  4990. description: 交易账户
  4991. type: string
  4992. begindate:
  4993. description: 开始交易日
  4994. type: string
  4995. buyorsell:
  4996. description: 方向 0-买 1-卖
  4997. type: integer
  4998. diffmgqty:
  4999. description: 套保品种今变化量
  5000. type: number
  5001. diffneedqty:
  5002. description: 应套保总量变化量
  5003. type: number
  5004. difftradeqty:
  5005. description: 交易品种今变化量
  5006. type: number
  5007. enddate:
  5008. description: 结束交易日
  5009. type: string
  5010. enumdicname:
  5011. description: 单位名称
  5012. type: string
  5013. goodscode:
  5014. description: 商品代码
  5015. type: string
  5016. goodsid:
  5017. description: 商品id
  5018. type: integer
  5019. goodsname:
  5020. description: 商品名称
  5021. type: string
  5022. holdqty:
  5023. description: 期末持仓量
  5024. type: number
  5025. middlegoodscode:
  5026. description: 套保商品代码
  5027. type: string
  5028. middlegoodsid:
  5029. description: 套保商品id
  5030. type: integer
  5031. middlegoodsname:
  5032. description: 套保商品名称
  5033. type: string
  5034. oriholdqty:
  5035. description: 期初持仓量
  5036. type: number
  5037. reckondate:
  5038. description: 交易日(RECKONDATE)
  5039. type: string
  5040. todaycloseqty:
  5041. description: 今平仓量
  5042. type: number
  5043. todayopenqty:
  5044. description: 今开仓量
  5045. type: number
  5046. tradedate:
  5047. description: 交易日(RECKONDATE)
  5048. type: string
  5049. username:
  5050. description: 用户名称(交易用户)
  5051. type: string
  5052. type: object
  5053. models.Ermcp3ExposureHedgeplanDetail:
  5054. properties:
  5055. biztype:
  5056. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5057. type: integer
  5058. changqty:
  5059. description: 应套保总量变化量
  5060. type: number
  5061. contracttype:
  5062. description: 计划类型 - 1:采购 -1:销售
  5063. type: integer
  5064. convertratio:
  5065. description: 折算系数(套保品种)
  5066. type: number
  5067. deliverygoodscode:
  5068. description: 现货商品代码
  5069. type: string
  5070. deliverygoodsid:
  5071. description: 现货商品id
  5072. type: integer
  5073. deliverygoodsname:
  5074. description: 现货商吕名称
  5075. type: string
  5076. dgunitid:
  5077. description: 现货商品单位id
  5078. type: integer
  5079. dgunitidname:
  5080. description: 单位名称(现货商品)
  5081. type: string
  5082. diffqty:
  5083. description: 套保品种今变动量
  5084. type: number
  5085. enumdicname:
  5086. description: 单位名称(品类)
  5087. type: string
  5088. hedgeplanid:
  5089. description: 套保计划id
  5090. type: string
  5091. hedgeplanno:
  5092. description: 套保计划名称
  5093. type: string
  5094. hedgeplanstatus:
  5095. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5096. type: integer
  5097. mgunitidname:
  5098. description: 单位名称(套保商品)
  5099. type: string
  5100. middlegoodscode:
  5101. description: 套保品种代码
  5102. type: string
  5103. middlegoodsid:
  5104. description: 套保品种id
  5105. type: integer
  5106. middlegoodsname:
  5107. description: 套保品种名称
  5108. type: string
  5109. needarbitrageratio:
  5110. description: 应套利比例
  5111. type: number
  5112. needhedgeratio:
  5113. description: 应套保比例
  5114. type: number
  5115. pricedqty:
  5116. description: 已定价量
  5117. type: number
  5118. qty:
  5119. description: 合同量
  5120. type: number
  5121. reckondate:
  5122. description: 交易日(reckondate)
  5123. type: string
  5124. tradedate:
  5125. description: 交易日(登记日)
  5126. type: string
  5127. unitid:
  5128. description: 品类单位id
  5129. type: integer
  5130. userid:
  5131. description: 机构id
  5132. type: integer
  5133. wrstandardcode:
  5134. description: 品类代码
  5135. type: string
  5136. wrstandardid:
  5137. description: 品类id
  5138. type: integer
  5139. wrstandardname:
  5140. description: 品类名称
  5141. type: string
  5142. type: object
  5143. models.Ermcp3ExposureParamChLog:
  5144. properties:
  5145. accountid:
  5146. description: 期货账户ID (作废, 默认为0)
  5147. type: integer
  5148. aftervalue:
  5149. description: 应套保\套利量变更后(调整后应套保总量)
  5150. type: number
  5151. areauserid:
  5152. description: 所属机构\交易用户ID
  5153. type: integer
  5154. beforevalue:
  5155. description: 应套保\套利量变更前(调整前应套保总量)
  5156. type: number
  5157. begindate:
  5158. description: 开始交易日
  5159. type: string
  5160. changelogtype:
  5161. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5162. type: integer
  5163. curvalue:
  5164. description: 当前套保\套利量(套保总量|套利总量)
  5165. type: number
  5166. diffvalue:
  5167. description: 应套保总量变化量
  5168. type: number
  5169. enddate:
  5170. description: 结束交易日
  5171. type: string
  5172. logdatetime:
  5173. description: 流水日期
  5174. type: string
  5175. logid:
  5176. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5177. type: string
  5178. middlegoodscode:
  5179. description: 套保品种代码
  5180. type: string
  5181. middlegoodsid:
  5182. description: 套保品种
  5183. type: integer
  5184. middlegoodsname:
  5185. description: 套保品种名称
  5186. type: string
  5187. paramaftervalue:
  5188. description: 参数变更后(调整后参数值)
  5189. type: number
  5190. parambeforevalue:
  5191. description: 参数变更前(调整前参数值)
  5192. type: number
  5193. reckondate:
  5194. description: 交易日(reckondate)
  5195. type: string
  5196. tradedate:
  5197. description: 交易日(yyyyMMdd)
  5198. type: string
  5199. type: object
  5200. models.Ermcp3ExpourseReport:
  5201. properties:
  5202. accountid:
  5203. description: 期货账户ID (作废, 默认为0)
  5204. type: integer
  5205. accountname:
  5206. description: 机构名称
  5207. type: string
  5208. arbitrageqty:
  5209. description: 套利量
  5210. type: number
  5211. areauserid:
  5212. description: 所属机构\交易用户ID
  5213. type: integer
  5214. begindate:
  5215. description: 开始交易日
  5216. type: string
  5217. buyfutureqty:
  5218. description: 买入期货数量
  5219. type: number
  5220. buyplanqty:
  5221. description: 采购计划数量
  5222. type: number
  5223. buypricedqty:
  5224. description: 采购合同已定价数量
  5225. type: number
  5226. cycletime:
  5227. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5228. type: string
  5229. cycletype:
  5230. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5231. type: integer
  5232. diffexposure:
  5233. description: 变动量(套保敞口)
  5234. type: number
  5235. difffutuqty:
  5236. description: 变动量(期货)
  5237. type: number
  5238. diffhedgeqty:
  5239. description: 变动量(现货应套保总量)
  5240. type: number
  5241. diffmgqtya:
  5242. description: 套保变动量
  5243. type: number
  5244. diffmgqtyb:
  5245. description: 套利变动量
  5246. type: number
  5247. diffqty:
  5248. description: 变动量(总敞口)
  5249. type: number
  5250. diffspotqty:
  5251. description: 变动量(现货)
  5252. type: number
  5253. enddate:
  5254. description: 结束交易日
  5255. type: string
  5256. enumdicname:
  5257. description: 单位名称
  5258. type: string
  5259. hedgeqty:
  5260. description: 套保量
  5261. type: number
  5262. mgneedhedgeratio:
  5263. description: 套保比例(套保品的)
  5264. type: number
  5265. middlegoodsid:
  5266. description: 套保品种ID
  5267. type: integer
  5268. middlegoodsname:
  5269. description: 套保商品名称
  5270. type: string
  5271. middlgoodscode:
  5272. description: 套保商品代码
  5273. type: string
  5274. needarbitrageqty:
  5275. description: 应套利量
  5276. type: number
  5277. needarbitrageratio:
  5278. description: 套利比例(套保品的)
  5279. type: number
  5280. needhedgeexposoure:
  5281. description: 应套保敞口(套保敞口)
  5282. type: number
  5283. needhedgeqty:
  5284. description: 应套保量
  5285. type: number
  5286. needhedgeratio:
  5287. description: 应套保敞口比例
  5288. type: number
  5289. oriarbitrageqty:
  5290. description: 期初套利量
  5291. type: number
  5292. oribuyfutureqty:
  5293. description: 期初买入期货数量
  5294. type: number
  5295. oribuyplanqty:
  5296. description: 期初采购计划数量
  5297. type: number
  5298. oribuypricedqty:
  5299. description: 期初采购合同已定价数量
  5300. type: number
  5301. orihedgeqty:
  5302. description: 期初套保量
  5303. type: number
  5304. orineedarbitrageqty:
  5305. description: 期初应套利量
  5306. type: number
  5307. orineedhedgeexposoure:
  5308. description: 期初应套保敞口
  5309. type: number
  5310. orineedhedgeqty:
  5311. description: 期初应套保量
  5312. type: number
  5313. orisellfutureqty:
  5314. description: 期初卖出期货数量
  5315. type: number
  5316. orisellplanqty:
  5317. description: 期初销售计划数量
  5318. type: number
  5319. orisellpricedqty:
  5320. description: 期初销售合同已定价数量
  5321. type: number
  5322. oritotalexposure:
  5323. description: 期初实时总敞口
  5324. type: number
  5325. oritotalfutureqty:
  5326. description: 期初期货头寸总量
  5327. type: number
  5328. oritotalneedhedgeqty:
  5329. description: 期初应套保总量
  5330. type: number
  5331. oritotalspotqty:
  5332. description: 期初现货头寸总量
  5333. type: number
  5334. reckondate:
  5335. description: 日照时期(yyyyMMdd)
  5336. type: string
  5337. sellfutureqty:
  5338. description: 卖出期货数量
  5339. type: number
  5340. sellplanqty:
  5341. description: 销售计划数量
  5342. type: number
  5343. sellpricedqty:
  5344. description: 销售合同已定价数量
  5345. type: number
  5346. totalexposure:
  5347. description: 实时总敞口(总敞口)
  5348. type: number
  5349. totalfutureqty:
  5350. description: 期货头寸总量(期货总量)
  5351. type: number
  5352. totalhedgeratio:
  5353. description: 敞口比例
  5354. type: number
  5355. totalneedhedgeqty:
  5356. description: 应套保总量(现货应套保总量)
  5357. type: number
  5358. totalspotqty:
  5359. description: 现货头寸总量
  5360. type: number
  5361. unitid:
  5362. description: 单位id
  5363. type: integer
  5364. updatetime:
  5365. description: 更新时间
  5366. type: string
  5367. type: object
  5368. models.Ermcp3FinanceReport:
  5369. properties:
  5370. accountname:
  5371. description: 机构名称
  5372. type: string
  5373. areauserid:
  5374. description: 所属机构\交易用户ID
  5375. type: integer
  5376. begindate:
  5377. description: 开始交易日
  5378. type: string
  5379. biztype:
  5380. description: 业务类型 - 1:套保 2:套利
  5381. type: integer
  5382. brandname:
  5383. description: 品牌名称
  5384. type: string
  5385. buypreinvoicedamount:
  5386. description: 采购预收票额(预收票额)
  5387. type: number
  5388. buyprepaidamount:
  5389. description: 采购预付款额(预付货款额)
  5390. type: number
  5391. buytodayinvoiceamount:
  5392. description: 采购今收票额(今收票额)
  5393. type: number
  5394. buytodayrefundamount:
  5395. description: 采购今收退款额(今收退款额)
  5396. type: number
  5397. buytodaysettleamount:
  5398. description: 采购今付款额(今付货款额)
  5399. type: number
  5400. buyuninvoicedamount:
  5401. description: 采购应收票额(应收票额)
  5402. type: number
  5403. buyunpaidamount:
  5404. description: 采购应付款额(应付货款额)
  5405. type: number
  5406. currencyid:
  5407. description: 结算币种ID
  5408. type: integer
  5409. currencyname:
  5410. description: 币种名称
  5411. type: string
  5412. cycletime:
  5413. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5414. type: string
  5415. cycletype:
  5416. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5417. type: integer
  5418. deliverygoodscode:
  5419. description: 现货品种代码
  5420. type: string
  5421. deliverygoodsid:
  5422. description: 现货品种ID
  5423. type: integer
  5424. deliverygoodsname:
  5425. description: 现货品种名称
  5426. type: string
  5427. enddate:
  5428. description: 结束交易日
  5429. type: string
  5430. reckondate:
  5431. description: 日照时期(yyyyMMdd)
  5432. type: string
  5433. sellpreinvoicedamount:
  5434. description: 销售预开票额(预开票额)
  5435. type: number
  5436. sellprepaidamount:
  5437. description: 销售预收款额(预收货款额)
  5438. type: number
  5439. selltodayinvoiceamount:
  5440. description: 销售今开票额(今开票额)
  5441. type: number
  5442. selltodayrefundamount:
  5443. description: 销售今付退款额(今付退款额)
  5444. type: number
  5445. selltodaysettleamount:
  5446. description: 销售今收款额(今收货款额)
  5447. type: number
  5448. selluninvoicedamount:
  5449. description: 销售应开票额(应开票额)
  5450. type: number
  5451. sellunpaidamount:
  5452. description: 销售应收款额(应收货款额)
  5453. type: number
  5454. spotgoodsbrandid:
  5455. description: 现货品牌ID
  5456. type: integer
  5457. todaypaysum:
  5458. description: 今付款合计
  5459. type: number
  5460. todayreceivesum:
  5461. description: 今收款合计
  5462. type: number
  5463. updatetime:
  5464. description: 更新时间
  5465. type: string
  5466. wrfactortypeid:
  5467. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  5468. type: integer
  5469. wrstandardcode:
  5470. description: 品类代码
  5471. type: string
  5472. wrstandardid:
  5473. description: 现货商品ID
  5474. type: integer
  5475. wrstandardname:
  5476. description: 品类名称
  5477. type: string
  5478. type: object
  5479. models.Ermcp3GoodsGroup:
  5480. properties:
  5481. agreeunit:
  5482. description: 合约单位
  5483. type: number
  5484. areauserid:
  5485. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  5486. type: integer
  5487. canshort:
  5488. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  5489. type: integer
  5490. closepricemode:
  5491. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5492. type: integer
  5493. createtime:
  5494. description: 创建时间
  5495. type: string
  5496. creatorid:
  5497. description: 创建人
  5498. type: integer
  5499. currencyid:
  5500. description: 报价货币ID
  5501. type: integer
  5502. decimalplace:
  5503. description: 报价小数位
  5504. type: integer
  5505. enumdicname:
  5506. description: 单位名称
  5507. type: string
  5508. exchangefullname:
  5509. description: 交易所全称
  5510. type: string
  5511. excludecfg:
  5512. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  5513. type: integer
  5514. exexchangecode:
  5515. description: 交易所代码
  5516. type: string
  5517. exexchangeid:
  5518. description: 外部交易所ID[通道交易]
  5519. type: integer
  5520. exexchangename:
  5521. description: 交易所名称
  5522. type: string
  5523. goodsgroupid:
  5524. description: 商品组ID(自增ID)
  5525. type: integer
  5526. goodsgroupname:
  5527. description: 商品组名称
  5528. type: string
  5529. goodsgroupstatus:
  5530. description: 商品组状态 - 1:正常 2:注销
  5531. type: integer
  5532. goodunitid:
  5533. description: 报价单位ID
  5534. type: integer
  5535. groupcategroyid:
  5536. description: 品种分类ID
  5537. type: integer
  5538. innerdealmode:
  5539. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5540. type: integer
  5541. marketid:
  5542. description: 所属市场ID
  5543. type: integer
  5544. modifierid:
  5545. description: 修改人
  5546. type: integer
  5547. modifytime:
  5548. description: 修改时间
  5549. type: string
  5550. outerdealmode:
  5551. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5552. type: integer
  5553. outergroupcode:
  5554. description: 外部商品组代码[通道交易]
  5555. type: string
  5556. quoteminunit:
  5557. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5558. type: integer
  5559. quotesourcegroupid:
  5560. description: 所属行情源分组ID[参考行情市场用\通道交易]
  5561. type: integer
  5562. syncgoodsqty:
  5563. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  5564. type: integer
  5565. required:
  5566. - areauserid
  5567. type: object
  5568. models.Ermcp3HedgePlan:
  5569. properties:
  5570. accountid:
  5571. description: 资金账号
  5572. type: integer
  5573. areauserid:
  5574. description: 用户ID
  5575. type: integer
  5576. auditid:
  5577. description: 审核id
  5578. type: integer
  5579. auditname:
  5580. description: 审核人名称
  5581. type: string
  5582. auditremark:
  5583. description: 审核备注
  5584. type: string
  5585. auditsrc:
  5586. description: 审核来源 1-管理端 2-终端
  5587. type: integer
  5588. audittime:
  5589. description: 审核时间
  5590. type: string
  5591. contracttype:
  5592. description: 计划类型 - 1:采购 -1:销售
  5593. type: integer
  5594. convertfactor:
  5595. description: 标仓系数
  5596. type: number
  5597. createtime:
  5598. description: 创建时间
  5599. type: string
  5600. currencyid:
  5601. description: 币种id
  5602. type: integer
  5603. currencyname:
  5604. description: 币种名称
  5605. type: string
  5606. deliverygoodscode:
  5607. description: 现货品种代码
  5608. type: string
  5609. deliverygoodsid:
  5610. description: 现货品种ID
  5611. type: integer
  5612. deliverygoodsname:
  5613. description: 现货品种名称
  5614. type: string
  5615. enumdicname:
  5616. description: 单位名称(现货商品)
  5617. type: string
  5618. hedgeplanid:
  5619. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  5620. type: string
  5621. hedgeplanno:
  5622. description: 套保计划编号(名称)
  5623. type: string
  5624. hedgeplanstatus:
  5625. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5626. type: integer
  5627. planqty:
  5628. description: 计划数量
  5629. type: number
  5630. plantime:
  5631. description: 计划时间
  5632. type: string
  5633. producttype:
  5634. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5635. type: integer
  5636. remark:
  5637. description: 备注
  5638. type: string
  5639. spotgoodsdesc:
  5640. description: 商品型号
  5641. type: string
  5642. taaccountname:
  5643. description: 资金账号名称
  5644. type: string
  5645. tradeuserid:
  5646. description: 交易用户id
  5647. type: integer
  5648. tradeusername:
  5649. description: 交易用户名称
  5650. type: string
  5651. unitid:
  5652. description: 单位id(现货商品)
  5653. type: integer
  5654. updatetime:
  5655. description: 更新时间
  5656. type: string
  5657. vatrate:
  5658. description: 增值税率
  5659. type: number
  5660. wrstandardcode:
  5661. description: 品类代码
  5662. type: string
  5663. wrstandardid:
  5664. description: 品类id
  5665. type: integer
  5666. wrstandardname:
  5667. description: 品类名称
  5668. type: string
  5669. wrunitid:
  5670. description: 品类单位id
  5671. type: integer
  5672. wrunitidame:
  5673. description: 品类单位名称
  5674. type: string
  5675. type: object
  5676. models.Ermcp3InnerTradeLink:
  5677. properties:
  5678. accountid:
  5679. description: 期货账号代码 | 资金账号ID
  5680. type: integer
  5681. buyorsell:
  5682. description: 方向 - 0:买 1:卖
  5683. type: integer
  5684. channelbuildtype:
  5685. description: 委托单据类型 0:无 1:建仓 2:平仓
  5686. type: integer
  5687. currencyid:
  5688. description: 币种id
  5689. type: integer
  5690. currencyname:
  5691. description: 结算币种 名称
  5692. type: string
  5693. goodscode:
  5694. description: 商品代码
  5695. type: string
  5696. goodsid:
  5697. description: 商品ID
  5698. type: integer
  5699. goodsname:
  5700. description: 商品名称
  5701. type: string
  5702. outtradeid:
  5703. description: 外部成交单号
  5704. type: string
  5705. taname:
  5706. description: 期货账户名称
  5707. type: string
  5708. tradeid:
  5709. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5710. type: string
  5711. tradeprice:
  5712. description: 成交价格
  5713. type: number
  5714. tradeqty:
  5715. description: 期货成交数量
  5716. type: integer
  5717. tradetime:
  5718. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  5719. type: string
  5720. username:
  5721. description: 用户名称
  5722. type: string
  5723. type: object
  5724. models.Ermcp3OutTradeLink:
  5725. properties:
  5726. buyorsell:
  5727. description: 买卖方向 - 0:买 1:卖
  5728. type: integer
  5729. channelbuildtype:
  5730. description: 开平标志- 0:无 1:建仓 2:平仓
  5731. type: integer
  5732. currencyname:
  5733. description: 币种名称
  5734. type: string
  5735. exexchangecode:
  5736. description: 交易所代码
  5737. type: string
  5738. exexchangename:
  5739. description: 交易所名称
  5740. type: string
  5741. goodscode:
  5742. description: 合约代码
  5743. type: string
  5744. goodsid:
  5745. description: 合约id
  5746. type: integer
  5747. goodsname:
  5748. description: 合约名称
  5749. type: string
  5750. hasinnerorder:
  5751. description: 是否有内部单关联 - 0:无 1:有
  5752. type: integer
  5753. hedgeaccountcode:
  5754. description: 外部账号 | 对冲账号
  5755. type: string
  5756. outtradeid:
  5757. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5758. type: string
  5759. tradeprice:
  5760. description: 成交价格
  5761. type: number
  5762. tradeqty:
  5763. description: 成交数量
  5764. type: integer
  5765. tradetime:
  5766. description: 成交时间
  5767. type: string
  5768. type: object
  5769. models.Ermcp3PaAreaAuditCfg:
  5770. properties:
  5771. areauserid:
  5772. description: 用户ID
  5773. type: integer
  5774. buyinauditflag:
  5775. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  5776. type: integer
  5777. costratioauditflag:
  5778. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  5779. type: integer
  5780. customerauditflag:
  5781. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  5782. type: integer
  5783. deliveryauditflag:
  5784. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  5785. type: integer
  5786. invoiceauditflag:
  5787. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  5788. type: integer
  5789. mgneedhedgeratioauditflag:
  5790. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  5791. type: integer
  5792. moneyauditflag:
  5793. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  5794. type: integer
  5795. operatorid:
  5796. description: 操作人
  5797. type: integer
  5798. operatorsrc:
  5799. description: 操作来源 - 1:管理端 2:终端
  5800. type: integer
  5801. pointpriceauditflag:
  5802. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  5803. type: integer
  5804. produceinauditflag:
  5805. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  5806. type: integer
  5807. produceoutauditflag:
  5808. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  5809. type: integer
  5810. selloutauditflag:
  5811. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  5812. type: integer
  5813. sgconvertratioauditflag:
  5814. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  5815. type: integer
  5816. sgvtaratioauditflag:
  5817. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  5818. type: integer
  5819. spotcontractauditflag:
  5820. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  5821. type: integer
  5822. updatetime:
  5823. description: 更新时间
  5824. type: string
  5825. type: object
  5826. models.Ermcp3PaAreaSubject:
  5827. properties:
  5828. areauserid:
  5829. description: 所属机构
  5830. type: integer
  5831. canmodify:
  5832. description: 是否可修改 - 0:否 1:是
  5833. type: integer
  5834. createtime:
  5835. description: 创建时间
  5836. type: string
  5837. creatorid:
  5838. description: 创建人ID
  5839. type: string
  5840. creatorsrc:
  5841. description: 创建人来源 - 1:管理端 2:终端 3:交易
  5842. type: integer
  5843. modifierid:
  5844. description: 修改人
  5845. type: string
  5846. modifiersrc:
  5847. description: 修改人来源 - 1:管理端 2:终端
  5848. type: integer
  5849. modifytime:
  5850. description: 修改时间
  5851. type: string
  5852. parentsubjectid:
  5853. description: 上级主体ID
  5854. type: string
  5855. remark:
  5856. description: 备注
  5857. type: string
  5858. subjectid:
  5859. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  5860. type: integer
  5861. subjectname:
  5862. description: 主体名称
  5863. type: string
  5864. subjectstatus:
  5865. description: '主体状态 - 1:正常 2: 停用'
  5866. type: integer
  5867. subjecttype:
  5868. description: 主体类型 - 1:交易主体 2:业务部门
  5869. type: integer
  5870. type: object
  5871. models.Ermcp3PaTradeLink:
  5872. properties:
  5873. accountid:
  5874. description: 期货账户代码 | 账号ID
  5875. type: integer
  5876. agreeunit:
  5877. description: 合约乘数
  5878. type: number
  5879. buyorsell:
  5880. description: 方向 - 0:买 1:卖
  5881. type: integer
  5882. channelbuildtype:
  5883. description: 委托单据类型 0:无 1:建仓 2:平仓
  5884. type: integer
  5885. charge:
  5886. description: 手续费
  5887. type: number
  5888. closepl:
  5889. description: 平仓盈亏
  5890. type: number
  5891. closetype:
  5892. description: 平仓方式 - 0:无 1:平今 2:平昨
  5893. type: integer
  5894. convertratio:
  5895. description: 折算系数
  5896. type: number
  5897. enumdicname:
  5898. description: 单位名称
  5899. type: string
  5900. executeprice:
  5901. description: 执行价 [期权]
  5902. type: integer
  5903. goodscode:
  5904. description: 合约代码
  5905. type: string
  5906. goodsgroupid:
  5907. description: 对冲品种ID[期货合约商品组ID]
  5908. type: integer
  5909. goodsid:
  5910. description: 商品ID
  5911. type: integer
  5912. goodsname:
  5913. description: 合约名称
  5914. type: string
  5915. goodunitid:
  5916. description: 单位id
  5917. type: integer
  5918. hedgeflag:
  5919. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  5920. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  5921. type: integer
  5922. marketid:
  5923. description: 市场ID
  5924. type: integer
  5925. middlegoodsid:
  5926. description: 套保品种ID
  5927. type: integer
  5928. middlegoodsqty:
  5929. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  5930. type: number
  5931. optioncode:
  5932. description: 期权代码 [期权]
  5933. type: string
  5934. ordertype:
  5935. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  5936. type: integer
  5937. ordertypename:
  5938. description: 订单类型
  5939. type: string
  5940. parentaccountid:
  5941. description: 所属母账户
  5942. type: integer
  5943. premium:
  5944. description: 权利金 [期权]
  5945. type: number
  5946. relatedlot:
  5947. description: 已关联数量(已关联数量手) | db:关联手数
  5948. type: number
  5949. relatedouttradeid:
  5950. description: 关联外部成交单ID
  5951. type: string
  5952. relatedqty:
  5953. description: 关联数量
  5954. type: number
  5955. spotcontractid:
  5956. description: 现货合同ID [4:套期保值\10\11]
  5957. type: string
  5958. taname:
  5959. description: 期货账户名称
  5960. type: string
  5961. tradeamount:
  5962. description: 成交金额(账户)
  5963. type: number
  5964. tradedate:
  5965. description: 交易日(yyyyMMdd)
  5966. type: string
  5967. tradeid:
  5968. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5969. type: string
  5970. tradelot:
  5971. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  5972. type: integer
  5973. tradeprice:
  5974. description: 成交价格
  5975. type: number
  5976. tradetime:
  5977. description: 时间 | db:成交时间
  5978. type: string
  5979. tradetype:
  5980. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  5981. type: integer
  5982. userid:
  5983. description: 所属机构 - 所属母账户的UserID
  5984. type: string
  5985. username:
  5986. description: 用户名称
  5987. type: string
  5988. type: object
  5989. models.Ermcp3ParamChangeApp:
  5990. properties:
  5991. aftervalue:
  5992. description: 变更后
  5993. type: number
  5994. applicationid:
  5995. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  5996. type: string
  5997. applyid:
  5998. description: 申请人
  5999. type: string
  6000. applyname:
  6001. description: 申请人名称(代码)
  6002. type: string
  6003. applyremark:
  6004. description: 申请备注
  6005. type: string
  6006. applysrc:
  6007. description: 申请来源 - 1:管理端 2:终端
  6008. type: integer
  6009. applystatus:
  6010. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  6011. type: integer
  6012. applytime:
  6013. description: 申请时间
  6014. type: string
  6015. areauserid:
  6016. description: 所属机构用户ID
  6017. type: integer
  6018. auditid:
  6019. description: 审核人
  6020. type: string
  6021. auditname:
  6022. description: 审核人名称(代码)
  6023. type: string
  6024. auditremark:
  6025. description: 审核备注
  6026. type: string
  6027. auditsrc:
  6028. description: 审核来源 - 1:管理端 2:终端
  6029. type: integer
  6030. audittime:
  6031. description: 审核时间
  6032. type: string
  6033. audittradedate:
  6034. description: 审核交易日(yyyyMMdd)
  6035. type: string
  6036. beforevalue:
  6037. description: 变更前
  6038. type: number
  6039. deliverygoodscode:
  6040. description: 品种代码
  6041. type: string
  6042. deliverygoodsid:
  6043. description: 品种id
  6044. type: integer
  6045. deliverygoodsname:
  6046. description: 品种名称
  6047. type: string
  6048. middlegoodscode:
  6049. description: 套保品种代码
  6050. type: string
  6051. middlegoodsid:
  6052. description: 套保品种ID [ParamChangeType = 2,3,4]
  6053. type: integer
  6054. middlegoodsname:
  6055. description: 套保品种名称
  6056. type: string
  6057. operatetype:
  6058. description: 操作类型 - 1:新增 2:修改
  6059. type: integer
  6060. paramchangetype:
  6061. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6062. type: integer
  6063. wrstandardcode:
  6064. description: 现货商品代码
  6065. type: string
  6066. wrstandardid:
  6067. description: 现货商品ID [ParamChangeType = 1,2,3]
  6068. type: integer
  6069. wrstandardname:
  6070. description: 现货商品名称
  6071. type: string
  6072. type: object
  6073. models.Ermcp3RootUserAccount:
  6074. properties:
  6075. accountname:
  6076. description: 账户名称(机构名称)
  6077. type: string
  6078. accountstatus:
  6079. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6080. type: integer
  6081. applysrc:
  6082. description: 申请来源 - 1:管理端 2:终端
  6083. type: integer
  6084. auditremark:
  6085. description: 审核备注
  6086. type: string
  6087. auditsrc:
  6088. description: 审核来源 - 1:管理端 2:终端
  6089. type: integer
  6090. audittime:
  6091. description: 审核时间
  6092. type: string
  6093. audituserid:
  6094. description: 审核人
  6095. type: integer
  6096. broker:
  6097. description: 所属经纪人ID
  6098. type: integer
  6099. canceltime:
  6100. description: 销户时间
  6101. type: string
  6102. canceluserid:
  6103. description: 销户人
  6104. type: integer
  6105. canrecommend:
  6106. description: 是否可推荐 - 0:不可 1;可
  6107. type: integer
  6108. createtime:
  6109. description: 创建时间
  6110. type: string
  6111. creatorid:
  6112. description: 创建人
  6113. type: integer
  6114. hasauth:
  6115. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6116. type: integer
  6117. isanonymous:
  6118. description: 是否匿名下单 - 0:否 1:是
  6119. type: integer
  6120. maxinvestornum:
  6121. description: 最大用户数(经纪会员下投资者个数)
  6122. type: integer
  6123. memberuserid:
  6124. description: 所属会员ID
  6125. type: integer
  6126. modifierid:
  6127. description: 修改人
  6128. type: integer
  6129. modifyremark:
  6130. description: 变更备注
  6131. type: string
  6132. modifystatus:
  6133. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6134. type: integer
  6135. modifytime:
  6136. description: 修改时间
  6137. type: string
  6138. nickname:
  6139. description: 昵称
  6140. type: string
  6141. parenttopuser:
  6142. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  6143. type: string
  6144. parentuserid:
  6145. description: 所属机构ID
  6146. type: integer
  6147. reckonaccountid:
  6148. description: 默认结算资金账号ID(机构分润使用) 作废
  6149. type: integer
  6150. refercount:
  6151. description: 推荐总人数
  6152. type: integer
  6153. refereeuserid:
  6154. description: 推荐人ID
  6155. type: integer
  6156. refernum:
  6157. description: 推荐码
  6158. type: string
  6159. rootuserid:
  6160. description: 根用户ID
  6161. type: integer
  6162. subaccountlevel:
  6163. description: 子账户层数
  6164. type: integer
  6165. subarealevelpath:
  6166. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6167. type: string
  6168. userid:
  6169. description: 用户ID
  6170. type: integer
  6171. usertype:
  6172. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6173. type: integer
  6174. type: object
  6175. models.Ermcp3SCMiddleGoods:
  6176. properties:
  6177. biztype:
  6178. description: 业务类型 1:套保 2:套利
  6179. type: integer
  6180. contractno:
  6181. description: 合同编号
  6182. type: string
  6183. contracttype:
  6184. description: 合同类型 1:采购 -1:销售
  6185. type: integer
  6186. convertratio:
  6187. description: 折算系数
  6188. type: number
  6189. customername:
  6190. description: 对手手名称
  6191. type: string
  6192. customeruserid:
  6193. description: 对手id
  6194. type: integer
  6195. deliverygoodscode:
  6196. description: 现货品种代码
  6197. type: string
  6198. deliverygoodsid:
  6199. description: 现货品种ID
  6200. type: integer
  6201. deliverygoodsname:
  6202. description: 现货品种名称
  6203. type: string
  6204. enumdicname:
  6205. description: 现货单位名称
  6206. type: string
  6207. middlegoodsid:
  6208. description: 套保品种ID
  6209. type: integer
  6210. middlegoodspricedqty3:
  6211. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  6212. type: number
  6213. needhedgeratio:
  6214. description: 套保比例
  6215. type: number
  6216. pricedqty:
  6217. description: 已定价量
  6218. type: number
  6219. relatedmiddlegoodsqty:
  6220. description: 已关联量(套保品种)(期货)
  6221. type: number
  6222. spotcontractid:
  6223. description: 合同编号
  6224. type: string
  6225. unitid:
  6226. description: 现货单位id
  6227. type: integer
  6228. userid:
  6229. description: 用户id
  6230. type: integer
  6231. vatrate:
  6232. description: 增值税率
  6233. type: number
  6234. wrstandardcode:
  6235. description: 现货商品代码
  6236. type: string
  6237. wrstandardid:
  6238. description: 现货商品id
  6239. type: integer
  6240. wrstandardname:
  6241. description: 现货商品名称
  6242. type: string
  6243. type: object
  6244. models.Ermcp3SCMiddleGoodsReport:
  6245. properties:
  6246. begindate:
  6247. description: 开始交易日
  6248. type: string
  6249. contractno:
  6250. description: 合同编号
  6251. type: string
  6252. contracttype:
  6253. description: 合同类型 1:采购 -1:销售
  6254. type: integer
  6255. convertratio:
  6256. description: 折算系数
  6257. type: number
  6258. cycletime:
  6259. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6260. type: string
  6261. cycletype:
  6262. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6263. type: integer
  6264. deliverygoodscode:
  6265. description: 品种代码
  6266. type: string
  6267. deliverygoodsid:
  6268. description: 现货品种ID
  6269. type: integer
  6270. deliverygoodsname:
  6271. description: 品种名称
  6272. type: string
  6273. diffprice:
  6274. description: 现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价
  6275. type: number
  6276. diffqty:
  6277. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  6278. type: number
  6279. enddate:
  6280. description: 结束交易日
  6281. type: string
  6282. hedgeplanqty:
  6283. description: 套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例
  6284. type: number
  6285. matchname:
  6286. description: 交易对手方(个人:用户名称 企业:简称)
  6287. type: string
  6288. middlegoodscode:
  6289. description: 套保品种代码
  6290. type: string
  6291. middlegoodsid:
  6292. description: 套保品种ID
  6293. type: integer
  6294. middlegoodsname:
  6295. description: 套保品种名称
  6296. type: string
  6297. middlegoodspricedqty:
  6298. description: 已定价量(套保品种 - 税前) = PricedQty * 折算系数
  6299. type: number
  6300. middlegoodspricedqty2:
  6301. description: 已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))
  6302. type: number
  6303. middlegoodspricedqty3:
  6304. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  6305. type: number
  6306. needhedgeratio:
  6307. description: 套保系数
  6308. type: number
  6309. pricedamount:
  6310. description: 已定价额(现货)
  6311. type: number
  6312. pricedamount2:
  6313. description: 已定价额(现货-基价额)
  6314. type: number
  6315. pricedqty:
  6316. description: 已定价量(现货)
  6317. type: number
  6318. reckondate:
  6319. description: 日照时期(yyyyMMdd)
  6320. type: string
  6321. relatedmiddlegoodsamount:
  6322. description: 已关联额(期货)
  6323. type: number
  6324. relatedmiddlegoodsqty:
  6325. description: 已关联量(套保品种)(期货)
  6326. type: number
  6327. spotcontractid:
  6328. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  6329. type: string
  6330. todayavgfutuprice:
  6331. description: 今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty
  6332. type: number
  6333. todayavgprice:
  6334. description: 今日定价均价 = TodayPricedAmount / TodayPricedQty
  6335. type: number
  6336. todayavgprice2:
  6337. description: 今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty
  6338. type: number
  6339. todaypricedamount:
  6340. description: 今日定价额(现货)
  6341. type: number
  6342. todaypricedamount2:
  6343. description: 今日定价额(现货-基价额)
  6344. type: number
  6345. todaypricedqty:
  6346. description: 今日定价量(现货)
  6347. type: number
  6348. todayrelatedfutureqty:
  6349. description: 今日关联量(期货)
  6350. type: number
  6351. todayrelatedmiddlegoodsamount:
  6352. description: 今日关联额(期货)
  6353. type: number
  6354. todayrelatedmiddlegoodsqty:
  6355. description: 今日关联量(套保品-期货)
  6356. type: number
  6357. updatetime:
  6358. description: 更新时间
  6359. type: string
  6360. userid:
  6361. description: 合同所属用户id
  6362. type: integer
  6363. vatrate:
  6364. description: 增值税率
  6365. type: number
  6366. wrstandardcode:
  6367. description: 商品(品类) 代码
  6368. type: string
  6369. wrstandardid:
  6370. description: 现货商品ID
  6371. type: integer
  6372. wrstandardname:
  6373. description: 商品(品类) 名称
  6374. type: string
  6375. type: object
  6376. models.Ermcp3SellBuyContract:
  6377. properties:
  6378. accountid:
  6379. description: 期货账户id
  6380. type: string
  6381. accountname:
  6382. description: 账户名称
  6383. type: string
  6384. attachment:
  6385. description: 附件
  6386. type: string
  6387. audittime:
  6388. description: 审核时间
  6389. type: string
  6390. bizsubjectid:
  6391. description: 归属业务部门ID - SubjectID
  6392. type: integer
  6393. biztype:
  6394. description: 业务类型 1-套保 2-套利
  6395. type: integer
  6396. brandname:
  6397. description: 品牌名称
  6398. type: string
  6399. contracctstatus:
  6400. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6401. type: integer
  6402. contractmargin:
  6403. description: 合同保证金
  6404. type: number
  6405. contractno:
  6406. description: 合同编号
  6407. type: string
  6408. contracttype:
  6409. description: 合同类型 1-采购, -1-销售
  6410. type: integer
  6411. convertfactor:
  6412. description: 标仓系数(品类)
  6413. type: number
  6414. createtime:
  6415. description: 创建时间
  6416. type: string
  6417. currencyid:
  6418. description: 币种id
  6419. type: integer
  6420. currencyname:
  6421. description: 币种名称
  6422. type: string
  6423. daikaiamount:
  6424. description: 应收(开)票额
  6425. type: number
  6426. deliveryenddate:
  6427. description: 交割结束日
  6428. type: string
  6429. deliverygoodscode:
  6430. description: 现货品种代码
  6431. type: string
  6432. deliverygoodsid:
  6433. description: 现货商品ID
  6434. type: integer
  6435. deliverygoodsname:
  6436. description: 现货品种名称
  6437. type: string
  6438. deliverystartdate:
  6439. description: 交割开始日
  6440. type: string
  6441. enddate:
  6442. description: 点价结束日
  6443. type: string
  6444. enumdicname:
  6445. description: 单位名称
  6446. type: string
  6447. goodscode:
  6448. description: 点价商品代码
  6449. type: string
  6450. goodsgroupid:
  6451. description: 点价商品组id
  6452. type: integer
  6453. goodsid:
  6454. description: 点价商品ID
  6455. type: integer
  6456. goodsname:
  6457. description: 点价商品名称
  6458. type: string
  6459. invoiceamount:
  6460. description: 已开票额
  6461. type: number
  6462. loanamount:
  6463. description: 贷款总额=已定价额+调整金额
  6464. type: number
  6465. margin:
  6466. description: 保证金
  6467. type: number
  6468. meruserid:
  6469. description: 跟单员id
  6470. type: integer
  6471. meruserlogincode:
  6472. description: 跟单员登录代码
  6473. type: string
  6474. merusername:
  6475. description: 跟单员名称
  6476. type: string
  6477. nickname:
  6478. description: 账户昵称
  6479. type: string
  6480. orireckonrealqty:
  6481. description: 应交收量
  6482. type: number
  6483. payamount:
  6484. description: 已收付额(收款或付款)
  6485. type: number
  6486. preinvoiceamount:
  6487. description: 预收(开)票额
  6488. type: number
  6489. prepayamount:
  6490. description: 预收付额
  6491. type: number
  6492. price:
  6493. description: 价格
  6494. type: number
  6495. pricedamount:
  6496. description: 已定价额
  6497. type: number
  6498. pricedavg:
  6499. description: 已点均价
  6500. type: number
  6501. pricedqty:
  6502. description: 已定价量
  6503. type: number
  6504. pricemove:
  6505. description: 升贴水
  6506. type: number
  6507. pricetype:
  6508. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  6509. type: integer
  6510. producttype:
  6511. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6512. type: integer
  6513. qty:
  6514. description: 合同量
  6515. type: number
  6516. reckonadjustamount:
  6517. description: 调整金额
  6518. type: number
  6519. reckonedamount:
  6520. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  6521. type: number
  6522. reckonotheramount:
  6523. description: 其它费用
  6524. type: number
  6525. reckonrealqty:
  6526. description: 已交收量
  6527. type: number
  6528. remark:
  6529. description: 备注
  6530. type: string
  6531. saleuserid:
  6532. description: 业务员id
  6533. type: integer
  6534. saleuserlogincode:
  6535. description: 业务员登录代码
  6536. type: string
  6537. saleusername:
  6538. description: 业务员名称
  6539. type: string
  6540. spotcontractid:
  6541. description: 合同ID
  6542. type: string
  6543. spotgoodsbrandid:
  6544. description: 现货品牌ID(DGFactoryItem表的ID)
  6545. type: integer
  6546. spotgoodsdesc:
  6547. description: 商品型号(商品规格)
  6548. type: string
  6549. startdate:
  6550. description: 点价开始日
  6551. type: string
  6552. subjectid:
  6553. description: 交易主体ID
  6554. type: integer
  6555. subjectname:
  6556. description: 交易主体名称
  6557. type: string
  6558. totalamount:
  6559. description: 合计总额
  6560. type: number
  6561. tradeuserid:
  6562. description: 交易员id
  6563. type: integer
  6564. tradeuserlogincode:
  6565. description: 交易员登录代码
  6566. type: string
  6567. tradeusername:
  6568. description: 交易员名称
  6569. type: string
  6570. unpayamount:
  6571. description: 应收付款额(应支付或应收款)
  6572. type: number
  6573. unpricedqty:
  6574. description: 未定价量
  6575. type: number
  6576. unsureqty:
  6577. description: 未确定量
  6578. type: number
  6579. userid:
  6580. description: 机构ID
  6581. type: integer
  6582. vatrate:
  6583. description: 增值税率
  6584. type: number
  6585. wrstandardcode:
  6586. description: 品类代码
  6587. type: string
  6588. wrstandardid:
  6589. description: 品类ID
  6590. type: integer
  6591. wrstandardname:
  6592. description: 品类名称
  6593. type: string
  6594. type: object
  6595. models.Ermcp3SpotGoodsPrice:
  6596. properties:
  6597. areauserid:
  6598. description: 所属机构id
  6599. type: integer
  6600. brandname:
  6601. description: 品牌名称
  6602. type: string
  6603. currencyid:
  6604. description: 报价货币ID
  6605. type: integer
  6606. currencyname:
  6607. description: 币种名称
  6608. type: string
  6609. deliverygoodscode:
  6610. description: 现货商品代码
  6611. type: string
  6612. deliverygoodsid:
  6613. description: 现货商品id
  6614. type: integer
  6615. deliverygoodsname:
  6616. description: 现货商品名称
  6617. type: string
  6618. enumdicname:
  6619. description: 现货商品单位名称
  6620. type: string
  6621. gbenumdicname:
  6622. description: 品类单位名称
  6623. type: string
  6624. gmunitid:
  6625. description: 品类单位id
  6626. type: integer
  6627. isvalid:
  6628. description: 是否有效 - 0:无效 1:有效
  6629. type: integer
  6630. operateid:
  6631. description: 最后操作人
  6632. type: integer
  6633. operatesrc:
  6634. description: 最后操作来源 - 1:管理端 2:终端
  6635. type: integer
  6636. operatetime:
  6637. description: 最后操作时间
  6638. type: string
  6639. operatorname:
  6640. description: 操作人名称
  6641. type: string
  6642. spotgoodsbrandid:
  6643. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6644. type: integer
  6645. spotgoodsprice:
  6646. description: 现货价格
  6647. type: number
  6648. tradedate:
  6649. description: 交易日(yyyyMMdd)
  6650. type: string
  6651. unitid:
  6652. description: 现货商品单位id
  6653. type: integer
  6654. wrstandardcode:
  6655. description: 品类代码
  6656. type: string
  6657. wrstandardid:
  6658. description: 现货品类ID(通用则为0)
  6659. type: integer
  6660. wrstandardname:
  6661. description: 品类名称
  6662. type: string
  6663. type: object
  6664. models.Ermcp3SpotGoodsPriceLog:
  6665. properties:
  6666. areauserid:
  6667. description: 所属机构id
  6668. type: integer
  6669. brandname:
  6670. description: 品牌名称
  6671. type: string
  6672. currencyid:
  6673. description: 报价货币ID
  6674. type: integer
  6675. deliverygoodscode:
  6676. description: 现货商品代码
  6677. type: string
  6678. deliverygoodsid:
  6679. description: 现货商品id
  6680. type: integer
  6681. deliverygoodsname:
  6682. description: 现货商品名称
  6683. type: string
  6684. enumdicname:
  6685. description: 现货商品单位名称
  6686. type: string
  6687. gbenumdicname:
  6688. description: 品类单位名称
  6689. type: string
  6690. gmunitid:
  6691. description: 品类单位id
  6692. type: integer
  6693. logid:
  6694. description: 日志id
  6695. type: integer
  6696. operateid:
  6697. description: 最后操作人
  6698. type: integer
  6699. operatesrc:
  6700. description: 最后操作来源 - 1:管理端 2:终端
  6701. type: integer
  6702. operatetime:
  6703. description: 最后操作时间
  6704. type: string
  6705. operatorname:
  6706. description: 操作人名称
  6707. type: string
  6708. spotgoodsbrandid:
  6709. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6710. type: integer
  6711. spotgoodsprice:
  6712. description: 现货价格
  6713. type: number
  6714. tradedate:
  6715. description: 交易日(yyyyMMdd)
  6716. type: string
  6717. unitid:
  6718. description: 现货商品单位id
  6719. type: integer
  6720. wrstandardcode:
  6721. description: 品类代码
  6722. type: string
  6723. wrstandardid:
  6724. description: 现货品类ID(通用则为0)
  6725. type: integer
  6726. wrstandardname:
  6727. description: 品类名称
  6728. type: string
  6729. type: object
  6730. models.Ermcp3SubTaaccount:
  6731. properties:
  6732. accountid:
  6733. description: 资金账户ID
  6734. type: integer
  6735. parentaccountcode:
  6736. description: 所属根账号代码(母账号代码)
  6737. type: string
  6738. parentaccountid:
  6739. description: 所属根账号(母账号)
  6740. type: integer
  6741. taname:
  6742. description: 资金账号名称
  6743. type: string
  6744. tradestatus:
  6745. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  6746. type: integer
  6747. username:
  6748. description: 交易用户
  6749. type: string
  6750. type: object
  6751. models.Ermcp3TaFutuReDataReport:
  6752. properties:
  6753. accountid:
  6754. description: 交易账户
  6755. type: integer
  6756. accountname:
  6757. description: 交易账号名称
  6758. type: string
  6759. agreeunit:
  6760. description: 商品合约单位
  6761. type: number
  6762. begindate:
  6763. description: 开始交易日
  6764. type: string
  6765. buyorsell:
  6766. description: 持仓方向
  6767. type: integer
  6768. charge:
  6769. description: 手续费
  6770. type: number
  6771. closeavgprice:
  6772. description: 平仓均价
  6773. type: number
  6774. closepl:
  6775. description: 平仓损益
  6776. type: number
  6777. currencyid:
  6778. description: 结算币种ID
  6779. type: integer
  6780. currencyname:
  6781. description: 币种名称
  6782. type: string
  6783. cycletime:
  6784. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6785. type: string
  6786. cycletype:
  6787. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6788. type: integer
  6789. enddate:
  6790. description: 结束交易日
  6791. type: string
  6792. enumdicname:
  6793. description: 单位名称
  6794. type: string
  6795. floatpl:
  6796. description: 浮动损益
  6797. type: number
  6798. goodscode:
  6799. description: 交易合约代码
  6800. type: string
  6801. goodsgroupid:
  6802. description: 交易品种
  6803. type: integer
  6804. goodsgroupname:
  6805. description: 交易品种名称
  6806. type: string
  6807. goodsgroupspotqty:
  6808. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  6809. type: number
  6810. goodsid:
  6811. description: 交易合约
  6812. type: integer
  6813. goodsname:
  6814. description: 交易合约名称
  6815. type: string
  6816. goodunitid:
  6817. description: 交易合约单位id
  6818. type: integer
  6819. holdamount:
  6820. description: 期末持仓额
  6821. type: number
  6822. holdqty:
  6823. description: 期末持仓量
  6824. type: number
  6825. lastholdamount:
  6826. description: 当前持仓额
  6827. type: number
  6828. lastprice:
  6829. description: 最新价
  6830. type: number
  6831. middlegoodsid:
  6832. description: 套保品种id
  6833. type: integer
  6834. middlegoodsname:
  6835. description: 套保商品名称
  6836. type: string
  6837. middlegoodsqty:
  6838. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  6839. type: number
  6840. middlgoodscode:
  6841. description: 套保商品代码
  6842. type: string
  6843. openamount:
  6844. description: 期末开仓额
  6845. type: number
  6846. openavgprice:
  6847. description: 开仓均价
  6848. type: number
  6849. oriholdamount:
  6850. description: 期初持仓额
  6851. type: number
  6852. oriholdqty:
  6853. description: 期初持仓量
  6854. type: number
  6855. oriopenamount:
  6856. description: 期初开仓额
  6857. type: number
  6858. outergroupcode:
  6859. description: 交易品种代码
  6860. type: string
  6861. qtydecimalplace:
  6862. description: 成交量小数位
  6863. type: integer
  6864. reckondate:
  6865. description: 日照时期(yyyyMMdd)
  6866. type: string
  6867. reckonholdamount:
  6868. description: 结算持仓额
  6869. type: number
  6870. reckonpl:
  6871. description: 结算损益
  6872. type: number
  6873. reckonpl2:
  6874. description: 结算逐笔盈亏
  6875. type: number
  6876. reckonprice:
  6877. description: 结算价
  6878. type: number
  6879. relateduserid:
  6880. description: 账户关联用户ID
  6881. type: integer
  6882. todaycloseamount:
  6883. description: 今平仓额
  6884. type: number
  6885. todaycloseqty:
  6886. description: 今平仓量
  6887. type: number
  6888. todaygoodsgroupspotqty:
  6889. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  6890. type: number
  6891. todaymiddlegoodsqty:
  6892. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  6893. type: number
  6894. todayopenamount:
  6895. description: 今开仓额
  6896. type: number
  6897. todayopenqty:
  6898. description: 今开仓量
  6899. type: number
  6900. userid:
  6901. description: 账户所属用户ID
  6902. type: integer
  6903. type: object
  6904. models.Ermcp3TradeLinkDetail:
  6905. properties:
  6906. accountid:
  6907. description: 资金账号
  6908. type: integer
  6909. agreeunit:
  6910. description: 合约乘数
  6911. type: number
  6912. areauserid:
  6913. description: 所属机构
  6914. type: string
  6915. bizsubjectid:
  6916. description: 归属业务部门ID - SubjectID
  6917. type: string
  6918. buyorsell:
  6919. description: 方向 - 0:买 1:卖
  6920. type: integer
  6921. channelbuildtype:
  6922. description: 委托单据类型 0:无 1:建仓 2:平仓
  6923. type: integer
  6924. contractno:
  6925. description: 现货编号 (合同编号)
  6926. type: string
  6927. convertratio:
  6928. description: 折算系数
  6929. type: number
  6930. createtime:
  6931. description: 关联时间 | 创建时间
  6932. type: string
  6933. creatorid:
  6934. description: 创建人ID
  6935. type: string
  6936. creatorsrc:
  6937. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6938. type: integer
  6939. enumdicname:
  6940. description: 单位名称
  6941. type: string
  6942. goodscode:
  6943. description: 合约代码
  6944. type: string
  6945. goodsgroupid:
  6946. description: 对冲品种ID[期货合约商品组ID]
  6947. type: integer
  6948. goodsid:
  6949. description: 商品ID
  6950. type: integer
  6951. goodsname:
  6952. description: 合约名称
  6953. type: string
  6954. hedgeflag:
  6955. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安)
  6956. 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6957. type: integer
  6958. linkdetailid:
  6959. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  6960. type: string
  6961. linkstatus:
  6962. description: 关联状态 - 1:成功 2:失败 3:解绑
  6963. type: integer
  6964. middlegoodscode:
  6965. description: 套保品种代码
  6966. type: string
  6967. middlegoodsid:
  6968. description: 套保品种ID
  6969. type: integer
  6970. middlegoodsname:
  6971. description: 套保品种名称
  6972. type: string
  6973. relatedlot:
  6974. description: 关联手数
  6975. type: number
  6976. relatedmode:
  6977. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  6978. type: integer
  6979. relatedqty:
  6980. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  6981. type: number
  6982. retcode:
  6983. description: 返回码
  6984. type: integer
  6985. saleuserid:
  6986. description: 业务员ID
  6987. type: string
  6988. spotcontractid:
  6989. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  6990. type: string
  6991. taname:
  6992. description: 期货账户
  6993. type: string
  6994. tradedate:
  6995. description: 关联交易日(yyyyMMdd)
  6996. type: string
  6997. tradeid:
  6998. description: 期货订单号 | 内部成交单ID
  6999. type: string
  7000. tradelot:
  7001. description: 成交数量 | 成交手数
  7002. type: integer
  7003. tradeprice:
  7004. description: 成交价格
  7005. type: number
  7006. tradetime:
  7007. description: 期货成交时间
  7008. type: string
  7009. tradetradedate:
  7010. description: 成交交易日(yyyyMMdd)
  7011. type: string
  7012. username:
  7013. description: 用户名称
  7014. type: string
  7015. type: object
  7016. models.Ermcp3Wrstandard:
  7017. properties:
  7018. areauserid:
  7019. description: 所属机构
  7020. type: integer
  7021. cantrade:
  7022. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  7023. type: integer
  7024. convertfactor:
  7025. description: 标仓系数
  7026. type: number
  7027. createtime:
  7028. description: 创建时间
  7029. type: string
  7030. creatorid:
  7031. description: 创建人
  7032. type: integer
  7033. deliverygoodsid:
  7034. description: 现货品种ID
  7035. type: integer
  7036. enumdicname:
  7037. description: 品类单位名称
  7038. type: string
  7039. isvalid:
  7040. description: 是否有效 0-无效(停用) 1-有效(正常)
  7041. type: integer
  7042. minivalue:
  7043. description: 最小变动值
  7044. type: integer
  7045. minivaluedp:
  7046. description: 最小变动值小数位
  7047. type: integer
  7048. realminivalue:
  7049. description: 实际最小变动值
  7050. type: integer
  7051. realminivaluedp:
  7052. description: 实际最小变动值小数位
  7053. type: integer
  7054. remark:
  7055. description: 备注
  7056. type: string
  7057. unitid:
  7058. description: 品类单位ID
  7059. type: integer
  7060. updatetime:
  7061. description: 更新时间
  7062. type: string
  7063. wrstandardcode:
  7064. description: 品类代码
  7065. type: string
  7066. wrstandardid:
  7067. description: 品类ID(SEQ_WRSTANDARD)
  7068. type: integer
  7069. wrstandardname:
  7070. description: 品类名称
  7071. type: string
  7072. type: object
  7073. models.ErmcpBizGroupEx:
  7074. properties:
  7075. acclist:
  7076. description: 账号列表
  7077. items:
  7078. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  7079. type: array
  7080. bizgroupid:
  7081. description: 业务分组id
  7082. type: integer
  7083. biztype:
  7084. description: 业务类型 1-套保 2-套利
  7085. type: integer
  7086. wrlist:
  7087. description: 现货商品表
  7088. items:
  7089. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  7090. type: array
  7091. type: object
  7092. models.ErmcpBizGroupSpotGoods:
  7093. properties:
  7094. areauserid:
  7095. description: 所属机构id
  7096. type: integer
  7097. bizgroupid:
  7098. description: 分组id
  7099. type: integer
  7100. biztype:
  7101. description: 业务类型 1-套保 2-套利
  7102. type: integer
  7103. deliverygoodscode:
  7104. description: 现货商品代码
  7105. type: string
  7106. deliverygoodsid:
  7107. description: 现货商品id
  7108. type: integer
  7109. deliverygoodsname:
  7110. description: 现货商品名称
  7111. type: string
  7112. unitid:
  7113. description: 现货商品单位id
  7114. type: integer
  7115. type: object
  7116. models.ErmcpBizGroupTaAccount:
  7117. properties:
  7118. accountid:
  7119. description: 账号id
  7120. type: integer
  7121. accountname:
  7122. description: 账号名称
  7123. type: string
  7124. areauserid:
  7125. description: 所属机构id
  7126. type: integer
  7127. bizgroupid:
  7128. description: 业务分组id
  7129. type: integer
  7130. ismain:
  7131. description: 是否主账号 1-是 0-否
  7132. type: integer
  7133. type: object
  7134. models.ErmcpDGFactoryItem:
  7135. properties:
  7136. areauserid:
  7137. description: 用户id
  7138. type: integer
  7139. deliverygoodsid:
  7140. description: 现货品种ID
  7141. type: integer
  7142. dgfactoryitemid:
  7143. description: 选择项ID(SEQ_DGFACTORYITEM)
  7144. type: integer
  7145. dgfactoryitemtypeid:
  7146. description: 要素项类型
  7147. type: integer
  7148. dgfactoryitemvalue:
  7149. description: 要素项值(类型为仓库时填写仓库名称)
  7150. type: string
  7151. isvalid:
  7152. description: 是否有效 - 0:无效 1:有效
  7153. type: integer
  7154. orderindex:
  7155. description: 顺序
  7156. type: integer
  7157. warehouseid:
  7158. description: 仓库ID(类型为仓库时填写)
  7159. type: integer
  7160. type: object
  7161. models.ErmcpDeliveryGoods:
  7162. properties:
  7163. agreeunit:
  7164. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  7165. type: integer
  7166. areauserid:
  7167. description: 所属机构
  7168. type: integer
  7169. auditflag:
  7170. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  7171. type: integer
  7172. categoryid:
  7173. description: 类别ID(SEQ_WRCATEGORY)
  7174. type: integer
  7175. deliverygoodscode:
  7176. description: 现货品种代码
  7177. type: string
  7178. deliverygoodsid:
  7179. description: 现货品种ID(SEQ_DELIVERYGOODS)
  7180. type: integer
  7181. deliverygoodsname:
  7182. description: 现货品种名称
  7183. type: string
  7184. deliverygoodstype:
  7185. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  7186. type: integer
  7187. dgstatus:
  7188. description: 品种状态 - 作废 - 0:未激活 1:正常
  7189. type: integer
  7190. enumdicname:
  7191. description: 现货品种单位名称
  7192. type: string
  7193. goodsunitid:
  7194. description: 现货品种单位ID
  7195. type: integer
  7196. isvalid:
  7197. description: 是否有效 - 0:无效 1:有效
  7198. type: integer
  7199. qtydecimalplace:
  7200. description: 成交量小数位
  7201. type: integer
  7202. remark:
  7203. description: 备注
  7204. type: string
  7205. standardqty:
  7206. description: 标准数量(库位数量) [标准品特有]
  7207. type: integer
  7208. standardqtyrange:
  7209. description: 标准数量偏差范围 [标准品特有]
  7210. type: integer
  7211. type: object
  7212. models.ErmcpFuturesCompany:
  7213. properties:
  7214. brokerid:
  7215. description: 经纪公司代码
  7216. type: string
  7217. channeladdress:
  7218. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  7219. type: string
  7220. channelid:
  7221. description: 对冲渠道ID
  7222. type: string
  7223. createtime:
  7224. description: 创建时间
  7225. type: string
  7226. creatorid:
  7227. description: 创建人
  7228. type: string
  7229. fcid:
  7230. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  7231. type: integer
  7232. fcname:
  7233. description: 期货公司名称
  7234. type: string
  7235. isvalid:
  7236. description: 是否有效 - 0:无效 1:有效
  7237. type: integer
  7238. mhpaddress:
  7239. description: MHP服务地址(IP:Port)
  7240. type: string
  7241. riskrulegroupid:
  7242. description: 风控规则组ID
  7243. type: string
  7244. tradefeetmpid:
  7245. description: 手续费模板ID[TradeConfigTmpType为2]
  7246. type: string
  7247. trademargintmpid:
  7248. description: 保证金模板ID [TradeConfigTmpType为1]
  7249. type: string
  7250. traderatetmpid:
  7251. description: 汇率模板ID[TradeConfigTmpType为3]
  7252. type: string
  7253. updatetime:
  7254. description: 更新时间
  7255. type: string
  7256. updatorid:
  7257. description: 更新人
  7258. type: string
  7259. type: object
  7260. models.ErmcpGGConvertCfg:
  7261. properties:
  7262. convertratio:
  7263. description: 折算系数
  7264. type: number
  7265. destgoodsgroupid:
  7266. description: 目标品种ID
  7267. type: integer
  7268. dstcode:
  7269. description: 目录品种代码
  7270. type: string
  7271. dstexchangecode:
  7272. description: 目标期货交易所
  7273. type: string
  7274. dstname:
  7275. description: 目标品种名称
  7276. type: string
  7277. dstunitid:
  7278. description: 目标品种单位ID
  7279. type: integer
  7280. dstunitidname:
  7281. description: 目标品种单位名称
  7282. type: string
  7283. modifytime:
  7284. description: 修改时间
  7285. type: string
  7286. srccode:
  7287. description: 源品种代码
  7288. type: string
  7289. srcexchangecode:
  7290. description: 源期货交易所
  7291. type: string
  7292. srcgoodsgroupid:
  7293. description: 源品种ID
  7294. type: integer
  7295. srcname:
  7296. description: 源品种名称
  7297. type: string
  7298. srcunitid:
  7299. description: 源品种单位ID
  7300. type: integer
  7301. srcunitidname:
  7302. description: 源品种单位名称
  7303. type: string
  7304. type: object
  7305. models.ErmcpGoods:
  7306. properties:
  7307. agreeunit:
  7308. description: 合约单位
  7309. type: number
  7310. areauserid:
  7311. description: 所属机构
  7312. type: integer
  7313. auditaccountid:
  7314. description: 审核操作员账号
  7315. type: integer
  7316. audittime:
  7317. description: 审核时间
  7318. type: string
  7319. cancelaccountid:
  7320. description: 注销操作员账号
  7321. type: integer
  7322. canceltime:
  7323. description: 注销时间
  7324. type: string
  7325. closepricemode:
  7326. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7327. type: integer
  7328. closepriceparam:
  7329. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7330. type: number
  7331. createtime:
  7332. description: 创建时间
  7333. type: string
  7334. creatorid:
  7335. description: 创建人
  7336. type: integer
  7337. currencyid:
  7338. description: 报价货币ID
  7339. type: integer
  7340. cutmode:
  7341. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7342. type: integer
  7343. decimalplace:
  7344. description: 报价小数位
  7345. type: integer
  7346. delistingdate:
  7347. description: 商品退市时间(状态:退市) -- 已作废
  7348. type: string
  7349. delistingmode:
  7350. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7351. type: integer
  7352. deliveryflag:
  7353. description: 交割标志 - 0:不可交割 1:可交割
  7354. type: integer
  7355. enumdicname:
  7356. description: 单位名称
  7357. type: string
  7358. forceclosemode:
  7359. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7360. type: integer
  7361. forceclosevalue:
  7362. description: 定期强平参数 [收益权]
  7363. type: integer
  7364. goodscode:
  7365. description: 商品代码(内部)
  7366. type: string
  7367. goodscurrencyid:
  7368. description: 合约货币ID
  7369. type: integer
  7370. goodsgroupid:
  7371. description: 所属商品组ID
  7372. type: integer
  7373. goodsid:
  7374. description: 商品ID(自增ID SEQ_GOODS)
  7375. type: integer
  7376. goodsname:
  7377. description: 商品名称
  7378. type: string
  7379. goodsquotetype:
  7380. description: '合约报价类型: 1-直接报价 2-间接报价'
  7381. type: integer
  7382. goodsstatus:
  7383. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7384. type: integer
  7385. goodstradetype:
  7386. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7387. type: integer
  7388. goodunitid:
  7389. description: 报价单位ID
  7390. type: integer
  7391. hasquoter:
  7392. description: 是否有报价商 - 0:无报价商 1:有报价商
  7393. type: integer
  7394. hqprotecttime:
  7395. description: 行情保护时间(秒)
  7396. type: integer
  7397. innerdealmode:
  7398. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7399. type: integer
  7400. isbuylimited:
  7401. description: 是否限制建仓量 - 0:不限制 1:限制
  7402. type: integer
  7403. isvisible:
  7404. description: 游客是否可见 - 0:不可见 1:可见
  7405. type: integer
  7406. lasttradedate:
  7407. description: 最后交易日期(状态:待退市)
  7408. type: string
  7409. listingdate:
  7410. description: 交易开始日期
  7411. type: string
  7412. marketid:
  7413. description: 所属市场ID
  7414. type: integer
  7415. modifierid:
  7416. description: 修改人
  7417. type: integer
  7418. modifystatus:
  7419. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7420. type: integer
  7421. modifytime:
  7422. description: 修改时间
  7423. type: string
  7424. outerdealmode:
  7425. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7426. type: integer
  7427. outgoodscode:
  7428. description: 商品代码(外部)
  7429. type: string
  7430. pictureurl:
  7431. description: 商品图片
  7432. type: string
  7433. qtydecimalplace:
  7434. description: 成交量小数位
  7435. type: integer
  7436. quotegear:
  7437. description: 行情档位(1-10)
  7438. type: integer
  7439. quoteminunit:
  7440. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7441. type: integer
  7442. quoteshowtype:
  7443. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7444. type: integer
  7445. quoteshowtypeinterval:
  7446. description: 行情报价间隔时间(秒)(成交价时为0)
  7447. type: integer
  7448. relatedgoodsid:
  7449. description: 关联参考商品ID
  7450. type: integer
  7451. remark:
  7452. description: 备注
  7453. type: string
  7454. trademode:
  7455. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7456. 21:竞拍-大宗式 22:受托竞价
  7457. type: integer
  7458. required:
  7459. - goodscode
  7460. - goodsid
  7461. - goodsname
  7462. - marketid
  7463. type: object
  7464. models.ErmcpGoodsBrand:
  7465. properties:
  7466. areauserid:
  7467. description: 所属机构
  7468. type: integer
  7469. brandid:
  7470. description: BrandID(SEQ_SPOTGOODSBRAND)
  7471. type: integer
  7472. brandname:
  7473. description: 品牌名称
  7474. type: string
  7475. createtime:
  7476. description: 创建时间
  7477. type: string
  7478. creatorid:
  7479. description: 创建人
  7480. type: integer
  7481. creatorsrc:
  7482. description: 创建人来源 - 1:管理端 2:终端
  7483. type: integer
  7484. deliverygoodsid:
  7485. description: 现货品种ID
  7486. type: integer
  7487. isvalid:
  7488. description: 是否有效 - 0:无效 1:有效
  7489. type: integer
  7490. updatetime:
  7491. description: 更新时间
  7492. type: string
  7493. updatorid:
  7494. description: 更新人
  7495. type: integer
  7496. updatorsrc:
  7497. description: 更新人来源 - 1:管理端 2:终端
  7498. type: integer
  7499. wrstandardid:
  7500. description: 现货商品ID
  7501. type: integer
  7502. type: object
  7503. models.ErmcpGoodsModel:
  7504. properties:
  7505. areauserid:
  7506. description: 所属机构
  7507. type: integer
  7508. convertfactor:
  7509. description: 标仓系数
  7510. type: number
  7511. createtime:
  7512. description: 创建时间
  7513. type: string
  7514. creatorid:
  7515. description: 创建人
  7516. type: integer
  7517. creatorsrc:
  7518. description: 创建人来源 - 1:管理端 2:终端
  7519. type: integer
  7520. deliverygoodsid:
  7521. description: 现货品种ID
  7522. type: integer
  7523. isvalid:
  7524. description: 是否有效 - 0:无效 1:有效
  7525. type: integer
  7526. modelid:
  7527. description: ModelID(SEQ_SPOTGOODSMODEL)
  7528. type: integer
  7529. modelname:
  7530. description: 型号名称
  7531. type: string
  7532. updatetime:
  7533. description: 更新时间
  7534. type: string
  7535. updatorid:
  7536. description: 更新人
  7537. type: integer
  7538. updatorsrc:
  7539. description: 更新人来源 - 1:管理端 2:终端
  7540. type: integer
  7541. wrstandardid:
  7542. description: 现货商品ID
  7543. type: integer
  7544. type: object
  7545. models.ErmcpHisExposure:
  7546. properties:
  7547. needhedgeexposoure:
  7548. description: 应套保敞口
  7549. type: number
  7550. reckondate:
  7551. description: 日照时期(yyyyMMdd)
  7552. type: string
  7553. totalexposure:
  7554. description: 总敞口
  7555. type: number
  7556. type: object
  7557. models.ErmcpLoginTaAccount:
  7558. properties:
  7559. accountid:
  7560. description: 账号id
  7561. type: integer
  7562. accountname:
  7563. description: 账号名称
  7564. type: string
  7565. type: object
  7566. models.ErmcpLoginUser:
  7567. properties:
  7568. acclist:
  7569. description: 关联资金账号
  7570. items:
  7571. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  7572. type: array
  7573. accountname:
  7574. description: 用户名称
  7575. type: string
  7576. clientroleid:
  7577. description: 角色id(usertype=2)
  7578. type: integer
  7579. createtime:
  7580. description: 创建时间
  7581. type: string
  7582. logincode:
  7583. description: 登录代码
  7584. type: string
  7585. loginid:
  7586. description: 登录id(LOGINID)
  7587. type: integer
  7588. loginname:
  7589. description: 登录名称(loginaccount表中的accountname字段)
  7590. type: string
  7591. loginstatus:
  7592. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  7593. type: integer
  7594. memberuserid:
  7595. description: 所属会员id
  7596. type: integer
  7597. mobile:
  7598. description: 手机号
  7599. type: string
  7600. modifytime:
  7601. description: 修改时间
  7602. type: string
  7603. password:
  7604. description: 密码(不可解密)
  7605. type: string
  7606. rolename:
  7607. description: 角色名称
  7608. type: string
  7609. rolestatus:
  7610. description: 角色状态 1-启用 2-停用
  7611. type: integer
  7612. roletype:
  7613. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  7614. type: string
  7615. userid:
  7616. description: 用户id
  7617. type: integer
  7618. usertype:
  7619. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  7620. type: integer
  7621. type: object
  7622. models.ErmcpLoginUserEx:
  7623. properties:
  7624. accountstatus:
  7625. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  7626. type: integer
  7627. mobile:
  7628. description: 手机号
  7629. type: string
  7630. querytype:
  7631. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  7632. type: integer
  7633. roleid:
  7634. description: 角色id(交易账户->用户id)
  7635. type: integer
  7636. rolename:
  7637. description: 角色名称(交易账户->用户名称)
  7638. type: string
  7639. userlist:
  7640. description: 用户列表
  7641. items:
  7642. $ref: '#/definitions/models.ErmcpLoginUser'
  7643. type: array
  7644. usertype:
  7645. description: 用户类型 2-机构 7-企业成员(云平台)
  7646. type: integer
  7647. type: object
  7648. models.ErmcpMiddleGoodsModel:
  7649. properties:
  7650. areauserid:
  7651. description: 机构用户ID
  7652. type: integer
  7653. createtime:
  7654. description: 修改时间
  7655. type: string
  7656. enumdicname:
  7657. description: 单位名称
  7658. type: string
  7659. evaluateratio:
  7660. description: 估价系数
  7661. type: number
  7662. goodsgroupid:
  7663. description: 关联期货品种ID
  7664. type: integer
  7665. goodsunitid:
  7666. description: 单位ID
  7667. type: integer
  7668. isvalid:
  7669. description: 状态 0-无效(停用) 1-有效(正常)
  7670. type: integer
  7671. middlegoodscode:
  7672. description: 套保品种代码
  7673. type: string
  7674. middlegoodsid:
  7675. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  7676. type: integer
  7677. middlegoodsname:
  7678. description: 套保品种名称
  7679. type: string
  7680. modifytime:
  7681. description: 修改时间
  7682. type: string
  7683. needarbitrageratio:
  7684. description: 套利比例
  7685. type: number
  7686. needhedgeratio:
  7687. description: 套保比率
  7688. type: number
  7689. qtydecimalplace:
  7690. description: 数量小数位
  7691. type: integer
  7692. relatedgoodsid:
  7693. description: 关联交易商品ID
  7694. type: integer
  7695. relatedgoodstype:
  7696. description: 关联商品类型 - 1:期货合约 2:现货品种
  7697. type: integer
  7698. remark:
  7699. description: 备注
  7700. type: string
  7701. type: object
  7702. models.ErmcpMiddlegoodsRelateGoods:
  7703. properties:
  7704. agreeunit:
  7705. description: 合约乘数
  7706. type: number
  7707. convertratio:
  7708. description: 折算系数
  7709. type: number
  7710. enumdicname:
  7711. description: 单位名称(交易商品)
  7712. type: string
  7713. goodscode:
  7714. description: 交易商品代码
  7715. type: string
  7716. goodsgroupid:
  7717. description: 交易品种id
  7718. type: integer
  7719. goodsid:
  7720. description: 商品Id
  7721. type: integer
  7722. goodsname:
  7723. description: 交易商品名称
  7724. type: string
  7725. goodunitid:
  7726. description: 交易商品单位id
  7727. type: integer
  7728. middlegoodsid:
  7729. description: 套保商品id
  7730. type: integer
  7731. middlegoodsname:
  7732. description: 套保商品名称
  7733. type: string
  7734. middlegoodsswcode:
  7735. description: 套保商品代码
  7736. type: string
  7737. needarbitrageratio:
  7738. description: 应套利比例
  7739. type: number
  7740. needhedgeratio:
  7741. description: 应套保比例
  7742. type: number
  7743. type: object
  7744. models.ErmcpRole:
  7745. properties:
  7746. areauserid:
  7747. description: 所属机构
  7748. type: integer
  7749. autoid:
  7750. description: 角色ID(自增ID)
  7751. type: integer
  7752. modifierid:
  7753. description: 修改人(创建人)
  7754. type: integer
  7755. modifiername:
  7756. description: 修改人名称
  7757. type: string
  7758. modifytime:
  7759. description: 修改时间(创建时间)
  7760. type: string
  7761. rolename:
  7762. description: 角色名称
  7763. type: string
  7764. rolestatus:
  7765. description: 角色状态 - 1:启用 2:停用
  7766. type: integer
  7767. roletype:
  7768. description: 角色类型 - 1- 管理端 2- 交易端
  7769. type: integer
  7770. type: object
  7771. models.ErmcpRoleMenu:
  7772. properties:
  7773. iconame:
  7774. description: 菜单图标
  7775. type: string
  7776. ishadrole:
  7777. description: 是否有权限
  7778. type: boolean
  7779. menutype:
  7780. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  7781. type: integer
  7782. parentcode:
  7783. description: 上级资源代码
  7784. type: string
  7785. remark:
  7786. description: 菜单备注
  7787. type: string
  7788. resourcecode:
  7789. description: 菜单代码
  7790. type: string
  7791. resourcelevel:
  7792. description: 级别
  7793. type: integer
  7794. resourcename:
  7795. description: 菜单名称
  7796. type: string
  7797. roleid:
  7798. description: 角色id
  7799. type: integer
  7800. sort:
  7801. description: 排序
  7802. type: integer
  7803. url:
  7804. description: URL
  7805. type: string
  7806. userid:
  7807. description: 用户id
  7808. type: integer
  7809. type: object
  7810. models.ErmcpRoleMenuEx:
  7811. properties:
  7812. menu:
  7813. $ref: '#/definitions/models.ErmcpRoleMenu'
  7814. description: 父级菜单
  7815. subMenu:
  7816. description: 子级菜单
  7817. items:
  7818. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  7819. type: array
  7820. type: object
  7821. models.ErmcpTaAccount:
  7822. properties:
  7823. accountid:
  7824. description: 账户id
  7825. type: integer
  7826. accountname:
  7827. description: 账户名称
  7828. type: string
  7829. currencyid:
  7830. description: 币种id
  7831. type: integer
  7832. hedgeaccountcode:
  7833. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7834. type: string
  7835. ismain:
  7836. description: 是否主账户 0-否 1-是
  7837. type: integer
  7838. parentaccountid:
  7839. description: 父账户id
  7840. type: integer
  7841. relateduserid:
  7842. description: 关联userid
  7843. type: integer
  7844. tradefeetmpid:
  7845. description: 手续费模板id
  7846. type: integer
  7847. tradefeetmpname:
  7848. description: 手续费模板名称
  7849. type: string
  7850. trademargintmpid:
  7851. description: 保证金模板id
  7852. type: integer
  7853. trademargintmpname:
  7854. description: 保证金模板名称
  7855. type: string
  7856. traderatetmpid:
  7857. description: 汇率模板id
  7858. type: integer
  7859. traderatetmpname:
  7860. description: 汇率模板名称
  7861. type: string
  7862. tradestatus:
  7863. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7864. type: integer
  7865. userid:
  7866. description: 用户id
  7867. type: integer
  7868. type: object
  7869. models.ErmcpTaAccountEx:
  7870. properties:
  7871. mainAcc:
  7872. $ref: '#/definitions/models.ErmcpTaAccountM'
  7873. description: 主账号
  7874. subacclist:
  7875. description: 子账号列表
  7876. items:
  7877. $ref: '#/definitions/models.ErmcpTaAccount'
  7878. type: array
  7879. type: object
  7880. models.ErmcpTaAccountInfo:
  7881. properties:
  7882. accountid:
  7883. description: 资金账户ID
  7884. type: integer
  7885. accountname:
  7886. description: 账户名称
  7887. type: string
  7888. balance:
  7889. description: 期初余额
  7890. type: number
  7891. capitalbalance:
  7892. description: 本金余额[外部子账户实际出入金余额]
  7893. type: number
  7894. closepl:
  7895. description: 今日平仓盈亏
  7896. type: number
  7897. creditdecrease:
  7898. description: 今日授信减少
  7899. type: number
  7900. creditincrease:
  7901. description: 今日授信增加
  7902. type: number
  7903. curdebt:
  7904. description: 期末欠款
  7905. type: number
  7906. currencyid:
  7907. description: 货币ID
  7908. type: integer
  7909. currentbalance:
  7910. description: 期末余额
  7911. type: number
  7912. freezecharge:
  7913. description: 手续费冻结
  7914. type: number
  7915. freezemargin:
  7916. description: 冻结保证金
  7917. type: number
  7918. fromaccountid:
  7919. description: 所属上级账户
  7920. type: integer
  7921. inamount:
  7922. description: 今日入金金额(包括三方入金)
  7923. type: number
  7924. ismain:
  7925. description: 是否母账号 0:不是母账户 1:是母账户
  7926. type: integer
  7927. mortgagecredit:
  7928. description: 授信金额
  7929. type: number
  7930. oridebt:
  7931. description: 期初欠款
  7932. type: number
  7933. orifreezecharge:
  7934. description: 期初手续费冻结
  7935. type: number
  7936. orifreezemargin:
  7937. description: 期初冻结保证金
  7938. type: number
  7939. orimortgagecredit:
  7940. description: 期初授信金额
  7941. type: number
  7942. oriothercredit:
  7943. description: 期初其它授信金额
  7944. type: number
  7945. oriotherfreezemargin:
  7946. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  7947. type: number
  7948. orioutamountfreeze:
  7949. description: 期初出金冻结
  7950. type: number
  7951. oriusedmargin:
  7952. description: 期初占用保证金
  7953. type: number
  7954. othercredit:
  7955. description: 其它授信金额
  7956. type: number
  7957. othercreditdecrease:
  7958. description: 今日其它授信减少
  7959. type: number
  7960. othercreditincrease:
  7961. description: 今日其它授信增加
  7962. type: number
  7963. otherfreezemargin:
  7964. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  7965. type: number
  7966. outamount:
  7967. description: 今日出金金额(包括三方出金)
  7968. type: number
  7969. outamountfreeze:
  7970. description: 出金冻结
  7971. type: number
  7972. outthreshold:
  7973. description: 出金阈值
  7974. type: number
  7975. parentaccountid:
  7976. description: 所属根账号
  7977. type: integer
  7978. paycharge:
  7979. description: 今日手续费支出
  7980. type: number
  7981. relateduserid:
  7982. description: 关联用户
  7983. type: integer
  7984. signstatus:
  7985. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  7986. type: integer
  7987. sublevelpath:
  7988. description: 账号层级路径(逗号分隔,首尾加逗号)
  7989. type: string
  7990. taaccounttype:
  7991. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  7992. type: integer
  7993. thirdinamount:
  7994. description: 今日三方入金
  7995. type: number
  7996. thirdoutamount:
  7997. description: 今日三方出金
  7998. type: number
  7999. tradestatus:
  8000. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  8001. type: integer
  8002. transferamount:
  8003. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  8004. type: number
  8005. usedmargin:
  8006. description: 占用保证金
  8007. type: number
  8008. userid:
  8009. description: 用户ID
  8010. type: integer
  8011. type: object
  8012. models.ErmcpTaAccountM:
  8013. properties:
  8014. accountid:
  8015. description: 账户id
  8016. type: integer
  8017. accountname:
  8018. description: 账户名称
  8019. type: string
  8020. currencyid:
  8021. description: 币种id
  8022. type: integer
  8023. fcid:
  8024. description: 期货公司id
  8025. type: integer
  8026. fcname:
  8027. description: 期货公司代码
  8028. type: string
  8029. hedgeaccountcode:
  8030. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  8031. type: string
  8032. ismain:
  8033. description: 是否主账户 0-否 1-是
  8034. type: integer
  8035. parentaccountid:
  8036. description: 父账户id
  8037. type: integer
  8038. relateduserid:
  8039. description: 关联userid
  8040. type: integer
  8041. tradefeetmpid:
  8042. description: 手续费模板id
  8043. type: integer
  8044. tradefeetmpname:
  8045. description: 手续费模板名称
  8046. type: string
  8047. trademargintmpid:
  8048. description: 保证金模板id
  8049. type: integer
  8050. trademargintmpname:
  8051. description: 保证金模板名称
  8052. type: string
  8053. traderatetmpid:
  8054. description: 汇率模板id
  8055. type: integer
  8056. traderatetmpname:
  8057. description: 汇率模板名称
  8058. type: string
  8059. tradestatus:
  8060. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  8061. type: integer
  8062. userid:
  8063. description: 用户id
  8064. type: integer
  8065. type: object
  8066. models.ErmcpTradeConfigTMP:
  8067. properties:
  8068. areauserid:
  8069. description: 所属机构
  8070. type: integer
  8071. basiccurrencyid:
  8072. description: 基本币种ID[汇率] - 目标币种
  8073. type: integer
  8074. mainaccountid:
  8075. description: 主账户ID
  8076. type: integer
  8077. modifierid:
  8078. description: 修改人
  8079. type: integer
  8080. remark:
  8081. description: 备注
  8082. type: string
  8083. tradeconfigtmpid:
  8084. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  8085. type: integer
  8086. tradeconfigtmpname:
  8087. description: 交易配置模板名称
  8088. type: string
  8089. tradeconfigtmptype:
  8090. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  8091. type: integer
  8092. updatetime:
  8093. description: 更新时间
  8094. type: string
  8095. type: object
  8096. models.Externalexchange:
  8097. properties:
  8098. autoid:
  8099. description: AutoID - SEQ_EXTERNALEXCHANGE
  8100. type: integer
  8101. exchangefullname:
  8102. description: 外部交易所全称
  8103. type: string
  8104. exexchangecode:
  8105. description: 外部交易所代码
  8106. type: string
  8107. exexchangename:
  8108. description: 外部交易所名称(简称)
  8109. type: string
  8110. ismarketprice:
  8111. description: 是否支持市价 - 0:不支持 1:支持
  8112. type: integer
  8113. quotegear:
  8114. description: 行情档位(1-10)
  8115. type: integer
  8116. showbrokerflag:
  8117. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  8118. type: integer
  8119. updatetime:
  8120. description: 更新时间
  8121. type: string
  8122. required:
  8123. - autoid
  8124. type: object
  8125. models.Funcmenulist:
  8126. properties:
  8127. iconame:
  8128. description: 菜单图标
  8129. type: string
  8130. menutype:
  8131. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  8132. type: integer
  8133. parentcode:
  8134. description: 上级资源代码
  8135. type: string
  8136. remark:
  8137. description: 备注
  8138. type: string
  8139. resourcecode:
  8140. description: 资源代码
  8141. type: string
  8142. resourcelevel:
  8143. description: 级别 1-一级 2-二级 3-三级 4-四级
  8144. type: integer
  8145. resourcename:
  8146. description: 资源名
  8147. type: string
  8148. sort:
  8149. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  8150. type: integer
  8151. url:
  8152. description: URL
  8153. type: string
  8154. required:
  8155. - resourcecode
  8156. type: object
  8157. models.Goods:
  8158. properties:
  8159. agreeunit:
  8160. description: 合约单位
  8161. type: number
  8162. areauserid:
  8163. description: 所属机构
  8164. type: integer
  8165. auditaccountid:
  8166. description: 审核操作员账号
  8167. type: integer
  8168. audittime:
  8169. description: 审核时间
  8170. type: string
  8171. cancelaccountid:
  8172. description: 注销操作员账号
  8173. type: integer
  8174. canceltime:
  8175. description: 注销时间
  8176. type: string
  8177. closepricemode:
  8178. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8179. type: integer
  8180. closepriceparam:
  8181. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8182. type: number
  8183. createtime:
  8184. description: 创建时间
  8185. type: string
  8186. creatorid:
  8187. description: 创建人
  8188. type: integer
  8189. currencyid:
  8190. description: 报价货币ID
  8191. type: integer
  8192. cutmode:
  8193. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8194. type: integer
  8195. decimalplace:
  8196. description: 报价小数位
  8197. type: integer
  8198. delistingdate:
  8199. description: 商品退市时间(状态:退市) -- 已作废
  8200. type: string
  8201. delistingmode:
  8202. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8203. type: integer
  8204. deliveryflag:
  8205. description: 交割标志 - 0:不可交割 1:可交割
  8206. type: integer
  8207. forceclosemode:
  8208. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8209. type: integer
  8210. forceclosevalue:
  8211. description: 定期强平参数 [收益权]
  8212. type: integer
  8213. goodscode:
  8214. description: 商品代码(内部)
  8215. type: string
  8216. goodscurrencyid:
  8217. description: 合约货币ID
  8218. type: integer
  8219. goodsgroupid:
  8220. description: 所属商品组ID
  8221. type: integer
  8222. goodsid:
  8223. description: 商品ID(自增ID SEQ_GOODS)
  8224. type: integer
  8225. goodsname:
  8226. description: 商品名称
  8227. type: string
  8228. goodsquotetype:
  8229. description: '合约报价类型: 1-直接报价 2-间接报价'
  8230. type: integer
  8231. goodsstatus:
  8232. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8233. type: integer
  8234. goodstradetype:
  8235. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8236. type: integer
  8237. goodunitid:
  8238. description: 报价单位ID
  8239. type: integer
  8240. hasquoter:
  8241. description: 是否有报价商 - 0:无报价商 1:有报价商
  8242. type: integer
  8243. hqprotecttime:
  8244. description: 行情保护时间(秒)
  8245. type: integer
  8246. innerdealmode:
  8247. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8248. type: integer
  8249. isbuylimited:
  8250. description: 是否限制建仓量 - 0:不限制 1:限制
  8251. type: integer
  8252. isvisible:
  8253. description: 游客是否可见 - 0:不可见 1:可见
  8254. type: integer
  8255. lasttradedate:
  8256. description: 最后交易日期(状态:待退市)
  8257. type: string
  8258. listingdate:
  8259. description: 交易开始日期
  8260. type: string
  8261. marketid:
  8262. description: 所属市场ID
  8263. type: integer
  8264. modifierid:
  8265. description: 修改人
  8266. type: integer
  8267. modifystatus:
  8268. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8269. type: integer
  8270. modifytime:
  8271. description: 修改时间
  8272. type: string
  8273. outerdealmode:
  8274. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8275. type: integer
  8276. outgoodscode:
  8277. description: 商品代码(外部)
  8278. type: string
  8279. pictureurl:
  8280. description: 商品图片
  8281. type: string
  8282. qtydecimalplace:
  8283. description: 成交量小数位
  8284. type: integer
  8285. quotegear:
  8286. description: 行情档位(1-10)
  8287. type: integer
  8288. quoteminunit:
  8289. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8290. type: integer
  8291. quoteshowtype:
  8292. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8293. type: integer
  8294. quoteshowtypeinterval:
  8295. description: 行情报价间隔时间(秒)(成交价时为0)
  8296. type: integer
  8297. remark:
  8298. description: 备注
  8299. type: string
  8300. required:
  8301. - goodscode
  8302. - goodsid
  8303. - goodsname
  8304. - marketid
  8305. type: object
  8306. models.GoodsIDAndName:
  8307. properties:
  8308. goodscode:
  8309. description: 商品代码(内部)
  8310. type: string
  8311. goodsid:
  8312. description: 商品ID(自增ID SEQ_GOODS)
  8313. type: integer
  8314. goodsname:
  8315. description: 商品名称
  8316. type: string
  8317. marketid:
  8318. description: 所属市场ID
  8319. type: integer
  8320. required:
  8321. - goodscode
  8322. - goodsid
  8323. - goodsname
  8324. - marketid
  8325. type: object
  8326. models.Goodsgroup:
  8327. properties:
  8328. agreeunit:
  8329. description: 合约单位
  8330. type: number
  8331. canshort:
  8332. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  8333. type: integer
  8334. closepricemode:
  8335. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8336. type: integer
  8337. closepriceparam:
  8338. description: 强平最新价浮动比例 - 方式为2时使用
  8339. type: number
  8340. createtime:
  8341. description: 创建时间
  8342. type: string
  8343. creatorid:
  8344. description: 创建人
  8345. type: integer
  8346. currencyid:
  8347. description: 报价货币ID
  8348. type: integer
  8349. decimalplace:
  8350. description: 报价小数位
  8351. type: integer
  8352. exercisetype:
  8353. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  8354. type: integer
  8355. exexchangeid:
  8356. description: 外部交易所ID[通道交易]
  8357. type: integer
  8358. goodsgroupid:
  8359. description: 商品组ID(自增ID)
  8360. type: integer
  8361. goodsgroupname:
  8362. description: 商品组名称
  8363. type: string
  8364. goodsgroupstatus:
  8365. description: 商品组状态 - 1:正常 2:注销
  8366. type: integer
  8367. goodunitid:
  8368. description: 报价单位ID
  8369. type: integer
  8370. innerdealmode:
  8371. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8372. type: integer
  8373. isbuylimited:
  8374. description: 是否限制建仓量 - 0:不限制 1:限制
  8375. type: integer
  8376. marketid:
  8377. description: 所属市场ID
  8378. type: integer
  8379. modifierid:
  8380. description: 修改人
  8381. type: integer
  8382. modifytime:
  8383. description: 修改时间
  8384. type: string
  8385. outerdealmode:
  8386. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8387. type: integer
  8388. outergroupcode:
  8389. description: 外部商品组代码[通道交易]
  8390. type: string
  8391. premiumdecimalplace:
  8392. description: 权利金小数位[场外期权]
  8393. type: integer
  8394. premiumspreadalgorithm:
  8395. description: 权利金点差方式[场外期权] 1:比率 2:固定
  8396. type: integer
  8397. premiumspreadvalue:
  8398. description: 权利金点差值[场外期权]
  8399. type: number
  8400. qtydecimalplace:
  8401. description: 成交量小数位
  8402. type: integer
  8403. quotegear:
  8404. description: 行情档位(1-10)
  8405. type: integer
  8406. quoteminunit:
  8407. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8408. type: integer
  8409. quoterid:
  8410. description: 报价商ID[场外期权]
  8411. type: integer
  8412. quotesourcegroupid:
  8413. description: 所属行情源分组ID[参考行情市场用\通道交易]
  8414. type: integer
  8415. syncgoodsqty:
  8416. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  8417. type: integer
  8418. required:
  8419. - goodsgroupid
  8420. - goodsgroupname
  8421. - goodsgroupstatus
  8422. - marketid
  8423. type: object
  8424. models.Goodssortbypreposition:
  8425. properties:
  8426. goodscode:
  8427. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  8428. type: string
  8429. goodsgroupcode:
  8430. description: 品种代码
  8431. type: string
  8432. prepositionqty:
  8433. description: 昨持仓量
  8434. type: integer
  8435. sortindex:
  8436. description: 排序
  8437. type: integer
  8438. tradedate:
  8439. description: 交易日
  8440. type: string
  8441. updatetime:
  8442. description: 更新时间
  8443. type: string
  8444. required:
  8445. - goodscode
  8446. - tradedate
  8447. type: object
  8448. models.Hedgeinnerholderdetail:
  8449. properties:
  8450. accountid:
  8451. description: 账号ID
  8452. type: integer
  8453. buyorsell:
  8454. description: 方向 - 0:买 1:卖
  8455. type: integer
  8456. freezeqty:
  8457. description: 冻结数量 - 按单平使用
  8458. type: integer
  8459. goodsid:
  8460. description: 商品ID
  8461. type: integer
  8462. holderamount:
  8463. description: 持仓金额 [商品币种]
  8464. type: number
  8465. holderdays:
  8466. description: 剩余冻结天数
  8467. type: integer
  8468. holderprice:
  8469. description: 持仓价格
  8470. type: number
  8471. holderqty:
  8472. description: 持仓数量
  8473. type: integer
  8474. marketid:
  8475. description: 市场ID
  8476. type: integer
  8477. openprice:
  8478. description: 建仓价格
  8479. type: number
  8480. openqty:
  8481. description: 建仓数量
  8482. type: integer
  8483. parentaccountid:
  8484. description: 所属母账户
  8485. type: integer
  8486. releaseamount:
  8487. description: 释放持仓金额[商品币种]
  8488. type: number
  8489. tradeamount:
  8490. description: 成交金额[账户]
  8491. type: number
  8492. tradedate:
  8493. description: 交易日(yyyyMMdd)
  8494. type: string
  8495. tradeid:
  8496. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8497. type: string
  8498. tradetime:
  8499. description: 交易时间
  8500. type: string
  8501. required:
  8502. - buyorsell
  8503. - tradeid
  8504. type: object
  8505. models.Hedgemarketopenlog:
  8506. properties:
  8507. accountid:
  8508. description: 资金账号[外部母账户]
  8509. type: integer
  8510. fcname:
  8511. description: 期货公司名称
  8512. type: string
  8513. handlestatus:
  8514. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  8515. type: integer
  8516. marketid:
  8517. description: 市场ID
  8518. type: integer
  8519. status:
  8520. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  8521. type: integer
  8522. tradedate:
  8523. description: 交易日(yyyyMMdd)
  8524. type: string
  8525. updatetime:
  8526. description: 更新时间
  8527. type: string
  8528. required:
  8529. - accountid
  8530. type: object
  8531. models.HsbyBuyMyPayOrder:
  8532. properties:
  8533. agreeunit:
  8534. description: 合约单位
  8535. type: number
  8536. buyaccountid:
  8537. description: 买方账号ID[报价币种]
  8538. type: integer
  8539. buyorderid:
  8540. description: 买方委托单号
  8541. type: string
  8542. createtime:
  8543. description: 创建时间
  8544. type: string
  8545. currencysign:
  8546. description: 货币符号
  8547. type: string
  8548. decimalplace:
  8549. description: 报价小数位
  8550. type: integer
  8551. goodscode:
  8552. description: 商品代码(内部)
  8553. type: string
  8554. goodsid:
  8555. description: 商品ID
  8556. type: integer
  8557. goodsname:
  8558. description: 商品名称
  8559. type: string
  8560. marketid:
  8561. description: 市场ID
  8562. type: integer
  8563. offamount:
  8564. description: 优惠金额
  8565. type: number
  8566. originalamount:
  8567. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  8568. type: number
  8569. payamount:
  8570. description: 支付金额 = TradeAmount + TradeCharge
  8571. type: number
  8572. payflag:
  8573. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8574. type: integer
  8575. paylimitedtime:
  8576. description: 支付期限
  8577. type: string
  8578. paytime:
  8579. description: 付款时间
  8580. type: string
  8581. picurls1:
  8582. description: 预售商品介绍图片[多张用逗号分隔]
  8583. type: string
  8584. picurls2:
  8585. description: 挂牌商品介绍图片[多张用逗号分隔]
  8586. type: string
  8587. sellaccountid:
  8588. description: 卖方账号ID[报价币种]
  8589. type: integer
  8590. sellorderid:
  8591. description: 卖方委托单号
  8592. type: string
  8593. tradeamount:
  8594. description: 成交金额
  8595. type: number
  8596. tradecharge:
  8597. description: 成交手续费(买方)
  8598. type: number
  8599. tradedate:
  8600. description: 交易日(yyyyMMdd)
  8601. type: string
  8602. tradeid:
  8603. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8604. type: string
  8605. trademode:
  8606. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8607. 21:竞拍-大宗式 22:受托竞价
  8608. type: integer
  8609. tradeprice:
  8610. description: 成交价格
  8611. type: number
  8612. tradeqty:
  8613. description: 成交数量
  8614. type: integer
  8615. vendorname1:
  8616. description: 预售商品供应商名称
  8617. type: string
  8618. vendorname2:
  8619. description: 挂牌商品供应商名称
  8620. type: string
  8621. required:
  8622. - goodscode
  8623. - goodsname
  8624. - tradeid
  8625. - trademode
  8626. type: object
  8627. models.HsbyBuyMyTradeDetail:
  8628. properties:
  8629. accountid:
  8630. description: 账户ID[报价币种]
  8631. type: integer
  8632. agreeunit:
  8633. description: 合约单位
  8634. type: number
  8635. amount:
  8636. description: 金额 = 价格 * 数量 * 合约单位
  8637. type: number
  8638. buyorsell:
  8639. description: 买卖 - 0:买 1:卖
  8640. type: integer
  8641. currencysign:
  8642. description: 货币符号
  8643. type: string
  8644. decimalplace:
  8645. description: 报价小数位
  8646. type: integer
  8647. goodscode:
  8648. description: 商品代码(内部)
  8649. type: string
  8650. goodsid:
  8651. description: 商品ID
  8652. type: integer
  8653. goodsname:
  8654. description: 商品名称
  8655. type: string
  8656. marketid:
  8657. description: 市场ID
  8658. type: integer
  8659. orderamount:
  8660. description: 委托金额
  8661. type: number
  8662. orderid:
  8663. description: 单号(成交单号)
  8664. type: string
  8665. picurls1:
  8666. description: 预售商品介绍图片[多张用逗号分隔]
  8667. type: string
  8668. picurls2:
  8669. description: 挂牌商品介绍图片[多张用逗号分隔]
  8670. type: string
  8671. price:
  8672. description: 价格
  8673. type: number
  8674. qty:
  8675. description: 数量
  8676. type: integer
  8677. time:
  8678. description: 时间
  8679. type: string
  8680. trademode:
  8681. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8682. 21:竞拍-大宗式 22:受托竞价
  8683. type: integer
  8684. vendorname1:
  8685. description: 预售商品供应商名称
  8686. type: string
  8687. vendorname2:
  8688. description: 挂牌商品供应商名称
  8689. type: string
  8690. required:
  8691. - accountid
  8692. - buyorsell
  8693. - goodscode
  8694. - goodsid
  8695. - goodsname
  8696. - marketid
  8697. - orderid
  8698. - qty
  8699. - time
  8700. - trademode
  8701. type: object
  8702. models.HsbyGoodsOrderDetail:
  8703. properties:
  8704. buyorsell:
  8705. description: 买卖 - 0:买 1:卖
  8706. type: integer
  8707. currencysign:
  8708. description: 货币符号
  8709. type: string
  8710. customername:
  8711. description: 客户名称(企业名称),已脱敏
  8712. type: string
  8713. enableqty:
  8714. description: 可用数量
  8715. type: integer
  8716. goodunit:
  8717. description: 报价单位
  8718. type: string
  8719. orderid:
  8720. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8721. type: string
  8722. orderprice:
  8723. description: 委托价格
  8724. type: number
  8725. ordertime:
  8726. description: 委托时间
  8727. type: string
  8728. required:
  8729. - buyorsell
  8730. - orderid
  8731. - ordertime
  8732. type: object
  8733. models.HsbyListingGoodsDetail:
  8734. properties:
  8735. agreeunit:
  8736. description: 合约单位
  8737. type: number
  8738. buymaxqty:
  8739. description: 购买上限 [71] - 0为不限
  8740. type: integer
  8741. currency:
  8742. description: 货币
  8743. type: string
  8744. currencysign:
  8745. description: 货币符号
  8746. type: string
  8747. decimalplace:
  8748. description: 报价小数位
  8749. type: integer
  8750. desccityid:
  8751. description: 目的地(市)ID
  8752. type: integer
  8753. descprovinceid:
  8754. description: 目的地(省)ID
  8755. type: integer
  8756. goodscode:
  8757. description: 商品代码(内部)
  8758. type: string
  8759. goodsdesc:
  8760. description: 商品详情
  8761. type: string
  8762. goodsid:
  8763. description: 商品ID(自增ID SEQ_GOODS)
  8764. type: integer
  8765. goodsname:
  8766. description: 商品名称
  8767. type: string
  8768. goodsprice:
  8769. description: 商品价格
  8770. type: number
  8771. hotindex:
  8772. description: 景点热度
  8773. type: integer
  8774. last:
  8775. description: 现价
  8776. type: number
  8777. limitdown:
  8778. description: 跌停价
  8779. type: number
  8780. limitup:
  8781. description: 涨停价
  8782. type: number
  8783. lotsize:
  8784. description: 手数最小变动单位
  8785. type: integer
  8786. marketid:
  8787. description: 所属市场ID
  8788. type: integer
  8789. picurls:
  8790. description: 介绍图片[多张用逗号分隔]
  8791. type: string
  8792. quoteminunit:
  8793. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8794. type: integer
  8795. stepvalue:
  8796. description: 价格最小变动单位
  8797. type: number
  8798. trademode:
  8799. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8800. 21:竞拍-大宗式 22:受托竞价
  8801. type: integer
  8802. vendorattr:
  8803. description: 供应商附件(多张,逗号分隔)
  8804. type: string
  8805. vendorname:
  8806. description: 供应商名称
  8807. type: string
  8808. vendorphone:
  8809. description: 供应商客服电话
  8810. type: string
  8811. videourls:
  8812. description: 介绍视频[多张用逗号分隔]
  8813. type: string
  8814. required:
  8815. - goodscode
  8816. - goodsid
  8817. - goodsname
  8818. - marketid
  8819. - trademode
  8820. type: object
  8821. models.HsbyMarketGoods:
  8822. properties:
  8823. accountid:
  8824. description: 账户ID[报价币种]
  8825. type: integer
  8826. agreeunit:
  8827. description: 合约单位
  8828. type: number
  8829. buyorsell:
  8830. description: 买卖 - 0:买 1:卖
  8831. type: integer
  8832. categoryid:
  8833. description: 类别ID(WRCATEGORY)
  8834. type: integer
  8835. currency:
  8836. description: 货币
  8837. type: string
  8838. currencysign:
  8839. description: 货币符号
  8840. type: string
  8841. customername:
  8842. description: 卖家名称
  8843. type: string
  8844. decimalplace:
  8845. description: 报价小数位
  8846. type: integer
  8847. goodscode:
  8848. description: 商品代码(内部)
  8849. type: string
  8850. goodsid:
  8851. description: 商品ID
  8852. type: integer
  8853. goodsname:
  8854. description: 商品名称
  8855. type: string
  8856. goodsprice:
  8857. description: 商品价格
  8858. type: number
  8859. hascoupon:
  8860. description: 是否可用优惠卷
  8861. type: boolean
  8862. hotindex:
  8863. description: 景点热度
  8864. type: integer
  8865. marketid:
  8866. description: 市场ID
  8867. type: integer
  8868. orderid:
  8869. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8870. type: string
  8871. orderprice:
  8872. description: 委托价格
  8873. type: number
  8874. orderstatus:
  8875. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8876. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8877. 16:成交失败违约(荷兰式竞拍专用)
  8878. type: integer
  8879. picurls:
  8880. description: 介绍图片[多张用逗号分隔]
  8881. type: string
  8882. quoteminunit:
  8883. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8884. type: integer
  8885. sellUserID:
  8886. description: 卖方UserID
  8887. type: integer
  8888. trademode:
  8889. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8890. 21:竞拍-大宗式 22:受托竞价
  8891. type: integer
  8892. videourls:
  8893. description: 介绍视频[多张用逗号分隔]
  8894. type: string
  8895. required:
  8896. - accountid
  8897. - buyorsell
  8898. - goodscode
  8899. - goodsid
  8900. - goodsname
  8901. - marketid
  8902. - orderid
  8903. - trademode
  8904. type: object
  8905. models.HsbyMarketGoodsDetail:
  8906. properties:
  8907. accountid:
  8908. description: 账户ID[报价币种]
  8909. type: integer
  8910. agreeunit:
  8911. description: 合约单位
  8912. type: number
  8913. buymaxqty:
  8914. description: 购买上限 [71] - 0为不限
  8915. type: integer
  8916. buyorsell:
  8917. description: 买卖 - 0:买 1:卖
  8918. type: integer
  8919. cancelqty:
  8920. description: 撤单数量
  8921. type: integer
  8922. categoryid:
  8923. description: 类别ID(WRCATEGORY)
  8924. type: integer
  8925. currency:
  8926. description: 货币
  8927. type: string
  8928. currencysign:
  8929. description: 货币符号
  8930. type: string
  8931. customername:
  8932. description: 卖家名称
  8933. type: string
  8934. decimalplace:
  8935. description: 报价小数位
  8936. type: integer
  8937. goodscode:
  8938. description: 商品代码(内部)
  8939. type: string
  8940. goodsdesc:
  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. hotindex:
  8953. description: 景点热度
  8954. type: integer
  8955. lotsize:
  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. orderqty:
  8968. description: 委托数量
  8969. type: integer
  8970. orderstatus:
  8971. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8972. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8973. 16:成交失败违约(荷兰式竞拍专用)
  8974. type: integer
  8975. picurls:
  8976. description: 介绍图片[多张用逗号分隔]
  8977. type: string
  8978. quoteminunit:
  8979. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8980. type: integer
  8981. sellUserID:
  8982. description: 卖方UserID
  8983. type: integer
  8984. trademode:
  8985. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8986. 21:竞拍-大宗式 22:受托竞价
  8987. type: integer
  8988. tradeqty:
  8989. description: 成交数量
  8990. type: integer
  8991. vendorattr:
  8992. description: 供应商附件(多张,逗号分隔)
  8993. type: string
  8994. vendorname:
  8995. description: 供应商名称
  8996. type: string
  8997. vendorphone:
  8998. description: 供应商客服电话
  8999. type: string
  9000. videourls:
  9001. description: 介绍视频[多张用逗号分隔]
  9002. type: string
  9003. required:
  9004. - accountid
  9005. - buyorsell
  9006. - goodscode
  9007. - goodsid
  9008. - goodsname
  9009. - marketid
  9010. - orderid
  9011. - orderqty
  9012. - trademode
  9013. type: object
  9014. models.HsbyMarketInfo:
  9015. properties:
  9016. marketid:
  9017. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  9018. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9019. type: integer
  9020. marketname:
  9021. description: 市场名称
  9022. type: string
  9023. marketstatus:
  9024. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9025. type: integer
  9026. trademode:
  9027. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9028. 21:竞拍-大宗式 22:受托竞价
  9029. type: integer
  9030. required:
  9031. - marketid
  9032. - marketstatus
  9033. - trademode
  9034. type: object
  9035. models.HsbyMyGoods:
  9036. properties:
  9037. accountid:
  9038. description: 账号Id
  9039. type: integer
  9040. agreeunit:
  9041. description: 合约单位
  9042. type: number
  9043. buyaverageprice:
  9044. description: 持仓均价
  9045. type: number
  9046. buycurholderamount:
  9047. description: 买当前持仓总金额[商品币种]
  9048. type: number
  9049. buycurpositionqty:
  9050. description: 买当前持仓总数量
  9051. type: integer
  9052. buymaxqty:
  9053. description: 购买上限 [71] - 0为不限
  9054. type: integer
  9055. currencysign:
  9056. description: 货币符号
  9057. type: string
  9058. decimalplace:
  9059. description: 报价小数位
  9060. type: integer
  9061. enableqty:
  9062. description: 可用数量
  9063. type: integer
  9064. goodscode:
  9065. description: 商品代码(内部)
  9066. type: string
  9067. goodsid:
  9068. description: 商品Id
  9069. type: integer
  9070. goodsname:
  9071. description: 商品名称
  9072. type: string
  9073. goodsprice:
  9074. description: 商品价格
  9075. type: number
  9076. goodsstatus:
  9077. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  9078. type: integer
  9079. last:
  9080. description: 现价(仅使用于挂牌点选)
  9081. type: number
  9082. limitdown:
  9083. description: 跌停价(仅使用于挂牌点选)
  9084. type: number
  9085. limitup:
  9086. description: 涨停价(仅使用于挂牌点选)
  9087. type: number
  9088. lotsize:
  9089. description: 手数最小变动单位
  9090. type: integer
  9091. marketid:
  9092. description: 所属市场ID
  9093. type: integer
  9094. picurls:
  9095. description: 介绍图片[多张用逗号分隔]
  9096. type: string
  9097. quoteminunit:
  9098. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9099. type: integer
  9100. stepvalue:
  9101. description: 价格最小变动单位
  9102. type: number
  9103. trademode:
  9104. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9105. 21:竞拍-大宗式 22:受托竞价
  9106. type: integer
  9107. required:
  9108. - accountid
  9109. - goodscode
  9110. - goodsid
  9111. - goodsname
  9112. - marketid
  9113. - trademode
  9114. type: object
  9115. models.HsbyMyPackage:
  9116. properties:
  9117. accountid:
  9118. description: 账户ID
  9119. type: integer
  9120. address:
  9121. description: 提货人详细地址
  9122. type: string
  9123. agreeunit:
  9124. description: 合约单位
  9125. type: number
  9126. amount:
  9127. description: 提货金额
  9128. type: number
  9129. auditer:
  9130. description: 审核人
  9131. type: integer
  9132. audittime:
  9133. description: 审核时间
  9134. type: string
  9135. averageprice:
  9136. description: 均价
  9137. type: number
  9138. cardnum:
  9139. description: 提货人证件号码
  9140. type: string
  9141. cardtypeid:
  9142. description: 提货人证件类型
  9143. type: integer
  9144. checkremark:
  9145. description: 审核备注
  9146. type: string
  9147. currencysign:
  9148. description: 货币符号
  9149. type: string
  9150. decimalplace:
  9151. description: 报价小数位
  9152. type: integer
  9153. goodscode:
  9154. description: 商品代码(内部)
  9155. type: string
  9156. goodsid:
  9157. description: 商品ID
  9158. type: integer
  9159. goodsname:
  9160. description: 商品名称
  9161. type: string
  9162. handlestatus:
  9163. description: 处理状态
  9164. type: integer
  9165. marketid:
  9166. description: 市场ID
  9167. type: integer
  9168. phonenum:
  9169. description: 提货人联系方式
  9170. type: string
  9171. picurls:
  9172. description: 介绍图片[多张用逗号分隔]
  9173. type: string
  9174. qty:
  9175. description: 提货数量
  9176. type: number
  9177. recivername:
  9178. description: 提货人姓名
  9179. type: string
  9180. reqtime:
  9181. description: 更新时间
  9182. type: string
  9183. takemode:
  9184. description: 提货方式 - 2:自提 3:配送
  9185. type: integer
  9186. takeorderid:
  9187. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  9188. type: string
  9189. takeorderstatus:
  9190. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  9191. type: integer
  9192. takeremark:
  9193. description: 提货备注
  9194. type: string
  9195. tradedate:
  9196. description: 交易日(yyyyMMdd)
  9197. type: string
  9198. trademode:
  9199. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9200. 21:竞拍-大宗式 22:受托竞价
  9201. type: integer
  9202. userid:
  9203. description: 用户ID
  9204. type: integer
  9205. vendorname:
  9206. description: 供应商名称
  9207. type: string
  9208. required:
  9209. - goodscode
  9210. - goodsname
  9211. - takeorderid
  9212. - trademode
  9213. type: object
  9214. models.HsbyPreGoods:
  9215. properties:
  9216. agreeunit:
  9217. description: 合约单位
  9218. type: number
  9219. currency:
  9220. description: 货币
  9221. type: string
  9222. currencysign:
  9223. description: 货币符号
  9224. type: string
  9225. decimalplace:
  9226. description: 报价小数位
  9227. type: integer
  9228. desccityid:
  9229. description: 目的地(市)
  9230. type: integer
  9231. descprovinceid:
  9232. description: 目的地(省)
  9233. type: integer
  9234. enableqty:
  9235. description: 剩余数量
  9236. type: integer
  9237. goodscode:
  9238. description: 商品代码(内部)
  9239. type: string
  9240. goodsid:
  9241. description: 商品ID(自增ID SEQ_GOODS)
  9242. type: integer
  9243. goodsname:
  9244. description: 商品名称
  9245. type: string
  9246. goodsstatus:
  9247. description: 商品状态- 2:未上市 3:上市
  9248. type: integer
  9249. lasttradedate:
  9250. description: 最后交易日期(状态:待退市)
  9251. type: string
  9252. listingdate:
  9253. description: 交易开始日期
  9254. type: string
  9255. marketid:
  9256. description: 所属市场ID
  9257. type: integer
  9258. picurls:
  9259. description: 介绍图片[多张用逗号分隔]
  9260. type: string
  9261. presaledqty:
  9262. description: 已预售量(预售结束时更新)
  9263. type: integer
  9264. presaleqty:
  9265. description: 预售数量
  9266. type: integer
  9267. quoteminunit:
  9268. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9269. type: integer
  9270. refprice:
  9271. description: 参考价格[一口价]
  9272. type: number
  9273. relatedgoodsid:
  9274. description: 关联交易合约ID
  9275. type: integer
  9276. trademode:
  9277. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9278. 21:竞拍-大宗式 22:受托竞价
  9279. type: integer
  9280. videourls:
  9281. description: 介绍视频[多张用逗号分隔]
  9282. type: string
  9283. required:
  9284. - goodscode
  9285. - goodsid
  9286. - goodsname
  9287. - marketid
  9288. - trademode
  9289. type: object
  9290. models.HsbyPreGoodsDetail:
  9291. properties:
  9292. agreeunit:
  9293. description: 合约单位
  9294. type: number
  9295. buymaxqty:
  9296. description: 购买上限 [71] - 0为不限
  9297. type: integer
  9298. currency:
  9299. description: 货币
  9300. type: string
  9301. currencysign:
  9302. description: 货币符号
  9303. type: string
  9304. customername:
  9305. description: 发行单位
  9306. type: string
  9307. decimalplace:
  9308. description: 报价小数位
  9309. type: integer
  9310. desccityid:
  9311. description: 目的地(市)ID
  9312. type: integer
  9313. descprovinceid:
  9314. description: 目的地(省)ID
  9315. type: integer
  9316. enableqty:
  9317. description: 剩余数量
  9318. type: integer
  9319. goodscode:
  9320. description: 商品代码(内部)
  9321. type: string
  9322. goodsdesc:
  9323. description: 商品详情
  9324. type: string
  9325. goodsid:
  9326. description: 商品ID(自增ID SEQ_GOODS)
  9327. type: integer
  9328. goodsname:
  9329. description: 商品名称
  9330. type: string
  9331. goodsstatus:
  9332. description: 商品状态- 2:未上市 3:上市
  9333. type: integer
  9334. goodunit:
  9335. description: 报价单位
  9336. type: string
  9337. lasttradedate:
  9338. description: 最后交易日期(状态:待退市)
  9339. type: string
  9340. listingdate:
  9341. description: 交易开始日期
  9342. type: string
  9343. lotsize:
  9344. description: 手数最小变动单位
  9345. type: integer
  9346. marketid:
  9347. description: 所属市场ID
  9348. type: integer
  9349. picurls:
  9350. description: 介绍图片[多张用逗号分隔]
  9351. type: string
  9352. presaledqty:
  9353. description: 已预售量(预售结束时更新)
  9354. type: integer
  9355. presaleqty:
  9356. description: 预售数量
  9357. type: integer
  9358. quoteminunit:
  9359. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9360. type: integer
  9361. refprice:
  9362. description: 参考价格[一口价]
  9363. type: number
  9364. relatedgoodsid:
  9365. description: 关联交易合约ID
  9366. type: integer
  9367. stepvalue:
  9368. description: 价格最小变动单位
  9369. type: number
  9370. trademode:
  9371. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9372. 21:竞拍-大宗式 22:受托竞价
  9373. type: integer
  9374. vendorattr:
  9375. description: 供应商附件(多张,逗号分隔)
  9376. type: string
  9377. vendorname:
  9378. description: 供应商名称
  9379. type: string
  9380. vendorphone:
  9381. description: 供应商客服电话
  9382. type: string
  9383. videourls:
  9384. description: 介绍视频[多张用逗号分隔]
  9385. type: string
  9386. required:
  9387. - goodscode
  9388. - goodsid
  9389. - goodsname
  9390. - marketid
  9391. - trademode
  9392. type: object
  9393. models.HsbySellCollectionOrder:
  9394. properties:
  9395. agreeunit:
  9396. description: 合约单位
  9397. type: number
  9398. buyaccountid:
  9399. description: 买方账号ID[报价币种]
  9400. type: integer
  9401. buyorderid:
  9402. description: 买方委托单号
  9403. type: string
  9404. createtime:
  9405. description: 创建时间
  9406. type: string
  9407. currencysign:
  9408. description: 货币符号
  9409. type: string
  9410. decimalplace:
  9411. description: 报价小数位
  9412. type: integer
  9413. goodscode:
  9414. description: 商品代码(内部)
  9415. type: string
  9416. goodsid:
  9417. description: 商品ID
  9418. type: integer
  9419. goodsname:
  9420. description: 商品名称
  9421. type: string
  9422. marketid:
  9423. description: 市场ID
  9424. type: integer
  9425. offamount:
  9426. description: 优惠金额
  9427. type: number
  9428. payamount:
  9429. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  9430. type: number
  9431. payflag:
  9432. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  9433. type: integer
  9434. paylimitedtime:
  9435. description: 支付期限
  9436. type: string
  9437. paytime:
  9438. description: 付款时间
  9439. type: string
  9440. picurls:
  9441. description: 商品介绍图片[多张用逗号分隔]
  9442. type: string
  9443. sellaccountid:
  9444. description: 卖方账号ID[报价币种]
  9445. type: integer
  9446. sellorderid:
  9447. description: 卖方委托单号
  9448. type: string
  9449. tradeamount:
  9450. description: 成交金额
  9451. type: number
  9452. tradecharge:
  9453. description: 成交手续费(买方)
  9454. type: number
  9455. tradedate:
  9456. description: 交易日(yyyyMMdd)
  9457. type: string
  9458. tradeid:
  9459. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9460. type: string
  9461. trademode:
  9462. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9463. 21:竞拍-大宗式 22:受托竞价
  9464. type: integer
  9465. tradeprice:
  9466. description: 成交价格
  9467. type: number
  9468. tradeqty:
  9469. description: 成交数量
  9470. type: integer
  9471. required:
  9472. - goodscode
  9473. - goodsname
  9474. - tradeid
  9475. - trademode
  9476. type: object
  9477. models.HsbySellMyDetail:
  9478. properties:
  9479. accountid:
  9480. description: 账户ID[报价币种]
  9481. type: integer
  9482. agreeunit:
  9483. description: 合约单位
  9484. type: number
  9485. buyorsell:
  9486. description: 买卖 - 0:买 1:卖
  9487. type: integer
  9488. currencysign:
  9489. description: 货币符号
  9490. type: string
  9491. decimalplace:
  9492. description: 报价小数位
  9493. type: integer
  9494. goodscode:
  9495. description: 商品代码(内部)
  9496. type: string
  9497. goodsid:
  9498. description: 商品ID
  9499. type: integer
  9500. goodsname:
  9501. description: 商品名称
  9502. type: string
  9503. marketid:
  9504. description: 市场ID
  9505. type: integer
  9506. orderid:
  9507. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  9508. type: string
  9509. ordertype:
  9510. description: 单据类型:0 - 发布中, 1 - 已完成
  9511. type: integer
  9512. picurls:
  9513. description: 介绍图片[多张用逗号分隔]
  9514. type: string
  9515. price:
  9516. description: 价格
  9517. type: number
  9518. qty:
  9519. description: 数量
  9520. type: integer
  9521. time:
  9522. description: 时间
  9523. type: string
  9524. trademode:
  9525. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9526. 21:竞拍-大宗式 22:受托竞价
  9527. type: integer
  9528. vendorname:
  9529. description: 供应商名称
  9530. type: string
  9531. required:
  9532. - accountid
  9533. - buyorsell
  9534. - goodscode
  9535. - goodsid
  9536. - goodsname
  9537. - marketid
  9538. - orderid
  9539. - time
  9540. - trademode
  9541. type: object
  9542. models.HsbyTopGoods:
  9543. properties:
  9544. agreeunit:
  9545. description: 合约单位
  9546. type: number
  9547. currency:
  9548. description: 货币
  9549. type: string
  9550. currencysign:
  9551. description: 货币符号
  9552. type: string
  9553. decimalplace:
  9554. description: 报价小数位
  9555. type: integer
  9556. desccityid:
  9557. description: 目的地(市)
  9558. type: integer
  9559. descprovinceid:
  9560. description: 目的地(省)
  9561. type: integer
  9562. goodscode:
  9563. description: 商品代码(内部)
  9564. type: string
  9565. goodsid:
  9566. description: 商品ID(自增ID SEQ_GOODS)
  9567. type: integer
  9568. goodsname:
  9569. description: 商品名称
  9570. type: string
  9571. hotindex:
  9572. description: 景点热度
  9573. type: integer
  9574. last:
  9575. description: 现价
  9576. type: number
  9577. marketid:
  9578. description: 所属市场ID
  9579. type: integer
  9580. picurls:
  9581. description: 介绍图片[多张用逗号分隔]
  9582. type: string
  9583. quoteminunit:
  9584. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9585. type: integer
  9586. trademode:
  9587. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9588. 21:竞拍-大宗式 22:受托竞价
  9589. type: integer
  9590. videourls:
  9591. description: 介绍视频[多张用逗号分隔]
  9592. type: string
  9593. required:
  9594. - goodscode
  9595. - goodsid
  9596. - goodsname
  9597. - marketid
  9598. - trademode
  9599. type: object
  9600. models.HybsMyBuyOrderDetail:
  9601. properties:
  9602. accountid:
  9603. description: 账户ID[报价币种]
  9604. type: integer
  9605. agreeunit:
  9606. description: 合约单位
  9607. type: number
  9608. buyorsell:
  9609. description: 买卖 - 0:买 1:卖
  9610. type: integer
  9611. cancelqty:
  9612. description: 撤单数量
  9613. type: integer
  9614. currencysign:
  9615. description: 货币符号
  9616. type: string
  9617. decimalplace:
  9618. description: 报价小数位
  9619. type: integer
  9620. goodscode:
  9621. description: 商品代码(内部)
  9622. type: string
  9623. goodsid:
  9624. description: 商品ID
  9625. type: integer
  9626. goodsname:
  9627. description: 商品名称
  9628. type: string
  9629. listingselecttype:
  9630. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9631. type: integer
  9632. marketid:
  9633. description: 市场ID
  9634. type: integer
  9635. mybuystatus:
  9636. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  9637. type: integer
  9638. orderamount:
  9639. description: 委托金额
  9640. type: number
  9641. orderid:
  9642. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9643. type: string
  9644. orderprice:
  9645. description: 委托价格
  9646. type: number
  9647. orderqty:
  9648. description: 委托数量
  9649. type: integer
  9650. orderstatus:
  9651. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  9652. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  9653. 16:成交失败违约(荷兰式竞拍专用)
  9654. type: integer
  9655. ordertime:
  9656. description: 委托时间
  9657. type: string
  9658. picurls1:
  9659. description: 预售商品介绍图片[多张用逗号分隔]
  9660. type: string
  9661. picurls2:
  9662. description: 挂牌商品介绍图片[多张用逗号分隔]
  9663. type: string
  9664. trademode:
  9665. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9666. 21:竞拍-大宗式 22:受托竞价
  9667. type: integer
  9668. tradeqty:
  9669. description: 成交数量
  9670. type: integer
  9671. vendorname1:
  9672. description: 预售商品供应商名称
  9673. type: string
  9674. vendorname2:
  9675. description: 挂牌商品供应商名称
  9676. type: string
  9677. required:
  9678. - accountid
  9679. - buyorsell
  9680. - goodscode
  9681. - goodsid
  9682. - goodsname
  9683. - marketid
  9684. - orderid
  9685. - orderqty
  9686. - ordertime
  9687. - trademode
  9688. type: object
  9689. models.Loginaccount:
  9690. properties:
  9691. accountname:
  9692. description: 账户名称
  9693. type: string
  9694. canoutin:
  9695. description: 是否可出入金 - 0:不可 1:可
  9696. type: integer
  9697. clientroleid:
  9698. description: 终端角色ID
  9699. type: integer
  9700. haslogined:
  9701. description: 是否已登录 - 0:未登录 1:已登录
  9702. type: integer
  9703. hasupdatedpwd:
  9704. description: 是否已更改密码 - 0:未修改 1:已修改
  9705. type: integer
  9706. lastloginip:
  9707. description: 最新登录地址
  9708. type: string
  9709. lastloginmode:
  9710. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  9711. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9712. type: integer
  9713. lastloginremark:
  9714. description: 最新登录描述
  9715. type: string
  9716. lastlogintime:
  9717. description: 最新登录时间
  9718. type: string
  9719. logincode:
  9720. description: 登录代码
  9721. type: string
  9722. loginfailnum:
  9723. description: 连续登录失败次数(登录成功时清零)
  9724. type: integer
  9725. loginid:
  9726. description: 登陆账号
  9727. type: integer
  9728. loginport:
  9729. description: 最新登录端口
  9730. type: integer
  9731. loginstatus:
  9732. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  9733. type: integer
  9734. loginusertype:
  9735. description: 登录账号类型 - 1:投资者 2:机构交易员
  9736. type: integer
  9737. mobile:
  9738. description: 手机号码(加密存储)
  9739. type: string
  9740. modifierid:
  9741. description: 修改人
  9742. type: integer
  9743. modifysrc:
  9744. description: 审核来源 - 1:管理端 2:终端
  9745. type: integer
  9746. modifytime:
  9747. description: 修改时间
  9748. type: string
  9749. password:
  9750. description: 登陆密码
  9751. type: string
  9752. pwdwrongcount:
  9753. description: 密码错误次数
  9754. type: integer
  9755. relateduserid:
  9756. description: 关联用户ID(机构)
  9757. type: integer
  9758. taaccountrighttype:
  9759. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  9760. type: integer
  9761. unfreezetime:
  9762. description: 账户解冻时间
  9763. type: string
  9764. userid:
  9765. description: 用户ID
  9766. type: integer
  9767. required:
  9768. - loginid
  9769. type: object
  9770. models.MainAccountInfo:
  9771. properties:
  9772. accountid:
  9773. description: 账号id
  9774. type: integer
  9775. accountname:
  9776. description: 账号名称(taaccount表中的名称)
  9777. type: string
  9778. appid:
  9779. description: AppID
  9780. type: string
  9781. authcode:
  9782. description: 授权码
  9783. type: string
  9784. brokerid:
  9785. description: 经纪商id
  9786. type: string
  9787. fcid:
  9788. description: 期货公司id
  9789. type: integer
  9790. fcname:
  9791. description: 期货公司代码
  9792. type: string
  9793. hedgeaccountcode:
  9794. description: 外部账号代码(主账号登录代码)
  9795. type: string
  9796. hedgeaccountpwd:
  9797. description: 密码
  9798. type: string
  9799. ismain:
  9800. description: 是否主账号
  9801. type: integer
  9802. relateduserid:
  9803. description: 关联用户id
  9804. type: integer
  9805. userid:
  9806. description: 关联用户id
  9807. type: integer
  9808. type: object
  9809. models.Market:
  9810. properties:
  9811. auctionwrtype:
  9812. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  9813. type: integer
  9814. canacceptquote:
  9815. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  9816. type: integer
  9817. cangoodsexercise:
  9818. description: '[期权]是否可现货行权- 0:否 1:是'
  9819. type: integer
  9820. cangoodsexercisetype:
  9821. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  9822. type: integer
  9823. canmanualquotestrike:
  9824. description: 是否可手动报行权价- 0:否 1:是 [期权]
  9825. type: integer
  9826. canmutistage:
  9827. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  9828. type: integer
  9829. canpreexercise:
  9830. description: '[期权]是否可预申报- 0:否 1:是'
  9831. type: integer
  9832. clearinterval:
  9833. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  9834. type: integer
  9835. contracttmp:
  9836. description: 合同模板[荷兰式][竞价式][仓单贸易]
  9837. type: string
  9838. exchareaid:
  9839. description: 所属交易所,可以没有
  9840. type: integer
  9841. goodstype:
  9842. description: 商品类型 - 1:交易商品 2:仓单商品
  9843. type: integer
  9844. hasrebate:
  9845. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  9846. type: integer
  9847. hastradecredit:
  9848. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  9849. type: integer
  9850. haswr:
  9851. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  9852. type: integer
  9853. isdeductmargin:
  9854. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  9855. type: integer
  9856. isrecordsource:
  9857. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  9858. type: integer
  9859. isreleasemargin:
  9860. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  9861. type: integer
  9862. marginformula:
  9863. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9864. type: integer
  9865. marginformula2:
  9866. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9867. type: integer
  9868. marketid:
  9869. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  9870. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9871. type: integer
  9872. marketname:
  9873. description: 市场名称
  9874. type: string
  9875. marketserviceid:
  9876. description: 市场服务ID
  9877. type: integer
  9878. marketstatus:
  9879. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9880. type: integer
  9881. markettype:
  9882. description: 市场类型- 1:非交易服务 2:交易服务
  9883. type: integer
  9884. matchermode:
  9885. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9886. type: integer
  9887. openmethod:
  9888. description: 开盘模式 - 0 自动 1手动
  9889. type: integer
  9890. otcuserid:
  9891. description: 场外期权做市商[场外期权]
  9892. type: integer
  9893. outersynctime:
  9894. description: 外部同步时间点(h24:mi:ss)[场外期权]
  9895. type: string
  9896. pendingflag:
  9897. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  9898. type: integer
  9899. pendingtime:
  9900. description: 待开市时间[通道交易-对冲](HH:mm)
  9901. type: string
  9902. performancetempid:
  9903. description: 履约计划模板ID - 作废
  9904. type: integer
  9905. premiumquotemode:
  9906. description: 权利金报价方式 - 1:自动 2:手动
  9907. type: integer
  9908. rebateratio:
  9909. description: 返利比率[竞价式]
  9910. type: number
  9911. reckonorder:
  9912. description: 结算顺序
  9913. type: integer
  9914. reckonpricealgorithm:
  9915. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  9916. 6.卖一价 7.买一卖一均价 8.外部结算价'
  9917. type: integer
  9918. reckonpriceparam:
  9919. description: 结算价参数
  9920. type: integer
  9921. reckontime:
  9922. description: 结算时间[通道交易-对冲](HH:mm)
  9923. type: string
  9924. roleprioritytype:
  9925. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  9926. type: integer
  9927. selllistingauditflag:
  9928. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  9929. type: integer
  9930. trademarkettype:
  9931. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9932. type: integer
  9933. trademode:
  9934. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9935. 21:竞拍-大宗式 22:受托竞价
  9936. type: integer
  9937. tradeproperty:
  9938. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  9939. 8:场外期权
  9940. type: integer
  9941. tradetype:
  9942. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9943. type: integer
  9944. required:
  9945. - marketid
  9946. - marketstatus
  9947. - openmethod
  9948. - reckonpricealgorithm
  9949. - trademode
  9950. - tradeproperty
  9951. type: object
  9952. models.Marketrun:
  9953. properties:
  9954. afternexttradedate:
  9955. description: 下下交易日
  9956. type: string
  9957. clearquoteflag:
  9958. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9959. type: integer
  9960. lastreckondate:
  9961. description: 最新交易日(结算成功)
  9962. type: string
  9963. machinedate:
  9964. description: 机器时间
  9965. type: string
  9966. manualflag:
  9967. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9968. type: integer
  9969. marketid:
  9970. description: 市场ID
  9971. type: integer
  9972. nexttradedate:
  9973. description: 下一交易日
  9974. type: string
  9975. pretradedate:
  9976. description: 上一交易日
  9977. type: string
  9978. reckonflag:
  9979. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9980. type: integer
  9981. runstatus:
  9982. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  9983. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  9984. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  9985. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  9986. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  9987. 62.今日免清算
  9988. type: integer
  9989. sectionid:
  9990. description: 时间段号[多时段时用]
  9991. type: integer
  9992. tradedate:
  9993. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9994. type: string
  9995. tradedate2:
  9996. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9997. type: string
  9998. updatetime:
  9999. description: 更新时间
  10000. type: string
  10001. required:
  10002. - marketid
  10003. - nexttradedate
  10004. - reckonflag
  10005. - runstatus
  10006. - tradedate
  10007. - tradedate2
  10008. type: object
  10009. models.Messageboard:
  10010. properties:
  10011. contactnum:
  10012. description: 联系电话
  10013. type: string
  10014. createtime:
  10015. description: 创建时间
  10016. type: string
  10017. message:
  10018. description: 留言信息
  10019. type: string
  10020. messageboardid:
  10021. description: 留言簿ID(SEQ_MessageBoard)
  10022. type: integer
  10023. userid:
  10024. description: 用户ID
  10025. type: integer
  10026. required:
  10027. - messageboardid
  10028. type: object
  10029. models.MyCoupon:
  10030. properties:
  10031. accountid:
  10032. description: 资金账户ID
  10033. type: integer
  10034. areauserid:
  10035. description: 所属机构
  10036. type: integer
  10037. conditionvalue:
  10038. description: 条件阈值(可为0)
  10039. type: number
  10040. couponcategroy:
  10041. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  10042. type: integer
  10043. couponname:
  10044. description: 优惠券名称
  10045. type: string
  10046. coupontypeid:
  10047. description: 优惠券类型ID
  10048. type: string
  10049. couponvalue:
  10050. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  10051. type: number
  10052. curfreezeqty:
  10053. description: 期末冻结数量
  10054. type: integer
  10055. curqty:
  10056. description: 期末数量
  10057. type: integer
  10058. isgeneral:
  10059. description: 是否通用券 - 0:否 1:是
  10060. type: integer
  10061. isunusable:
  10062. description: 是否不可用
  10063. type: boolean
  10064. limitedflag:
  10065. description: 是否指定商品 - 0:不限 1:限制
  10066. type: integer
  10067. limitedgoodsids:
  10068. description: 指定商品IDs[逗号分隔,前后加逗号]
  10069. type: string
  10070. orifreezeqty:
  10071. description: 期初冻结数量
  10072. type: integer
  10073. oriqty:
  10074. description: 期初数量
  10075. type: integer
  10076. reasontype:
  10077. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  10078. type: integer
  10079. todaydecrease:
  10080. description: 今日减少
  10081. type: integer
  10082. todayincrease:
  10083. description: 今日增加
  10084. type: integer
  10085. userid:
  10086. description: 用户ID
  10087. type: integer
  10088. userscope:
  10089. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  10090. type: string
  10091. required:
  10092. - accountid
  10093. - coupontypeid
  10094. type: object
  10095. models.MyCouponHold:
  10096. properties:
  10097. accountid:
  10098. description: 资金账户ID
  10099. type: integer
  10100. conditionvalue:
  10101. description: 条件阈值(可为0)
  10102. type: number
  10103. couponcategroy:
  10104. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  10105. type: integer
  10106. couponholdid:
  10107. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  10108. type: string
  10109. couponname:
  10110. description: 优惠券名称
  10111. type: string
  10112. coupontypeid:
  10113. description: 优惠券类型ID - SEQ_COUPONTYPE
  10114. type: string
  10115. couponvalue:
  10116. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  10117. type: number
  10118. createtime:
  10119. description: 创建时间
  10120. type: string
  10121. enddate:
  10122. description: 结束日期
  10123. type: string
  10124. giveapplyid:
  10125. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  10126. type: integer
  10127. holdstatus:
  10128. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  10129. type: integer
  10130. isgeneral:
  10131. description: 是否通用券 - 0:否 1:是
  10132. type: integer
  10133. limitedflag:
  10134. description: 是否指定商品 - 0:不限 1:限制
  10135. type: integer
  10136. limitedgoodsids:
  10137. description: 指定商品IDs[逗号分隔]
  10138. type: string
  10139. qty:
  10140. description: 数量(按1平铺)
  10141. type: integer
  10142. startdate:
  10143. description: 开始日期
  10144. type: string
  10145. userid:
  10146. description: 用户ID
  10147. type: integer
  10148. userscope:
  10149. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  10150. type: string
  10151. required:
  10152. - couponholdid
  10153. type: object
  10154. models.MyUsedCoupon:
  10155. properties:
  10156. accountid:
  10157. description: 资金账户ID(买方)
  10158. type: integer
  10159. conditionvalue:
  10160. description: 条件阈值(可为0)
  10161. type: number
  10162. couponcategroy:
  10163. description: 种类 - 1:现金券 2:折扣券
  10164. type: integer
  10165. couponname:
  10166. description: 优惠券名称
  10167. type: string
  10168. coupontypeid:
  10169. description: 优惠券类型ID(买方)
  10170. type: string
  10171. couponvalue:
  10172. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  10173. type: number
  10174. createtime:
  10175. description: 创建时间
  10176. type: string
  10177. goodsid:
  10178. description: 商品ID
  10179. type: integer
  10180. handlestatus:
  10181. description: 处理状态
  10182. type: integer
  10183. marketid:
  10184. description: 市场ID
  10185. type: integer
  10186. offamount:
  10187. description: 优惠金额
  10188. type: number
  10189. orderid:
  10190. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10191. type: string
  10192. sellaccountid:
  10193. description: 资金账户ID(卖方)
  10194. type: integer
  10195. tradeamount:
  10196. description: 成交金额
  10197. type: number
  10198. tradeid:
  10199. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10200. type: string
  10201. usedqty:
  10202. description: 使用数量
  10203. type: integer
  10204. required:
  10205. - coupontypeid
  10206. - orderid
  10207. type: object
  10208. models.OperationPrimaryMenu:
  10209. properties:
  10210. Children:
  10211. description: 二级功能菜单
  10212. items:
  10213. $ref: '#/definitions/models.OperationSecondaryMenu'
  10214. type: array
  10215. Key:
  10216. description: 菜单KEY
  10217. type: string
  10218. Label:
  10219. description: 菜单标题
  10220. type: string
  10221. type: object
  10222. models.OperationSecondaryMenu:
  10223. properties:
  10224. Key:
  10225. description: 菜单KEY
  10226. type: string
  10227. Label:
  10228. description: 菜单标题
  10229. type: string
  10230. TabList:
  10231. description: 三级功能菜单
  10232. items:
  10233. $ref: '#/definitions/models.OperationTabMenu'
  10234. type: array
  10235. type: object
  10236. models.OperationTabMenu:
  10237. properties:
  10238. Key:
  10239. description: 菜单KEY
  10240. type: string
  10241. Label:
  10242. description: 菜单标题
  10243. type: string
  10244. type: object
  10245. models.QhjAccountOutInApply:
  10246. properties:
  10247. accountcode:
  10248. description: 资金账号
  10249. type: string
  10250. accountname:
  10251. description: 用户名称(名称)
  10252. type: string
  10253. accountpwd:
  10254. description: 资金密码
  10255. type: string
  10256. accountticket:
  10257. description: 最新账户服务流水号
  10258. type: string
  10259. amount:
  10260. description: 金额
  10261. type: number
  10262. applyremark:
  10263. description: 申请备注
  10264. type: string
  10265. applystatus:
  10266. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  10267. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  10268. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  10269. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  10270. type: integer
  10271. auditid:
  10272. description: 审核人
  10273. type: integer
  10274. audittime:
  10275. description: 审核时间
  10276. type: string
  10277. bank_apply_ticket:
  10278. description: 银行申请流水
  10279. type: string
  10280. bankaccountname:
  10281. description: 银行账户名
  10282. type: string
  10283. bankaccountno:
  10284. description: 银行卡号
  10285. type: string
  10286. bankid:
  10287. description: 银行编号
  10288. type: string
  10289. bankticket:
  10290. description: 银行流水
  10291. type: string
  10292. branchbankid:
  10293. description: 银行支行号
  10294. type: string
  10295. branchbankname:
  10296. description: 银行支行名称
  10297. type: string
  10298. capamountout:
  10299. description: 出金(劣后本金) - 外部子账户
  10300. type: number
  10301. certificatephotourl:
  10302. description: 凭证地址
  10303. type: string
  10304. charge:
  10305. description: 手续费
  10306. type: number
  10307. checkerrorflag:
  10308. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10309. type: integer
  10310. currency:
  10311. description: 币种
  10312. type: string
  10313. cusbankid:
  10314. description: 托管银行编号
  10315. type: string
  10316. exchticket:
  10317. description: 银行服务流水号
  10318. type: string
  10319. executetype:
  10320. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  10321. 7:外部子账户:入金 8:外部子账户:出金'
  10322. type: integer
  10323. extendinfo:
  10324. description: 扩展信息
  10325. type: string
  10326. extoperateid:
  10327. description: 交易服务流水号
  10328. type: integer
  10329. infamount:
  10330. description: 劣后金额(自有)
  10331. type: number
  10332. logincode:
  10333. description: 登录账号(账号)
  10334. type: string
  10335. netaddr:
  10336. description: 调转网址
  10337. type: string
  10338. priamount:
  10339. description: 优先金额(授信)
  10340. type: number
  10341. reauditid:
  10342. description: 复审人
  10343. type: integer
  10344. reauditremark:
  10345. description: 复审备注
  10346. type: string
  10347. reaudittime:
  10348. description: 复审时间
  10349. type: string
  10350. relatedorderid:
  10351. description: 三方关联ID
  10352. type: string
  10353. remark:
  10354. description: 备注
  10355. type: string
  10356. remark2:
  10357. description: 备注(失败原因)
  10358. type: string
  10359. soucreamount:
  10360. description: 原始出入金金额
  10361. type: number
  10362. soucrecurrencyid:
  10363. description: 原始出入金币种
  10364. type: integer
  10365. tradedate:
  10366. description: 交易日(yyyyMMdd)
  10367. type: string
  10368. updatetime:
  10369. description: 更新时间(申请时间)
  10370. type: string
  10371. userid:
  10372. description: 用户id
  10373. type: integer
  10374. userinfotype:
  10375. description: 账户类型 1-个人 2-企业
  10376. type: integer
  10377. type: object
  10378. models.QhjAgreementChangeLog:
  10379. properties:
  10380. agreementcontent:
  10381. description: 协议内容
  10382. type: string
  10383. agreementfrequency:
  10384. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10385. type: integer
  10386. agreementid:
  10387. description: 协议ID
  10388. type: integer
  10389. agreementname:
  10390. description: 协议名称
  10391. type: string
  10392. agreementno:
  10393. description: 协议编号
  10394. type: string
  10395. agreementtype:
  10396. description: 协议类型 - 1:注册 2:登录 3:交易
  10397. type: integer
  10398. agreementversion:
  10399. description: 协议版本号
  10400. type: integer
  10401. logid:
  10402. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  10403. type: integer
  10404. reviserid:
  10405. description: 修改人
  10406. type: integer
  10407. revisersrc:
  10408. description: 修改来源 - 1:管理端 2:终端
  10409. type: integer
  10410. updatetime:
  10411. description: 更新时间
  10412. type: string
  10413. type: object
  10414. models.QhjAgreementConfig:
  10415. properties:
  10416. agreementcontent:
  10417. description: 协议内容
  10418. type: string
  10419. agreementfrequency:
  10420. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10421. type: integer
  10422. agreementid:
  10423. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  10424. type: integer
  10425. agreementname:
  10426. description: 协议名称
  10427. type: string
  10428. agreementno:
  10429. description: 协议编号
  10430. type: string
  10431. agreementtype:
  10432. description: 协议类型 - 1:注册 2:登录 3:交易
  10433. type: integer
  10434. agreementversion:
  10435. description: 协议版本号(从1开始每次修改加1)
  10436. type: integer
  10437. createtime:
  10438. description: 创建时间
  10439. type: string
  10440. creatorid:
  10441. description: 创建人
  10442. type: integer
  10443. creatorsrc:
  10444. description: 创建来源 - 1:管理端 2:终端
  10445. type: integer
  10446. isvalid:
  10447. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  10448. type: integer
  10449. reviserid:
  10450. description: 修改人
  10451. type: integer
  10452. revisersrc:
  10453. description: 修改来源 - 1:管理端 2:终端
  10454. type: integer
  10455. updatetime:
  10456. description: 更新时间
  10457. type: string
  10458. type: object
  10459. models.QhjAreaFinanceConfig:
  10460. properties:
  10461. additionalratio:
  10462. description: 追加款比例
  10463. type: number
  10464. advanceratio:
  10465. description: 预付款比例
  10466. type: number
  10467. alarmratio:
  10468. description: 告警比例
  10469. type: number
  10470. consumptiondirectreward:
  10471. description: 消费直推奖励值
  10472. type: number
  10473. consumptionenabled:
  10474. description: 是否启用消费奖励 - 0:不启用 1:启用
  10475. type: integer
  10476. consumptionindirectreward:
  10477. description: 消费间推奖励值
  10478. type: number
  10479. consumptionmodel:
  10480. description: 消费奖励方式 - 1:比率 2:固定
  10481. type: integer
  10482. customerservicenum:
  10483. description: 客服电话
  10484. type: string
  10485. dayinterestrate:
  10486. description: 日利率
  10487. type: number
  10488. disableconsumptiontips:
  10489. description: 关闭消费奖励提示
  10490. type: string
  10491. modifierid:
  10492. description: 修改人ID
  10493. type: integer
  10494. modifysrc:
  10495. description: 审核来源 - 1:管理端 2:终端
  10496. type: integer
  10497. modifytime:
  10498. description: 修改时间
  10499. type: string
  10500. promotionvalue:
  10501. description: 推广奖励值(固定)
  10502. type: number
  10503. scoreconfigvalue1:
  10504. description: 提货积分配置1
  10505. type: integer
  10506. scoreconfigvalue2:
  10507. description: 提货积分配置2
  10508. type: integer
  10509. userid:
  10510. description: 机构用户ID其他做市关系,都设置为 1
  10511. type: integer
  10512. username:
  10513. description: 用户名称
  10514. type: string
  10515. type: object
  10516. models.QhjBankAccountSign:
  10517. properties:
  10518. accountcode:
  10519. description: 资金账号
  10520. type: string
  10521. accountname:
  10522. description: 资金账号对应的账号名(UserName)
  10523. type: string
  10524. accountname2:
  10525. description: 资金账号对应的账号名(UserName) - 密文
  10526. type: string
  10527. accounttype:
  10528. description: 账户类型(UserType)
  10529. type: integer
  10530. applicationtime:
  10531. description: 最后一次更新的时间
  10532. type: string
  10533. applyexchticket:
  10534. description: 申请流水
  10535. type: string
  10536. auditid:
  10537. description: 审核人
  10538. type: integer
  10539. audittime:
  10540. description: 审核时间
  10541. type: string
  10542. bankaccountname:
  10543. description: 签约银行卡账号名
  10544. type: string
  10545. bankaccountname2:
  10546. description: 签约银行卡账号名 - 密文
  10547. type: string
  10548. bankaccountno:
  10549. description: 银行卡号
  10550. type: string
  10551. bankaccountno2:
  10552. description: 银行卡号 - 密文
  10553. type: string
  10554. bankaccounttype:
  10555. description: 银行账户类型 - 1-对私; 2-对公
  10556. type: integer
  10557. bankcardtype:
  10558. description: 银行卡类型
  10559. type: integer
  10560. bankchildaccount:
  10561. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  10562. type: string
  10563. bankcity:
  10564. description: 开户行城市
  10565. type: string
  10566. bankid:
  10567. description: 签约银行ID
  10568. type: string
  10569. bankname:
  10570. description: 签约银行名称
  10571. type: string
  10572. bankprovince:
  10573. description: 开户行省份
  10574. type: string
  10575. branchbankid:
  10576. description: 签约银行支行号
  10577. type: string
  10578. branchbankname:
  10579. description: 签约银行支行名称
  10580. type: string
  10581. cardno:
  10582. description: 证件号码
  10583. type: string
  10584. cardno2:
  10585. description: 证件号码 - 密文
  10586. type: string
  10587. cardtype:
  10588. description: 证件类型
  10589. type: string
  10590. currency:
  10591. description: 币种
  10592. type: string
  10593. cusbankid:
  10594. description: 托管银行编号
  10595. type: string
  10596. direct:
  10597. description: 方向(可以判断那方先发起的签约)
  10598. type: integer
  10599. exchticket:
  10600. description: 最后一次签约成功的流水号
  10601. type: string
  10602. extendinfo:
  10603. description: 扩展信息(JSON字符串)
  10604. type: string
  10605. mobilephone:
  10606. description: 手机号
  10607. type: string
  10608. mobilephone2:
  10609. description: 手机号 - 密文
  10610. type: string
  10611. netaddr:
  10612. description: 调转网址
  10613. type: string
  10614. relateduserid:
  10615. description: 关联使用者userid
  10616. type: integer
  10617. signstatus:
  10618. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  10619. 10:审核拒绝 11:换签待审核
  10620. type: integer
  10621. updatetime:
  10622. description: 更新时间(签解约更新时间)
  10623. type: string
  10624. type: object
  10625. models.QhjBankInfo:
  10626. properties:
  10627. bankid:
  10628. description: 银行ID
  10629. type: string
  10630. bankname:
  10631. description: 银行名称
  10632. type: string
  10633. clearbankno:
  10634. description: 清算系统银行编号
  10635. type: string
  10636. orderindex:
  10637. description: 排序顺序
  10638. type: integer
  10639. status:
  10640. description: 状态 - 0:正常 1:注销
  10641. type: integer
  10642. type: object
  10643. models.QhjBrokerApply:
  10644. properties:
  10645. applicantid:
  10646. description: 申请人
  10647. type: integer
  10648. applysrc:
  10649. description: 申请来源 - 1:管理端 2:终端
  10650. type: integer
  10651. applystatus:
  10652. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10653. type: integer
  10654. applytime:
  10655. description: 申请时间
  10656. type: string
  10657. auditorid:
  10658. description: 审核人
  10659. type: integer
  10660. auditremark:
  10661. description: 审核备注
  10662. type: string
  10663. auditsrc:
  10664. description: 审核来源 - 1:管理端 2:终端
  10665. type: integer
  10666. audittime:
  10667. description: 审核时间
  10668. type: string
  10669. audittradedate:
  10670. description: 审核交易日(yyyyMMdd)
  10671. type: string
  10672. brokerapplyid:
  10673. description: 申请ID(SEQ_BROKERAPPLY)
  10674. type: integer
  10675. cardbackphotourl:
  10676. description: 证件背面图片地址
  10677. type: string
  10678. cardfrontphotourl:
  10679. description: 证件正面图片地址
  10680. type: string
  10681. cardnum:
  10682. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  10683. type: string
  10684. customername:
  10685. description: 姓名
  10686. type: string
  10687. logincode:
  10688. description: 登录代码
  10689. type: string
  10690. mobile:
  10691. description: 手机号码
  10692. type: string
  10693. parentuserid:
  10694. description: 所属机构id
  10695. type: integer
  10696. parentusername:
  10697. description: 所属机构名称
  10698. type: string
  10699. refereeuserid:
  10700. description: 推荐人id(经纪人)
  10701. type: integer
  10702. refernum:
  10703. description: 推荐码
  10704. type: string
  10705. remark:
  10706. description: 备注
  10707. type: string
  10708. subarealevelpath:
  10709. description: 层级路径
  10710. type: string
  10711. tradedate:
  10712. description: 交易日(yyyyMMdd)
  10713. type: string
  10714. userid:
  10715. description: 申请人用户ID
  10716. type: integer
  10717. userinfotype:
  10718. description: 用户类型 1-个人 2-企业
  10719. type: integer
  10720. username:
  10721. description: 用户名称
  10722. type: string
  10723. type: object
  10724. models.QhjBrokerApplyEx:
  10725. properties:
  10726. applylist:
  10727. description: 经纪人申请记录(只返回最新一条)
  10728. items:
  10729. $ref: '#/definitions/models.QhjBrokerApply'
  10730. type: array
  10731. canrecommend:
  10732. description: 是否经纪人 0-不是 1-是
  10733. type: integer
  10734. refernum:
  10735. description: 推荐码
  10736. type: string
  10737. userid:
  10738. description: 用户id
  10739. type: integer
  10740. userinfotype:
  10741. description: 用户类型 1-个人 2-企业
  10742. type: integer
  10743. type: object
  10744. models.QhjBrokerRewardLog:
  10745. properties:
  10746. accountid:
  10747. description: 资金账号ID
  10748. type: integer
  10749. createtime:
  10750. description: 创建时间(时间)
  10751. type: string
  10752. handlestatus:
  10753. description: 处理状态
  10754. type: integer
  10755. logid:
  10756. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10757. type: string
  10758. marketid:
  10759. description: 市场ID
  10760. type: integer
  10761. mmaccountid:
  10762. description: 做市商资金账号ID
  10763. type: string
  10764. mmuserid:
  10765. description: 做市商用户ID
  10766. type: string
  10767. rewardamount:
  10768. description: 奖励金额
  10769. type: number
  10770. rewardmodel:
  10771. description: 消费奖励方式 - 1:比率 2:固定
  10772. type: integer
  10773. rewardtype:
  10774. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  10775. type: integer
  10776. rewardvalue:
  10777. description: 配置奖励值
  10778. type: number
  10779. srcamount:
  10780. description: 成交金额 [消费奖励] (金额)
  10781. type: number
  10782. srcgoodsid:
  10783. description: 来源商品ID [消费奖励]
  10784. type: string
  10785. srctime:
  10786. description: 来源时间 (成交时间) [消费奖励]
  10787. type: string
  10788. srctradeid:
  10789. description: 来源成交单ID [消费奖励] - 排除提货成交
  10790. type: string
  10791. srcuserid:
  10792. description: 来源用户ID(推广账户)
  10793. type: string
  10794. srcusername:
  10795. description: 推广账户名称
  10796. type: string
  10797. tradedate:
  10798. description: 交易日(yyyyMMdd)
  10799. type: string
  10800. userid:
  10801. description: 经纪人用户ID
  10802. type: integer
  10803. type: object
  10804. models.QhjContract:
  10805. properties:
  10806. contractconfirmtime:
  10807. description: 合同确认时间(时间)
  10808. type: string
  10809. currisklevel:
  10810. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10811. type: integer
  10812. decimalplace:
  10813. description: 商品报价小数位
  10814. type: integer
  10815. enumdicname:
  10816. description: 单位名称
  10817. type: string
  10818. goodscode:
  10819. description: 商品代码
  10820. type: string
  10821. goodsid:
  10822. description: 商品ID [5:融资单]
  10823. type: integer
  10824. goodsname:
  10825. description: 商品名称
  10826. type: string
  10827. goodunitid:
  10828. description: 商品单位id
  10829. type: integer
  10830. initmargin:
  10831. description: 初始保证金(首付款)
  10832. type: number
  10833. lenderamount:
  10834. description: 贷款金额(总额|订单总额)
  10835. type: number
  10836. marginratio:
  10837. description: 保证金比率(首付比例)
  10838. type: number
  10839. payamount:
  10840. description: 已付(已付货款)
  10841. type: number
  10842. reckonrecovermargin:
  10843. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10844. type: number
  10845. recoveredmargin:
  10846. description: 已追缴保证金
  10847. type: number
  10848. remainamount:
  10849. description: 合同剩余金额(融资额)
  10850. type: number
  10851. scfcontractid:
  10852. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10853. type: string
  10854. scfcontractstatus:
  10855. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  10856. 9:违约结束 10:已注销 11:已关闭 99:未提交
  10857. type: integer
  10858. scfcontracttype:
  10859. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10860. type: integer
  10861. totalinterest:
  10862. description: 已计总利息(利息)
  10863. type: number
  10864. tradeprice:
  10865. description: 成交价格(成本价格)
  10866. type: number
  10867. userid:
  10868. description: 用户ID
  10869. type: integer
  10870. username:
  10871. description: 用户名称
  10872. type: string
  10873. wrqty:
  10874. description: 仓单数量(数量)
  10875. type: number
  10876. type: object
  10877. models.QhjContractLog:
  10878. properties:
  10879. amount:
  10880. description: 支付金额
  10881. type: number
  10882. amounttype:
  10883. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  10884. type: integer
  10885. logid:
  10886. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10887. type: string
  10888. remainamount:
  10889. description: 剩余货款
  10890. type: number
  10891. scfcontractid:
  10892. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10893. type: integer
  10894. updatetime:
  10895. description: 更新时间
  10896. type: string
  10897. type: object
  10898. models.QhjCusBankSignBankEx:
  10899. properties:
  10900. banklst:
  10901. description: 银行列表
  10902. items:
  10903. $ref: '#/definitions/models.QhjBankInfo'
  10904. type: array
  10905. canallot:
  10906. description: 是否支持跨行调拨 - 0:不支持 1:支持
  10907. type: integer
  10908. canallotquery:
  10909. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  10910. type: integer
  10911. canbindcard:
  10912. description: 是否可绑卡与解卡 - 0:不可 1:可以
  10913. type: integer
  10914. caninamount:
  10915. description: 是否可入金 - 0:不可 1:可以
  10916. type: integer
  10917. caninamount2:
  10918. description: 是否可入金(网银端) - 0:不可 1:可以
  10919. type: integer
  10920. canmodifybankcard:
  10921. description: 是否可修改银行卡号 - 0:不可 1:可以
  10922. type: integer
  10923. canmodifyphone:
  10924. description: 是否可修改手机号 - 0:不可 1:可以
  10925. type: integer
  10926. canmodifysigninfo:
  10927. description: 是否可修改签约信息 - 0:不可 1:可以
  10928. type: integer
  10929. canoutamount:
  10930. description: 是否可出金 - 0:不可 1:可以
  10931. type: integer
  10932. canoutamount2:
  10933. description: 是否可出金(网银端) - 0:不可 1:可以
  10934. type: integer
  10935. canrelease:
  10936. description: 是否可解约 - 0:不可 1:可以
  10937. type: integer
  10938. canrelease2:
  10939. description: 是否可解约(网银端) - 0:不可 1:可以
  10940. type: integer
  10941. cansign:
  10942. description: 是否可签约 - 0:不可 1:可以
  10943. type: integer
  10944. cansign2:
  10945. description: 是否可签约(网银端) - 0:不可 1:可以
  10946. type: integer
  10947. currency:
  10948. description: 币种
  10949. type: string
  10950. cusbankid:
  10951. description: 托管银行编号(对应清算中心TRAN_NO)
  10952. type: string
  10953. cusbankname:
  10954. description: 银行业务名称
  10955. type: string
  10956. cusbankshortname:
  10957. description: 银行业务简称
  10958. type: string
  10959. exchbankid:
  10960. description: 交易所开户银行ID
  10961. type: string
  10962. exchpaybankaccname:
  10963. description: 交易所支出结算账户户名
  10964. type: string
  10965. exchpaybankaccno:
  10966. description: 交易所支出结算账户
  10967. type: string
  10968. isneedcheck:
  10969. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  10970. type: integer
  10971. isneedclear:
  10972. description: 是否需要清算 - 0:不需要 1:需要
  10973. type: integer
  10974. lastcheckstatus:
  10975. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  10976. type: integer
  10977. lastchecktime:
  10978. description: 最后对账时间
  10979. type: string
  10980. lastclearstatus:
  10981. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  10982. type: integer
  10983. lastcleartime:
  10984. description: 最后清算时间
  10985. type: string
  10986. lastsignintime:
  10987. description: 最后签到时间
  10988. type: string
  10989. lastsignouttime:
  10990. description: 最后签退时间
  10991. type: string
  10992. riskinfo:
  10993. description: 签约风险提示书
  10994. type: string
  10995. signstatus:
  10996. description: 当前签到/签退状态 - 1:签到 2:签退
  10997. type: integer
  10998. tradedate:
  10999. description: 交易日(yyyyMMdd)
  11000. type: string
  11001. updatetime:
  11002. description: 当前签到/签退更新时间
  11003. type: string
  11004. type: object
  11005. models.QhjCustomer:
  11006. properties:
  11007. address:
  11008. description: 通讯地址
  11009. type: string
  11010. attachment1:
  11011. description: 附件1
  11012. type: string
  11013. attachment2:
  11014. description: 附件2
  11015. type: string
  11016. audittime:
  11017. description: 审核时间
  11018. type: string
  11019. cardbackphotourl:
  11020. description: 证件反面图片地址
  11021. type: string
  11022. cardfrontphotourl:
  11023. description: 证件正面图片地址
  11024. type: string
  11025. cardnum:
  11026. description: 证件号码
  11027. type: string
  11028. cardtype:
  11029. description: 证件类型
  11030. type: integer
  11031. cardtypename:
  11032. description: 证件类型名称
  11033. type: string
  11034. cityid:
  11035. description: 市
  11036. type: integer
  11037. cityname:
  11038. description: 城市名称
  11039. type: string
  11040. contactname:
  11041. description: 联系人
  11042. type: string
  11043. countryid:
  11044. description: 国家
  11045. type: integer
  11046. countryname:
  11047. description: 国家名称
  11048. type: string
  11049. createtime:
  11050. description: 创建时间
  11051. type: string
  11052. customername:
  11053. description: 客户名称
  11054. type: string
  11055. districtid:
  11056. description: 区域
  11057. type: integer
  11058. districtname:
  11059. description: 地区名称
  11060. type: string
  11061. email:
  11062. description: 邮件
  11063. type: string
  11064. legalpersonname:
  11065. description: 法人姓名(企业)
  11066. type: string
  11067. logincode:
  11068. description: 登录账号(代码)
  11069. type: string
  11070. memberuserid:
  11071. description: 所属机构ID(所属会员)
  11072. type: integer
  11073. memberusername:
  11074. description: 所属会员名称
  11075. type: string
  11076. mobile:
  11077. description: 手机号码
  11078. type: string
  11079. modifytime:
  11080. description: 修改时间
  11081. type: string
  11082. nickname:
  11083. description: 昵称
  11084. type: string
  11085. parentuserid:
  11086. description: 上级机构(所属机构)
  11087. type: integer
  11088. parentusername:
  11089. description: 所属机构名称
  11090. type: string
  11091. provinceid:
  11092. description: 省
  11093. type: integer
  11094. provincename:
  11095. description: 省名称
  11096. type: string
  11097. proxystatementurl:
  11098. description: 授权委托书
  11099. type: string
  11100. remark:
  11101. description: 备注
  11102. type: string
  11103. status:
  11104. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  11105. type: integer
  11106. statusdesc:
  11107. description: 账户状态中文描述
  11108. type: string
  11109. taxpayernum:
  11110. description: 纳税人识别号
  11111. type: string
  11112. telphone:
  11113. description: 联系电话
  11114. type: string
  11115. userid:
  11116. description: 用户ID
  11117. type: integer
  11118. userinfotype:
  11119. description: 客户类型 1-个人 2-企业
  11120. type: integer
  11121. username:
  11122. description: 用户名称
  11123. type: string
  11124. type: object
  11125. models.QhjCustomerSignLog:
  11126. properties:
  11127. agreementcontent:
  11128. description: 协议内容
  11129. type: string
  11130. agreementid:
  11131. description: 协议ID
  11132. type: integer
  11133. agreementname:
  11134. description: 协议名称
  11135. type: string
  11136. agreementno:
  11137. description: 协议编号
  11138. type: string
  11139. agreementtype:
  11140. description: 协议类型 - 1:注册 2:登录 3:交易
  11141. type: integer
  11142. agreementversion:
  11143. description: 协议版本号
  11144. type: integer
  11145. createtime:
  11146. description: 创建时间
  11147. type: string
  11148. goodscode:
  11149. description: 商品代码
  11150. type: string
  11151. goodsid:
  11152. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11153. type: integer
  11154. goodsname:
  11155. description: 商品名称
  11156. type: string
  11157. logid:
  11158. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  11159. type: integer
  11160. nodetype:
  11161. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11162. type: integer
  11163. signadressurl:
  11164. description: 签约文件地址
  11165. type: string
  11166. signtimestamp:
  11167. description: 签约状态时间戳
  11168. type: string
  11169. userid:
  11170. description: 客户ID
  11171. type: integer
  11172. username:
  11173. description: 客户名称
  11174. type: string
  11175. type: object
  11176. models.QhjCustomerSignStatus:
  11177. properties:
  11178. createtime:
  11179. description: 创建时间
  11180. type: string
  11181. goodscode:
  11182. description: 商品代码
  11183. type: string
  11184. goodsid:
  11185. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11186. type: integer
  11187. goodsname:
  11188. description: 商品名称
  11189. type: string
  11190. nodetype:
  11191. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  11192. type: integer
  11193. signtimestamp:
  11194. description: 签约状态时间戳
  11195. type: string
  11196. tradedate:
  11197. description: 创建交易日(yyyyMMdd)
  11198. type: string
  11199. updatetime:
  11200. description: 更新时间
  11201. type: string
  11202. userid:
  11203. description: 客户ID
  11204. type: integer
  11205. username:
  11206. description: 客户名称
  11207. type: string
  11208. type: object
  11209. models.QhjMgrAccountOutInApply:
  11210. properties:
  11211. accountcode:
  11212. description: 资金账号
  11213. type: string
  11214. accountname:
  11215. description: 用户名称(名称)
  11216. type: string
  11217. accountpwd:
  11218. description: 资金密码
  11219. type: string
  11220. accountticket:
  11221. description: 最新账户服务流水号
  11222. type: string
  11223. amount:
  11224. description: 金额
  11225. type: number
  11226. applyremark:
  11227. description: 申请备注
  11228. type: string
  11229. applystatus:
  11230. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  11231. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  11232. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  11233. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  11234. type: integer
  11235. auditid:
  11236. description: 审核人
  11237. type: integer
  11238. audittime:
  11239. description: 审核时间
  11240. type: string
  11241. bank_apply_ticket:
  11242. description: 银行申请流水
  11243. type: string
  11244. bankaccountname:
  11245. description: 银行账户名
  11246. type: string
  11247. bankaccountno:
  11248. description: 银行卡号
  11249. type: string
  11250. bankid:
  11251. description: 银行编号
  11252. type: string
  11253. bankname:
  11254. description: 银行名称
  11255. type: string
  11256. bankticket:
  11257. description: 银行流水
  11258. type: string
  11259. branchbankid:
  11260. description: 银行支行号
  11261. type: string
  11262. branchbankname:
  11263. description: 银行支行名称
  11264. type: string
  11265. capamountout:
  11266. description: 出金(劣后本金) - 外部子账户
  11267. type: number
  11268. certificatephotourl:
  11269. description: 凭证地址
  11270. type: string
  11271. charge:
  11272. description: 手续费
  11273. type: number
  11274. checkerrorflag:
  11275. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  11276. type: integer
  11277. currency:
  11278. description: 币种
  11279. type: string
  11280. cusbankid:
  11281. description: 托管银行编号
  11282. type: string
  11283. exchticket:
  11284. description: 银行服务流水号
  11285. type: string
  11286. executetype:
  11287. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  11288. 7:外部子账户:入金 8:外部子账户:出金'
  11289. type: integer
  11290. extendinfo:
  11291. description: 扩展信息
  11292. type: string
  11293. extoperateid:
  11294. description: 交易服务流水号
  11295. type: integer
  11296. infamount:
  11297. description: 劣后金额(自有)
  11298. type: number
  11299. logincode:
  11300. description: 登录账号(账号)
  11301. type: string
  11302. netaddr:
  11303. description: 调转网址
  11304. type: string
  11305. priamount:
  11306. description: 优先金额(授信)
  11307. type: number
  11308. reauditid:
  11309. description: 复审人
  11310. type: integer
  11311. reauditremark:
  11312. description: 复审备注
  11313. type: string
  11314. reaudittime:
  11315. description: 复审时间
  11316. type: string
  11317. relatedorderid:
  11318. description: 三方关联ID
  11319. type: string
  11320. remark:
  11321. description: 备注
  11322. type: string
  11323. remark2:
  11324. description: 备注(失败原因)
  11325. type: string
  11326. soucreamount:
  11327. description: 原始出入金金额
  11328. type: number
  11329. soucrecurrencyid:
  11330. description: 原始出入金币种
  11331. type: integer
  11332. tradedate:
  11333. description: 交易日(yyyyMMdd)
  11334. type: string
  11335. updatetime:
  11336. description: 更新时间(申请时间)
  11337. type: string
  11338. userid:
  11339. description: 用户id
  11340. type: integer
  11341. userinfotype:
  11342. description: 账户类型 1-个人 2-企业
  11343. type: integer
  11344. type: object
  11345. models.QhjMgrBrokerApply:
  11346. properties:
  11347. applicantid:
  11348. description: 申请人
  11349. type: integer
  11350. applysrc:
  11351. description: 申请来源 - 1:管理端 2:终端
  11352. type: integer
  11353. applystatus:
  11354. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  11355. type: integer
  11356. applytime:
  11357. description: 申请时间
  11358. type: string
  11359. auditorid:
  11360. description: 审核人
  11361. type: integer
  11362. auditremark:
  11363. description: 审核备注
  11364. type: string
  11365. auditsrc:
  11366. description: 审核来源 - 1:管理端 2:终端
  11367. type: integer
  11368. audittime:
  11369. description: 审核时间
  11370. type: string
  11371. audittradedate:
  11372. description: 审核交易日(yyyyMMdd)
  11373. type: string
  11374. brokerapplyid:
  11375. description: 申请ID(SEQ_BROKERAPPLY)
  11376. type: integer
  11377. cardbackphotourl:
  11378. description: 证件背面图片地址
  11379. type: string
  11380. cardfrontphotourl:
  11381. description: 证件正面图片地址
  11382. type: string
  11383. cardnum:
  11384. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  11385. type: string
  11386. customername:
  11387. description: 姓名
  11388. type: string
  11389. filterstatus:
  11390. description: 筛选条件
  11391. type: string
  11392. logincode:
  11393. description: 登录代码
  11394. type: string
  11395. mobile:
  11396. description: 手机号码
  11397. type: string
  11398. parentuserid:
  11399. description: 所属机构id
  11400. type: integer
  11401. parentusername:
  11402. description: 所属机构名称
  11403. type: string
  11404. refereeuserid:
  11405. description: 推荐人id(经纪人)
  11406. type: integer
  11407. refernum:
  11408. description: 推荐码
  11409. type: string
  11410. remark:
  11411. description: 备注
  11412. type: string
  11413. subarealevelpath:
  11414. description: 层级路径
  11415. type: string
  11416. tradedate:
  11417. description: 交易日(yyyyMMdd)
  11418. type: string
  11419. userid:
  11420. description: 申请人用户ID
  11421. type: integer
  11422. userinfotype:
  11423. description: 用户类型 1-个人 2-企业
  11424. type: integer
  11425. username:
  11426. description: 用户名称
  11427. type: string
  11428. type: object
  11429. models.QhjMgrBrokerRewardReport:
  11430. properties:
  11431. createtime:
  11432. description: 创建时间(注册时间)
  11433. type: string
  11434. cycletime:
  11435. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  11436. type: string
  11437. cycletype:
  11438. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  11439. type: integer
  11440. directtotalnum:
  11441. description: 直推总人数【期末】
  11442. type: integer
  11443. indirecttotalnum:
  11444. description: 间推总人数【期末】
  11445. type: integer
  11446. mobile:
  11447. description: 电话号码
  11448. type: string
  11449. refereeuserid:
  11450. description: 推荐人id(经纪人id)
  11451. type: integer
  11452. refereeusername:
  11453. description: 推荐人名称(经纪人) 上级经纪人名称
  11454. type: string
  11455. refernum:
  11456. description: 推荐码
  11457. type: string
  11458. subarealevelpath:
  11459. description: 用户层级路径
  11460. type: string
  11461. todayrewardamount:
  11462. description: 奖励总金额【汇总】
  11463. type: number
  11464. updatetime:
  11465. description: 更新时间
  11466. type: string
  11467. userid:
  11468. description: 经纪人用户ID
  11469. type: integer
  11470. userinfotype:
  11471. description: 用户类型 1-个人 2-企业
  11472. type: integer
  11473. username:
  11474. description: 用户名称
  11475. type: string
  11476. type: object
  11477. models.QhjMgrContract:
  11478. properties:
  11479. contractconfirmtime:
  11480. description: 合同确认时间(时间)
  11481. type: string
  11482. currisklevel:
  11483. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  11484. type: integer
  11485. decimalplace:
  11486. description: 商品报价小数位
  11487. type: integer
  11488. enumdicname:
  11489. description: 单位名称
  11490. type: string
  11491. goodscode:
  11492. description: 商品代码
  11493. type: string
  11494. goodsid:
  11495. description: 商品ID [5:融资单]
  11496. type: integer
  11497. goodsname:
  11498. description: 商品名称
  11499. type: string
  11500. goodunitid:
  11501. description: 商品单位id
  11502. type: integer
  11503. initmargin:
  11504. description: 初始保证金(首付款)
  11505. type: number
  11506. lenderamount:
  11507. description: 贷款金额(总额|订单总额)
  11508. type: number
  11509. logincode:
  11510. description: 账号(登录代码)
  11511. type: string
  11512. marginratio:
  11513. description: 保证金比率(首付比例)
  11514. type: number
  11515. mobile:
  11516. description: 电话号码(用户资料里的电话)
  11517. type: string
  11518. payamount:
  11519. description: 已付(已付货款)
  11520. type: number
  11521. reckonrecovermargin:
  11522. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  11523. type: number
  11524. recoveredmargin:
  11525. description: 已追缴保证金
  11526. type: number
  11527. remainamount:
  11528. description: 合同剩余金额(融资额)
  11529. type: number
  11530. scfcontractid:
  11531. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  11532. type: string
  11533. scfcontractstatus:
  11534. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  11535. 9:违约结束 10:已注销 11:已关闭 99:未提交
  11536. type: integer
  11537. scfcontracttype:
  11538. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  11539. type: integer
  11540. totalinterest:
  11541. description: 已计总利息(利息)
  11542. type: number
  11543. tradedate:
  11544. description: 交易日
  11545. type: string
  11546. tradeprice:
  11547. description: 成交价格(成本价格)
  11548. type: number
  11549. userid:
  11550. description: 用户ID
  11551. type: integer
  11552. userinfotype:
  11553. description: 用户类型 1-个人 2-企业
  11554. type: integer
  11555. username:
  11556. description: 用户名称
  11557. type: string
  11558. wrqty:
  11559. description: 仓单数量(数量)
  11560. type: number
  11561. type: object
  11562. models.QhjMgrCustomer:
  11563. properties:
  11564. address:
  11565. description: 通讯地址
  11566. type: string
  11567. attachment1:
  11568. description: 附件1
  11569. type: string
  11570. audittime:
  11571. description: 审核时间
  11572. type: string
  11573. birthday:
  11574. description: 生日
  11575. type: string
  11576. brokerid:
  11577. description: 所属客户经理id
  11578. type: integer
  11579. brokername:
  11580. description: 所属客户经理名称
  11581. type: string
  11582. cardbackphotourl:
  11583. description: 证件反面图片地址
  11584. type: string
  11585. cardfrontphotourl:
  11586. description: 证件正面图片地址
  11587. type: string
  11588. cardnum:
  11589. description: 证件号码
  11590. type: string
  11591. cardtype:
  11592. description: 证件类型
  11593. type: integer
  11594. cardtypename:
  11595. description: 证件类型名称
  11596. type: string
  11597. cityid:
  11598. description: 市
  11599. type: integer
  11600. cityname:
  11601. description: 城市名称
  11602. type: string
  11603. contactname:
  11604. description: 联系人
  11605. type: string
  11606. countryid:
  11607. description: 国家
  11608. type: integer
  11609. countryname:
  11610. description: 国家名称
  11611. type: string
  11612. createtime:
  11613. description: 创建时间
  11614. type: string
  11615. customername:
  11616. description: 客户名称
  11617. type: string
  11618. districtid:
  11619. description: 区域
  11620. type: integer
  11621. districtname:
  11622. description: 地区名称
  11623. type: string
  11624. email:
  11625. description: 邮件
  11626. type: string
  11627. legalpersonname:
  11628. description: 法人姓名(企业)
  11629. type: string
  11630. logincode:
  11631. description: 登录账号(代码)
  11632. type: string
  11633. memberuserid:
  11634. description: 所属机构ID(所属会员)
  11635. type: integer
  11636. memberusername:
  11637. description: 所属会员名称
  11638. type: string
  11639. mobile:
  11640. description: 手机号码
  11641. type: string
  11642. modifytime:
  11643. description: 修改时间
  11644. type: string
  11645. nickname:
  11646. description: 昵称
  11647. type: string
  11648. parentuserid:
  11649. description: 上级机构(所属机构)
  11650. type: integer
  11651. parentusername:
  11652. description: 所属机构名称
  11653. type: string
  11654. provinceid:
  11655. description: 省
  11656. type: integer
  11657. provincename:
  11658. description: 省名称
  11659. type: string
  11660. proxystatementurl:
  11661. description: 授权委托书
  11662. type: string
  11663. querytype:
  11664. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  11665. type: integer
  11666. remark:
  11667. description: 备注
  11668. type: string
  11669. sex:
  11670. description: 性别 0-女 1-男
  11671. type: integer
  11672. status:
  11673. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  11674. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  11675. type: integer
  11676. statusdesc:
  11677. description: 账户状态中文描述
  11678. type: string
  11679. taxpayernum:
  11680. description: 纳税人识别号
  11681. type: string
  11682. telphone:
  11683. description: 联系电话
  11684. type: string
  11685. userid:
  11686. description: 用户ID
  11687. type: integer
  11688. userinfotype:
  11689. description: 客户类型 1-个人 2-企业
  11690. type: integer
  11691. username:
  11692. description: 用户名称
  11693. type: string
  11694. type: object
  11695. models.QhjMgrPickGoods:
  11696. properties:
  11697. enumdicname:
  11698. description: 单位名称(提货商品)
  11699. type: string
  11700. goodsid:
  11701. description: 商品id
  11702. type: integer
  11703. imageaddress:
  11704. description: 图片
  11705. type: string
  11706. modifierid:
  11707. description: 修改人
  11708. type: integer
  11709. modifiername:
  11710. description: 修改人名称
  11711. type: string
  11712. modifysrc:
  11713. description: 修改来源 - 1:管理端 2:终端
  11714. type: integer
  11715. pickupgoodsagreeunit:
  11716. description: 合约乘数
  11717. type: number
  11718. pickupgoodsdesc:
  11719. description: 描述
  11720. type: string
  11721. pickupgoodsid:
  11722. description: 提货商品ID
  11723. type: string
  11724. pickupgoodsname:
  11725. description: 提货商品名称
  11726. type: string
  11727. pickupgoodsstatus:
  11728. description: 状态 - 1:正常 2:停用 3:注销
  11729. type: integer
  11730. pickupgoodsunitid:
  11731. description: 单位ID
  11732. type: integer
  11733. pickupratio:
  11734. description: 提货系数
  11735. type: number
  11736. preparedays:
  11737. description: 备货期(天)
  11738. type: integer
  11739. remark:
  11740. description: 备注
  11741. type: string
  11742. updatetime:
  11743. description: 更新时间
  11744. type: string
  11745. type: object
  11746. models.QhjMgrPositionRsp:
  11747. properties:
  11748. accountid:
  11749. description: 账号Id
  11750. type: integer
  11751. accountname:
  11752. description: 用户名称
  11753. type: string
  11754. agreeunit:
  11755. description: 合约乘数
  11756. type: number
  11757. averageprice:
  11758. description: 均价
  11759. type: number
  11760. avialqty:
  11761. description: 可用数量
  11762. type: number
  11763. decimalplace:
  11764. description: 报价小数位
  11765. type: integer
  11766. enumdicname:
  11767. description: 单位名称(商品)
  11768. type: string
  11769. frozenqty:
  11770. description: 冻结数量
  11771. type: number
  11772. goodscode:
  11773. description: 商品代码(内部)
  11774. type: string
  11775. goodsid:
  11776. description: 商品Id
  11777. type: integer
  11778. goodsname:
  11779. description: 商品名称
  11780. type: string
  11781. goodunitid:
  11782. description: 报价单位ID
  11783. type: integer
  11784. holderamount:
  11785. description: 金额
  11786. type: number
  11787. holderqty:
  11788. description: 持有数量
  11789. type: number
  11790. holdertype:
  11791. description: 持仓类别 - 1:单边持仓 2:双边持仓
  11792. type: integer
  11793. logincode:
  11794. description: 登录代码(账户)
  11795. type: string
  11796. marketid:
  11797. description: 市场id
  11798. type: integer
  11799. qtydecimalplace:
  11800. description: 成交量小数位
  11801. type: integer
  11802. trademode:
  11803. description: 交易模式
  11804. type: integer
  11805. userid:
  11806. description: 用户id
  11807. type: integer
  11808. userinfotype:
  11809. description: 账户类型 1-个人 2-企业
  11810. type: integer
  11811. type: object
  11812. models.QhjMgrSubArea:
  11813. properties:
  11814. accountname:
  11815. description: 账户名称(机构名称)
  11816. type: string
  11817. memberuserid:
  11818. description: 所属会员ID
  11819. type: integer
  11820. parenttopuser:
  11821. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  11822. type: string
  11823. parentuserid:
  11824. description: 所属机构ID
  11825. type: integer
  11826. rootuserid:
  11827. description: 根用户ID
  11828. type: string
  11829. subaccountlevel:
  11830. description: 子账户层数
  11831. type: integer
  11832. subarealevelpath:
  11833. description: 子机构层级路径(逗号分隔,首尾加逗号)
  11834. type: string
  11835. userid:
  11836. description: 用户ID
  11837. type: integer
  11838. usertype:
  11839. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11840. type: integer
  11841. type: object
  11842. models.QhjMgrTradeDetailRsp:
  11843. properties:
  11844. accountid:
  11845. description: 资金账号
  11846. type: integer
  11847. accountname:
  11848. description: 用户名称
  11849. type: string
  11850. agreeunit:
  11851. description: 合约乘数
  11852. type: number
  11853. buyorsell:
  11854. description: 成交类型(方向) 0:买 1:卖
  11855. type: integer
  11856. decimalplace:
  11857. description: 报价小数位
  11858. type: integer
  11859. enumdicname:
  11860. description: 单位名称(商品)
  11861. type: string
  11862. goodscode:
  11863. description: 商品代码(内部)
  11864. type: string
  11865. goodsid:
  11866. description: 商品id
  11867. type: integer
  11868. goodsname:
  11869. description: 商品名称
  11870. type: string
  11871. goodunitid:
  11872. description: 报价单位ID
  11873. type: integer
  11874. logincode:
  11875. description: 登录代码(账户)
  11876. type: string
  11877. marketid:
  11878. description: 市场id
  11879. type: integer
  11880. orderid:
  11881. description: 关联委托单号
  11882. type: string
  11883. qtydecimalplace:
  11884. description: 成交量小数位
  11885. type: integer
  11886. tradeamount:
  11887. description: 金额
  11888. type: number
  11889. tradedate:
  11890. description: 交易日
  11891. type: string
  11892. tradeid:
  11893. description: 成交单号
  11894. type: string
  11895. trademode:
  11896. description: 交易模式
  11897. type: integer
  11898. tradeprice:
  11899. description: 价格
  11900. type: number
  11901. tradeqty:
  11902. description: 数量
  11903. type: number
  11904. tradetime:
  11905. description: 成交时间
  11906. type: string
  11907. userid:
  11908. description: 用户id
  11909. type: integer
  11910. userinfotype:
  11911. description: 账户类型 1-个人 2-企业
  11912. type: integer
  11913. type: object
  11914. models.QhjMgrTradeOrderDetailRsp:
  11915. properties:
  11916. accountid:
  11917. description: 资金账号
  11918. type: integer
  11919. accountname:
  11920. description: 用户名称
  11921. type: string
  11922. agreeunit:
  11923. description: 合约乘数
  11924. type: number
  11925. amount:
  11926. description: 金额
  11927. type: number
  11928. decimalplace:
  11929. description: 报价小数位
  11930. type: integer
  11931. enumdicname:
  11932. description: 单位名称(商品)
  11933. type: string
  11934. goodscode:
  11935. description: 商品代码(内部)
  11936. type: string
  11937. goodsid:
  11938. description: 商品id
  11939. type: integer
  11940. goodsname:
  11941. description: 商品名称
  11942. type: string
  11943. goodunitid:
  11944. description: 报价单位ID
  11945. type: integer
  11946. logincode:
  11947. description: 登录代码(账户)
  11948. type: string
  11949. marketid:
  11950. description: 市场id
  11951. type: integer
  11952. orderid:
  11953. description: 关联委托单号
  11954. type: string
  11955. orderprice:
  11956. description: 价格
  11957. type: number
  11958. orderqty:
  11959. description: 数量
  11960. type: number
  11961. orderstatus:
  11962. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11963. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11964. 16:成交失败违约(荷兰式竞拍专用)
  11965. type: integer
  11966. ordertime:
  11967. description: 委托时间
  11968. type: string
  11969. qtydecimalplace:
  11970. description: 成交量小数位
  11971. type: integer
  11972. tradedate:
  11973. description: 交易日
  11974. type: string
  11975. trademode:
  11976. description: 交易模式
  11977. type: integer
  11978. userid:
  11979. description: 用户id
  11980. type: integer
  11981. userinfotype:
  11982. description: 账户类型 1-个人 2-企业
  11983. type: integer
  11984. type: object
  11985. models.QhjMgrTradePayOrder:
  11986. properties:
  11987. accountname:
  11988. description: 用户名称
  11989. type: string
  11990. advanceratio:
  11991. description: 首付比率
  11992. type: number
  11993. agreeunit:
  11994. description: 合约乘数
  11995. type: number
  11996. buyaccountid:
  11997. description: 买方账号ID[报价币种]
  11998. type: integer
  11999. buyorderid:
  12000. description: 买方委托单号(关联单号)
  12001. type: string
  12002. createtime:
  12003. description: 创建时间
  12004. type: string
  12005. decimalplace:
  12006. description: 报价小数位
  12007. type: integer
  12008. enumdicname:
  12009. description: 单位名称(商品)
  12010. type: string
  12011. goodscode:
  12012. description: 商品代码(内部)
  12013. type: string
  12014. goodsid:
  12015. description: 商品ID
  12016. type: integer
  12017. goodsname:
  12018. description: 商品名称
  12019. type: string
  12020. goodunitid:
  12021. description: 报价单位ID
  12022. type: integer
  12023. logincode:
  12024. description: 登录代码(账户)
  12025. type: string
  12026. marketid:
  12027. description: 市场id
  12028. type: integer
  12029. offamount:
  12030. description: 优惠金额
  12031. type: number
  12032. operatetype:
  12033. description: 买委托操作类型 - 1:正常下单 16:融资买入
  12034. type: integer
  12035. payamount:
  12036. description: 支付金额(金额)
  12037. type: number
  12038. payflag:
  12039. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12040. type: integer
  12041. paylimitedtime:
  12042. description: 支付期限
  12043. type: string
  12044. paytime:
  12045. description: 付款时间
  12046. type: string
  12047. qtydecimalplace:
  12048. description: 成交量小数位
  12049. type: integer
  12050. sellaccountid:
  12051. description: 卖方账号ID[报价币种]
  12052. type: integer
  12053. sellorderid:
  12054. description: 卖方委托单号
  12055. type: string
  12056. tradeamount:
  12057. description: 成交金额(优惠后金额)
  12058. type: number
  12059. tradecharge:
  12060. description: 成交手续费(买方)
  12061. type: number
  12062. tradedate:
  12063. description: 交易日(yyyyMMdd)
  12064. type: string
  12065. tradeid:
  12066. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12067. type: string
  12068. trademode:
  12069. description: 交易模式
  12070. type: integer
  12071. tradeprice:
  12072. description: 成交价格(价格)
  12073. type: number
  12074. tradeqty:
  12075. description: 成交数量(数量)
  12076. type: number
  12077. tradetime:
  12078. description: 成交时间
  12079. type: string
  12080. userid:
  12081. description: 用户id
  12082. type: integer
  12083. userinfotype:
  12084. description: 账户类型 1-个人 2-企业
  12085. type: integer
  12086. type: object
  12087. models.QhjMyTeamEx:
  12088. properties:
  12089. accountname:
  12090. description: 用户名称
  12091. type: string
  12092. accountstatus:
  12093. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  12094. type: integer
  12095. createtime:
  12096. description: 创建时间
  12097. type: string
  12098. mobile:
  12099. description: 手机号码
  12100. type: string
  12101. refereeuserid:
  12102. description: 推荐人id
  12103. type: integer
  12104. refernum:
  12105. description: 推荐码
  12106. type: string
  12107. subList:
  12108. items:
  12109. $ref: '#/definitions/models.QhjMyTeamEx'
  12110. type: array
  12111. userid:
  12112. description: 用户id
  12113. type: integer
  12114. userinfotype:
  12115. description: 用户类型 1-个人 2-企业
  12116. type: integer
  12117. type: object
  12118. models.QhjNodeAgreementConfig:
  12119. properties:
  12120. agreementcontent:
  12121. description: 协议内容
  12122. type: string
  12123. agreementid:
  12124. description: 协议ID
  12125. type: integer
  12126. agreementname:
  12127. description: 协议名称
  12128. type: string
  12129. agreementno:
  12130. description: 协议编号
  12131. type: string
  12132. agreementtype:
  12133. description: 协议类型 - 1:注册 2:登录 3:交易
  12134. type: integer
  12135. agreementversion:
  12136. description: 协议版本号
  12137. type: integer
  12138. configid:
  12139. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12140. type: integer
  12141. createtime:
  12142. description: 创建时间
  12143. type: string
  12144. goodsid:
  12145. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12146. type: integer
  12147. nodetype:
  12148. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12149. type: integer
  12150. type: object
  12151. models.QhjParentAreaList:
  12152. properties:
  12153. accountname:
  12154. description: 账户名称(机构名称)
  12155. type: string
  12156. userid:
  12157. description: 用户ID
  12158. type: integer
  12159. usertype:
  12160. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12161. type: integer
  12162. type: object
  12163. models.QhjPayOrder:
  12164. properties:
  12165. advanceratio:
  12166. description: 首付比率
  12167. type: number
  12168. buyaccountid:
  12169. description: 买方账号ID[报价币种]
  12170. type: integer
  12171. buyorderid:
  12172. description: 买方委托单号
  12173. type: string
  12174. createtime:
  12175. description: 创建时间
  12176. type: string
  12177. decimalplace:
  12178. description: 商品报价小数位
  12179. type: integer
  12180. enumdicname:
  12181. description: 单位名称
  12182. type: string
  12183. goodscode:
  12184. description: 商品代码
  12185. type: string
  12186. goodsid:
  12187. description: 商品ID
  12188. type: integer
  12189. goodsname:
  12190. description: 商品名称
  12191. type: string
  12192. goodunitid:
  12193. description: 商品单位id
  12194. type: integer
  12195. marketid:
  12196. description: 市场ID
  12197. type: integer
  12198. offamount:
  12199. description: 优惠金额
  12200. type: number
  12201. operatetype:
  12202. description: 买委托操作类型 - 1:正常下单 16:融资买入
  12203. type: integer
  12204. payamount:
  12205. description: 支付金额
  12206. type: number
  12207. payflag:
  12208. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12209. type: integer
  12210. paylimitedtime:
  12211. description: 支付期限
  12212. type: string
  12213. paytime:
  12214. description: 付款时间
  12215. type: string
  12216. qtydecimalplace:
  12217. description: 成交量小数位
  12218. type: integer
  12219. sellaccountid:
  12220. description: 卖方账号ID[报价币种]
  12221. type: integer
  12222. sellorderid:
  12223. description: 卖方委托单号
  12224. type: string
  12225. tradeamount:
  12226. description: 成交金额(优惠后金额)
  12227. type: number
  12228. tradecharge:
  12229. description: 成交手续费(买方)
  12230. type: number
  12231. tradedate:
  12232. description: 交易日(yyyyMMdd)
  12233. type: string
  12234. tradeid:
  12235. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12236. type: string
  12237. tradeprice:
  12238. description: 成交价格
  12239. type: number
  12240. tradeqty:
  12241. description: 成交数量
  12242. type: number
  12243. type: object
  12244. models.QhjPickArea:
  12245. properties:
  12246. address:
  12247. description: 详细地址
  12248. type: string
  12249. cityid:
  12250. description: 市
  12251. type: integer
  12252. cityname:
  12253. description: 城市名称
  12254. type: string
  12255. countryid:
  12256. description: 国家
  12257. type: integer
  12258. countryname:
  12259. description: 国家名称
  12260. type: string
  12261. districtid:
  12262. description: 地区
  12263. type: integer
  12264. districtname:
  12265. description: 地区名称
  12266. type: string
  12267. fromuserid:
  12268. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  12269. type: integer
  12270. fromusername:
  12271. description: 所属机构名称
  12272. type: string
  12273. provinceid:
  12274. description: 省
  12275. type: integer
  12276. provincename:
  12277. description: 省名称
  12278. type: string
  12279. suborgtype:
  12280. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  12281. type: integer
  12282. userid:
  12283. description: 机构用户ID 其他做市关系,都设置为 1
  12284. type: integer
  12285. username:
  12286. description: 机构用户名称(门店门称)
  12287. type: string
  12288. type: object
  12289. models.QhjPickGoods:
  12290. properties:
  12291. enumdicname:
  12292. description: 单位名称(提货商品)
  12293. type: string
  12294. goodsid:
  12295. description: 商品id
  12296. type: integer
  12297. imageaddress:
  12298. description: 图片
  12299. type: string
  12300. modifierid:
  12301. description: 修改人
  12302. type: integer
  12303. modifiername:
  12304. description: 修改人名称
  12305. type: string
  12306. modifysrc:
  12307. description: 修改来源 - 1:管理端 2:终端
  12308. type: integer
  12309. pickupgoodsagreeunit:
  12310. description: 合约乘数
  12311. type: number
  12312. pickupgoodsdesc:
  12313. description: 描述
  12314. type: string
  12315. pickupgoodsid:
  12316. description: 提货商品ID
  12317. type: string
  12318. pickupgoodsname:
  12319. description: 提货商品名称
  12320. type: string
  12321. pickupgoodsstatus:
  12322. description: 状态 - 1:正常 2:停用 3:注销
  12323. type: integer
  12324. pickupgoodsunitid:
  12325. description: 单位ID
  12326. type: integer
  12327. pickupratio:
  12328. description: 提货系数
  12329. type: number
  12330. preparedays:
  12331. description: 备货期(天)
  12332. type: integer
  12333. remark:
  12334. description: 备注
  12335. type: string
  12336. updatetime:
  12337. description: 更新时间
  12338. type: string
  12339. type: object
  12340. models.QhjRSTriggerLog:
  12341. properties:
  12342. accountid:
  12343. description: 用户资金账户
  12344. type: integer
  12345. accountname:
  12346. description: 账号名称(ACCOUNTID对应的名称)
  12347. type: string
  12348. currencyid:
  12349. description: 币种id
  12350. type: integer
  12351. currencyname:
  12352. description: 币种名称
  12353. type: string
  12354. decimalplace:
  12355. description: 商品报价小数位
  12356. type: integer
  12357. enumdicname:
  12358. description: 单位名称
  12359. type: string
  12360. goodscode:
  12361. description: 定投商品代码
  12362. type: string
  12363. goodsid:
  12364. description: 定投商品ID
  12365. type: integer
  12366. goodsname:
  12367. description: 定投商品名称
  12368. type: string
  12369. goodunitid:
  12370. description: 定投商品单位id
  12371. type: integer
  12372. logid:
  12373. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  12374. type: string
  12375. logincode:
  12376. description: 账号(登录代码)
  12377. type: string
  12378. qtydecimalplace:
  12379. description: 成交量小数位
  12380. type: integer
  12381. regularlycycle:
  12382. description: 定投频率 - 1:每周 2:每月
  12383. type: integer
  12384. regularlycyclevalue:
  12385. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12386. type: string
  12387. regularlymode:
  12388. description: 定投方式 - 1:按数量 2:按金额
  12389. type: integer
  12390. regularlymodevalue:
  12391. description: 定投方式值 - 数量或金额
  12392. type: number
  12393. regularlystrategyid:
  12394. description: 定投策略ID
  12395. type: integer
  12396. retcode:
  12397. description: 错误码
  12398. type: string
  12399. tradeid:
  12400. description: 成交单ID
  12401. type: string
  12402. triggeramount:
  12403. description: 触发金额
  12404. type: number
  12405. triggerqty:
  12406. description: 触发数量
  12407. type: number
  12408. triggerstatus:
  12409. description: 触发状态 - 1:成功 2:失败
  12410. type: integer
  12411. triggertime:
  12412. description: 触发时间
  12413. type: string
  12414. triggertradedate:
  12415. description: 触发交易日
  12416. type: string
  12417. userid:
  12418. description: 所属用户ID
  12419. type: integer
  12420. userinfotype:
  12421. description: 用户类型 1-个人 2-企业
  12422. type: integer
  12423. username:
  12424. description: 用户名称(userid对应的名称)
  12425. type: string
  12426. type: object
  12427. models.QhjRStrategy:
  12428. properties:
  12429. accountid:
  12430. description: 用户资金账户
  12431. type: integer
  12432. accountname:
  12433. description: 账号名称(ACCOUNTID对应的名称)
  12434. type: string
  12435. currencyid:
  12436. description: 币种id
  12437. type: integer
  12438. currencyname:
  12439. description: 币种名称
  12440. type: string
  12441. decimalplace:
  12442. description: 商品报价小数位
  12443. type: integer
  12444. enumdicname:
  12445. description: 单位名称
  12446. type: string
  12447. goodscode:
  12448. description: 定投商品代码
  12449. type: string
  12450. goodsid:
  12451. description: 定投商品ID
  12452. type: integer
  12453. goodsname:
  12454. description: 定投商品名称
  12455. type: string
  12456. goodunitid:
  12457. description: 定投商品单位id
  12458. type: integer
  12459. lasteffecttradedate:
  12460. description: 最新生效交易日
  12461. type: string
  12462. laststoptradedate:
  12463. description: 最新暂停交易日
  12464. type: string
  12465. lasttriggertradedate:
  12466. description: 最新触发交易日
  12467. type: string
  12468. logincode:
  12469. description: 账号(登录代码)
  12470. type: string
  12471. nexttriggeramount:
  12472. description: 下次触发金额
  12473. type: number
  12474. nexttriggerdate:
  12475. description: 下次触发日期
  12476. type: string
  12477. nexttriggerqty:
  12478. description: 下次触发数量 [按小数位放大值]
  12479. type: number
  12480. qtydecimalplace:
  12481. description: 成交量小数位
  12482. type: integer
  12483. regularlycycle:
  12484. description: 定投频率 - 1:每周 2:每月
  12485. type: integer
  12486. regularlycyclevalue:
  12487. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12488. type: string
  12489. regularlymode:
  12490. description: 定投方式 - 1:按数量 2:按金额
  12491. type: integer
  12492. regularlymodevalue:
  12493. description: 定投方式值 - 数量或金额
  12494. type: number
  12495. regularlystrategyid:
  12496. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  12497. type: integer
  12498. regularlystrategystatus:
  12499. description: 策略状态 - 1:正常 2:暂停 3:终止
  12500. type: integer
  12501. remark:
  12502. description: 备注
  12503. type: string
  12504. triggersuccesstimes:
  12505. description: 累计定投成功次数
  12506. type: string
  12507. triggertotalamount:
  12508. description: 累计定投金额(成功)
  12509. type: number
  12510. triggertotalqty:
  12511. description: 累计定投数量(成功) [按小数位放大值]
  12512. type: number
  12513. triggertotaltimes:
  12514. description: 累计定投总次数
  12515. type: string
  12516. updatesrc:
  12517. description: 更新来源 - 1:管理端 2:终端
  12518. type: integer
  12519. updatetime:
  12520. description: 更新时间
  12521. type: string
  12522. updatorid:
  12523. description: 更新人
  12524. type: string
  12525. userid:
  12526. description: 所属用户ID
  12527. type: integer
  12528. userinfotype:
  12529. description: 用户类型 1-个人 2-企业
  12530. type: integer
  12531. username:
  12532. description: 用户名称(userid对应的名称)
  12533. type: string
  12534. type: object
  12535. models.QhjReckonPriceLog:
  12536. properties:
  12537. decimalplace:
  12538. description: 商品报价小数位
  12539. type: integer
  12540. goodscode:
  12541. description: 商品代码
  12542. type: string
  12543. goodsid:
  12544. description: 商品ID
  12545. type: integer
  12546. goodsname:
  12547. description: 商品名称
  12548. type: string
  12549. lastreckonprice:
  12550. description: 上日结算价
  12551. type: number
  12552. nextdnlimitprice:
  12553. description: 下个交易日跌停价
  12554. type: number
  12555. nexttrade:
  12556. description: 下个交易日
  12557. type: string
  12558. nextuplimitprice:
  12559. description: 下个交易日涨停价
  12560. type: number
  12561. reckonprice:
  12562. description: 今日结算价(定投价)
  12563. type: number
  12564. reckontime:
  12565. description: 结算时间
  12566. type: string
  12567. totalholderqty:
  12568. description: 总持仓数
  12569. type: integer
  12570. totalstock:
  12571. description: 总库存
  12572. type: integer
  12573. tradedate:
  12574. description: 交易日
  12575. type: string
  12576. updowncount:
  12577. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  12578. type: integer
  12579. updownflag:
  12580. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  12581. type: integer
  12582. updownrate:
  12583. description: 今日涨跌幅
  12584. type: number
  12585. updownrate_2d:
  12586. description: 连续两日涨跌幅
  12587. type: number
  12588. updownrate_3d:
  12589. description: 连续三日涨跌幅
  12590. type: number
  12591. type: object
  12592. models.QhjScoreLog:
  12593. properties:
  12594. accountid:
  12595. description: 账户ID
  12596. type: integer
  12597. createtime:
  12598. description: 创建时间(时间)
  12599. type: string
  12600. goodsid:
  12601. description: 商品ID
  12602. type: integer
  12603. hasuploaded:
  12604. description: 是否已同步(千海金) 0:未同步 1;已同步
  12605. type: integer
  12606. logid:
  12607. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12608. type: string
  12609. marketid:
  12610. description: 市场ID
  12611. type: integer
  12612. relatedamount:
  12613. description: 关联金额
  12614. type: number
  12615. relatedorderid:
  12616. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  12617. type: string
  12618. scoreconfigvalue1:
  12619. description: 积分配置1
  12620. type: integer
  12621. scoreconfigvalue2:
  12622. description: 积分配置1
  12623. type: integer
  12624. scoretype:
  12625. description: 积分类型 - 1:提货积分
  12626. type: integer
  12627. scorevalue:
  12628. description: 积分
  12629. type: number
  12630. tradedate:
  12631. description: 交易日(yyyyMMdd)
  12632. type: string
  12633. uploadedtime:
  12634. description: 同步时间
  12635. type: string
  12636. userid:
  12637. description: 用户ID
  12638. type: integer
  12639. type: object
  12640. models.QhjSiteColumnDetail:
  12641. properties:
  12642. author:
  12643. description: 作者
  12644. type: string
  12645. brief:
  12646. description: 简介
  12647. type: string
  12648. columnid:
  12649. description: 所属栏目
  12650. type: integer
  12651. context:
  12652. description: 内容
  12653. type: string
  12654. coverimage:
  12655. description: 封面图片
  12656. type: string
  12657. creaedate:
  12658. description: 创建时间
  12659. type: string
  12660. creatorid:
  12661. description: 创建人
  12662. type: integer
  12663. hits:
  12664. description: 点击数
  12665. type: integer
  12666. id:
  12667. description: ID(SEQ_SITE_COLUMNDETAIL)
  12668. type: integer
  12669. isshow:
  12670. description: 是否展示 - 0:不展示 1:展示
  12671. type: integer
  12672. istop:
  12673. description: 是否置顶 - 0:不置 1:置顶
  12674. type: integer
  12675. modifierid:
  12676. description: 操作人
  12677. type: integer
  12678. publishdate:
  12679. description: 发布日期
  12680. type: string
  12681. status:
  12682. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  12683. type: integer
  12684. title:
  12685. description: 标题
  12686. type: string
  12687. updatedate:
  12688. description: 修改时间
  12689. type: string
  12690. userid:
  12691. description: 用户ID(默认为0, 核心为为机构用户ID)
  12692. type: integer
  12693. username:
  12694. description: 用户名称
  12695. type: string
  12696. type: object
  12697. models.QhjTeamOrder:
  12698. properties:
  12699. accountid:
  12700. description: 账户ID[报价币种]
  12701. type: integer
  12702. accountname:
  12703. description: 账户名称
  12704. type: string
  12705. agreeunit:
  12706. description: 合约乘数
  12707. type: number
  12708. buyorsell:
  12709. description: 方向 - 0:买 1:卖
  12710. type: integer
  12711. decimalplace:
  12712. description: 报价小数位
  12713. type: integer
  12714. enumdicname:
  12715. description: 单位名称
  12716. type: string
  12717. goodscode:
  12718. description: 商品代码(内部)
  12719. type: string
  12720. goodsid:
  12721. description: 商品ID
  12722. type: integer
  12723. goodsname:
  12724. description: 商品名称
  12725. type: string
  12726. goodunitid:
  12727. description: 报价单位ID
  12728. type: integer
  12729. marketid:
  12730. description: 市场ID
  12731. type: integer
  12732. marketname:
  12733. description: 市场名称
  12734. type: string
  12735. qtydecimalplace:
  12736. description: 成交量小数位
  12737. type: integer
  12738. refereeuserid:
  12739. description: 推荐人ID
  12740. type: integer
  12741. tradeamount:
  12742. description: 成交金额[账户币种,用于所有权]
  12743. type: number
  12744. tradedate:
  12745. description: 交易日(yyyyMMdd)
  12746. type: string
  12747. trademode:
  12748. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12749. 21:竞拍-大宗式 22:受托竞价
  12750. type: integer
  12751. tradeprice:
  12752. description: 成交价格
  12753. type: number
  12754. tradeqty:
  12755. description: 成交数量
  12756. type: number
  12757. tradetime:
  12758. description: 成交时间
  12759. type: string
  12760. userid:
  12761. description: 用户ID
  12762. type: integer
  12763. type: object
  12764. models.QhjTradeGoodsPickup:
  12765. properties:
  12766. accountid:
  12767. description: 账户ID
  12768. type: integer
  12769. address:
  12770. description: 提货人详细地址
  12771. type: string
  12772. amount:
  12773. description: 提货金额
  12774. type: number
  12775. artradedate:
  12776. description: 自动收货交易日(yyyyMMdd)
  12777. type: string
  12778. auditer:
  12779. description: 审核人
  12780. type: integer
  12781. auditsrc:
  12782. description: 更新来源 - 1:管理端 2:终端
  12783. type: integer
  12784. audittime:
  12785. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  12786. type: string
  12787. audittradedate:
  12788. description: 审核交易日(yyyyMMdd)
  12789. type: string
  12790. cardnum:
  12791. description: 提货人证件号码
  12792. type: string
  12793. cardtypeid:
  12794. description: 提货人证件类型
  12795. type: integer
  12796. checkremark:
  12797. description: 审核备注
  12798. type: string
  12799. cityid:
  12800. description: 市
  12801. type: integer
  12802. cityname:
  12803. description: 城市名称
  12804. type: string
  12805. confirmtime:
  12806. description: 取货时间 或 收货时间
  12807. type: string
  12808. countryid:
  12809. description: 国家
  12810. type: integer
  12811. countryname:
  12812. description: 国家名称
  12813. type: string
  12814. decimalplace:
  12815. description: 商品报价小数位
  12816. type: integer
  12817. districtid:
  12818. description: 地区
  12819. type: integer
  12820. districtname:
  12821. description: 地区名称
  12822. type: string
  12823. enumdicname:
  12824. description: 单位名称(提货商品)
  12825. type: string
  12826. expresscompany:
  12827. description: 物流公司
  12828. type: string
  12829. expressnum:
  12830. description: 物流单号
  12831. type: string
  12832. goodsagreeunit:
  12833. description: 交易商品乘数
  12834. type: number
  12835. goodscode:
  12836. description: 商品代码
  12837. type: string
  12838. goodsid:
  12839. description: 商品ID
  12840. type: integer
  12841. goodsname:
  12842. description: 商品名称
  12843. type: string
  12844. goodsqty:
  12845. description: 交易商品手数(69模式按成交量小数位放大取整)
  12846. type: number
  12847. handlestatus:
  12848. description: 处理状态
  12849. type: integer
  12850. logincode:
  12851. description: 账号(登录代码, 有可能为空)
  12852. type: string
  12853. marketid:
  12854. description: 市场ID
  12855. type: integer
  12856. phonenum:
  12857. description: 提货人联系方式
  12858. type: string
  12859. pickupgoodsagreeunit:
  12860. description: 提货商品合约乘数
  12861. type: number
  12862. pickupgoodsid:
  12863. description: 提货商品ID
  12864. type: string
  12865. pickupgoodsname:
  12866. description: 提货商品名称
  12867. type: string
  12868. pickupgoodsqty:
  12869. description: 提货商品手数(数量)
  12870. type: number
  12871. pickupgoodsunitid:
  12872. description: 单位ID(提货商品)
  12873. type: integer
  12874. pickupratio:
  12875. description: 提货系数
  12876. type: number
  12877. preparedays:
  12878. description: 备货期(天)-提货单明细表
  12879. type: integer
  12880. provinceid:
  12881. description: 省
  12882. type: integer
  12883. provincename:
  12884. description: 省名称
  12885. type: string
  12886. qty:
  12887. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  12888. type: number
  12889. qtydecimalplace:
  12890. description: 商品数量小数位
  12891. type: integer
  12892. recivername:
  12893. description: 提货人姓名
  12894. type: string
  12895. reqtime:
  12896. description: 提货申请时间
  12897. type: string
  12898. storeuserid:
  12899. description: 门店用户ID (千海金)
  12900. type: integer
  12901. storeusername:
  12902. description: 门店用户名称
  12903. type: string
  12904. takemode:
  12905. description: 提货方式 - 2:自提 3:配送(邮寄)
  12906. type: integer
  12907. takeorderid:
  12908. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12909. type: string
  12910. takeorderstatus:
  12911. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  12912. 7:已拒绝 8:已撤销
  12913. type: integer
  12914. takeremark:
  12915. description: 提货备注
  12916. type: string
  12917. tradedate:
  12918. description: 交易日(yyyyMMdd)
  12919. type: string
  12920. updatetime:
  12921. description: 更新时间
  12922. type: string
  12923. userid:
  12924. description: 用户ID
  12925. type: integer
  12926. userinfotype:
  12927. description: 客户类型 1-个人 2-企业
  12928. type: integer
  12929. username:
  12930. description: 用户名称
  12931. type: string
  12932. type: object
  12933. models.QhjUserNodeCfgAndStatus:
  12934. properties:
  12935. agreementcontent:
  12936. description: 协议内容
  12937. type: string
  12938. agreementid:
  12939. description: 协议ID
  12940. type: integer
  12941. agreementname:
  12942. description: 协议名称
  12943. type: string
  12944. agreementno:
  12945. description: 协议编号
  12946. type: string
  12947. agreementtype:
  12948. description: 协议类型 - 1:注册 2:登录 3:交易
  12949. type: integer
  12950. agreementversion:
  12951. description: 协议版本号
  12952. type: integer
  12953. configid:
  12954. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12955. type: integer
  12956. createtime:
  12957. description: 创建时间
  12958. type: string
  12959. goodsid:
  12960. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12961. type: integer
  12962. nodetype:
  12963. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12964. type: integer
  12965. signtimestamp:
  12966. description: 签约状态时间戳(最近一次)
  12967. type: string
  12968. tradedate:
  12969. description: 签约交易日(yyyyMMdd)
  12970. type: string
  12971. userid:
  12972. description: 客户ID
  12973. type: integer
  12974. type: object
  12975. models.Qhjgoodsex:
  12976. properties:
  12977. canfinance:
  12978. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  12979. type: integer
  12980. canregularlybuy:
  12981. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  12982. type: integer
  12983. defaulttradeuserid:
  12984. description: 默认交易用户ID
  12985. type: integer
  12986. deliverygoodsid:
  12987. description: 现货品种ID
  12988. type: integer
  12989. goodsid:
  12990. description: 商品ID(自增ID SEQ_GOODS)
  12991. type: integer
  12992. minamount:
  12993. description: 最小购买金额
  12994. type: number
  12995. regularlybuyminamount:
  12996. description: 定投最小金额
  12997. type: number
  12998. regularlybuyminqty:
  12999. description: 定投最小数量
  13000. type: number
  13001. spotgoodsbrandid:
  13002. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  13003. type: integer
  13004. visibilityforenterprise:
  13005. description: 企业客户是否可见 - 0:不可见 1:可见
  13006. type: integer
  13007. visibilityforpersonal:
  13008. description: 个人客户是否可见 - 0:不可见 1:可见
  13009. type: integer
  13010. wrstandardid:
  13011. description: 现货商品ID
  13012. type: integer
  13013. type: object
  13014. models.QueryErrorInfosRsp:
  13015. properties:
  13016. description:
  13017. description: 异常描述
  13018. type: string
  13019. errorcode:
  13020. description: 异常代码
  13021. type: string
  13022. errorid:
  13023. description: 异常ID
  13024. type: integer
  13025. modulecode:
  13026. description: 所属模块
  13027. type: string
  13028. operatecode:
  13029. description: 所属操作
  13030. type: string
  13031. rownumber:
  13032. description: 行号
  13033. type: string
  13034. required:
  13035. - errorid
  13036. type: object
  13037. models.QueryHedgeOrderDetailRsp:
  13038. properties:
  13039. accountid:
  13040. description: 账户ID
  13041. type: integer
  13042. buyorsell:
  13043. description: 买卖 - 0:买 1:卖
  13044. type: integer
  13045. cancellogincode:
  13046. description: 撤单人
  13047. type: string
  13048. channelbuildtype:
  13049. description: 开平标志 - 0:无 1:建仓 2:平仓
  13050. type: integer
  13051. channelinnerorderstatus:
  13052. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  13053. 9:全部成交
  13054. type: integer
  13055. channeloperatetype:
  13056. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  13057. type: integer
  13058. closetype:
  13059. description: 平仓方式 - 0:无 1:平今 2:平昨
  13060. type: integer
  13061. curexchangerate:
  13062. description: 当前汇率
  13063. type: number
  13064. decimalplace:
  13065. description: 商品报价小数位
  13066. type: integer
  13067. exchangefullname:
  13068. description: 外部交易所全称
  13069. type: string
  13070. goodscode:
  13071. description: 商品代码(内部)
  13072. type: string
  13073. goodsid:
  13074. description: 商品ID
  13075. type: integer
  13076. goodsname:
  13077. description: 商品名称
  13078. type: string
  13079. marketid:
  13080. description: 市场ID
  13081. type: integer
  13082. openfreezemargin:
  13083. description: 冻结保证金(冻结交易金额)
  13084. type: number
  13085. orderid:
  13086. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13087. type: string
  13088. orderlogincode:
  13089. description: 委托人
  13090. type: string
  13091. orderprice:
  13092. description: 委托价格(账户)
  13093. type: number
  13094. orderqty:
  13095. description: 委托数量
  13096. type: integer
  13097. ordertime:
  13098. description: 委托时间
  13099. type: string
  13100. pricemode:
  13101. description: '取价方式 - 1:市价 2: 限价'
  13102. type: integer
  13103. tradedate:
  13104. description: 交易日(yyyyMMdd)
  13105. type: string
  13106. tradeqty:
  13107. description: 成交数量
  13108. type: integer
  13109. type: object
  13110. models.QueryHedgeTradeDetailRsp:
  13111. properties:
  13112. accountid:
  13113. description: 账号ID
  13114. type: integer
  13115. buyorsell:
  13116. description: 方向 - 0:买 1:卖
  13117. type: integer
  13118. channelbuildtype:
  13119. description: 委托单据类型 0:无 1:建仓 2:平仓
  13120. type: integer
  13121. closecharge:
  13122. description: 平仓手续费(账户)
  13123. type: number
  13124. closecharge2:
  13125. description: 平仓手续费(商品)
  13126. type: number
  13127. closepl:
  13128. description: 平仓盈亏(账户)
  13129. type: number
  13130. closepl2:
  13131. description: 平仓盈亏(商品)
  13132. type: number
  13133. closepl3:
  13134. description: 平仓盈亏(账户)(逐笔)
  13135. type: number
  13136. closepl4:
  13137. description: 平仓盈亏(商品)(逐笔)
  13138. type: number
  13139. closetype:
  13140. description: 平仓方式 - 0:无 1:平今 2:平昨
  13141. type: integer
  13142. curexchangerate:
  13143. description: 当前汇率
  13144. type: number
  13145. decimalplace:
  13146. description: 商品报价小数位
  13147. type: integer
  13148. exchangefullname:
  13149. description: 外部交易所全称
  13150. type: string
  13151. goodscode:
  13152. description: 商品代码(内部)
  13153. type: string
  13154. goodsid:
  13155. description: 商品ID
  13156. type: integer
  13157. goodsname:
  13158. description: 商品名称
  13159. type: string
  13160. marketid:
  13161. description: 市场ID
  13162. type: integer
  13163. opencharge:
  13164. description: 建仓手续费(账户)
  13165. type: number
  13166. opencharge2:
  13167. description: 建仓手续费(商品)
  13168. type: number
  13169. orderid:
  13170. description: 委托单号
  13171. type: string
  13172. orderlogincode:
  13173. description: 委托人
  13174. type: string
  13175. tradeamount:
  13176. description: 成交金额(账户)
  13177. type: number
  13178. tradedate:
  13179. description: 交易日(yyyyMMdd)
  13180. type: string
  13181. tradeid:
  13182. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13183. type: string
  13184. tradeprice:
  13185. description: 成交价格
  13186. type: number
  13187. tradeqty:
  13188. description: 成交数量
  13189. type: integer
  13190. tradetime:
  13191. description: 成交时间
  13192. type: string
  13193. tradetype:
  13194. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  13195. type: integer
  13196. type: object
  13197. models.QuotePrimaryMenu:
  13198. properties:
  13199. Index:
  13200. description: 序号
  13201. type: integer
  13202. Key:
  13203. description: 键名
  13204. type: string
  13205. Name:
  13206. description: 菜单名称
  13207. type: string
  13208. SubMenus:
  13209. description: 子菜单
  13210. items:
  13211. $ref: '#/definitions/models.QuoteSecondaryMenu'
  13212. type: array
  13213. SubTitleType:
  13214. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  13215. type: integer
  13216. TradeModes:
  13217. description: 包含市场交易类型
  13218. type: string
  13219. type: object
  13220. models.QuoteSecondaryMenu:
  13221. properties:
  13222. ExExchangeCode:
  13223. description: 外部交易所代码
  13224. type: string
  13225. ExExchangeID:
  13226. description: 外部交易所ID
  13227. type: integer
  13228. GoodsGroupIDs:
  13229. description: 商品组ID列表
  13230. items:
  13231. type: integer
  13232. type: array
  13233. Index:
  13234. description: 序号
  13235. type: integer
  13236. MarketID:
  13237. description: 市场ID
  13238. type: integer
  13239. MenuTitle:
  13240. description: 菜单标题(市场名称或外部交易所名称)
  13241. type: string
  13242. TradeMode:
  13243. description: 交易模式
  13244. type: integer
  13245. type: object
  13246. models.RoleMenu:
  13247. properties:
  13248. hasright:
  13249. description: 是否有权限 0-没有权限 1-有权限
  13250. type: integer
  13251. iconame:
  13252. description: 菜单图标
  13253. type: string
  13254. menutype:
  13255. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  13256. type: integer
  13257. parentcode:
  13258. description: 上级资源代码
  13259. type: string
  13260. remark:
  13261. description: 菜单备注
  13262. type: string
  13263. resourcecode:
  13264. description: 菜单代码
  13265. type: string
  13266. resourcelevel:
  13267. description: 级别
  13268. type: integer
  13269. resourcename:
  13270. description: 菜单名称
  13271. type: string
  13272. roleid:
  13273. description: 角色id
  13274. type: integer
  13275. sort:
  13276. description: 排序
  13277. type: integer
  13278. subMenu:
  13279. description: 子级菜单(结构同上层一样, swag解析不出来)
  13280. items:
  13281. $ref: '#/definitions/models.RoleMenu'
  13282. type: array
  13283. url:
  13284. description: URL
  13285. type: string
  13286. userid:
  13287. description: 用户id
  13288. type: integer
  13289. type: object
  13290. models.SearchGoods:
  13291. properties:
  13292. goodscode:
  13293. description: 商品代码(内部)
  13294. type: string
  13295. goodsid:
  13296. description: 商品ID(自增ID SEQ_GOODS)
  13297. type: integer
  13298. goodsname:
  13299. description: 商品名称
  13300. type: string
  13301. marketid:
  13302. description: 所属市场ID
  13303. type: integer
  13304. marketname:
  13305. description: 市场名称
  13306. type: string
  13307. trademode:
  13308. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  13309. 21:竞拍-大宗式 22:受托竞价
  13310. type: integer
  13311. required:
  13312. - goodscode
  13313. - goodsid
  13314. - goodsname
  13315. - marketid
  13316. - trademode
  13317. type: object
  13318. models.Systemparam:
  13319. properties:
  13320. loginid:
  13321. description: 更新用户账号,登录账号
  13322. type: string
  13323. modifyflag:
  13324. description: 修改标志0 不允许修改 1 允许修改
  13325. type: integer
  13326. paramcode:
  13327. description: 参数代码
  13328. type: string
  13329. paramname:
  13330. description: 参数名
  13331. type: string
  13332. paramtype:
  13333. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  13334. type: integer
  13335. paramvalue:
  13336. description: 参数值
  13337. type: string
  13338. paramvalue2:
  13339. description: 参数值(CLOB)
  13340. type: string
  13341. regexpress:
  13342. description: 正则表达式
  13343. type: string
  13344. remark:
  13345. description: 备注
  13346. type: string
  13347. serverip:
  13348. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  13349. type: string
  13350. showflag:
  13351. description: 是否显示0 不显示 1 显示
  13352. type: integer
  13353. updatetime:
  13354. description: 更新时间
  13355. type: string
  13356. userid:
  13357. description: 更新用户ID
  13358. type: integer
  13359. required:
  13360. - paramcode
  13361. type: object
  13362. models.Szdz3convertconfig:
  13363. properties:
  13364. canin:
  13365. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  13366. type: integer
  13367. canout:
  13368. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  13369. type: integer
  13370. converttype:
  13371. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  13372. 6:交易转花生米(不设置)
  13373. type: integer
  13374. createtime:
  13375. description: 创建时间
  13376. type: string
  13377. creatorid:
  13378. description: 创建人
  13379. type: integer
  13380. daymaxvalue:
  13381. description: 当日最大转入限制
  13382. type: number
  13383. freezedays:
  13384. description: 冻结天数 [5:花生米转交易]
  13385. type: integer
  13386. innergoodsid:
  13387. description: 内部商品ID[交易]
  13388. type: integer
  13389. inratio:
  13390. description: 目标值
  13391. type: integer
  13392. modifierid:
  13393. description: 修改人
  13394. type: integer
  13395. modifytime:
  13396. description: 修改时间
  13397. type: string
  13398. outergoodscode:
  13399. description: 外部商品代码[JD\PD]
  13400. type: string
  13401. outratio:
  13402. description: 源值
  13403. type: integer
  13404. pddecimalplace:
  13405. description: PD小数位
  13406. type: integer
  13407. timemaxvalue:
  13408. description: 单次最大转入限制
  13409. type: number
  13410. timeminvalue:
  13411. description: 单次最小转入限制
  13412. type: number
  13413. required:
  13414. - converttype
  13415. - innergoodsid
  13416. - outergoodscode
  13417. type: object
  13418. models.Szdz3searchwhitelist:
  13419. properties:
  13420. createtime:
  13421. description: 创建时间
  13422. type: string
  13423. creatorid:
  13424. description: 创建人
  13425. type: integer
  13426. modifierid:
  13427. description: 修改人
  13428. type: integer
  13429. modifytime:
  13430. description: 修改时间
  13431. type: string
  13432. userid:
  13433. description: 用户ID
  13434. type: integer
  13435. required:
  13436. - userid
  13437. type: object
  13438. models.TBGoods:
  13439. properties:
  13440. agreeunit:
  13441. description: 合约乘数
  13442. type: number
  13443. enumdicname:
  13444. description: 单位名称
  13445. type: string
  13446. goodscode:
  13447. description: 商品代码(内部)
  13448. type: string
  13449. goodsid:
  13450. description: 商品ID(自增ID SEQ_GOODS)
  13451. type: integer
  13452. goodsname:
  13453. description: 商品名称
  13454. type: string
  13455. type: object
  13456. models.TBGoodsGroup:
  13457. properties:
  13458. GDLST:
  13459. description: 商品列表
  13460. items:
  13461. $ref: '#/definitions/models.TBGoods'
  13462. type: array
  13463. convertratio:
  13464. description: 折算系数
  13465. type: number
  13466. enumdicname:
  13467. description: 单位名称
  13468. type: string
  13469. exexchangecode:
  13470. description: 交易所代码
  13471. type: string
  13472. exexchangename:
  13473. description: 交易所名称
  13474. type: string
  13475. goodsgroupid:
  13476. description: 商品组ID(自增ID)
  13477. type: integer
  13478. goodsgroupname:
  13479. description: 商品组名称
  13480. type: string
  13481. goodunitid:
  13482. description: 报价单位ID
  13483. type: integer
  13484. type: object
  13485. models.TBMiddleGoods:
  13486. properties:
  13487. GPLST:
  13488. description: 期货品种列表
  13489. items:
  13490. $ref: '#/definitions/models.TBGoodsGroup'
  13491. type: array
  13492. WDLST:
  13493. description: 商品信息列表(现货品类)
  13494. items:
  13495. $ref: '#/definitions/models.TBWrstandard'
  13496. type: array
  13497. areauserid:
  13498. description: 机构用户ID
  13499. type: integer
  13500. enumdicname:
  13501. description: 单位名称
  13502. type: string
  13503. goodsunitid:
  13504. description: 套保品种单位id
  13505. type: integer
  13506. middlegoodscode:
  13507. description: 套保品种代码
  13508. type: string
  13509. middlegoodsid:
  13510. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  13511. type: integer
  13512. middlegoodsname:
  13513. description: 套保品种名称
  13514. type: string
  13515. needarbitrageratio:
  13516. description: 套利比率
  13517. type: number
  13518. needhedgeratio:
  13519. description: 套保比率
  13520. type: number
  13521. type: object
  13522. models.TBWrstandard:
  13523. properties:
  13524. convertratio:
  13525. description: 折算系数
  13526. type: number
  13527. deliverygoodsname:
  13528. description: 品种名称
  13529. type: string
  13530. enumdicname:
  13531. description: 单位名称
  13532. type: string
  13533. vatrate:
  13534. description: 增值税率
  13535. type: number
  13536. wrstandardcode:
  13537. description: 现货商品代码
  13538. type: string
  13539. wrstandardid:
  13540. description: 现货商品ID(SEQ_WRSTANDARD)
  13541. type: integer
  13542. wrstandardname:
  13543. description: 现货商品名称
  13544. type: string
  13545. type: object
  13546. models.Taaccount:
  13547. properties:
  13548. accountflag:
  13549. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  13550. type: integer
  13551. accountid:
  13552. description: 资金账户ID
  13553. type: integer
  13554. accountname:
  13555. description: 账户名称
  13556. type: string
  13557. balance:
  13558. description: 期初余额
  13559. type: number
  13560. capitalbalance:
  13561. description: 本金余额[外部子账户实际出入金余额]
  13562. type: number
  13563. changeflag:
  13564. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  13565. type: integer
  13566. changetime:
  13567. description: 账户状态变更时间
  13568. type: string
  13569. closepl:
  13570. description: 今日平仓盈亏
  13571. type: number
  13572. creditdecrease:
  13573. description: 今日授信减少
  13574. type: number
  13575. creditincrease:
  13576. description: 今日授信增加
  13577. type: number
  13578. curamount:
  13579. description: 总市值(从持仓中统计)
  13580. type: number
  13581. currencyid:
  13582. description: 货币ID
  13583. type: integer
  13584. currentbalance:
  13585. description: 期末余额
  13586. type: number
  13587. freezecharge:
  13588. description: 手续费冻结
  13589. type: number
  13590. freezemargin:
  13591. description: 冻结保证金
  13592. type: number
  13593. fromaccountid:
  13594. description: 所属上级账户
  13595. type: integer
  13596. inamount:
  13597. description: 今日入金金额(包括三方入金)
  13598. type: number
  13599. ismain:
  13600. description: 是否母账号 0:不是母账户 1:是母账户
  13601. type: integer
  13602. ismarketaccount:
  13603. description: 是否机构接单账号 0:不是 1:是
  13604. type: integer
  13605. isreckonaccount:
  13606. description: 是否机构分润账号 0:不是 1:是
  13607. type: integer
  13608. mortgagecredit:
  13609. description: 授信金额
  13610. type: number
  13611. orifreezecharge:
  13612. description: 期初手续费冻结
  13613. type: number
  13614. orifreezemargin:
  13615. description: 期初冻结保证金
  13616. type: number
  13617. orimortgagecredit:
  13618. description: 期初授信金额
  13619. type: number
  13620. oriothercredit:
  13621. description: 期初其它授信金额
  13622. type: number
  13623. oriotherfreezemargin:
  13624. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  13625. type: number
  13626. orioutamountfreeze:
  13627. description: 期初出金冻结
  13628. type: number
  13629. oriusedmargin:
  13630. description: 期初占用保证金
  13631. type: number
  13632. othercredit:
  13633. description: 其它授信金额
  13634. type: number
  13635. othercreditdecrease:
  13636. description: 今日其它授信减少
  13637. type: number
  13638. othercreditincrease:
  13639. description: 今日其它授信增加
  13640. type: number
  13641. otherfreezemargin:
  13642. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  13643. type: number
  13644. otherincome:
  13645. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  13646. type: number
  13647. otherpay:
  13648. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  13649. type: number
  13650. outamount:
  13651. description: 今日出金金额(包括三方出金)
  13652. type: number
  13653. outamountfreeze:
  13654. description: 出金冻结
  13655. type: number
  13656. outthreshold:
  13657. description: 出金阈值
  13658. type: number
  13659. parentaccountid:
  13660. description: 所属根账号
  13661. type: integer
  13662. paycharge:
  13663. description: 今日手续费支出
  13664. type: number
  13665. relatedaccountstatus:
  13666. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  13667. type: integer
  13668. relateduserid:
  13669. description: 关联用户
  13670. type: integer
  13671. remainamount:
  13672. description: 融资额(从融资合同中统计)
  13673. type: number
  13674. serivcegroup:
  13675. description: 服务分组
  13676. type: integer
  13677. signstatus:
  13678. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  13679. type: integer
  13680. sublevelpath:
  13681. description: 账号层级路径(逗号分隔,首尾加逗号)
  13682. type: string
  13683. taaccounttype:
  13684. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  13685. type: integer
  13686. thirdinamount:
  13687. description: 今日三方入金
  13688. type: number
  13689. thirdoutamount:
  13690. description: 今日三方出金
  13691. type: number
  13692. tradestatus:
  13693. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  13694. type: integer
  13695. tradestatuschangetime:
  13696. description: 激活时间
  13697. type: string
  13698. transferamount:
  13699. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  13700. type: number
  13701. usedmargin:
  13702. description: 占用保证金
  13703. type: number
  13704. userid:
  13705. description: 用户ID
  13706. type: integer
  13707. required:
  13708. - accountid
  13709. - userid
  13710. type: object
  13711. models.Tablecolumnconfig:
  13712. properties:
  13713. aligntype:
  13714. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  13715. type: integer
  13716. autoid:
  13717. description: AutoID
  13718. type: integer
  13719. columnfield:
  13720. description: 列字段
  13721. type: string
  13722. columntitle:
  13723. description: 列Title
  13724. type: string
  13725. columnwidth:
  13726. description: 列宽
  13727. type: string
  13728. formatterstring:
  13729. description: 格式化字符
  13730. type: string
  13731. formattertype:
  13732. description: 格式化类型
  13733. type: string
  13734. groupname:
  13735. description: 表头分组名称
  13736. type: string
  13737. isshow:
  13738. description: 是否显示 - 0:不显示 1:显示
  13739. type: integer
  13740. needsummary:
  13741. description: 是否需要汇总 - 0:不需要 1:需要
  13742. type: integer
  13743. orderindex:
  13744. description: 顺序
  13745. type: integer
  13746. remark:
  13747. description: 备注
  13748. type: string
  13749. summarytype:
  13750. description: 汇总类型 - 1:加总 2:最后一个
  13751. type: integer
  13752. tablekey:
  13753. description: 列表Key
  13754. type: string
  13755. required:
  13756. - autoid
  13757. type: object
  13758. models.TjmdMarketSection:
  13759. properties:
  13760. marketsectionid:
  13761. description: 市场版块ID(SEQ_MARKETSECTION)
  13762. type: integer
  13763. marketsectionname:
  13764. description: 市场版块名称
  13765. type: string
  13766. mlist:
  13767. description: 市场列表(板块下面有多少个市场)
  13768. items:
  13769. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  13770. type: array
  13771. orderindex:
  13772. description: 排序
  13773. type: integer
  13774. pictureurl:
  13775. description: 图片url, 规格(90*90)
  13776. type: string
  13777. remark:
  13778. description: 备注
  13779. type: string
  13780. type: object
  13781. models.TjmdMarketSectionConfig:
  13782. properties:
  13783. auctionwrtype:
  13784. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  13785. type: integer
  13786. canacceptquote:
  13787. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  13788. type: integer
  13789. cangoodsexercise:
  13790. description: '[期权]是否可现货行权- 0:否 1:是'
  13791. type: integer
  13792. cangoodsexercisetype:
  13793. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  13794. type: integer
  13795. canmanualquotestrike:
  13796. description: 是否可手动报行权价- 0:否 1:是 [期权]
  13797. type: integer
  13798. canmutistage:
  13799. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  13800. type: integer
  13801. canpreexercise:
  13802. description: '[期权]是否可预申报- 0:否 1:是'
  13803. type: integer
  13804. clearinterval:
  13805. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  13806. type: integer
  13807. contracttmp:
  13808. description: 合同模板[荷兰式][竞价式][仓单贸易]
  13809. type: string
  13810. exchareaid:
  13811. description: 所属交易所,可以没有
  13812. type: integer
  13813. financemarketid:
  13814. description: 融资回购市场ID [仓单贸易]
  13815. type: integer
  13816. goodstype:
  13817. description: 商品类型 - 1:交易商品 2:仓单商品
  13818. type: integer
  13819. hasrebate:
  13820. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  13821. type: integer
  13822. hastradecredit:
  13823. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  13824. type: integer
  13825. haswr:
  13826. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  13827. type: integer
  13828. isdeductmargin:
  13829. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  13830. type: integer
  13831. isrecordsource:
  13832. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  13833. type: integer
  13834. isreleasemargin:
  13835. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  13836. type: integer
  13837. isupdatereckonprice:
  13838. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  13839. type: integer
  13840. listingmode:
  13841. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  13842. type: integer
  13843. marginformula:
  13844. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  13845. type: integer
  13846. marginformula2:
  13847. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  13848. type: integer
  13849. marketid:
  13850. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  13851. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  13852. type: integer
  13853. marketname:
  13854. description: 市场名称
  13855. type: string
  13856. marketsectionid:
  13857. description: 市场版块ID(SEQ_MARKETSECTION)
  13858. type: integer
  13859. marketserviceid:
  13860. description: 市场服务ID
  13861. type: integer
  13862. marketstatus:
  13863. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  13864. type: integer
  13865. markettype:
  13866. description: 市场类型- 1:非交易服务 2:交易服务
  13867. type: integer
  13868. matchermode:
  13869. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  13870. type: integer
  13871. nowrquotaflag:
  13872. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  13873. type: integer
  13874. openmethod:
  13875. description: 开盘模式 - 0 自动 1手动
  13876. type: integer
  13877. orderindex:
  13878. description: 排序
  13879. type: integer
  13880. otcuserid:
  13881. description: 场外期权做市商[场外期权]
  13882. type: integer
  13883. outersynctime:
  13884. description: 外部同步时间点(h24:mi:ss)[场外期权]
  13885. type: string
  13886. paylaterflag:
  13887. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  13888. type: integer
  13889. pendingflag:
  13890. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  13891. type: integer
  13892. pendingtime:
  13893. description: 待开市时间[通道交易-对冲](HH:mm)
  13894. type: string
  13895. performancetempid:
  13896. description: 履约计划模板ID - 作废
  13897. type: integer
  13898. premiumquotemode:
  13899. description: 权利金报价方式 - 1:自动 2:手动
  13900. type: integer
  13901. rebateratio:
  13902. description: 返利比率[竞价式]
  13903. type: number
  13904. reckonorder:
  13905. description: 结算顺序
  13906. type: integer
  13907. reckonpricealgorithm:
  13908. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  13909. 6.卖一价 7.买一卖一均价 8.外部结算价'
  13910. type: integer
  13911. reckonpriceparam:
  13912. description: 结算价参数
  13913. type: integer
  13914. reckontime:
  13915. description: 结算时间[通道交易-对冲](HH:mm)
  13916. type: string
  13917. roleprioritytype:
  13918. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  13919. type: integer
  13920. selllistingauditflag:
  13921. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  13922. type: integer
  13923. trademarkettype:
  13924. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  13925. type: integer
  13926. trademode:
  13927. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  13928. 21:竞拍-大宗式 22:受托竞价
  13929. type: integer
  13930. tradeproperty:
  13931. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  13932. 8:场外期权
  13933. type: integer
  13934. tradetype:
  13935. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  13936. type: integer
  13937. updatereckonpriceinterval:
  13938. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  13939. type: integer
  13940. type: object
  13941. models.TjmdQuoteGoods:
  13942. properties:
  13943. buyqty:
  13944. description: 买量(暂不做, 无值, 保留字段)
  13945. type: number
  13946. decimalplace:
  13947. description: 报价小数位
  13948. type: integer
  13949. goodscode:
  13950. description: 合约代码
  13951. type: string
  13952. goodsgroupid:
  13953. description: 商品组ID(自增ID)
  13954. type: integer
  13955. goodsgroupname:
  13956. description: 商品组名称
  13957. type: string
  13958. goodsid:
  13959. description: 合约id
  13960. type: integer
  13961. goodsname:
  13962. description: 合约名称
  13963. type: string
  13964. refgoodscode:
  13965. description: 标的合约代码
  13966. type: string
  13967. refgoodsid:
  13968. description: 标的合约id
  13969. type: integer
  13970. refgoodsname:
  13971. description: 标的合约名称
  13972. type: string
  13973. sellqty:
  13974. description: 卖量(暂不做, 无值, 保留字段)
  13975. type: number
  13976. type: object
  13977. models.TjmdTodayAccountMargin:
  13978. properties:
  13979. accountid:
  13980. description: 账号ID
  13981. type: integer
  13982. goodsid:
  13983. description: 商品ID
  13984. type: integer
  13985. infoc:
  13986. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  13987. description: 配置参数
  13988. marketid:
  13989. description: 市场ID
  13990. type: integer
  13991. type: object
  13992. models.TjmdTradeOrderDetail:
  13993. properties:
  13994. buyorsell:
  13995. description: 买卖方向 0-买 1-卖
  13996. type: integer
  13997. goodsid:
  13998. description: 商品id
  13999. type: integer
  14000. marketmaxsub:
  14001. description: 市价最大偏移范围 [浮动价 - 点差]
  14002. type: number
  14003. orderid:
  14004. description: 委托单号
  14005. type: string
  14006. orderprice:
  14007. description: 委托价格
  14008. type: number
  14009. orderqty:
  14010. description: 委托数量
  14011. type: integer
  14012. pricemode:
  14013. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  14014. type: integer
  14015. userid:
  14016. description: 用户id
  14017. type: integer
  14018. username:
  14019. description: 用户名称(已脱敏)
  14020. type: string
  14021. type: object
  14022. models.TjmdTransferApply:
  14023. properties:
  14024. applyid:
  14025. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  14026. type: integer
  14027. applystatus:
  14028. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  14029. type: integer
  14030. applytime:
  14031. description: 申请时间(时间)
  14032. type: string
  14033. auditremark:
  14034. description: 审核备注(拒绝原因?)
  14035. type: string
  14036. begindate:
  14037. description: 开始交易日(yyyymmdd)
  14038. type: string
  14039. buyorsell:
  14040. description: 买卖 - 0:买 1:卖
  14041. type: integer
  14042. enddate:
  14043. description: 结束交易日(yyyymmdd)
  14044. type: string
  14045. goodscode:
  14046. description: 商品代码
  14047. type: string
  14048. goodsid:
  14049. description: 商品ID
  14050. type: integer
  14051. goodsname:
  14052. description: 商品名称
  14053. type: string
  14054. marketid:
  14055. description: 市场ID
  14056. type: integer
  14057. qty:
  14058. description: 转让数量(数量)
  14059. type: number
  14060. tradeid:
  14061. description: 成交单号(关联持仓)
  14062. type: string
  14063. transferamount:
  14064. description: 转让总金额(金额)
  14065. type: number
  14066. transferprice:
  14067. description: 转让价格(协议价格)
  14068. type: number
  14069. type: object
  14070. models.TradeHolderDetail:
  14071. properties:
  14072. accountid:
  14073. description: 账号ID
  14074. type: integer
  14075. agreeunit:
  14076. description: 合约乘数
  14077. type: number
  14078. buyorsell:
  14079. description: 方向 - 0:买 1:卖
  14080. type: integer
  14081. currencyid:
  14082. description: 商品币种id
  14083. type: integer
  14084. currencyname:
  14085. description: 币种名称
  14086. type: string
  14087. decimalplace:
  14088. description: 商品价格小数位
  14089. type: integer
  14090. enumdicname:
  14091. description: 商品单位名称
  14092. type: string
  14093. expirecycle:
  14094. description: 行权周期(天) - 1:滚动行权时填写
  14095. type: integer
  14096. expiredate:
  14097. description: 行权日(yyyyMMdd) - 到期日
  14098. type: string
  14099. expiretype:
  14100. description: 行权日类型 - 1:滚动行权 2:固定日行权
  14101. type: integer
  14102. freezeqty:
  14103. description: 冻结数量
  14104. type: number
  14105. goodscode:
  14106. description: 商品代码
  14107. type: string
  14108. goodsid:
  14109. description: 商品ID
  14110. type: integer
  14111. goodsname:
  14112. description: 商品名称
  14113. type: string
  14114. goodunitid:
  14115. description: 商品单位id
  14116. type: integer
  14117. holderamount:
  14118. description: 持仓金额
  14119. type: number
  14120. holdercredit:
  14121. description: 持仓授信金额
  14122. type: number
  14123. holderdays:
  14124. description: 剩余冻结天数
  14125. type: integer
  14126. holderprice:
  14127. description: 持仓价格
  14128. type: number
  14129. holderqty:
  14130. description: 持仓数量
  14131. type: number
  14132. isconfirmexercise:
  14133. description: 是否确认行权- 0:否 1:是
  14134. type: integer
  14135. ispreexercise:
  14136. description: 是否预申报- 0:否 1:是 2:不可行权
  14137. type: integer
  14138. marketid:
  14139. description: 市场id
  14140. type: integer
  14141. marketname:
  14142. description: 市场名称
  14143. type: string
  14144. openprice:
  14145. description: 建仓价格
  14146. type: number
  14147. openqty:
  14148. description: 建仓数量
  14149. type: number
  14150. optiontype:
  14151. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  14152. type: integer
  14153. preexerciseprice:
  14154. description: 预申报价格
  14155. type: number
  14156. premium:
  14157. description: 权利金
  14158. type: number
  14159. qtydecimalplace:
  14160. description: 商品成交量小数位
  14161. type: integer
  14162. refgoodscode:
  14163. description: 标的合约代码
  14164. type: string
  14165. refgoodsid:
  14166. description: 标的合约id
  14167. type: integer
  14168. releaseamount:
  14169. description: 释放持仓金额
  14170. type: number
  14171. releaseholdercredit:
  14172. description: 释放持仓授信金额
  14173. type: number
  14174. taname:
  14175. description: 资金账号名称
  14176. type: string
  14177. tradeamount:
  14178. description: 成交金额
  14179. type: number
  14180. tradedate:
  14181. description: 交易日(yyyyMMdd)
  14182. type: string
  14183. tradeid:
  14184. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14185. type: string
  14186. trademode:
  14187. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  14188. 21:竞拍-大宗式 22:受托竞价 46:掉期
  14189. type: integer
  14190. tradeproperty:
  14191. description: 交易属性
  14192. type: integer
  14193. tradetime:
  14194. description: 交易时间
  14195. type: string
  14196. userid:
  14197. description: 用户id
  14198. type: integer
  14199. username:
  14200. description: 用户名称
  14201. type: string
  14202. type: object
  14203. models.UserCollectConfig:
  14204. properties:
  14205. accountstatus:
  14206. description: 账户状态 - 1:正常 2:停用 3:注销
  14207. type: integer
  14208. collectaccountname:
  14209. description: 收款人账户名称
  14210. type: string
  14211. collectaccountno:
  14212. description: 收款人账户
  14213. type: string
  14214. collectbankname:
  14215. description: 收款人开户行
  14216. type: string
  14217. collectbranchbankname:
  14218. description: 收款人开户支行
  14219. type: string
  14220. collectconfigid:
  14221. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  14222. type: string
  14223. remark:
  14224. description: 备注
  14225. type: string
  14226. userid:
  14227. description: 收款人用户ID
  14228. type: integer
  14229. type: object
  14230. models.UserReceiveInfo:
  14231. properties:
  14232. address:
  14233. description: 提货人详细地址
  14234. type: string
  14235. autoid:
  14236. description: AutoID
  14237. type: integer
  14238. cardnum:
  14239. description: 证件号码(加密存储)
  14240. type: string
  14241. cardtypeid:
  14242. description: 证件类型
  14243. type: integer
  14244. cityid:
  14245. description: 市
  14246. type: integer
  14247. cityname:
  14248. description: 城市名称
  14249. type: string
  14250. countryid:
  14251. description: 国家
  14252. type: integer
  14253. countryname:
  14254. description: 国家名称
  14255. type: string
  14256. districtid:
  14257. description: 地区
  14258. type: integer
  14259. districtname:
  14260. description: 地区名称
  14261. type: string
  14262. hasencrypt:
  14263. description: 数据是否已加密 - 0:未加密 1:已加密
  14264. type: integer
  14265. isdefault:
  14266. description: 是否默认地址 - 0:否 1:是
  14267. type: integer
  14268. phonenum:
  14269. description: 提货人联系方式(加密存储)
  14270. type: string
  14271. provinceid:
  14272. description: 省
  14273. type: integer
  14274. provincename:
  14275. description: 省名称
  14276. type: string
  14277. receivername:
  14278. description: 提货人姓名
  14279. type: string
  14280. takeremark:
  14281. description: 提货备注
  14282. type: string
  14283. userid:
  14284. description: 用户ID
  14285. type: integer
  14286. type: object
  14287. models.Useraccount:
  14288. properties:
  14289. accountname:
  14290. description: 账户名称(机构名称)
  14291. type: string
  14292. accountstatus:
  14293. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  14294. type: integer
  14295. applysrc:
  14296. description: 申请来源 - 1:管理端 2:终端
  14297. type: integer
  14298. auditremark:
  14299. description: 审核备注
  14300. type: string
  14301. auditsrc:
  14302. description: 审核来源 - 1:管理端 2:终端
  14303. type: integer
  14304. audittime:
  14305. description: 审核时间
  14306. type: string
  14307. audituserid:
  14308. description: 审核人
  14309. type: integer
  14310. broker:
  14311. description: 所属经纪人ID
  14312. type: integer
  14313. canceltime:
  14314. description: 销户时间
  14315. type: string
  14316. canceluserid:
  14317. description: 销户人
  14318. type: integer
  14319. canrecommend:
  14320. description: 是否可推荐 - 0:不可 1;可
  14321. type: integer
  14322. createtime:
  14323. description: 创建时间
  14324. type: string
  14325. creatorid:
  14326. description: 创建人
  14327. type: integer
  14328. hasauth:
  14329. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  14330. type: integer
  14331. isanonymous:
  14332. description: 是否匿名下单 - 0:否 1:是
  14333. type: integer
  14334. maxinvestornum:
  14335. description: 最大用户数(经纪会员下投资者个数)
  14336. type: integer
  14337. memberuserid:
  14338. description: 所属会员ID
  14339. type: integer
  14340. modifierid:
  14341. description: 修改人
  14342. type: integer
  14343. modifyremark:
  14344. description: 变更备注
  14345. type: string
  14346. modifystatus:
  14347. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  14348. type: integer
  14349. modifytime:
  14350. description: 修改时间
  14351. type: string
  14352. parenttopuser:
  14353. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  14354. type: string
  14355. parentuserid:
  14356. description: 所属机构ID
  14357. type: integer
  14358. reckonaccountid:
  14359. description: 默认结算资金账号ID(机构分润使用) 作废
  14360. type: integer
  14361. refercount:
  14362. description: 推荐总人数
  14363. type: integer
  14364. refereeuserid:
  14365. description: 推荐人ID
  14366. type: integer
  14367. refernum:
  14368. description: 推荐码
  14369. type: string
  14370. rootuserid:
  14371. description: 根用户ID
  14372. type: integer
  14373. subaccountlevel:
  14374. description: 子账户层数
  14375. type: integer
  14376. subarealevelpath:
  14377. description: 子机构层级路径(逗号分隔,首尾加逗号)
  14378. type: string
  14379. userid:
  14380. description: 用户ID
  14381. type: integer
  14382. usertype:
  14383. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14384. type: integer
  14385. required:
  14386. - userid
  14387. type: object
  14388. models.Userfavoritegoods:
  14389. properties:
  14390. goodsid:
  14391. description: 商品ID
  14392. type: integer
  14393. required:
  14394. - goodsid
  14395. type: object
  14396. models.Userinfo:
  14397. properties:
  14398. address:
  14399. description: 地址
  14400. type: string
  14401. attachment1:
  14402. description: 附件1
  14403. type: string
  14404. attachment2:
  14405. description: 附件2
  14406. type: string
  14407. bankaccount:
  14408. description: 银行帐号 (加密存储)
  14409. type: string
  14410. bankaccountname:
  14411. description: 收款人名称
  14412. type: string
  14413. bankcardfrontphotourl:
  14414. description: 银行卡正面照地址
  14415. type: string
  14416. bankid:
  14417. description: 银行编码
  14418. type: string
  14419. bankname:
  14420. description: 银行名称
  14421. type: string
  14422. biznature:
  14423. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  14424. type: integer
  14425. bizscope:
  14426. description: 企业经营范围(企业)
  14427. type: string
  14428. cardbackphotourl:
  14429. description: 证件背面图片地址
  14430. type: string
  14431. cardfrontphotourl:
  14432. description: 证件正面图片地址
  14433. type: string
  14434. cardnum:
  14435. description: 证件号码(加密存储)
  14436. type: string
  14437. cardtypeid:
  14438. description: 证件类型ID
  14439. type: integer
  14440. cityid:
  14441. description: 市
  14442. type: integer
  14443. company:
  14444. description: 公司(个人)
  14445. type: string
  14446. contactname:
  14447. description: 联系人
  14448. type: string
  14449. countryid:
  14450. description: 国家
  14451. type: integer
  14452. createtime:
  14453. description: 创建时间
  14454. type: string
  14455. creatorid:
  14456. description: 创建人
  14457. type: integer
  14458. customername:
  14459. description: 客户名称(企业名称)
  14460. type: string
  14461. districtid:
  14462. description: 地区
  14463. type: integer
  14464. email:
  14465. description: 邮件(加密存储)
  14466. type: string
  14467. fax:
  14468. description: 传真(加密存储)
  14469. type: string
  14470. halfbodyphotourl:
  14471. description: 半身照地址
  14472. type: string
  14473. hasencrypt:
  14474. description: 数据是否已加密 - 0:未加密 1:已加密
  14475. type: integer
  14476. headurl:
  14477. description: 头像地址
  14478. type: string
  14479. legalcardbackphotourl:
  14480. description: 法人身份证背面照地址
  14481. type: string
  14482. legalcardfrontphotourl:
  14483. description: 法人身份证正面照地址
  14484. type: string
  14485. legalpersonname:
  14486. description: 法人姓名(企业)
  14487. type: string
  14488. mobile:
  14489. description: 手机号码(加密存储)
  14490. type: string
  14491. mobile2:
  14492. description: 手机号码[明文-尚志]
  14493. type: string
  14494. modifierid:
  14495. description: 修改人
  14496. type: integer
  14497. modifiertime:
  14498. description: 修改时间
  14499. type: string
  14500. needinvoice:
  14501. description: 是否需要发票 - 0:不需要 1:需要
  14502. type: integer
  14503. nickname:
  14504. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  14505. type: string
  14506. openmode:
  14507. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  14508. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  14509. type: integer
  14510. otherurl:
  14511. description: 其它图片地址[使用分号分隔]
  14512. type: string
  14513. postalcode:
  14514. description: 邮政编码
  14515. type: string
  14516. provinceid:
  14517. description: 省
  14518. type: integer
  14519. qq:
  14520. description: QQ(加密存储
  14521. type: string
  14522. remark:
  14523. description: 备注
  14524. type: string
  14525. sex:
  14526. description: '用户性别 0: 女 1: 男'
  14527. type: integer
  14528. signpdfurl:
  14529. description: 签约pdf文件
  14530. type: string
  14531. telphone:
  14532. description: 联系电话(加密存储)
  14533. type: string
  14534. userid:
  14535. description: 用户ID
  14536. type: integer
  14537. userinfotype:
  14538. description: 用户信息类型 - 1:个人 2:企业
  14539. type: integer
  14540. userstatus:
  14541. description: 用户状态 - 1:正常 2:注销
  14542. type: integer
  14543. usertype:
  14544. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  14545. type: integer
  14546. wechat:
  14547. description: 微信(加密存储)
  14548. type: string
  14549. wskhinfo:
  14550. description: 开户申请信息(JSON)
  14551. type: string
  14552. required:
  14553. - userid
  14554. type: object
  14555. models.WRSConverTDetail:
  14556. properties:
  14557. convertratio:
  14558. description: 套保系数
  14559. type: number
  14560. deliverygoodscode:
  14561. description: 现货商品代码
  14562. type: string
  14563. deliverygoodsid:
  14564. description: 现货品种ID
  14565. type: integer
  14566. deliverygoodsname:
  14567. description: 现货商品名称
  14568. type: string
  14569. enumdicname:
  14570. description: 单位名称
  14571. type: string
  14572. goodsunitid:
  14573. description: 套保品种单位id
  14574. type: integer
  14575. middlegoodscode:
  14576. description: 套保品种代码
  14577. type: string
  14578. middlegoodsid:
  14579. description: 套保品种ID
  14580. type: integer
  14581. middlegoodsname:
  14582. description: 套保品种名称
  14583. type: string
  14584. modifytime:
  14585. description: 修改时间
  14586. type: string
  14587. wrstandardid:
  14588. description: 品类ID
  14589. type: integer
  14590. type: object
  14591. models.WRStandardInfo:
  14592. properties:
  14593. areauserid:
  14594. description: 所属机构
  14595. type: integer
  14596. convertfactor:
  14597. description: 标仓系数
  14598. type: number
  14599. createtime:
  14600. description: 创建时间
  14601. type: string
  14602. creatorid:
  14603. description: 创建人
  14604. type: integer
  14605. deliverygoodsid:
  14606. description: 品种ID
  14607. type: integer
  14608. deliverygoodsname:
  14609. description: 交割商品名称
  14610. type: string
  14611. factoryitemjson:
  14612. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  14613. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  14614. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  14615. 逗号分隔'
  14616. type: string
  14617. isvalid:
  14618. description: 是否有效 - 0:无效 1:有效
  14619. type: integer
  14620. minivalue:
  14621. description: 最小变动值
  14622. type: integer
  14623. minivaluedp:
  14624. description: 最小变动值小数位
  14625. type: integer
  14626. realminivalue:
  14627. description: 实际最小变动值
  14628. type: integer
  14629. realminivaluedp:
  14630. description: 实际最小变动值小数位
  14631. type: integer
  14632. remark:
  14633. description: 备注
  14634. type: string
  14635. unitid:
  14636. description: 单位ID
  14637. type: integer
  14638. unitname:
  14639. description: 单位
  14640. type: string
  14641. updatetime:
  14642. description: 更新时间
  14643. type: string
  14644. updatorid:
  14645. description: 更新人
  14646. type: integer
  14647. wrsstatus:
  14648. description: 状态 - 作废 - 0:未激活 1:正常
  14649. type: integer
  14650. wrstandardcode:
  14651. description: 现货品类代码
  14652. type: string
  14653. wrstandardid:
  14654. description: 现货品类ID(SEQ_WRSTANDARD)
  14655. type: integer
  14656. wrstandardname:
  14657. description: 现货品类名称
  14658. type: string
  14659. required:
  14660. - wrstandardid
  14661. type: object
  14662. models.WRTradeBargainApply:
  14663. properties:
  14664. accountid:
  14665. description: 摘牌资金账号
  14666. type: integer
  14667. applyprice:
  14668. description: 申请价格(议价价格)
  14669. type: string
  14670. applyqty:
  14671. description: 摘牌数量(议价数量)
  14672. type: number
  14673. applyremark:
  14674. description: 申请备注
  14675. type: string
  14676. applystatus:
  14677. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  14678. type: integer
  14679. applytime:
  14680. description: 申请时间(议价时间)
  14681. type: string
  14682. begindate:
  14683. description: 开始交易日(yyyymmdd)
  14684. type: string
  14685. buyorsell:
  14686. description: 买卖(挂牌类型) - 0:买 1:卖
  14687. type: integer
  14688. confirmremark:
  14689. description: 确认备注
  14690. type: string
  14691. confirmtime:
  14692. description: 确认时间
  14693. type: string
  14694. confirmuserid:
  14695. description: 确认人
  14696. type: integer
  14697. deliverygoodscode:
  14698. description: 品种代码
  14699. type: string
  14700. deliverygoodsid:
  14701. description: 品种ID
  14702. type: integer
  14703. deliverygoodsname:
  14704. description: 品种名称
  14705. type: string
  14706. deliverymonth:
  14707. description: 交收月
  14708. type: string
  14709. enddate:
  14710. description: 结束交易日(yyyymmdd)
  14711. type: string
  14712. enumdicname:
  14713. description: 单位名称
  14714. type: string
  14715. fixedprice:
  14716. description: 挂牌价格
  14717. type: number
  14718. handlestatus:
  14719. description: 处理状态
  14720. type: integer
  14721. marginvalue:
  14722. description: 履约保证金比例
  14723. type: number
  14724. marketid:
  14725. description: 市场ID
  14726. type: integer
  14727. matchaccountid:
  14728. description: 挂牌方资金账号
  14729. type: integer
  14730. matchuserid:
  14731. description: 挂牌方用户id
  14732. type: integer
  14733. matchusername:
  14734. description: 挂牌方用户名称(已脱敏)
  14735. type: string
  14736. minivalue:
  14737. description: 现货商品最小变动值
  14738. type: integer
  14739. optioncompare:
  14740. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14741. type: string
  14742. orderqty:
  14743. description: 挂牌数量
  14744. type: integer
  14745. refprice:
  14746. description: 参考价格
  14747. type: string
  14748. retcode:
  14749. description: 委托返回代码
  14750. type: integer
  14751. templatename:
  14752. description: 履约方式(履约模板名称)
  14753. type: string
  14754. tradedate:
  14755. description: 交易日(yyyyMMdd)
  14756. type: string
  14757. userid:
  14758. description: 摘牌人用户ID(议价人ID)
  14759. type: integer
  14760. username:
  14761. description: 议价人名字(已脱敏)
  14762. type: string
  14763. validtime:
  14764. description: 有效期限
  14765. type: string
  14766. warehouseid:
  14767. description: 仓库ID
  14768. type: integer
  14769. warehousename:
  14770. description: 仓库名称
  14771. type: string
  14772. wrbargainid:
  14773. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  14774. type: string
  14775. wrfactortypeid:
  14776. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14777. type: string
  14778. wrfactortypename:
  14779. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14780. type: string
  14781. wrstandardcode:
  14782. description: 现货商品代码
  14783. type: string
  14784. wrstandardid:
  14785. description: 现货商品ID
  14786. type: integer
  14787. wrstandardname:
  14788. description: 商品名称
  14789. type: string
  14790. wrtradeorderid:
  14791. description: 关联委托单ID
  14792. type: string
  14793. wrtypename:
  14794. description: 商品
  14795. type: string
  14796. type: object
  14797. models.Warehouseinfo:
  14798. properties:
  14799. address:
  14800. description: 详细地址
  14801. type: string
  14802. areauserid:
  14803. description: 所属机构
  14804. type: integer
  14805. autoid:
  14806. description: 自增ID
  14807. type: integer
  14808. cityid:
  14809. description: 市
  14810. type: integer
  14811. contactname:
  14812. description: 联系人
  14813. type: string
  14814. contactnum:
  14815. description: 联系电话
  14816. type: string
  14817. countryid:
  14818. description: 国家
  14819. type: integer
  14820. createtime:
  14821. description: 创建时间
  14822. type: string
  14823. districtid:
  14824. description: 区
  14825. type: integer
  14826. hasvideo:
  14827. description: 是否有视频 - 0:无 1:有
  14828. type: integer
  14829. provinceid:
  14830. description: 省
  14831. type: integer
  14832. remark:
  14833. description: 审核备注
  14834. type: string
  14835. videourl:
  14836. description: 视频地址
  14837. type: string
  14838. warehousecode:
  14839. description: 仓库代码
  14840. type: string
  14841. warehousename:
  14842. description: 仓库名称
  14843. type: string
  14844. warehousestatus:
  14845. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  14846. type: integer
  14847. warehousetype:
  14848. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  14849. type: integer
  14850. required:
  14851. - autoid
  14852. - warehousecode
  14853. type: object
  14854. models.WrAverageTradePrice:
  14855. properties:
  14856. averageprice:
  14857. description: 成交均价
  14858. type: number
  14859. tradedate:
  14860. description: 交易日yyyymm
  14861. type: string
  14862. type: object
  14863. models.WrBrandAndYears:
  14864. properties:
  14865. brandlst:
  14866. description: 品牌列表
  14867. items:
  14868. $ref: '#/definitions/models.DgFactoryItem'
  14869. type: array
  14870. yearslst:
  14871. description: 年份列表
  14872. items:
  14873. $ref: '#/definitions/models.DgFactoryItem'
  14874. type: array
  14875. type: object
  14876. models.WrBsGoodsInfo:
  14877. properties:
  14878. buyorsell:
  14879. description: 买卖方向 0-买 1-卖
  14880. type: integer
  14881. goodsid:
  14882. description: 交易合约ID
  14883. type: integer
  14884. lstitem:
  14885. description: 商品信息项
  14886. items:
  14887. $ref: '#/definitions/models.WrTypeItem'
  14888. type: array
  14889. lststep:
  14890. description: 履约规则
  14891. items:
  14892. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14893. type: array
  14894. type: object
  14895. models.WrBuybackDetail:
  14896. properties:
  14897. buybackamount:
  14898. description: 回购金额
  14899. type: number
  14900. buybackqty:
  14901. description: 回购数量
  14902. type: number
  14903. buybackreleasemargin:
  14904. description: 回购释放保证金
  14905. type: number
  14906. buybacktime:
  14907. description: 回购时间
  14908. type: string
  14909. errordesc:
  14910. description: 错误描述
  14911. type: string
  14912. handlestatus:
  14913. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  14914. type: integer
  14915. relatedwrid:
  14916. description: 关联仓单ID
  14917. type: integer
  14918. scfcontractid:
  14919. description: SCF合同ID
  14920. type: string
  14921. scfwrbuybackid:
  14922. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  14923. type: integer
  14924. tradedate:
  14925. description: 交易日(yyyyMMdd)
  14926. type: string
  14927. type: object
  14928. models.WrClientAdSpaceConfig:
  14929. properties:
  14930. adspaceid:
  14931. description: 广告位ID
  14932. type: integer
  14933. adspacename:
  14934. description: 广告位名称
  14935. type: string
  14936. adspacetype:
  14937. description: 广告位类型 - 1:固定广告位
  14938. type: integer
  14939. areauserid:
  14940. description: 所属机构ID
  14941. type: integer
  14942. createdate:
  14943. description: 创建时间
  14944. type: string
  14945. imagepath:
  14946. description: 图片
  14947. type: string
  14948. modifierid:
  14949. description: 操作人
  14950. type: integer
  14951. recsize:
  14952. description: 推荐尺寸
  14953. type: string
  14954. title:
  14955. description: 标题
  14956. type: string
  14957. updatedate:
  14958. description: 更新时间
  14959. type: string
  14960. urlcontent:
  14961. description: 链接(地址\商品ID\功能菜单Key\appid)
  14962. type: string
  14963. urltype:
  14964. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  14965. type: integer
  14966. type: object
  14967. models.WrDeliveryAvalidHoldLB:
  14968. properties:
  14969. accountid:
  14970. description: 资金账号
  14971. type: integer
  14972. avalidqty:
  14973. description: 数量(可点选数量)
  14974. type: number
  14975. deliverygoodsid:
  14976. description: 品种id
  14977. type: integer
  14978. enumdicname:
  14979. description: 单位名称
  14980. type: string
  14981. goodsid:
  14982. description: x合约商品id
  14983. type: integer
  14984. ladingbillid:
  14985. description: 提单id
  14986. type: string
  14987. pgoodscode:
  14988. description: p商品代码(点价合约)
  14989. type: string
  14990. pgoodsid:
  14991. description: p商品id(点价合约)
  14992. type: integer
  14993. pgoodsname:
  14994. description: p商品名称(点价合约)
  14995. type: string
  14996. pricemove:
  14997. description: 升贴水
  14998. type: number
  14999. subnum:
  15000. description: 提单子id
  15001. type: integer
  15002. userid:
  15003. description: 用户id
  15004. type: integer
  15005. username:
  15006. description: 仓单持有人
  15007. type: string
  15008. warehousecode:
  15009. description: 仓库代码
  15010. type: string
  15011. warehouseid:
  15012. description: 仓库id
  15013. type: integer
  15014. warehousename:
  15015. description: 仓库名称
  15016. type: string
  15017. wrfactortypeid:
  15018. description: 仓单要素id
  15019. type: string
  15020. wrstandardcode:
  15021. description: 品代码
  15022. type: string
  15023. wrstandardid:
  15024. description: 品类d
  15025. type: integer
  15026. wrstandardname:
  15027. description: 品类名称
  15028. type: string
  15029. wrtypename:
  15030. description: 商品
  15031. type: string
  15032. xgoodscode:
  15033. description: x合约代码
  15034. type: string
  15035. xgoodsname:
  15036. description: x合约名称
  15037. type: string
  15038. type: object
  15039. models.WrDeliveryDetail:
  15040. properties:
  15041. accountid:
  15042. description: 账号ID
  15043. type: integer
  15044. averageprice:
  15045. description: 交割均价 = 交割金额 / 交割数量
  15046. type: number
  15047. begindate:
  15048. description: 开始交易日(yyyymmdd)
  15049. type: string
  15050. buyorsell:
  15051. description: 方向 - 0:买 1:卖
  15052. type: integer
  15053. deliveryamount:
  15054. description: 货款金额(X总货款+P总货款)
  15055. type: number
  15056. deliveryid:
  15057. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  15058. type: string
  15059. deliveryorderid:
  15060. description: 申报单号
  15061. type: string
  15062. deliverypricemove:
  15063. description: 升贴水(升贴水总额)
  15064. type: number
  15065. deliveryqty:
  15066. description: 交收数量(点选数量)
  15067. type: number
  15068. deliverystatus:
  15069. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  15070. type: integer
  15071. deliverytime:
  15072. description: 交割时间
  15073. type: string
  15074. deliverytotalamount:
  15075. description: 交收金额
  15076. type: number
  15077. enddate:
  15078. description: 结束交易日(yyyymmdd)
  15079. type: string
  15080. enumdicname:
  15081. description: 单位名称
  15082. type: string
  15083. matchaccountid:
  15084. description: 对手账号ID
  15085. type: integer
  15086. matchusername:
  15087. description: 对手方名称(仓单持有人)
  15088. type: string
  15089. p1goodsremainamount:
  15090. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  15091. type: number
  15092. pdeliverycloseqty:
  15093. description: p合约平仓数量
  15094. type: number
  15095. pdeliveryprice:
  15096. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  15097. type: number
  15098. pgoodscode:
  15099. description: 商品代码
  15100. type: string
  15101. pgoodsid:
  15102. description: p点选合约id
  15103. type: integer
  15104. pgoodsname:
  15105. description: 商品名称
  15106. type: string
  15107. ppricemode:
  15108. description: 点价价格方式 - 1:商品价 2:固定值
  15109. type: integer
  15110. tradedate:
  15111. description: 交易日(yyyymmdd)
  15112. type: string
  15113. userid:
  15114. description: 用户id
  15115. type: integer
  15116. username:
  15117. description: 用户名称
  15118. type: string
  15119. warehousename:
  15120. description: 仓库名称
  15121. type: string
  15122. wrfactortypeid:
  15123. description: 仓单要素类型ID
  15124. type: string
  15125. wrtypename:
  15126. description: 商品
  15127. type: string
  15128. xdeliverycloseqty:
  15129. description: 合约数量
  15130. type: number
  15131. xgoodsamount:
  15132. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  15133. type: number
  15134. xgoodscode:
  15135. description: 商品代码
  15136. type: string
  15137. xgoodsid:
  15138. description: x交易合约ID
  15139. type: integer
  15140. xgoodsname:
  15141. description: 商品名称
  15142. type: string
  15143. type: object
  15144. models.WrDeliveryGoodsSection:
  15145. properties:
  15146. dglst:
  15147. description: 板块商品列表
  15148. items:
  15149. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  15150. type: array
  15151. imagepath:
  15152. description: 图片地址
  15153. type: string
  15154. orderindex:
  15155. description: 排序
  15156. type: integer
  15157. sectionid:
  15158. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  15159. = 1的版块1 - 云融指数
  15160. type: integer
  15161. sectionname:
  15162. description: 版块名称
  15163. type: string
  15164. sectiontype:
  15165. description: 版块类型 - 1:指数版块 2:普通版块
  15166. type: integer
  15167. type: object
  15168. models.WrDeliveryGoodsSectionConfig:
  15169. properties:
  15170. deliverygoodscode:
  15171. description: 现货商品代码
  15172. type: string
  15173. deliverygoodsid:
  15174. description: 现货品种ID(SEQ_DELIVERYGOODS)
  15175. type: integer
  15176. deliverygoodsname:
  15177. description: 现货商品名称
  15178. type: string
  15179. orderindex:
  15180. description: 排序
  15181. type: integer
  15182. type: object
  15183. models.WrDraftUserInfo:
  15184. properties:
  15185. address:
  15186. description: 地址
  15187. type: string
  15188. attachment1:
  15189. description: 附件1
  15190. type: string
  15191. attachment2:
  15192. description: 附件2
  15193. type: string
  15194. attachment3:
  15195. description: 附件3
  15196. type: string
  15197. attachment4:
  15198. description: 附件4
  15199. type: string
  15200. attachment5:
  15201. description: 附件5
  15202. type: string
  15203. bankaccount:
  15204. description: 银行帐号 (加密存储)
  15205. type: string
  15206. bankaccountname:
  15207. description: 收款人名称
  15208. type: string
  15209. bankcardfrontphotourl:
  15210. description: 银行卡正面照地址
  15211. type: string
  15212. bankid:
  15213. description: 银行编码
  15214. type: string
  15215. bankname:
  15216. description: 银行名称
  15217. type: string
  15218. birthday:
  15219. description: 生日(个人:年月日)
  15220. type: string
  15221. biznature:
  15222. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  15223. type: integer
  15224. bizscope:
  15225. description: 企业经营范围(企业)
  15226. type: string
  15227. biztype:
  15228. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  15229. type: integer
  15230. cardbackphotourl:
  15231. description: 证件背面图片地址
  15232. type: string
  15233. cardfrontphotourl:
  15234. description: 证件正面图片地址
  15235. type: string
  15236. cardnum:
  15237. description: 证件号码(加密存储)
  15238. type: string
  15239. cardtypeid:
  15240. description: 证件类型ID
  15241. type: integer
  15242. cityid:
  15243. description: 市
  15244. type: integer
  15245. company:
  15246. description: 公司(个人)
  15247. type: string
  15248. contactcardbackphotourl:
  15249. description: 联系人证件背面图片地址
  15250. type: string
  15251. contactcardfrontphotourl:
  15252. description: 联系人证件正面图片地址
  15253. type: string
  15254. contactname:
  15255. description: 联系人
  15256. type: string
  15257. countryid:
  15258. description: 国家
  15259. type: integer
  15260. createtime:
  15261. description: 创建时间
  15262. type: string
  15263. creatorid:
  15264. description: 创建人
  15265. type: integer
  15266. creditquota:
  15267. description: 授信额度(金瑞)
  15268. type: number
  15269. customername:
  15270. description: 客户名称(企业名称)
  15271. type: string
  15272. districtid:
  15273. description: 地区
  15274. type: integer
  15275. email:
  15276. description: 邮件(加密存储)
  15277. type: string
  15278. fax:
  15279. description: 传真(加密存储)
  15280. type: string
  15281. halfbodyphotourl:
  15282. description: 半身照地址
  15283. type: string
  15284. hasencrypt:
  15285. description: 数据是否已加密 - 0:未加密 1:已加密
  15286. type: integer
  15287. headurl:
  15288. description: 头像地址
  15289. type: string
  15290. legalcardbackphotourl:
  15291. description: 法人身份证背面照地址
  15292. type: string
  15293. legalcardfrontphotourl:
  15294. description: 法人身份证正面照地址
  15295. type: string
  15296. legalpersonname:
  15297. description: 法人姓名(企业)
  15298. type: string
  15299. mobile:
  15300. description: 手机号码(加密存储)
  15301. type: string
  15302. mobile2:
  15303. description: 手机号码[明文-尚志]
  15304. type: string
  15305. modifierid:
  15306. description: 修改人
  15307. type: integer
  15308. modifiertime:
  15309. description: 修改时间
  15310. type: string
  15311. needinvoice:
  15312. description: 是否需要发票 - 0:不需要 1:需要
  15313. type: integer
  15314. nickname:
  15315. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  15316. type: string
  15317. openmode:
  15318. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  15319. 6:苹果手机端注册 7:PC交易端注册"
  15320. type: integer
  15321. otherurl:
  15322. description: 其它图片地址[使用分号分隔]
  15323. type: string
  15324. postalcode:
  15325. description: 邮政编码
  15326. type: string
  15327. provinceid:
  15328. description: 省
  15329. type: integer
  15330. proxystatementurl:
  15331. description: 授权委托书
  15332. type: string
  15333. qq:
  15334. description: QQ(加密存储
  15335. type: string
  15336. remark:
  15337. description: 备注
  15338. type: string
  15339. sex:
  15340. description: '用户性别 0: 女 1: 男'
  15341. type: integer
  15342. signpdfurl:
  15343. description: 签约pdf文件
  15344. type: string
  15345. taxpayernum:
  15346. description: 纳税人识别号
  15347. type: string
  15348. telphone:
  15349. description: 联系电话(加密存储)
  15350. type: string
  15351. userid:
  15352. description: 用户ID
  15353. type: integer
  15354. userinfotype:
  15355. description: 用户信息类型 - 1:个人 2:企业
  15356. type: integer
  15357. userstatus:
  15358. description: 用户状态 - 1:正常 2:注销
  15359. type: integer
  15360. usertype:
  15361. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  15362. type: integer
  15363. wechat:
  15364. description: 微信(加密存储)
  15365. type: string
  15366. wskhinfo:
  15367. description: 开户申请信息(JSON)
  15368. type: string
  15369. type: object
  15370. models.WrFAProductDetail:
  15371. properties:
  15372. accountid:
  15373. description: 资金账号
  15374. type: integer
  15375. areauserid:
  15376. description: 金融机构ID
  15377. type: integer
  15378. financingdays:
  15379. description: 天数(天)
  15380. type: integer
  15381. interestminlen:
  15382. description: 最小起息天数
  15383. type: integer
  15384. interestrate:
  15385. description: 利率
  15386. type: number
  15387. interestratemode:
  15388. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15389. type: integer
  15390. interestsettlemode:
  15391. description: 结息方式 - 1:按日结息 3:按月结息
  15392. type: integer
  15393. interestsettlevalue:
  15394. description: 结息方式值
  15395. type: integer
  15396. isautoloan:
  15397. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  15398. type: integer
  15399. loantag:
  15400. description: '放款标识: "放款快" 或者为空'
  15401. type: string
  15402. marginratio:
  15403. description: 保证金比率质押率 - [仓单质押]
  15404. type: number
  15405. productdetailid:
  15406. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  15407. type: integer
  15408. productid:
  15409. description: 金融产品ID
  15410. type: integer
  15411. productname:
  15412. description: 产品名称
  15413. type: string
  15414. updatetime:
  15415. description: 更新时间
  15416. type: string
  15417. username:
  15418. description: 融出方
  15419. type: string
  15420. type: object
  15421. models.WrFactorTypeInfo:
  15422. properties:
  15423. deliverygoodscode:
  15424. description: 品种代码
  15425. type: string
  15426. deliverygoodsname:
  15427. description: 品种名称
  15428. type: string
  15429. dgfactoryitemid:
  15430. description: 选择项id
  15431. type: integer
  15432. dgfactoryitemtypeid:
  15433. description: 要素选择项ID (1-仓库 2-品牌)
  15434. type: integer
  15435. dgfactoryitemvalue:
  15436. description: 要素项值
  15437. type: string
  15438. itemtypename:
  15439. description: 要素项名称
  15440. type: string
  15441. optioncompare:
  15442. description: 选择比较串
  15443. type: string
  15444. warehouseid:
  15445. description: 仓库id
  15446. type: integer
  15447. wrfactortypeid:
  15448. description: 仓单要素ID
  15449. type: string
  15450. wrfactortypename:
  15451. description: 要素名称
  15452. type: string
  15453. wrfactortypename2:
  15454. description: 要素名称(不含仓库)
  15455. type: string
  15456. wrstandardcode:
  15457. description: 品类代码
  15458. type: string
  15459. wrstandardid:
  15460. description: 品类id
  15461. type: integer
  15462. wrstandardname:
  15463. description: 品类名称
  15464. type: string
  15465. type: object
  15466. models.WrFilterItem:
  15467. properties:
  15468. itemcode:
  15469. description: 代码
  15470. type: string
  15471. itemid:
  15472. description: 项id
  15473. type: integer
  15474. itemname:
  15475. description: 名称
  15476. type: string
  15477. itemtype:
  15478. description: 类型 1-品种 2-品类(商品) 3-仓库
  15479. type: integer
  15480. type: object
  15481. models.WrFinanceBuyApply:
  15482. properties:
  15483. applydate:
  15484. description: 申请时间
  15485. type: string
  15486. applystatus:
  15487. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  15488. type: integer
  15489. applyuserid:
  15490. description: 申请人
  15491. type: integer
  15492. auditdate:
  15493. description: 审核时间
  15494. type: string
  15495. auditremark:
  15496. description: 审核备注
  15497. type: string
  15498. audituserid:
  15499. description: 审核人
  15500. type: integer
  15501. buyaccountid:
  15502. description: 买方资金账号
  15503. type: integer
  15504. buyorsell:
  15505. description: 买卖 - 0:买 1:卖
  15506. type: integer
  15507. buyuserid:
  15508. description: 买方用户ID
  15509. type: integer
  15510. buyusername:
  15511. description: 买方名称
  15512. type: string
  15513. buywrtradeorderid:
  15514. description: 融资方买委托单ID
  15515. type: string
  15516. deliverygoodscode:
  15517. description: 品种代码
  15518. type: string
  15519. deliverygoodsid:
  15520. description: 品种ID
  15521. type: integer
  15522. deliverygoodsname:
  15523. description: 品种名称
  15524. type: string
  15525. deliverymonth:
  15526. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  15527. type: string
  15528. enumdicname:
  15529. description: 单位名称
  15530. type: string
  15531. financeaccountid:
  15532. description: 融资方资金帐户ID
  15533. type: integer
  15534. financeapplyid:
  15535. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15536. type: string
  15537. financeareauserid:
  15538. description: 融资方用户ID
  15539. type: string
  15540. financename:
  15541. description: 融出方名称
  15542. type: string
  15543. financetype:
  15544. description: 融资类型 1-融资回购
  15545. type: integer
  15546. financingdays:
  15547. description: 天数(天)
  15548. type: integer
  15549. freezebuymargin:
  15550. description: 冻结融资保证金(买方)
  15551. type: number
  15552. handleremark:
  15553. description: 处理备注
  15554. type: string
  15555. handlestatus:
  15556. description: 处理状态
  15557. type: integer
  15558. interestminlen:
  15559. description: 最小起息天数
  15560. type: integer
  15561. interestrate:
  15562. description: 利率
  15563. type: number
  15564. interestratemode:
  15565. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15566. type: integer
  15567. interestsettlemode:
  15568. description: 结息方式 - 1:按日结息 3:按月结息
  15569. type: integer
  15570. interestsettlevalue:
  15571. description: 结息方式值
  15572. type: integer
  15573. isautoloan:
  15574. description: 是否自动放款 - 0:手动 1:自动
  15575. type: integer
  15576. marginratio:
  15577. description: 保证金比率质押率 - [仓单质押]
  15578. type: number
  15579. marketid:
  15580. description: 市场ID
  15581. type: integer
  15582. minivalue:
  15583. description: 现货商品最小变动值
  15584. type: integer
  15585. optioncompare:
  15586. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15587. type: string
  15588. orderqty:
  15589. description: 委托数量(商品数量)
  15590. type: number
  15591. productdetailid:
  15592. description: 产品组合ID
  15593. type: integer
  15594. productid:
  15595. description: 金融产品ID
  15596. type: integer
  15597. productname:
  15598. description: 产品名称
  15599. type: string
  15600. remark:
  15601. description: 备注
  15602. type: string
  15603. scfcontractid:
  15604. description: 仓单回购合同ID
  15605. type: string
  15606. sellaccountid:
  15607. description: 卖方资金账号
  15608. type: integer
  15609. selluserid:
  15610. description: 卖方用户ID
  15611. type: integer
  15612. sellwrtradeorderid:
  15613. description: 卖方委托单ID
  15614. type: string
  15615. tradeamount:
  15616. description: 成交金额(借款金额)
  15617. type: number
  15618. tradedate:
  15619. description: 交易日(yyyyMMdd)
  15620. type: string
  15621. tradeprice:
  15622. description: 成交价格
  15623. type: number
  15624. warehouseid:
  15625. description: 仓库ID
  15626. type: integer
  15627. warehousename:
  15628. description: 仓库名称
  15629. type: string
  15630. wrfactortypeid:
  15631. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15632. type: string
  15633. wrfactortypename:
  15634. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15635. type: string
  15636. wrpricetype:
  15637. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  15638. type: integer
  15639. wrstandardcode:
  15640. description: 现货商品代码
  15641. type: string
  15642. wrstandardid:
  15643. description: 现货商品ID
  15644. type: integer
  15645. wrstandardname:
  15646. description: 商品名称
  15647. type: string
  15648. wrtypename:
  15649. description: 商品
  15650. type: string
  15651. type: object
  15652. models.WrFriendApply:
  15653. properties:
  15654. applicantid:
  15655. description: 申请人
  15656. type: integer
  15657. applyname:
  15658. description: 申请人名称
  15659. type: string
  15660. applysrc:
  15661. description: 申请来源 - 1:管理端 2:终端
  15662. type: integer
  15663. applystatus:
  15664. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15665. type: integer
  15666. applytime:
  15667. description: 申请时间
  15668. type: string
  15669. auditname:
  15670. description: 审核人名称
  15671. type: string
  15672. auditorid:
  15673. description: 审核人
  15674. type: integer
  15675. auditremark:
  15676. description: 审核备注
  15677. type: string
  15678. auditsrc:
  15679. description: 审核来源 - 1:管理端 2:终端
  15680. type: integer
  15681. audittime:
  15682. description: 审核时间
  15683. type: string
  15684. friendapplyid:
  15685. description: 申请ID(SEQ_FRIENDAPPLY)
  15686. type: string
  15687. friendname:
  15688. description: 好友名字(已脱敏)
  15689. type: string
  15690. frienduserid:
  15691. description: 好友用户ID
  15692. type: string
  15693. remark:
  15694. description: 备注
  15695. type: string
  15696. userid:
  15697. description: 申请人用户ID
  15698. type: integer
  15699. type: object
  15700. models.WrFtDeliveryGoods:
  15701. properties:
  15702. deliverygoodscode:
  15703. description: 品种代码
  15704. type: string
  15705. deliverygoodsid:
  15706. description: 品种ID
  15707. type: integer
  15708. deliverygoodsname:
  15709. description: 品种名称
  15710. type: string
  15711. wdlst:
  15712. description: 商品列表
  15713. items:
  15714. $ref: '#/definitions/models.WrFtWrstandard'
  15715. type: array
  15716. type: object
  15717. models.WrFtWrstandard:
  15718. properties:
  15719. enumdicname:
  15720. description: 单位名称
  15721. type: string
  15722. minivalue:
  15723. description: 最小变动值
  15724. type: integer
  15725. wrstandardcode:
  15726. description: 现货商品代码
  15727. type: string
  15728. wrstandardid:
  15729. description: 现货商品ID
  15730. type: integer
  15731. wrstandardname:
  15732. description: 商品名称
  15733. type: string
  15734. type: object
  15735. models.WrGoodsInfo:
  15736. properties:
  15737. haswr:
  15738. description: 0:仓单预售 1:仓单贸易
  15739. type: integer
  15740. lstitem:
  15741. description: 商品信息项
  15742. items:
  15743. $ref: '#/definitions/models.WrTypeItem'
  15744. type: array
  15745. lststep:
  15746. description: 履约规则
  15747. items:
  15748. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15749. type: array
  15750. marketid:
  15751. description: 市场id
  15752. type: integer
  15753. type: object
  15754. models.WrGoodsPerformanceStep:
  15755. properties:
  15756. autoid:
  15757. description: AutoID
  15758. type: integer
  15759. isauto:
  15760. description: 是否自动 - 0:不自动 1:自动
  15761. type: integer
  15762. remark:
  15763. description: 备注
  15764. type: string
  15765. stepdate:
  15766. description: 天数信息(T+N)
  15767. type: string
  15768. stepdays:
  15769. description: 距离上一步天数
  15770. type: integer
  15771. stepindex:
  15772. description: 步骤序号
  15773. type: integer
  15774. stepinfo:
  15775. description: 步骤信息(步骤名称+步骤值)
  15776. type: string
  15777. steptypeid:
  15778. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  15779. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15780. type: integer
  15781. steptypename:
  15782. description: 步骤名称
  15783. type: string
  15784. stepvalue:
  15785. description: 步骤值
  15786. type: number
  15787. templateid:
  15788. description: 履约计划模板ID
  15789. type: integer
  15790. type: object
  15791. models.WrHoldLB:
  15792. properties:
  15793. accountid:
  15794. description: 持有人帐户ID
  15795. type: integer
  15796. bannerpicurl:
  15797. description: Banner图
  15798. type: string
  15799. createtime:
  15800. description: 创建时间(过户时间)
  15801. type: string
  15802. deliverygoodscode:
  15803. description: 品种代码
  15804. type: string
  15805. deliverygoodsid:
  15806. description: 品种ID
  15807. type: integer
  15808. deliverygoodsname:
  15809. description: 品种名称
  15810. type: string
  15811. enableqty:
  15812. description: 可用数量
  15813. type: number
  15814. enumdicname:
  15815. description: 单位名称
  15816. type: string
  15817. freezerqty:
  15818. description: 冻结数量
  15819. type: number
  15820. ladingbillid:
  15821. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15822. type: string
  15823. minivalue:
  15824. description: 现货商品最小变动值
  15825. type: integer
  15826. optioncompare:
  15827. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15828. type: string
  15829. parentsubnum:
  15830. description: 拆分父子单号
  15831. type: integer
  15832. pledgeqty:
  15833. description: 质押数量
  15834. type: number
  15835. qty:
  15836. description: 数量
  15837. type: number
  15838. subnum:
  15839. description: 提单子单号
  15840. type: integer
  15841. tradedate:
  15842. description: 交易日(yyyyMMdd)
  15843. type: string
  15844. userid:
  15845. description: 持有人ID
  15846. type: integer
  15847. warehouseid:
  15848. description: 仓库ID
  15849. type: integer
  15850. warehousename:
  15851. description: 仓库名称
  15852. type: string
  15853. wrfactortypeid:
  15854. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15855. type: string
  15856. wrfactortypename:
  15857. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15858. type: string
  15859. wrholdeno:
  15860. description: 仓单编号
  15861. type: string
  15862. wrid:
  15863. description: 仓单变更ID
  15864. type: string
  15865. wrstandardcode:
  15866. description: 现货商品代码
  15867. type: string
  15868. wrstandardid:
  15869. description: 现货商品ID
  15870. type: integer
  15871. wrstandardname:
  15872. description: 商品名称
  15873. type: string
  15874. wrtypename:
  15875. description: 商品
  15876. type: string
  15877. type: object
  15878. models.WrMarketTradeConfig:
  15879. properties:
  15880. basisdownratio:
  15881. description: 浮动价基差下限比例(仓单贸易)
  15882. type: number
  15883. basisupratio:
  15884. description: 浮动价基差上限比例(仓单贸易)
  15885. type: number
  15886. buychargealgorithm:
  15887. description: 买方手续费收取方式 1:比率 2:固定
  15888. type: integer
  15889. buychargealgorithm2:
  15890. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  15891. type: integer
  15892. buychargealgorithmvalue:
  15893. description: 买方手续费设置值(交易所部分)
  15894. type: number
  15895. buychargealgorithmvalue2:
  15896. description: 买方手续费设置值(会员部分)
  15897. type: number
  15898. buychargealgorithmvalue3:
  15899. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  15900. type: number
  15901. buychargealgorithmvalue4:
  15902. description: 回购买方手续费设置值(会员部分) --77:现货商城
  15903. type: number
  15904. buyfirstmarginalgorithm:
  15905. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  15906. type: integer
  15907. buyfirstmarginvalue:
  15908. description: 买方出价保证金设置值 - [竞拍]
  15909. type: number
  15910. buymarginalgorithm:
  15911. description: 买方保证金方式 - 1:比率 2:固定
  15912. type: integer
  15913. buymarginvalue:
  15914. description: 买方保证金设置值
  15915. type: number
  15916. buyreleaseratio:
  15917. description: 买方释放比率[2:分步履约]
  15918. type: number
  15919. executemode:
  15920. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  15921. type: integer
  15922. executeside:
  15923. description: 执行方[2:分步履约] - 1:买方 2:卖方
  15924. type: integer
  15925. failedchargealgorithm:
  15926. description: 流拍手续费收取方式 1:比率 2:固定
  15927. type: integer
  15928. failedchargevalue:
  15929. description: 流拍手续费设置值
  15930. type: number
  15931. failedchargevalue2:
  15932. description: 流拍卖方手续费设置值
  15933. type: number
  15934. holddays:
  15935. description: 合同期限[2:分步履约]
  15936. type: integer
  15937. marketid:
  15938. description: 市场ID-仓单贸易、竞拍、预售
  15939. type: integer
  15940. minqty:
  15941. description: 最小执行量[2:分步履约]
  15942. type: number
  15943. modifierid:
  15944. description: 修改人
  15945. type: integer
  15946. performancetempid:
  15947. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  15948. 立即执行(-1)
  15949. type: integer
  15950. performancetempid2:
  15951. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  15952. 立即执行
  15953. type: integer
  15954. performancetempid2s:
  15955. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  15956. - 履约方式: 立即执行
  15957. type: string
  15958. performancetempids:
  15959. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  15960. - 履约方式: 立即执行(-1)
  15961. type: string
  15962. performanceway:
  15963. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  15964. type: integer
  15965. sellchargealgorithm:
  15966. description: 卖方手续费收取方式 1:比率 2:固定
  15967. type: integer
  15968. sellchargealgorithm2:
  15969. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  15970. type: integer
  15971. sellchargealgorithmvalue:
  15972. description: 卖方手续费设置值(交易所部分)
  15973. type: number
  15974. sellchargealgorithmvalue2:
  15975. description: 卖方手续费设置值(会员部分)
  15976. type: number
  15977. sellchargealgorithmvalue3:
  15978. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  15979. type: number
  15980. sellchargealgorithmvalue4:
  15981. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  15982. type: number
  15983. sellmarginalgorithm:
  15984. description: 卖方保证金方式 - 1:比率 2:固定
  15985. type: integer
  15986. sellmarginvalue:
  15987. description: 卖方保证金设置值
  15988. type: number
  15989. sellmarginvalue2:
  15990. description: 卖方保证金设置值(无仓单)
  15991. type: number
  15992. sellreleaseratio:
  15993. description: 卖方释放比率[2:分步履约]
  15994. type: number
  15995. updatetime:
  15996. description: 更新时间
  15997. type: string
  15998. type: object
  15999. models.WrOrderDetail:
  16000. properties:
  16001. accountid:
  16002. description: 交易账号(资金账号)
  16003. type: integer
  16004. allfriendsflag:
  16005. description: 是否全好友可见 - 0:否 1:是
  16006. type: integer
  16007. amount:
  16008. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  16009. type: number
  16010. bannerpicurl:
  16011. description: Banner图
  16012. type: string
  16013. begindate:
  16014. description: 开始交易日(yyyymmdd)
  16015. type: string
  16016. buyorsell:
  16017. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16018. type: integer
  16019. canbargain:
  16020. description: 是否可议价 - 0:不可 1:可
  16021. type: integer
  16022. cancelqty:
  16023. description: 撤销数量
  16024. type: number
  16025. canpart:
  16026. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  16027. type: integer
  16028. delistminqty:
  16029. description: 起摘数量
  16030. type: integer
  16031. deliverygoodscode:
  16032. description: 品种代码
  16033. type: string
  16034. deliverygoodsid:
  16035. description: 品种ID
  16036. type: integer
  16037. deliverygoodsname:
  16038. description: 品种名称
  16039. type: string
  16040. deliverymonth:
  16041. description: 交收月
  16042. type: string
  16043. enddate:
  16044. description: 结束交易日(yyyymmdd)
  16045. type: string
  16046. enumdicname:
  16047. description: 单位名称
  16048. type: string
  16049. fixedprice:
  16050. description: 固定价格 - [挂牌]
  16051. type: number
  16052. freezecharge:
  16053. description: 冻结手续费
  16054. type: number
  16055. freezemargin:
  16056. description: 冻结保证金(保证金)
  16057. type: number
  16058. futupricemove:
  16059. description: 期货升贴水
  16060. type: number
  16061. futushow:
  16062. description: 期货合约/升贴水
  16063. type: string
  16064. goodscode:
  16065. description: 期货合约
  16066. type: string
  16067. goodsid:
  16068. description: 期货商品id
  16069. type: integer
  16070. goodsname:
  16071. description: 商品名称
  16072. type: string
  16073. haswr:
  16074. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16075. type: integer
  16076. isspecified:
  16077. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  16078. type: integer
  16079. ladingbillid:
  16080. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  16081. type: string
  16082. marginvalue:
  16083. description: 保证金设置值(履约保证金)
  16084. type: number
  16085. marketid:
  16086. description: 市场ID
  16087. type: integer
  16088. matchusername:
  16089. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  16090. type: string
  16091. minivalue:
  16092. description: 现货商品最小变动值
  16093. type: integer
  16094. optioncompare:
  16095. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16096. type: string
  16097. orderqty:
  16098. description: 委托数量
  16099. type: number
  16100. ordertime:
  16101. description: 委托时间(挂牌时间)
  16102. type: string
  16103. performancetemplateid:
  16104. description: 履约模板id
  16105. type: integer
  16106. pricemove:
  16107. description: 升贴水(浮动价时填写) - [挂牌]
  16108. type: number
  16109. taname:
  16110. description: 交易用户名称(资金账号名称)
  16111. type: string
  16112. tradedate:
  16113. description: 交易日(yyyyMMdd)
  16114. type: string
  16115. tradeprice:
  16116. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  16117. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  16118. type: number
  16119. tradeqty:
  16120. description: 成交数量
  16121. type: number
  16122. userid:
  16123. description: 用户ID
  16124. type: integer
  16125. validtime:
  16126. description: 挂牌有效期
  16127. type: string
  16128. validtype:
  16129. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  16130. type: integer
  16131. warehouseid:
  16132. description: 仓库ID
  16133. type: integer
  16134. warehousename:
  16135. description: 仓库名称
  16136. type: string
  16137. wrfactortypeid:
  16138. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16139. type: string
  16140. wrfactortypename:
  16141. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16142. type: string
  16143. wrpricetype:
  16144. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  16145. type: integer
  16146. wrstandardcode:
  16147. description: 现货商品代码
  16148. type: string
  16149. wrstandardid:
  16150. description: 现货商品ID
  16151. type: integer
  16152. wrstandardname:
  16153. description: 商品名称
  16154. type: string
  16155. wrtradeorderid:
  16156. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16157. type: string
  16158. wrtradeorderstatus:
  16159. 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:撤单解冻贷款失败
  16160. type: integer
  16161. wrtradetype:
  16162. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16163. type: integer
  16164. wrtypename:
  16165. description: 商品
  16166. type: string
  16167. type: object
  16168. models.WrOrderQuote:
  16169. properties:
  16170. bannerpicurl:
  16171. description: Banner图
  16172. type: string
  16173. buyprice:
  16174. description: 买价
  16175. type: number
  16176. buypricemove:
  16177. description: 买升贴水(基差)
  16178. type: number
  16179. buyqty:
  16180. description: 买量
  16181. type: number
  16182. deliverygoodscode:
  16183. description: 品种代码
  16184. type: string
  16185. deliverygoodsid:
  16186. description: 品种id
  16187. type: integer
  16188. deliverygoodsname:
  16189. description: 品种名称
  16190. type: string
  16191. deliverymonth:
  16192. description: 交收月
  16193. type: string
  16194. enumdicname:
  16195. description: 单位名称
  16196. type: string
  16197. goodscode:
  16198. description: 商品合约(浮动价列表才有)
  16199. type: string
  16200. goodsid:
  16201. description: 商品id(浮动价列表才有)
  16202. type: integer
  16203. minivalue:
  16204. description: 现货商品最小变动值
  16205. type: integer
  16206. pictureurls:
  16207. description: 详情图片(逗号分隔)
  16208. type: string
  16209. sellprice:
  16210. description: 卖价
  16211. type: number
  16212. sellpricemove:
  16213. description: 卖升贴水(基差)
  16214. type: number
  16215. sellqty:
  16216. description: 卖量
  16217. type: number
  16218. thumurls:
  16219. description: 缩略图片(1:1)(逗号分隔)
  16220. type: string
  16221. warehousecode:
  16222. description: 仓库代码
  16223. type: string
  16224. warehouseid:
  16225. description: 仓库id
  16226. type: integer
  16227. warehousename:
  16228. description: 仓库名称
  16229. type: string
  16230. wrfactortypeid:
  16231. description: 仓单要素id
  16232. type: string
  16233. wrfactortypename:
  16234. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16235. type: string
  16236. wrgoodsname:
  16237. description: 商品(商品名称+仓库要素名称 拼接)
  16238. type: string
  16239. wrstandardcode:
  16240. description: 商品代码
  16241. type: string
  16242. wrstandardid:
  16243. description: 商品id
  16244. type: integer
  16245. wrstandardname:
  16246. description: 商品名称
  16247. type: string
  16248. type: object
  16249. models.WrOrderQuoteDetail:
  16250. properties:
  16251. buyorsell:
  16252. description: 买卖 - 0:买 1:卖
  16253. type: integer
  16254. delistminqty:
  16255. description: 起摘数量
  16256. type: number
  16257. deliverymonth:
  16258. description: 交收月
  16259. type: string
  16260. enumdicname:
  16261. description: 单位名称
  16262. type: string
  16263. fixedprice:
  16264. description: 买(卖)价
  16265. type: number
  16266. marketid:
  16267. description: 市场id
  16268. type: integer
  16269. minivalue:
  16270. description: 现货商品最小变动值
  16271. type: integer
  16272. orderqty:
  16273. description: 买(卖)量(=委托量-成交量)
  16274. type: number
  16275. ordertime:
  16276. description: 委托时间
  16277. type: string
  16278. pricemove:
  16279. description: 买(卖)升贴水- 基差
  16280. type: number
  16281. userid:
  16282. description: 购买方(销售方)用户ID
  16283. type: integer
  16284. username:
  16285. description: 购买方(销售方)
  16286. type: string
  16287. wrtradeorderid:
  16288. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16289. type: string
  16290. type: object
  16291. models.WrOutInApply:
  16292. properties:
  16293. applyid:
  16294. description: 申请单id
  16295. type: string
  16296. applystatus:
  16297. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  16298. 8:已撤销
  16299. type: integer
  16300. applytime:
  16301. description: 申请时间
  16302. type: string
  16303. applytype:
  16304. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  16305. type: integer
  16306. bannerpicurl:
  16307. description: Banner图
  16308. type: string
  16309. begindate:
  16310. description: 开始交易日(yyyymmdd)
  16311. type: string
  16312. deliverygoodscode:
  16313. description: 品种代码
  16314. type: string
  16315. deliverygoodsid:
  16316. description: 品种ID
  16317. type: integer
  16318. deliverygoodsname:
  16319. description: 品种名称
  16320. type: string
  16321. enddate:
  16322. description: 结束交易日(yyyymmdd)
  16323. type: string
  16324. enumdicname:
  16325. description: 单位名称
  16326. type: string
  16327. expresscompany:
  16328. description: 物流公司
  16329. type: string
  16330. expressnum:
  16331. description: 物流单号
  16332. type: string
  16333. minivalue:
  16334. description: 现货商品最小变动值
  16335. type: integer
  16336. optioncompare:
  16337. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16338. type: string
  16339. qty:
  16340. description: 数量
  16341. type: integer
  16342. userid:
  16343. description: 用户id
  16344. type: integer
  16345. warehouseid:
  16346. description: 仓库ID
  16347. type: integer
  16348. warehousename:
  16349. description: 仓库名称
  16350. type: string
  16351. wrfactortypeid:
  16352. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16353. type: string
  16354. wrfactortypename:
  16355. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16356. type: string
  16357. wrstandardcode:
  16358. description: 现货商品代码
  16359. type: string
  16360. wrstandardid:
  16361. description: 现货商品ID
  16362. type: integer
  16363. wrstandardname:
  16364. description: 商品名称
  16365. type: string
  16366. wrtypename:
  16367. description: 商品
  16368. type: string
  16369. type: object
  16370. models.WrPerformancePlan:
  16371. properties:
  16372. activatemonth:
  16373. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  16374. type: string
  16375. amount:
  16376. description: 履约金额(总金额)
  16377. type: number
  16378. begindate:
  16379. description: 开始交易日(yyyymmdd)
  16380. type: string
  16381. buyaccountid:
  16382. description: 买方账号
  16383. type: integer
  16384. buyerfreezeamount:
  16385. description: 履约冻结(买履约)
  16386. type: number
  16387. buyerfreezeamountremain:
  16388. description: 履约冻结剩余(买履约)
  16389. type: number
  16390. buyorsell:
  16391. description: 买卖方向 0-买 1-卖
  16392. type: integer
  16393. buypaidamount:
  16394. description: 买方已冻/已扣金额 (已付金额)
  16395. type: number
  16396. buyusername:
  16397. description: 买方名字
  16398. type: string
  16399. contractid:
  16400. description: 合同ID
  16401. type: integer
  16402. createtime:
  16403. description: 创建时间
  16404. type: string
  16405. creatorid:
  16406. description: 创建人
  16407. type: integer
  16408. curstepdeadline:
  16409. description: 当前步骤到期时间
  16410. type: string
  16411. curstepid:
  16412. description: 当前步骤ID
  16413. type: string
  16414. curstepname:
  16415. description: 当前步骤名称
  16416. type: string
  16417. deliverygoodscode:
  16418. description: 品种代码
  16419. type: string
  16420. deliverygoodsid:
  16421. description: 品种ID
  16422. type: integer
  16423. deliverygoodsname:
  16424. description: 品种名称
  16425. type: string
  16426. enddate:
  16427. description: 结束交易日(yyyymmdd)
  16428. type: string
  16429. enumdicname:
  16430. description: 单位名称
  16431. type: string
  16432. expressfee:
  16433. description: 运费
  16434. type: number
  16435. expressfeeconfirmed:
  16436. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  16437. type: integer
  16438. hasovershort:
  16439. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  16440. type: integer
  16441. haswr:
  16442. description: 类型 0-仓单预售 1-仓单贸易
  16443. type: integer
  16444. marketid:
  16445. description: 市场ID
  16446. type: integer
  16447. middleaccountid:
  16448. description: 中间商资金账号ID
  16449. type: integer
  16450. middleuserid:
  16451. description: 中间商用户ID
  16452. type: integer
  16453. minivalue:
  16454. description: 现货商品最小变动值
  16455. type: integer
  16456. optioncompare:
  16457. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16458. type: string
  16459. overshortamount:
  16460. description: 溢短金额
  16461. type: number
  16462. overshortqty:
  16463. description: 溢短数量
  16464. type: number
  16465. paymenttype:
  16466. description: 付款方式 - 1:冻结 2:扣款
  16467. type: integer
  16468. performanceplanid:
  16469. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  16470. type: string
  16471. performancestatus:
  16472. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  16473. 9:超时待处理 10:超时关闭
  16474. type: integer
  16475. performancetype:
  16476. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  16477. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  16478. type: integer
  16479. qty:
  16480. description: 履约数量
  16481. type: number
  16482. relatedorderid:
  16483. description: 关联单号(履约类型的关联单号)
  16484. type: string
  16485. remark:
  16486. description: 备注
  16487. type: string
  16488. sellaccountid:
  16489. description: 卖方账号
  16490. type: integer
  16491. sellerfreezeamount:
  16492. description: 履约冻结(卖履约)
  16493. type: number
  16494. sellerfreezeamountremain:
  16495. description: 履约冻结剩余(卖履约)
  16496. type: number
  16497. sellreceivedamount:
  16498. description: 卖方已收金额
  16499. type: number
  16500. sellusername:
  16501. description: 卖方名字
  16502. type: string
  16503. shipremark:
  16504. description: 发货备注[物流单号]
  16505. type: string
  16506. starttime:
  16507. description: 开始时间
  16508. type: string
  16509. steptypeid:
  16510. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  16511. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16512. type: integer
  16513. typename:
  16514. description: 履约类型 名称
  16515. type: string
  16516. unpaidamount:
  16517. description: 剩余款(待支付金额)
  16518. type: number
  16519. userid:
  16520. description: 用户id
  16521. type: integer
  16522. warehouseid:
  16523. description: 仓库ID
  16524. type: integer
  16525. warehousename:
  16526. description: 仓库名称
  16527. type: string
  16528. wrfactortypeid:
  16529. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16530. type: string
  16531. wrfactortypename:
  16532. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16533. type: string
  16534. wrstandardcode:
  16535. description: 现货商品代码
  16536. type: string
  16537. wrstandardid:
  16538. description: 现货商品ID
  16539. type: integer
  16540. wrstandardname:
  16541. description: 商品名称
  16542. type: string
  16543. wrtransferuserid:
  16544. description: 仓单受让用户
  16545. type: integer
  16546. wrtypename:
  16547. description: 商品
  16548. type: string
  16549. required:
  16550. - userid
  16551. type: object
  16552. models.WrPerformancePlanStep:
  16553. properties:
  16554. delaydays:
  16555. description: 延期申请天数
  16556. type: integer
  16557. deliverygoodscode:
  16558. description: 品种代码
  16559. type: string
  16560. deliverygoodsid:
  16561. description: 品种ID
  16562. type: integer
  16563. deliverygoodsname:
  16564. description: 品种名称
  16565. type: string
  16566. endtime:
  16567. description: 结束日期
  16568. type: string
  16569. enumdicname:
  16570. description: 单位名称
  16571. type: string
  16572. executeside:
  16573. description: 步骤执行方 - 1:买方 2:卖方
  16574. type: integer
  16575. handlestatus:
  16576. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  16577. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  16578. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  16579. type: integer
  16580. isauto:
  16581. description: 是否自动 - 0:不自动 1:自动
  16582. type: integer
  16583. islastreceivestep:
  16584. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  16585. type: integer
  16586. minivalue:
  16587. description: 现货商品最小变动值
  16588. type: integer
  16589. optioncompare:
  16590. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16591. type: string
  16592. overdays:
  16593. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  16594. type: integer
  16595. performancestepid:
  16596. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  16597. type: string
  16598. planid:
  16599. description: 所属履约计划ID
  16600. type: string
  16601. realamount:
  16602. description: 实际完成金额
  16603. type: number
  16604. relatedorderid:
  16605. description: 关联单号
  16606. type: string
  16607. remaindays:
  16608. description: 剩余天数
  16609. type: integer
  16610. remark:
  16611. description: 错误备注
  16612. type: string
  16613. starttime:
  16614. description: 开始日期
  16615. type: string
  16616. stepamount:
  16617. description: 步骤金额
  16618. type: number
  16619. stepdays:
  16620. description: 距离上一步天数(分钟)
  16621. type: integer
  16622. stepindex:
  16623. description: 步骤序号
  16624. type: integer
  16625. steplanchtype:
  16626. description: 步骤启动类型 - 1:系统自动 2:手动
  16627. type: integer
  16628. stepremark:
  16629. description: 步骤备注
  16630. type: string
  16631. stepstatus:
  16632. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  16633. type: integer
  16634. steptypeid:
  16635. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  16636. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16637. type: integer
  16638. steptypename:
  16639. description: 步骤名称
  16640. type: string
  16641. stepvalue:
  16642. description: 步骤值
  16643. type: number
  16644. warehouseid:
  16645. description: 仓库ID
  16646. type: integer
  16647. warehousename:
  16648. description: 仓库名称
  16649. type: string
  16650. wrfactortypeid:
  16651. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16652. type: string
  16653. wrfactortypename:
  16654. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16655. type: string
  16656. wrstandardcode:
  16657. description: 现货商品代码
  16658. type: string
  16659. wrstandardid:
  16660. description: 现货商品ID
  16661. type: integer
  16662. wrstandardname:
  16663. description: 商品名称
  16664. type: string
  16665. wrtypename:
  16666. description: 商品
  16667. type: string
  16668. type: object
  16669. models.WrPerformanceStepType:
  16670. properties:
  16671. canauto:
  16672. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  16673. type: integer
  16674. steptypeid:
  16675. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  16676. type: integer
  16677. steptypename:
  16678. description: 步骤类型名称
  16679. type: string
  16680. type: object
  16681. models.WrPerformanceTemplateEx:
  16682. properties:
  16683. autoid:
  16684. description: AutoID 模板id
  16685. type: integer
  16686. createtime:
  16687. description: 创建时间
  16688. type: string
  16689. creatorid:
  16690. description: 创建人
  16691. type: integer
  16692. lstStep:
  16693. description: 步骤信息列表
  16694. items:
  16695. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  16696. type: array
  16697. paymenttype:
  16698. description: 支付方式 - 1:冻结 2:扣款
  16699. type: integer
  16700. takemode:
  16701. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  16702. type: integer
  16703. templatename:
  16704. description: 模板名称
  16705. type: string
  16706. templatetype:
  16707. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  16708. (无仓单) 5:挂牌期权 6:竞拍-降价式
  16709. type: integer
  16710. userid:
  16711. description: 所属用户
  16712. type: integer
  16713. type: object
  16714. models.WrPosition:
  16715. properties:
  16716. accountid:
  16717. description: 帐户ID
  16718. type: integer
  16719. buyexcuteqty:
  16720. description: 采购履约中数量
  16721. type: number
  16722. creditcurqty:
  16723. description: 授信当前数量(预售仓单:预售当前量)
  16724. type: number
  16725. creditenableqty:
  16726. description: '授信可用数量(预售仓单: 可用数量)'
  16727. type: number
  16728. creditfreezeqty:
  16729. description: '授信冻结数量(预售仓单: 当前数量)'
  16730. type: number
  16731. credittotalqty:
  16732. description: 授信总数量(预售仓单:预售总量)
  16733. type: number
  16734. credittradeqty:
  16735. description: 授信成交数量(预售仓单:成交总量)
  16736. type: number
  16737. deliverygoodscode:
  16738. description: 品种代码
  16739. type: string
  16740. deliverygoodsid:
  16741. description: 品种ID
  16742. type: integer
  16743. deliverygoodsname:
  16744. description: 品种名称
  16745. type: string
  16746. enalbeqty:
  16747. description: 可用数量
  16748. type: number
  16749. enumdicname:
  16750. description: 单位名称
  16751. type: string
  16752. freezeqty:
  16753. description: 总冻结数量
  16754. type: number
  16755. haswr:
  16756. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16757. type: integer
  16758. minivalue:
  16759. description: 现货商品最小变动值
  16760. type: integer
  16761. modifytime:
  16762. description: 修改时间(过户时间)
  16763. type: string
  16764. optioncompare:
  16765. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16766. type: string
  16767. pledgeqty:
  16768. description: 质押数量
  16769. type: number
  16770. querytype:
  16771. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  16772. type: integer
  16773. sellexcuteqty:
  16774. description: 销售履约中数量
  16775. type: number
  16776. totalqty:
  16777. description: 总数量(库存数量)
  16778. type: number
  16779. warehouseid:
  16780. description: 仓库ID
  16781. type: integer
  16782. warehousename:
  16783. description: 仓库名称
  16784. type: string
  16785. wrfactortypeid:
  16786. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16787. type: string
  16788. wrfactortypename:
  16789. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16790. type: string
  16791. wrpositionid:
  16792. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  16793. type: string
  16794. wrpositionno:
  16795. description: 仓单编号
  16796. type: string
  16797. wrstandardcode:
  16798. description: 现货商品代码
  16799. type: string
  16800. wrstandardid:
  16801. description: 现货商品ID
  16802. type: integer
  16803. wrstandardname:
  16804. description: 商品名称
  16805. type: string
  16806. wrtypename:
  16807. description: 商品
  16808. type: string
  16809. wruserid:
  16810. description: 持有人ID
  16811. type: integer
  16812. type: object
  16813. models.WrPreSaleInfo:
  16814. properties:
  16815. bannerpicurl:
  16816. description: Banner图
  16817. type: string
  16818. baseqty:
  16819. description: 中签基数
  16820. type: number
  16821. createtime:
  16822. description: 创建时间
  16823. type: string
  16824. deliverygoodsid:
  16825. description: 现货品种ID
  16826. type: integer
  16827. enddate:
  16828. description: 预售结束日期
  16829. type: string
  16830. enumdicname:
  16831. description: 单位名称
  16832. type: string
  16833. lotteryflag:
  16834. description: 摇号标识 - 0:未摇号 1:已摇号
  16835. type: integer
  16836. lotteryqty:
  16837. description: 摇号总量
  16838. type: number
  16839. luckyqty:
  16840. description: 已中签量
  16841. type: number
  16842. marketid:
  16843. description: 市场ID
  16844. type: integer
  16845. maxbuyqty:
  16846. description: 单人最大申购量
  16847. type: number
  16848. maxluckyqty:
  16849. description: 单人最大中签量
  16850. type: number
  16851. pictureurls:
  16852. description: 详情图片(逗号分隔)
  16853. type: string
  16854. placeqty:
  16855. description: 已配售量
  16856. type: number
  16857. presaleapplyid:
  16858. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  16859. example: "0"
  16860. type: string
  16861. presaleqty:
  16862. description: 预售总量
  16863. type: number
  16864. presalestatus:
  16865. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  16866. type: integer
  16867. sellaccountid:
  16868. description: 发行方资金账户ID
  16869. type: integer
  16870. selluserid:
  16871. description: 发行方用户ID
  16872. type: integer
  16873. sellwrtradeorderid:
  16874. description: 发行方卖委托单ID
  16875. type: string
  16876. startdate:
  16877. description: 预售开始日期
  16878. type: string
  16879. takestartdate:
  16880. description: 提货开始日期
  16881. type: string
  16882. thumurls:
  16883. description: 缩略图片(1:1)(逗号分隔)
  16884. type: string
  16885. tradedate:
  16886. description: 交易日
  16887. type: string
  16888. unitid:
  16889. description: 单位ID
  16890. type: integer
  16891. unitprice:
  16892. description: 商品单价
  16893. type: number
  16894. username:
  16895. description: 发行方用户名称
  16896. type: string
  16897. warehousecode:
  16898. description: 仓库代码(仓库简称)
  16899. type: string
  16900. warehouseid:
  16901. description: 仓库ID
  16902. type: integer
  16903. warehousename:
  16904. description: 仓库名称
  16905. type: string
  16906. wrfactortypeid:
  16907. description: 仓单要素类型ID - 根据现货商品\仓库生成
  16908. example: "0"
  16909. type: string
  16910. wrstandardid:
  16911. description: 现货商品ID
  16912. type: integer
  16913. wrstandardname:
  16914. description: 现货商品名称
  16915. type: string
  16916. type: object
  16917. models.WrQuoteOrderMyq:
  16918. properties:
  16919. buyorsell:
  16920. description: 买卖 - 0:买 1:卖
  16921. type: integer
  16922. canbargain:
  16923. description: 是否可议价 - 0:不可 1:可
  16924. type: integer
  16925. canpart:
  16926. description: 是否允许部份摘牌 - 0:不允许 1:允许
  16927. type: integer
  16928. delistminqty:
  16929. description: 起摘数量
  16930. type: number
  16931. deliverygoodscode:
  16932. description: 品种代码
  16933. type: string
  16934. deliverygoodsid:
  16935. description: 品种ID
  16936. type: integer
  16937. deliverygoodsname:
  16938. description: 品种名称
  16939. type: string
  16940. deliverymonth:
  16941. description: 交收月
  16942. type: string
  16943. enumdicname:
  16944. description: 单位名称
  16945. type: string
  16946. fixedprice:
  16947. description: 买(卖)价
  16948. type: number
  16949. goodscode:
  16950. description: 商品合约代码
  16951. type: string
  16952. marginflag:
  16953. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  16954. type: integer
  16955. marginvalue:
  16956. description: 保证金设置值
  16957. type: number
  16958. minivalue:
  16959. description: 现货商品最小变动值
  16960. type: integer
  16961. orderqty:
  16962. description: 买(卖)量(=委托量-成交量)
  16963. type: number
  16964. ordertime:
  16965. description: 委托时间
  16966. type: string
  16967. performancetemplateid:
  16968. description: 履约模板id
  16969. type: integer
  16970. pricemove:
  16971. description: 买(卖)升贴水- 基差
  16972. type: number
  16973. templatename:
  16974. description: 履约模板名称
  16975. type: string
  16976. userid:
  16977. description: 购买方(销售方)用户ID
  16978. type: integer
  16979. username:
  16980. description: 购买方(销售方)
  16981. type: string
  16982. validtime:
  16983. description: 有效期限
  16984. type: string
  16985. validtype:
  16986. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  16987. type: integer
  16988. warehousename:
  16989. description: 仓库名称
  16990. type: string
  16991. wrfactortypeid:
  16992. description: 仓单要素id
  16993. type: string
  16994. wrstandardcode:
  16995. description: 现货商品代码
  16996. type: string
  16997. wrstandardid:
  16998. description: 现货商品ID
  16999. type: integer
  17000. wrstandardname:
  17001. description: 商品名称
  17002. type: string
  17003. wrtradeorderid:
  17004. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  17005. type: string
  17006. wrtypename:
  17007. description: 商品
  17008. type: string
  17009. type: object
  17010. models.WrReckonSpotGoodsTradeSum:
  17011. properties:
  17012. begindate:
  17013. description: 开始日期(结果含开始日期) yyyymmdd
  17014. type: string
  17015. enddate:
  17016. description: 结束日期(结果含结束日期) yyyymmdd
  17017. type: string
  17018. marketid:
  17019. description: 市场ID
  17020. type: integer
  17021. price:
  17022. description: 价格 = 日成交金额 / 日成交数量
  17023. type: string
  17024. reckondate:
  17025. description: 日期 格式 yyyymmdd
  17026. type: string
  17027. tradeamount:
  17028. description: 日成交金额(当日单方向成交金额)
  17029. type: number
  17030. tradeqty:
  17031. description: 日成交数量(当日单方向成交数量)
  17032. type: number
  17033. wrstandardid:
  17034. description: 现货商品ID
  17035. type: integer
  17036. type: object
  17037. models.WrScfContract:
  17038. properties:
  17039. borroweruserid:
  17040. description: 借款用户ID
  17041. type: integer
  17042. buybackwrpositionqty:
  17043. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  17044. type: number
  17045. closeinterest:
  17046. description: 已结利息 -> 已结费用
  17047. type: number
  17048. currisklevel:
  17049. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  17050. type: integer
  17051. deadline:
  17052. description: 截止日期(yyyyMMdd) -> 借款到期时间
  17053. type: string
  17054. deliverygoodscode:
  17055. description: 品种代码
  17056. type: string
  17057. deliverygoodsid:
  17058. description: 品种ID
  17059. type: integer
  17060. deliverygoodsname:
  17061. description: 品种名称
  17062. type: string
  17063. enumdicname:
  17064. description: 单位名称
  17065. type: string
  17066. financingdays:
  17067. description: 天数(天)
  17068. type: integer
  17069. initmargin:
  17070. description: 保证金 - [仓单回购]
  17071. type: number
  17072. interestamount:
  17073. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  17074. type: number
  17075. interestdebt:
  17076. description: 利息欠款(记录负数) -> 费用欠款
  17077. type: number
  17078. interestminlen:
  17079. description: 最小起息天数
  17080. type: integer
  17081. interestrate:
  17082. description: 利率
  17083. type: number
  17084. interestratemode:
  17085. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  17086. type: integer
  17087. interestsettlemode:
  17088. description: 结息方式 - 1:按日结息 3:按月结息
  17089. type: integer
  17090. interestsettlevalue:
  17091. description: 结息方式值
  17092. type: integer
  17093. isautoloan:
  17094. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  17095. type: integer
  17096. lastcloseinterestday:
  17097. description: 最近结息日(yyyyMMdd)
  17098. type: string
  17099. lenderamount:
  17100. description: 贷款金额 -> 借款金额
  17101. type: number
  17102. lenderuserid:
  17103. description: 贷款方用户ID -> 融出方用户ID
  17104. type: integer
  17105. lenderusername:
  17106. description: 融出方
  17107. type: string
  17108. marginratio:
  17109. description: 保证金比率质押率 - [仓单质押]
  17110. type: number
  17111. marketid:
  17112. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  17113. type: integer
  17114. minivalue:
  17115. description: 现货商品最小变动值
  17116. type: integer
  17117. optioncompare:
  17118. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17119. type: string
  17120. pricemove:
  17121. description: 估值升贴水值
  17122. type: number
  17123. productdetailid:
  17124. description: 产品组合ID
  17125. type: integer
  17126. productid:
  17127. description: 金融产品ID
  17128. type: integer
  17129. productname:
  17130. description: 产品名称
  17131. type: string
  17132. remainamount:
  17133. description: 合同剩余金额 -> 剩余金额
  17134. type: number
  17135. remainwrpositionqty:
  17136. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  17137. type: number
  17138. remark:
  17139. description: 备注
  17140. type: string
  17141. scfcontractid:
  17142. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  17143. type: string
  17144. scfcontractstatus:
  17145. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  17146. 9:违约结束 10:已注销 11:已关闭 99:未提交
  17147. type: integer
  17148. scfcontracttype:
  17149. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  17150. type: integer
  17151. startinterestday:
  17152. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  17153. type: string
  17154. totalinterest:
  17155. description: 已计利息 -> 已计费用
  17156. type: number
  17157. unpaidinterest:
  17158. description: 未结费用
  17159. type: number
  17160. updatetime:
  17161. description: 更新时间
  17162. type: string
  17163. warehouseid:
  17164. description: 仓库ID
  17165. type: integer
  17166. warehousename:
  17167. description: 仓库名称
  17168. type: string
  17169. wrfactortypeid:
  17170. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17171. type: string
  17172. wrfactortypename:
  17173. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17174. type: string
  17175. wrqty:
  17176. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  17177. type: number
  17178. wrstandardcode:
  17179. description: 现货商品代码
  17180. type: string
  17181. wrstandardid:
  17182. description: 现货商品ID
  17183. type: integer
  17184. wrstandardname:
  17185. description: 商品名称
  17186. type: string
  17187. wrtypename:
  17188. description: 商品
  17189. type: string
  17190. type: object
  17191. models.WrScfContractInterest:
  17192. properties:
  17193. closeinterest:
  17194. description: 已结利息
  17195. type: number
  17196. closeintereststatus:
  17197. description: 结息状态 - 1:未结 2:已结
  17198. type: integer
  17199. closetime:
  17200. description: 结息时间
  17201. type: string
  17202. closetradedate:
  17203. description: 结息交易日
  17204. type: string
  17205. creatorid:
  17206. description: 操作人ID
  17207. type: integer
  17208. dayrate:
  17209. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  17210. type: number
  17211. interest:
  17212. description: 利息
  17213. type: number
  17214. interestamount:
  17215. description: 计息金额
  17216. type: number
  17217. interestday:
  17218. description: 计息日(yyyyMMdd)
  17219. type: string
  17220. scfcontractid:
  17221. description: SCF合同ID
  17222. type: string
  17223. scfcontractinterestid:
  17224. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  17225. type: integer
  17226. updatetime:
  17227. description: 更新时间
  17228. type: string
  17229. type: object
  17230. models.WrSearchUser:
  17231. properties:
  17232. userid:
  17233. description: 用户ID
  17234. type: integer
  17235. username:
  17236. description: 用户名称(已脱敏)
  17237. type: string
  17238. username2:
  17239. description: 用户名称(未脱敏)
  17240. type: string
  17241. usertype:
  17242. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  17243. type: integer
  17244. required:
  17245. - username
  17246. type: object
  17247. models.WrSiteColumnDetail:
  17248. properties:
  17249. brief:
  17250. description: 简介
  17251. type: string
  17252. context:
  17253. description: 内容
  17254. type: string
  17255. coverimage:
  17256. description: 封面图片
  17257. type: string
  17258. creaedate:
  17259. description: 创建时间
  17260. type: string
  17261. id:
  17262. description: ID(SEQ_SITE_COLUMNDETAIL)
  17263. type: integer
  17264. istop:
  17265. description: 是否置顶 - 0:不置 1:置顶
  17266. type: integer
  17267. publishdate:
  17268. description: 发布日期
  17269. type: string
  17270. title:
  17271. description: 标题
  17272. type: string
  17273. updatedate:
  17274. description: 修改时间
  17275. type: string
  17276. type: object
  17277. models.WrSpecialMatchOrder:
  17278. properties:
  17279. amount:
  17280. description: 金额 = 数量 * 价格
  17281. type: number
  17282. buyorsell:
  17283. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  17284. type: integer
  17285. cancelqty:
  17286. description: 撤销数量
  17287. type: number
  17288. deliverygoodscode:
  17289. description: 品种代码
  17290. type: string
  17291. deliverygoodsid:
  17292. description: 品种ID
  17293. type: integer
  17294. deliverygoodsname:
  17295. description: 品种名称
  17296. type: string
  17297. enumdicname:
  17298. description: 单位名称
  17299. type: string
  17300. fixedprice:
  17301. description: 固定价格(价格)
  17302. type: number
  17303. haswr:
  17304. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  17305. type: integer
  17306. isspecified:
  17307. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  17308. type: integer
  17309. marketid:
  17310. description: 市场ID
  17311. type: integer
  17312. matchuserid:
  17313. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  17314. type: integer
  17315. matchusername:
  17316. description: 指定方
  17317. type: string
  17318. minivalue:
  17319. description: 现货商品最小变动值
  17320. type: integer
  17321. optioncompare:
  17322. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17323. type: string
  17324. orderqty:
  17325. description: 委托数量
  17326. type: number
  17327. ordertime:
  17328. description: 委托时间
  17329. type: string
  17330. pricemove:
  17331. description: 升贴水(浮动价时填写) - [挂牌]
  17332. type: number
  17333. tradedate:
  17334. description: 交易日(yyyyMMdd)
  17335. type: string
  17336. tradeprice:
  17337. description: 成交价格
  17338. type: number
  17339. tradeqty:
  17340. description: 成交数量
  17341. type: number
  17342. userid:
  17343. description: 用户ID
  17344. type: integer
  17345. username:
  17346. description: 发起方
  17347. type: string
  17348. warehouseid:
  17349. description: 仓库ID
  17350. type: integer
  17351. warehousename:
  17352. description: 仓库名称
  17353. type: string
  17354. wrfactortypeid:
  17355. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17356. type: string
  17357. wrfactortypename:
  17358. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17359. type: string
  17360. wrpricetype:
  17361. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  17362. type: integer
  17363. wrstandardcode:
  17364. description: 现货商品代码
  17365. type: string
  17366. wrstandardid:
  17367. description: 现货商品ID
  17368. type: integer
  17369. wrstandardname:
  17370. description: 商品名称
  17371. type: string
  17372. wrtradeorderid:
  17373. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  17374. type: string
  17375. wrtradeorderstatus:
  17376. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  17377. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  17378. type: integer
  17379. wrtradetype:
  17380. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  17381. type: integer
  17382. wrtypename:
  17383. description: 商品
  17384. type: string
  17385. type: object
  17386. models.WrSpotGroupTradeSum:
  17387. properties:
  17388. deliverygoodscode:
  17389. description: 现货品种代码
  17390. type: string
  17391. deliverygoodsid:
  17392. description: 现货品种ID(SEQ_DELIVERYGOODS)
  17393. type: integer
  17394. deliverygoodsname:
  17395. description: 现货品种名称
  17396. type: string
  17397. lastavgprice:
  17398. description: 上上个交易日价格(前2天价格)
  17399. type: string
  17400. lastreckondate:
  17401. description: 上上个交易日(前2天交易日)
  17402. type: string
  17403. reckondate:
  17404. description: 上个交易日(前1天交易日)
  17405. type: string
  17406. todayavgprice:
  17407. description: 上个交易日价格(前1天价格)
  17408. type: string
  17409. updown:
  17410. description: 涨跌
  17411. type: string
  17412. updownratio:
  17413. description: 涨幅(已格式化, 直接显示即可)
  17414. type: string
  17415. type: object
  17416. models.WrSpotGroupTradeSumDetail:
  17417. properties:
  17418. deliverygoodsid:
  17419. description: 现货商品id
  17420. type: integer
  17421. price:
  17422. description: 价格
  17423. type: number
  17424. reckondate:
  17425. description: 日期(yyymmdd, 如:20211031)
  17426. type: string
  17427. type: object
  17428. models.WrSpotGroupTradeSumEx:
  17429. properties:
  17430. lst:
  17431. description: 指数列表
  17432. items:
  17433. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  17434. type: array
  17435. prereckondate:
  17436. description: 上上个交易日(yyymmdd)
  17437. type: string
  17438. reckondate:
  17439. description: 上个交易日(yyyymmdd)
  17440. type: string
  17441. type: object
  17442. models.WrStandardFactoryItem:
  17443. properties:
  17444. dgfactoryitemid:
  17445. description: 选择项id
  17446. type: integer
  17447. dgfactoryitemvalue:
  17448. description: 要素项值
  17449. type: string
  17450. warehouseid:
  17451. description: 仓库id
  17452. type: integer
  17453. type: object
  17454. models.WrStandardFactoryItemEx:
  17455. properties:
  17456. dgfactoryitemtypeid:
  17457. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  17458. type: integer
  17459. itemlst:
  17460. description: 要素项列表
  17461. items:
  17462. $ref: '#/definitions/models.WrStandardFactoryItem'
  17463. type: array
  17464. itemtypename:
  17465. description: 要素项类型名称
  17466. type: string
  17467. wrstandardid:
  17468. description: 品类
  17469. type: integer
  17470. type: object
  17471. models.WrTradeDetail:
  17472. properties:
  17473. accountid:
  17474. description: 资金账号
  17475. type: integer
  17476. bannerpicurl:
  17477. description: Banner图
  17478. type: string
  17479. begindate:
  17480. description: 开始交易日(yyyymmdd)
  17481. type: string
  17482. buyorsell:
  17483. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  17484. type: integer
  17485. chargevalue:
  17486. description: 手续费
  17487. type: number
  17488. deliverygoodscode:
  17489. description: 品种代码
  17490. type: string
  17491. deliverygoodsid:
  17492. description: 品种ID
  17493. type: integer
  17494. deliverygoodsname:
  17495. description: 品种名称
  17496. type: string
  17497. deliverymonth:
  17498. description: 交收月
  17499. type: string
  17500. enddate:
  17501. description: 结束交易日(yyyymmdd)
  17502. type: string
  17503. enumdicname:
  17504. description: 单位名称
  17505. type: string
  17506. haswr:
  17507. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  17508. type: integer
  17509. marketid:
  17510. description: 市场ID
  17511. type: integer
  17512. matchaccountid:
  17513. description: 对手账号
  17514. type: integer
  17515. matchusername:
  17516. description: 对手方
  17517. type: string
  17518. minivalue:
  17519. description: 现货商品最小变动值
  17520. type: integer
  17521. optioncompare:
  17522. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17523. type: string
  17524. tradedate:
  17525. description: 交易日(yyyyMMdd)
  17526. type: string
  17527. tradeprice:
  17528. description: 成交价格
  17529. type: number
  17530. tradeqty:
  17531. description: 成交数量
  17532. type: number
  17533. tradetime:
  17534. description: 成交时间
  17535. type: string
  17536. userid:
  17537. description: 用户ID
  17538. type: integer
  17539. warehouseid:
  17540. description: 仓库ID
  17541. type: integer
  17542. warehousename:
  17543. description: 仓库名称
  17544. type: string
  17545. wrfactortypeid:
  17546. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17547. type: string
  17548. wrfactortypename:
  17549. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17550. type: string
  17551. wrstandardcode:
  17552. description: 现货商品代码
  17553. type: string
  17554. wrstandardid:
  17555. description: 现货商品ID
  17556. type: integer
  17557. wrstandardname:
  17558. description: 商品名称
  17559. type: string
  17560. wrtradedetailid:
  17561. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  17562. type: string
  17563. wrtradetype:
  17564. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  17565. type: integer
  17566. wrtypename:
  17567. description: 商品
  17568. type: string
  17569. type: object
  17570. models.WrTradeOrderDetail:
  17571. properties:
  17572. buyorsell:
  17573. description: 买卖方向 0-买 1-卖
  17574. type: integer
  17575. goodsid:
  17576. description: 商品id
  17577. type: integer
  17578. orderid:
  17579. description: 委托单号
  17580. type: string
  17581. orderprice:
  17582. description: 委托价格
  17583. type: number
  17584. orderqty:
  17585. description: 委托数量
  17586. type: integer
  17587. userid:
  17588. description: 用户id
  17589. type: integer
  17590. username:
  17591. description: 用户名称(已脱敏)
  17592. type: string
  17593. type: object
  17594. models.WrTypeItem:
  17595. properties:
  17596. name:
  17597. description: 名称
  17598. type: string
  17599. value:
  17600. description: 值
  17601. type: string
  17602. type: object
  17603. models.WrUserFriend:
  17604. properties:
  17605. friendname:
  17606. description: 朋友名称(已脱敏)
  17607. type: string
  17608. frienduserid:
  17609. description: 朋友id
  17610. type: integer
  17611. isfriend:
  17612. description: 是否好友 0-不是 1-是
  17613. type: integer
  17614. userid:
  17615. description: 用户id
  17616. type: integer
  17617. type: object
  17618. models.WrUserReceiptInfo:
  17619. properties:
  17620. address:
  17621. description: 地址[发票类型:企业]
  17622. type: string
  17623. autoid:
  17624. description: AutoID
  17625. type: integer
  17626. contactinfo:
  17627. description: 联系方式
  17628. type: string
  17629. idnum:
  17630. description: 身份证号码[发票类型:个人]
  17631. type: string
  17632. isdefault:
  17633. description: 是否默认地址 - 0:否 1:是
  17634. type: integer
  17635. receiptaccount:
  17636. description: 发票帐号[发票类型:企业]
  17637. type: string
  17638. receiptbank:
  17639. description: 发票开户行[发票类型:企业]
  17640. type: string
  17641. receipttype:
  17642. description: 发票类型 - 1:个人 2:企业
  17643. type: integer
  17644. taxpayerid:
  17645. description: 纳税人识别号
  17646. type: string
  17647. userid:
  17648. description: 用户ID
  17649. type: integer
  17650. username:
  17651. description: 户名(个人姓名或企业名称)
  17652. type: string
  17653. type: object
  17654. models.XHBRAND:
  17655. properties:
  17656. brandid:
  17657. description: 品牌id
  17658. type: integer
  17659. brandname:
  17660. description: 品牌名称
  17661. type: string
  17662. isvalid:
  17663. description: 是否有效 0-无效 1-有效
  17664. type: integer
  17665. type: object
  17666. models.XHDeliveryGoods:
  17667. properties:
  17668. areauserid:
  17669. description: 所属机构
  17670. type: integer
  17671. bdlst:
  17672. description: 品牌列表
  17673. items:
  17674. $ref: '#/definitions/models.XHBRAND'
  17675. type: array
  17676. deliverygoodscode:
  17677. description: 现货品种代码
  17678. type: string
  17679. deliverygoodsid:
  17680. description: 现货品种ID(SEQ_DELIVERYGOODS)
  17681. type: integer
  17682. deliverygoodsname:
  17683. description: 现货品种名称
  17684. type: string
  17685. dgstatus:
  17686. description: 品种状态 - 作废 - 0:未激活 1:正常
  17687. type: integer
  17688. filterSubEmpty:
  17689. description: 过滤下级为空的
  17690. type: integer
  17691. isvalid:
  17692. description: 是否有效 - 0:无效 1:有效
  17693. type: integer
  17694. remark:
  17695. description: 备注
  17696. type: string
  17697. unitid:
  17698. description: 单位id(目前看,数据库中是空值)
  17699. type: integer
  17700. wdlst:
  17701. description: 品类(现货商品)列表
  17702. items:
  17703. $ref: '#/definitions/models.XHWrstandard'
  17704. type: array
  17705. type: object
  17706. models.XHMiddleGoods:
  17707. properties:
  17708. GPLST:
  17709. description: 期货品种列表
  17710. items:
  17711. $ref: '#/definitions/models.TBGoodsGroup'
  17712. type: array
  17713. convertratio:
  17714. description: 拆算系数
  17715. type: number
  17716. costratio:
  17717. description: 成本权重
  17718. type: number
  17719. deliverygoodsid:
  17720. description: 现货商品id
  17721. type: integer
  17722. enumdicname:
  17723. description: 单位名称
  17724. type: string
  17725. middlegoodscode:
  17726. description: 套保品种代码
  17727. type: string
  17728. middlegoodsid:
  17729. description: 套保品种id
  17730. type: integer
  17731. middlegoodsname:
  17732. description: 套保品种名称
  17733. type: string
  17734. unitid:
  17735. description: 单位id
  17736. type: integer
  17737. type: object
  17738. models.XHWrstandard:
  17739. properties:
  17740. bannerpicurl:
  17741. description: banner图
  17742. type: string
  17743. deliverygoodsid:
  17744. description: 品种ID
  17745. type: integer
  17746. enumdicname:
  17747. description: 单位名称
  17748. type: string
  17749. mglst:
  17750. description: 套保品列表
  17751. items:
  17752. $ref: '#/definitions/models.XHMiddleGoods'
  17753. type: array
  17754. pictureurls:
  17755. description: 详情图片(逗号分隔)
  17756. type: string
  17757. thumurls:
  17758. description: 缩略图片(1:1)(逗号分隔)
  17759. type: string
  17760. unitid:
  17761. description: 单位id
  17762. type: integer
  17763. vatrate:
  17764. description: 增值税率
  17765. type: number
  17766. wrstandardcode:
  17767. description: 现货商品代码
  17768. type: string
  17769. wrstandardid:
  17770. description: 现货商品ID(SEQ_WRSTANDARD)
  17771. type: integer
  17772. wrstandardname:
  17773. description: 现货商品名称
  17774. type: string
  17775. type: object
  17776. order.QueryHisTradeDetailRsp:
  17777. properties:
  17778. accountid:
  17779. description: 账户ID[报价币种]
  17780. type: integer
  17781. advanceratio:
  17782. description: 首付比率
  17783. type: number
  17784. buildtype:
  17785. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17786. type: integer
  17787. buyorsell:
  17788. description: 方向 - 0:买 1:卖
  17789. type: integer
  17790. charge:
  17791. description: 手续费
  17792. type: number
  17793. closecharge:
  17794. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17795. type: number
  17796. closeexchagechargevalue:
  17797. description: 平仓交易所手续费设置值
  17798. type: number
  17799. closefeealgorithm:
  17800. description: 平仓手续费收取方式 1:比率 2:固定
  17801. type: integer
  17802. closememberchargevalue:
  17803. description: 平仓会员手续费设置值
  17804. type: number
  17805. closepl:
  17806. description: 平仓盈亏
  17807. type: number
  17808. closepl2:
  17809. description: 平仓盈亏[逐笔]
  17810. type: number
  17811. closeqty:
  17812. description: 平仓数量(先建后平操作 需要记录)
  17813. type: number
  17814. creditamount:
  17815. description: 授信金额
  17816. type: number
  17817. decimalplace:
  17818. description: 商品报价小数位
  17819. type: integer
  17820. enumdicname:
  17821. description: 单位名称
  17822. type: string
  17823. gcaccountid:
  17824. description: 账户ID[合约币种]
  17825. type: integer
  17826. goodscode:
  17827. description: 商品代码
  17828. type: string
  17829. goodsid:
  17830. description: 商品ID
  17831. type: integer
  17832. goodsname:
  17833. description: 商品名称
  17834. type: string
  17835. goodunitid:
  17836. description: 商品单位id
  17837. type: integer
  17838. histradedate:
  17839. description: 历史交易日
  17840. type: string
  17841. intclosepl:
  17842. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17843. type: integer
  17844. isconfirmexercise:
  17845. description: 是否确认行权- 0:否 1:是
  17846. type: integer
  17847. ismain:
  17848. description: 是否主单 - 0:不是 1:是
  17849. type: integer
  17850. ispreexercise:
  17851. description: 是否预申报- 0:否 1:是
  17852. type: integer
  17853. isreckoned:
  17854. description: 是否结算 - 0:未结算 1:已结算
  17855. type: integer
  17856. isvaliddata:
  17857. description: 是否有效 - 0:无效 1:有效
  17858. type: integer
  17859. listingselecttype:
  17860. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17861. type: integer
  17862. marketid:
  17863. description: 市场ID
  17864. type: integer
  17865. marketname:
  17866. description: 市场名称
  17867. type: string
  17868. matchaccountid:
  17869. description: 对手账号id
  17870. type: integer
  17871. memberuserid:
  17872. description: 会员id 个人投资者 需要填写
  17873. type: integer
  17874. opencharge:
  17875. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17876. type: number
  17877. openexchagechargevalue:
  17878. description: 建仓交易所手续费设置值
  17879. type: number
  17880. openfeealgorithm:
  17881. description: 建仓手续费收取方式 1:比率 2:固定
  17882. type: integer
  17883. openmemberchargevalue:
  17884. description: 建仓会员手续费设置值
  17885. type: number
  17886. openqty:
  17887. description: 开仓数量(先建后平操作 需要记录)
  17888. type: number
  17889. optiontype:
  17890. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17891. type: integer
  17892. orderid:
  17893. description: 委托单号
  17894. type: string
  17895. payamount:
  17896. description: 支付金额(付款金额)
  17897. type: number
  17898. performanceplanid:
  17899. description: 履约计划ID[期权]
  17900. type: integer
  17901. performancestatus:
  17902. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17903. type: integer
  17904. preexerciseprice:
  17905. description: 预申报价格
  17906. type: number
  17907. premium:
  17908. description: 权利金 - [持仓单的权利金]
  17909. type: number
  17910. qtydecimalplace:
  17911. description: 商品报价小数位
  17912. type: integer
  17913. recvamount:
  17914. description: 到账金额 = 成交金额 - 手续费
  17915. type: number
  17916. relatedouttradeid:
  17917. description: 关联外部成交单ID
  17918. type: integer
  17919. status:
  17920. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17921. type: integer
  17922. totalamount:
  17923. description: 订单总额 = 成交金额 + 手续费
  17924. type: number
  17925. tradeamount:
  17926. description: 成交金额[账户币种,用于所有权]
  17927. type: number
  17928. tradedate:
  17929. description: 交易日(yyyyMMdd)
  17930. type: string
  17931. tradeid:
  17932. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17933. type: string
  17934. trademode:
  17935. description: 交易模式
  17936. type: integer
  17937. tradeprice:
  17938. description: 成交价格
  17939. type: number
  17940. tradeproperty:
  17941. description: 交易属性
  17942. type: integer
  17943. tradeqty:
  17944. description: 成交数量
  17945. type: number
  17946. tradetime:
  17947. description: 成交时间
  17948. type: string
  17949. tradetype:
  17950. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  17951. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17952. type: integer
  17953. required:
  17954. - accountid
  17955. - buyorsell
  17956. - goodsid
  17957. - histradedate
  17958. - marketid
  17959. - memberuserid
  17960. - orderid
  17961. - tradeamount
  17962. - tradedate
  17963. - tradeid
  17964. - tradeprice
  17965. - tradeqty
  17966. - tradetime
  17967. type: object
  17968. order.QueryHisTradeOrderDetailRsp:
  17969. properties:
  17970. accountid:
  17971. description: 账户ID[报价币种]
  17972. type: integer
  17973. buildtype:
  17974. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17975. type: integer
  17976. buyorsell:
  17977. description: 买卖 - 0:买 1:卖
  17978. type: integer
  17979. cancelorderid:
  17980. description: 撤单单号(撤单时填写)
  17981. type: string
  17982. cancelqty:
  17983. description: 撤单数量
  17984. type: number
  17985. clientordertime:
  17986. description: 客户端委托时间
  17987. type: string
  17988. clientticket:
  17989. description: 客户端流水号
  17990. type: string
  17991. clienttype:
  17992. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  17993. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17994. type: integer
  17995. closeexchagechargevalue:
  17996. description: 平仓交易所手续费设置值
  17997. type: number
  17998. closefeealgorithm:
  17999. description: 平仓手续费收取方式 1:比率 2:固定
  18000. type: integer
  18001. closefreezecharge:
  18002. description: 平仓冻结手续费(先建后平操作,需要记录)
  18003. type: number
  18004. closememberchargevalue:
  18005. description: 平仓会员手续费设置值
  18006. type: number
  18007. closeqty:
  18008. description: 平仓数量(先建后平操作 需要记录)
  18009. type: number
  18010. closetradeqty:
  18011. description: 平仓成交数量(先建后平操作,需要记录)
  18012. type: number
  18013. closeunfreezecharge:
  18014. description: 平仓解冻手续费(先建后平操作,需要记录)
  18015. type: number
  18016. decimalplace:
  18017. description: 商品报价小数位
  18018. type: integer
  18019. delistingtype:
  18020. description: 摘牌类型 - 1:价格最优 2:点选成交
  18021. type: integer
  18022. enumdicname:
  18023. description: 单位名称
  18024. type: string
  18025. freezecharge:
  18026. description: 冻结手续费
  18027. type: number
  18028. freezemargin:
  18029. description: 冻结保证金(冻结交易金额)
  18030. type: number
  18031. gcaccountid:
  18032. description: 账户ID[合约币种]
  18033. type: integer
  18034. goodscode:
  18035. description: 商品代码
  18036. type: string
  18037. goodsid:
  18038. description: 商品ID
  18039. type: integer
  18040. goodsname:
  18041. description: 商品名称
  18042. type: string
  18043. goodunitid:
  18044. description: 商品单位id
  18045. type: integer
  18046. histradedate:
  18047. description: 历史交易日
  18048. type: string
  18049. isconfirmexercise:
  18050. description: 是否确认行权- 0:否 1:是
  18051. type: integer
  18052. ispreexercise:
  18053. description: 是否预申报- 0:否 1:是
  18054. type: integer
  18055. isvaliddata:
  18056. description: 是否有效 - 0:无效 1:有效
  18057. type: integer
  18058. listingselecttype:
  18059. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  18060. type: integer
  18061. marginalgorithm:
  18062. description: 保证金收取方式 1:比率 2:固定
  18063. type: integer
  18064. marginvalue:
  18065. description: 即市保证金设置值
  18066. type: number
  18067. marketid:
  18068. description: 市场ID
  18069. type: integer
  18070. marketmaxsub:
  18071. description: 市价最大偏移范围
  18072. type: number
  18073. marketname:
  18074. description: 市场名称
  18075. type: string
  18076. memberuserid:
  18077. description: 所属会员UserID
  18078. type: integer
  18079. openexchagechargevalue:
  18080. description: 建仓交易所手续费设置值
  18081. type: number
  18082. openfeealgorithm:
  18083. description: 建仓手续费收取方式 1:比率 2:固定
  18084. type: integer
  18085. openfreezecharge:
  18086. description: 开仓冻结手续费(先建后平操作,需要记录)
  18087. type: number
  18088. openmemberchargevalue:
  18089. description: 建仓会员手续费设置值
  18090. type: number
  18091. openqty:
  18092. description: 开仓数量(先建后平操作,需要记录)
  18093. type: number
  18094. opentradeqty:
  18095. description: 开仓成交数量(先建后平操作,需要记录)
  18096. type: number
  18097. openunfreezecharge:
  18098. description: 开仓解冻手续费(先建后平操作,需要记录)
  18099. type: number
  18100. operatetype:
  18101. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  18102. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  18103. 15:管理端协议转让
  18104. type: integer
  18105. operatorid:
  18106. description: 登录账号(LoginID)
  18107. type: integer
  18108. optiontype:
  18109. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  18110. type: integer
  18111. orderid:
  18112. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18113. type: string
  18114. orderprice:
  18115. description: 委托价格
  18116. type: number
  18117. orderqty:
  18118. description: 委托数量
  18119. type: number
  18120. ordersrc:
  18121. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  18122. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  18123. type: integer
  18124. orderstatus:
  18125. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  18126. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  18127. 16:成交失败违约(荷兰式竞拍专用)
  18128. type: integer
  18129. ordertime:
  18130. description: 委托时间
  18131. type: string
  18132. preexerciseprice:
  18133. description: 预申报价格
  18134. type: number
  18135. premium:
  18136. description: 权利金
  18137. type: number
  18138. preorderid:
  18139. description: 关联预埋单号(止盈止损单时填写)
  18140. type: string
  18141. pricemode:
  18142. description: '取价方式 - 1:市价 2: 限价'
  18143. type: integer
  18144. qtydecimalplace:
  18145. description: 成交量小数位
  18146. type: integer
  18147. quoteid:
  18148. description: 报价单ID
  18149. type: integer
  18150. relatedid:
  18151. description: 关联单号(交割单)
  18152. type: string
  18153. retcode:
  18154. description: 错误代码
  18155. type: integer
  18156. sessionid:
  18157. description: 会话ID
  18158. type: integer
  18159. tradedate:
  18160. description: 交易日(yyyyMMdd)
  18161. type: string
  18162. trademode:
  18163. description: 交易模式
  18164. type: integer
  18165. tradeproperty:
  18166. description: 交易属性
  18167. type: integer
  18168. tradeqty:
  18169. description: 成交数量
  18170. type: number
  18171. unfreezecharge:
  18172. description: 解冻手续费
  18173. type: number
  18174. unfreezemargin:
  18175. description: 解冻保证金
  18176. type: number
  18177. updatetime:
  18178. description: 更新时间
  18179. type: string
  18180. uuid:
  18181. description: 发起端唯一id
  18182. type: string
  18183. validtime:
  18184. description: 有效期限
  18185. type: string
  18186. validtype:
  18187. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  18188. type: integer
  18189. volumetype:
  18190. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  18191. type: integer
  18192. required:
  18193. - accountid
  18194. - buildtype
  18195. - buyorsell
  18196. - goodsid
  18197. - histradedate
  18198. - marketid
  18199. - memberuserid
  18200. - operatetype
  18201. - orderid
  18202. - orderqty
  18203. - ordertime
  18204. - pricemode
  18205. - tradedate
  18206. - validtype
  18207. type: object
  18208. order.QueryTradeDetailRsp:
  18209. properties:
  18210. accountid:
  18211. description: 账户ID[报价币种]
  18212. type: integer
  18213. advanceratio:
  18214. description: 首付比率
  18215. type: number
  18216. buildtype:
  18217. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  18218. type: integer
  18219. buyorsell:
  18220. description: 方向 - 0:买 1:卖
  18221. type: integer
  18222. charge:
  18223. description: 手续费
  18224. type: number
  18225. closecharge:
  18226. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  18227. type: number
  18228. closeexchagechargevalue:
  18229. description: 平仓交易所手续费设置值
  18230. type: number
  18231. closefeealgorithm:
  18232. description: 平仓手续费收取方式 1:比率 2:固定
  18233. type: integer
  18234. closememberchargevalue:
  18235. description: 平仓会员手续费设置值
  18236. type: number
  18237. closepl:
  18238. description: 平仓盈亏
  18239. type: number
  18240. closepl2:
  18241. description: 平仓盈亏[逐笔]
  18242. type: number
  18243. closeqty:
  18244. description: 平仓数量(先建后平操作 需要记录)
  18245. type: number
  18246. creditamount:
  18247. description: 授信金额
  18248. type: number
  18249. decimalplace:
  18250. description: 商品报价小数位
  18251. type: integer
  18252. enumdicname:
  18253. description: 单位名称
  18254. type: string
  18255. gcaccountid:
  18256. description: 账户ID[合约币种]
  18257. type: integer
  18258. goodscode:
  18259. description: 商品代码
  18260. type: string
  18261. goodsid:
  18262. description: 商品ID
  18263. type: integer
  18264. goodsname:
  18265. description: 商品名称
  18266. type: string
  18267. goodunitid:
  18268. description: 商品单位id
  18269. type: integer
  18270. intclosepl:
  18271. description: 整型盈亏(用于交易结算试算平衡-收益权)
  18272. type: integer
  18273. isconfirmexercise:
  18274. description: 是否确认行权- 0:否 1:是
  18275. type: integer
  18276. ismain:
  18277. description: 是否主单 - 0:不是 1:是
  18278. type: integer
  18279. ispreexercise:
  18280. description: 是否预申报- 0:否 1:是
  18281. type: integer
  18282. isreckoned:
  18283. description: 是否结算 - 0:未结算 1:已结算
  18284. type: integer
  18285. listingselecttype:
  18286. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  18287. type: integer
  18288. marketid:
  18289. description: 市场ID
  18290. type: integer
  18291. marketname:
  18292. description: 市场名称
  18293. type: string
  18294. matchaccountid:
  18295. description: 对手账号id
  18296. type: integer
  18297. memberuserid:
  18298. description: 会员id 个人投资者 需要填写
  18299. type: integer
  18300. opencharge:
  18301. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  18302. type: number
  18303. openexchagechargevalue:
  18304. description: 建仓交易所手续费设置值
  18305. type: number
  18306. openfeealgorithm:
  18307. description: 建仓手续费收取方式 1:比率 2:固定
  18308. type: integer
  18309. openmemberchargevalue:
  18310. description: 建仓会员手续费设置值
  18311. type: number
  18312. openqty:
  18313. description: 开仓数量(先建后平操作 需要记录)
  18314. type: number
  18315. optiontype:
  18316. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  18317. type: integer
  18318. orderid:
  18319. description: 委托单号
  18320. type: string
  18321. payamount:
  18322. description: 支付金额(付款金额)
  18323. type: number
  18324. performanceplanid:
  18325. description: 履约计划ID[期权]
  18326. type: integer
  18327. performancestatus:
  18328. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  18329. type: integer
  18330. preexerciseprice:
  18331. description: 预申报价格
  18332. type: number
  18333. premium:
  18334. description: 权利金 - [持仓单的权利金]
  18335. type: number
  18336. qtydecimalplace:
  18337. description: 商品报价小数位
  18338. type: integer
  18339. recvamount:
  18340. description: 到账金额 = 成交金额 - 手续费
  18341. type: number
  18342. relatedouttradeid:
  18343. description: 关联外部成交单ID
  18344. type: integer
  18345. status:
  18346. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  18347. type: integer
  18348. totalamount:
  18349. description: 订单总额 = 成交金额 + 手续费
  18350. type: number
  18351. tradeamount:
  18352. description: 成交金额[账户币种,用于所有权]
  18353. type: number
  18354. tradedate:
  18355. description: 交易日(yyyyMMdd)
  18356. type: string
  18357. tradeid:
  18358. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18359. type: string
  18360. trademode:
  18361. description: 交易模式
  18362. type: integer
  18363. tradeprice:
  18364. description: 成交价格
  18365. type: number
  18366. tradeproperty:
  18367. description: 交易属性
  18368. type: integer
  18369. tradeqty:
  18370. description: 成交数量
  18371. type: number
  18372. tradetime:
  18373. description: 成交时间
  18374. type: string
  18375. tradetype:
  18376. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  18377. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  18378. type: integer
  18379. required:
  18380. - accountid
  18381. - buyorsell
  18382. - goodsid
  18383. - marketid
  18384. - memberuserid
  18385. - orderid
  18386. - tradeamount
  18387. - tradedate
  18388. - tradeid
  18389. - tradeprice
  18390. - tradeqty
  18391. - tradetime
  18392. type: object
  18393. order.QueryTradeOrderDetailRsp:
  18394. properties:
  18395. accountid:
  18396. description: 账户ID[报价币种]
  18397. type: integer
  18398. buildtype:
  18399. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  18400. type: integer
  18401. buyorsell:
  18402. description: 买卖 - 0:买 1:卖
  18403. type: integer
  18404. cancelorderid:
  18405. description: 撤单单号(撤单时填写)
  18406. type: string
  18407. cancelqty:
  18408. description: 撤单数量
  18409. type: number
  18410. clienttype:
  18411. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  18412. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  18413. type: integer
  18414. closefreezecharge:
  18415. description: 平仓冻结手续费(先建后平操作,需要记录)
  18416. type: number
  18417. closeqty:
  18418. description: 平仓数量(先建后平操作 需要记录)
  18419. type: number
  18420. closetradeqty:
  18421. description: 平仓成交数量(先建后平操作,需要记录)
  18422. type: number
  18423. closeunfreezecharge:
  18424. description: 平仓解冻手续费(先建后平操作,需要记录)
  18425. type: number
  18426. decimalplace:
  18427. description: 商品报价小数位
  18428. type: integer
  18429. delistingtype:
  18430. description: 摘牌类型 - 1:价格最优 2:点选成交
  18431. type: integer
  18432. enableqty:
  18433. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  18434. type: number
  18435. enumdicname:
  18436. description: 单位名称
  18437. type: string
  18438. freezecharge:
  18439. description: 冻结手续费
  18440. type: number
  18441. freezemargin:
  18442. description: 冻结保证金(冻结交易金额)
  18443. type: number
  18444. goodscode:
  18445. description: 商品代码
  18446. type: string
  18447. goodsid:
  18448. description: 商品ID
  18449. type: integer
  18450. goodsname:
  18451. description: 商品名称
  18452. type: string
  18453. goodunitid:
  18454. description: 商品单位id
  18455. type: integer
  18456. listingselecttype:
  18457. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  18458. type: integer
  18459. marketid:
  18460. description: 市场ID
  18461. type: integer
  18462. marketname:
  18463. description: 市场名称
  18464. type: string
  18465. openfreezecharge:
  18466. description: 开仓冻结手续费(先建后平操作,需要记录)
  18467. type: number
  18468. openqty:
  18469. description: 开仓数量(先建后平操作,需要记录)
  18470. type: number
  18471. opentradeqty:
  18472. description: 开仓成交数量(先建后平操作,需要记录)
  18473. type: number
  18474. openunfreezecharge:
  18475. description: 开仓解冻手续费(先建后平操作,需要记录)
  18476. type: number
  18477. operatetype:
  18478. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  18479. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  18480. 15:管理端协议转让
  18481. type: integer
  18482. operatorid:
  18483. description: 登录账号(LoginID)
  18484. type: integer
  18485. orderid:
  18486. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18487. type: string
  18488. orderprice:
  18489. description: 委托价格
  18490. type: number
  18491. orderqty:
  18492. description: 委托数量
  18493. type: number
  18494. ordersrc:
  18495. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  18496. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  18497. type: integer
  18498. orderstatus:
  18499. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  18500. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  18501. 16:成交失败违约(荷兰式竞拍专用)
  18502. type: integer
  18503. ordertime:
  18504. description: 委托时间
  18505. type: string
  18506. preorderid:
  18507. description: 关联预埋单号(止盈止损单时填写)
  18508. type: string
  18509. pricemode:
  18510. description: '取价方式 - 1:市价 2: 限价'
  18511. type: integer
  18512. qtydecimalplace:
  18513. description: 商品报价小数位
  18514. type: integer
  18515. relatedid:
  18516. description: 关联单号(交割单)
  18517. type: string
  18518. tradedate:
  18519. description: 交易日(yyyyMMdd)
  18520. type: string
  18521. trademode:
  18522. description: 交易模式
  18523. type: integer
  18524. tradeqty:
  18525. description: 成交数量
  18526. type: number
  18527. unfreezecharge:
  18528. description: 解冻手续费
  18529. type: number
  18530. unfreezemargin:
  18531. description: 解冻保证金
  18532. type: number
  18533. validtime:
  18534. description: 有效期限
  18535. type: string
  18536. validtype:
  18537. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  18538. type: integer
  18539. volumetype:
  18540. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  18541. type: integer
  18542. required:
  18543. - accountid
  18544. - buildtype
  18545. - buyorsell
  18546. - goodsid
  18547. - marketid
  18548. - operatetype
  18549. - orderqty
  18550. - ordertime
  18551. - pricemode
  18552. - tradedate
  18553. - validtype
  18554. type: object
  18555. order.QueryTradePositionRsp:
  18556. properties:
  18557. accountid:
  18558. description: 资金账户
  18559. type: integer
  18560. agreeunit:
  18561. description: 合约单位
  18562. type: number
  18563. averageprice:
  18564. description: 持仓均价
  18565. type: number
  18566. buyorsell:
  18567. description: 方向 - 0:买 1:卖
  18568. type: integer
  18569. closetotalqty:
  18570. description: 平仓总数量
  18571. type: number
  18572. curholderamount:
  18573. description: 当前持仓总金额[商品币种]
  18574. type: number
  18575. curpositionqty:
  18576. description: 当前持仓总数量
  18577. type: number
  18578. currencyid:
  18579. description: 报价货币ID
  18580. type: integer
  18581. curtdposition:
  18582. description: 期末今日头寸
  18583. type: number
  18584. decimalplace:
  18585. description: 报价小数位
  18586. type: integer
  18587. enableqty:
  18588. description: 可用量
  18589. type: number
  18590. fretdposition:
  18591. description: 冻结今日头寸
  18592. type: number
  18593. frozenqty:
  18594. description: 持仓冻结数量
  18595. type: number
  18596. goodscode:
  18597. description: 商品代码
  18598. type: string
  18599. goodsid:
  18600. description: 商品Id
  18601. type: integer
  18602. goodsname:
  18603. description: 商品名称
  18604. type: string
  18605. goodunit:
  18606. description: 报价单位
  18607. type: string
  18608. goodunitid:
  18609. description: 报价单位ID
  18610. type: integer
  18611. holderamount:
  18612. description: 期初持仓总金额[商品币种]
  18613. type: number
  18614. lastprice:
  18615. description: 最新价
  18616. type: number
  18617. marketamount:
  18618. description: 市值
  18619. type: number
  18620. marketid:
  18621. description: 所属市场ID
  18622. type: integer
  18623. openreqqty:
  18624. description: 开仓申请数量(用于比较最大持仓数量)
  18625. type: number
  18626. opentotalqty:
  18627. description: 开仓总数量
  18628. type: number
  18629. otherfrozenqty:
  18630. description: 持仓其他冻结数量(交割冻结)
  18631. type: number
  18632. positionpl:
  18633. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  18634. * 合约单位
  18635. type: number
  18636. positionplrate:
  18637. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  18638. type: number
  18639. positionqty:
  18640. description: 期初持仓数量
  18641. type: number
  18642. qtydecimalplace:
  18643. description: 成交量小数位
  18644. type: integer
  18645. refgoodscode:
  18646. description: 参考商品代码
  18647. type: string
  18648. refgoodsid:
  18649. description: 参考商品ID
  18650. type: integer
  18651. tnqty:
  18652. description: T+N冻结总量
  18653. type: number
  18654. tnusedqty:
  18655. description: T+N使用量(可以使用T+N的冻结数量)
  18656. type: number
  18657. trademode:
  18658. description: 交易模式
  18659. type: integer
  18660. tradeproperty:
  18661. description: 交易属性
  18662. type: integer
  18663. usedmargin:
  18664. description: 占用保证金[商品币种]
  18665. type: number
  18666. required:
  18667. - goodsid
  18668. type: object
  18669. pb.GoodsMarginCfgStruct:
  18670. properties:
  18671. CustomerTypeID:
  18672. description: 投资者客户类型
  18673. type: integer
  18674. GoodsID:
  18675. description: 商品ID
  18676. type: integer
  18677. IsDefault:
  18678. description: 是否默认标志位
  18679. type: integer
  18680. LockMarginValue:
  18681. description: 锁仓保证金
  18682. type: number
  18683. MarginAlgorithm:
  18684. description: 保证金计算方式
  18685. type: integer
  18686. MarketMarginValue:
  18687. description: 即市保证金值
  18688. type: number
  18689. RealMarginAlgorithm:
  18690. description: 实付保证金计算方式
  18691. type: integer
  18692. RealMarginValue:
  18693. description: 实付比例
  18694. type: number
  18695. ReckonMarginValue:
  18696. description: 结算保证金值
  18697. type: number
  18698. type: object
  18699. quote.HistoryData:
  18700. properties:
  18701. c:
  18702. description: 收盘价
  18703. type: number
  18704. f:
  18705. description: 是否补充数据
  18706. type: boolean
  18707. h:
  18708. description: 最高价
  18709. type: number
  18710. hv:
  18711. description: 持仓量
  18712. type: integer
  18713. l:
  18714. description: 最低价
  18715. type: number
  18716. o:
  18717. description: 开盘价
  18718. type: number
  18719. s:
  18720. description: 结算价,日线周期(包括)以上才有
  18721. type: number
  18722. ts:
  18723. description: 时间
  18724. type: string
  18725. tt:
  18726. description: 总金额
  18727. type: number
  18728. tv:
  18729. description: 总量(成交量)
  18730. type: integer
  18731. type: object
  18732. quote.HistoryTikData:
  18733. properties:
  18734. AV:
  18735. description: 卖量
  18736. type: integer
  18737. Ask:
  18738. description: 卖价
  18739. type: number
  18740. BV:
  18741. description: 买量
  18742. type: integer
  18743. Bid:
  18744. description: 买价
  18745. type: number
  18746. HI:
  18747. description: 单笔持仓
  18748. type: integer
  18749. HV:
  18750. description: 持仓量
  18751. type: integer
  18752. PE:
  18753. description: 现价
  18754. type: number
  18755. TDR:
  18756. description: 交易方向,0:买 1:卖
  18757. type: integer
  18758. TK:
  18759. description: 交易类型
  18760. type: integer
  18761. TS:
  18762. description: 行情时间文本
  18763. type: string
  18764. TT:
  18765. description: 现金额
  18766. type: number
  18767. Vol:
  18768. description: 现量
  18769. type: integer
  18770. type: object
  18771. quote.QueryQuoteDayRsp:
  18772. properties:
  18773. ask:
  18774. description: 卖1
  18775. type: number
  18776. ask2:
  18777. description: 卖2
  18778. type: number
  18779. ask3:
  18780. description: 卖3
  18781. type: number
  18782. ask4:
  18783. description: 卖4
  18784. type: number
  18785. ask5:
  18786. description: 卖5
  18787. type: number
  18788. ask6:
  18789. description: 卖6
  18790. type: number
  18791. ask7:
  18792. description: 卖7
  18793. type: number
  18794. ask8:
  18795. description: 卖8
  18796. type: number
  18797. ask9:
  18798. description: 卖9
  18799. type: number
  18800. ask10:
  18801. description: 卖10
  18802. type: number
  18803. askorderid:
  18804. description: 卖单号1
  18805. type: integer
  18806. askorderid2:
  18807. description: 卖单号2
  18808. type: integer
  18809. askorderid3:
  18810. description: 卖单号3
  18811. type: integer
  18812. askorderid4:
  18813. description: 卖单号4
  18814. type: integer
  18815. askorderid5:
  18816. description: 卖单号5
  18817. type: integer
  18818. askordervolume:
  18819. description: 卖单量1
  18820. type: integer
  18821. askordervolume2:
  18822. description: 卖单量2
  18823. type: integer
  18824. askordervolume3:
  18825. description: 卖单量3
  18826. type: integer
  18827. askordervolume4:
  18828. description: 卖单量4
  18829. type: integer
  18830. askordervolume5:
  18831. description: 卖单量5
  18832. type: integer
  18833. askordervolume6:
  18834. description: 卖单量6
  18835. type: integer
  18836. askordervolume7:
  18837. description: 卖单量7
  18838. type: integer
  18839. askordervolume8:
  18840. description: 卖单量8
  18841. type: integer
  18842. askordervolume9:
  18843. description: 卖单量9
  18844. type: integer
  18845. askordervolume10:
  18846. description: 卖单量10
  18847. type: integer
  18848. askqueueinfo:
  18849. description: 大利市卖港股用
  18850. type: string
  18851. askvolume:
  18852. description: 卖量1
  18853. type: integer
  18854. askvolume2:
  18855. description: 卖量2
  18856. type: integer
  18857. askvolume3:
  18858. description: 卖量3
  18859. type: integer
  18860. askvolume4:
  18861. description: 卖量4
  18862. type: integer
  18863. askvolume5:
  18864. description: 卖量5
  18865. type: integer
  18866. askvolume6:
  18867. description: 卖量6
  18868. type: integer
  18869. askvolume7:
  18870. description: 卖量7
  18871. type: integer
  18872. askvolume8:
  18873. description: 卖量8
  18874. type: integer
  18875. askvolume9:
  18876. description: 卖量9
  18877. type: integer
  18878. askvolume10:
  18879. description: 卖量10
  18880. type: integer
  18881. averageprice:
  18882. description: 均价
  18883. type: number
  18884. bid:
  18885. description: 买1
  18886. type: number
  18887. bid2:
  18888. description: 买2
  18889. type: number
  18890. bid3:
  18891. description: 买3
  18892. type: number
  18893. bid4:
  18894. description: 买4
  18895. type: number
  18896. bid5:
  18897. description: 买5
  18898. type: number
  18899. bid6:
  18900. description: 买6
  18901. type: number
  18902. bid7:
  18903. description: 买7
  18904. type: number
  18905. bid8:
  18906. description: 买8
  18907. type: number
  18908. bid9:
  18909. description: 买9
  18910. type: number
  18911. bid10:
  18912. description: 买10
  18913. type: number
  18914. bidorderid:
  18915. description: 买单号1
  18916. type: integer
  18917. bidorderid2:
  18918. description: 买单号2
  18919. type: integer
  18920. bidorderid3:
  18921. description: 买单号3
  18922. type: integer
  18923. bidorderid4:
  18924. description: 买单号4
  18925. type: integer
  18926. bidorderid5:
  18927. description: 买单号5
  18928. type: integer
  18929. bidordervolume:
  18930. description: 买单量1
  18931. type: integer
  18932. bidordervolume2:
  18933. description: 买单量2
  18934. type: integer
  18935. bidordervolume3:
  18936. description: 买单量3
  18937. type: integer
  18938. bidordervolume4:
  18939. description: 买单量4
  18940. type: integer
  18941. bidordervolume5:
  18942. description: 买单量5
  18943. type: integer
  18944. bidordervolume6:
  18945. description: 买单量6
  18946. type: integer
  18947. bidordervolume7:
  18948. description: 买单量7
  18949. type: integer
  18950. bidordervolume8:
  18951. description: 买单量8
  18952. type: integer
  18953. bidordervolume9:
  18954. description: 买单量9
  18955. type: integer
  18956. bidordervolume10:
  18957. description: 买单量10
  18958. type: integer
  18959. bidqueueinfo:
  18960. description: 大利市买港股用
  18961. type: string
  18962. bidvolume:
  18963. description: 买量1
  18964. type: integer
  18965. bidvolume2:
  18966. description: 买量2
  18967. type: integer
  18968. bidvolume3:
  18969. description: 买量3
  18970. type: integer
  18971. bidvolume4:
  18972. description: 买量4
  18973. type: integer
  18974. bidvolume5:
  18975. description: 买量5
  18976. type: integer
  18977. bidvolume6:
  18978. description: 买量6
  18979. type: integer
  18980. bidvolume7:
  18981. description: 买量7
  18982. type: integer
  18983. bidvolume8:
  18984. description: 买量8
  18985. type: integer
  18986. bidvolume9:
  18987. description: 买量9
  18988. type: integer
  18989. bidvolume10:
  18990. description: 买量10
  18991. type: integer
  18992. calloptionpremiums:
  18993. description: 认购期权1
  18994. type: integer
  18995. calloptionpremiums2:
  18996. description: 认购期权2
  18997. type: integer
  18998. calloptionpremiums3:
  18999. description: 认购期权3
  19000. type: integer
  19001. calloptionpremiums4:
  19002. description: 认购期权4
  19003. type: integer
  19004. calloptionpremiums5:
  19005. description: 认购期权5
  19006. type: integer
  19007. cleartime:
  19008. description: 清盘时间
  19009. type: integer
  19010. exchangecode:
  19011. description: 交易所代码
  19012. type: integer
  19013. exchangedate:
  19014. description: 交易日
  19015. type: integer
  19016. goodscode:
  19017. description: 商品代码
  19018. type: string
  19019. grepmarketprice:
  19020. description: 暗盘价 港股专用
  19021. type: number
  19022. highest:
  19023. description: 最高价
  19024. type: number
  19025. holdincrement:
  19026. description: 单笔持仓
  19027. type: integer
  19028. holdvolume:
  19029. description: 持仓
  19030. type: integer
  19031. iep:
  19032. description: 平衡价 港股专用
  19033. type: number
  19034. iev:
  19035. description: 平衡量 港股专用
  19036. type: number
  19037. inventory:
  19038. description: 库存
  19039. type: integer
  19040. iscleared:
  19041. description: 是否清盘标志
  19042. type: integer
  19043. issettled:
  19044. description: 是否结算标志
  19045. type: integer
  19046. last:
  19047. description: 最新价
  19048. type: number
  19049. lastlot:
  19050. description: 最新成交手数
  19051. type: integer
  19052. lasttime:
  19053. description: 行情时间(只有现价变化行情时间才变化)
  19054. type: string
  19055. lastturnover:
  19056. description: 最新成交金额
  19057. type: number
  19058. lastvolume:
  19059. description: 最新成交量
  19060. type: integer
  19061. limitdown:
  19062. description: 跌停价
  19063. type: number
  19064. limitup:
  19065. description: 涨停价
  19066. type: number
  19067. lowest:
  19068. description: 最低价
  19069. type: number
  19070. nontotalholdervolume:
  19071. description: 非交易持仓量
  19072. type: integer
  19073. nontotallot:
  19074. description: 非交易总手数
  19075. type: integer
  19076. nontotalturnover:
  19077. description: 非交易总金额
  19078. type: integer
  19079. nontotalvolume:
  19080. description: 非交易总量
  19081. type: integer
  19082. opened:
  19083. description: 开盘价
  19084. type: number
  19085. opentime:
  19086. description: 开盘时间
  19087. type: string
  19088. orderid:
  19089. description: 序号
  19090. type: integer
  19091. preclose:
  19092. description: 昨收
  19093. type: number
  19094. preholdvolume:
  19095. description: 昨持仓
  19096. type: integer
  19097. presettle:
  19098. description: 昨结价
  19099. type: number
  19100. publictradetype:
  19101. description: 公共交易标志类型 港股专用
  19102. type: string
  19103. putoptionpremiums:
  19104. description: 认沽期权1
  19105. type: integer
  19106. putoptionpremiums2:
  19107. description: 认沽期权2
  19108. type: integer
  19109. putoptionpremiums3:
  19110. description: 认沽期权3
  19111. type: integer
  19112. putoptionpremiums4:
  19113. description: 认沽期权4
  19114. type: integer
  19115. putoptionpremiums5:
  19116. description: 认沽期权5
  19117. type: integer
  19118. settle:
  19119. description: 结算价
  19120. type: number
  19121. strikeprice:
  19122. description: 发行价
  19123. type: number
  19124. totalaskvolume:
  19125. description: 内盘
  19126. type: integer
  19127. totalbidvolume:
  19128. description: 外盘
  19129. type: integer
  19130. totallot:
  19131. description: 总手数
  19132. type: integer
  19133. totalturnover:
  19134. description: 总金额
  19135. type: number
  19136. totalvolume:
  19137. description: 总量
  19138. type: integer
  19139. utclasttime:
  19140. description: utc的行情时间
  19141. type: string
  19142. type: object
  19143. quote.QueryTSDataRsp:
  19144. properties:
  19145. Count:
  19146. description: 交易日应有数据个数
  19147. type: integer
  19148. decimalPlace:
  19149. description: 小数位
  19150. type: integer
  19151. endTime:
  19152. description: 结束时间
  19153. type: string
  19154. goodsCode:
  19155. description: 商品代码
  19156. type: string
  19157. historyDatas:
  19158. description: 历史数据
  19159. items:
  19160. $ref: '#/definitions/quote.HistoryData'
  19161. type: array
  19162. outGoodsCode:
  19163. description: 外部商品代码
  19164. type: string
  19165. preSettle:
  19166. description: 昨结价
  19167. type: number
  19168. runSteps:
  19169. description: 交易日开休市计划
  19170. items:
  19171. $ref: '#/definitions/quote.TSDataRunStep'
  19172. type: array
  19173. startTime:
  19174. description: 开始时间
  19175. type: string
  19176. tradeDate:
  19177. description: 交易日
  19178. type: string
  19179. type: object
  19180. quote.TSDataRunStep:
  19181. properties:
  19182. end:
  19183. description: 真实结束时间
  19184. type: string
  19185. endflag:
  19186. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  19187. type: integer
  19188. endtime:
  19189. description: 结束时间(HH:mm)
  19190. type: string
  19191. endweekday:
  19192. description: 结束周几
  19193. type: integer
  19194. groupid:
  19195. description: 分组ID
  19196. type: integer
  19197. runstep:
  19198. description: 运行阶段 - 2:连续交易
  19199. type: integer
  19200. sectionid:
  19201. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  19202. 结束时间=结算时间 结束周几=结算周几
  19203. type: integer
  19204. start:
  19205. description: 真实开始时间
  19206. type: string
  19207. startflag:
  19208. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  19209. type: integer
  19210. starttime:
  19211. description: 起始时间(HH:mm)
  19212. type: string
  19213. startweekday:
  19214. description: 起始周几
  19215. type: integer
  19216. tradeweekday:
  19217. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  19218. type: integer
  19219. type: object
  19220. szdz.QueryConvertLogRsp:
  19221. properties:
  19222. accountid:
  19223. description: 资金账户ID
  19224. type: integer
  19225. clientticket:
  19226. description: 客户端流水号
  19227. type: string
  19228. converttype:
  19229. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  19230. type: integer
  19231. createtime:
  19232. description: 记账时间
  19233. type: string
  19234. daymaxvalue:
  19235. description: 配置当日最大转入限制
  19236. type: number
  19237. daymaxvalue2:
  19238. description: 配置当日最大转入限制(转入)
  19239. type: number
  19240. goodscode:
  19241. description: 商品代码
  19242. type: string
  19243. goodsname:
  19244. description: 商品名称
  19245. type: string
  19246. handlestatus:
  19247. description: 处理状态
  19248. type: integer
  19249. innergoodsid:
  19250. description: 内部商品ID
  19251. type: integer
  19252. inratio:
  19253. description: 配置转入比值
  19254. type: integer
  19255. invalue:
  19256. description: 目标值
  19257. type: number
  19258. logid:
  19259. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  19260. type: integer
  19261. mobile:
  19262. description: 手机号码(加密存储)
  19263. type: string
  19264. outergoodscode:
  19265. description: 外部商品代码[JD\PD]
  19266. type: string
  19267. outratio:
  19268. description: 配置转出比值
  19269. type: integer
  19270. outvalue:
  19271. description: 源值
  19272. type: number
  19273. pddecimalplace:
  19274. description: PD小数位
  19275. type: integer
  19276. qty:
  19277. description: 数量
  19278. type: string
  19279. remark:
  19280. description: 备注
  19281. type: string
  19282. sessionid:
  19283. description: 会话ID
  19284. type: integer
  19285. timemaxvalue:
  19286. description: 配置单次最大转入限制
  19287. type: number
  19288. timemaxvalue2:
  19289. description: 配置单次最大转入限制(转入)
  19290. type: number
  19291. timeminvalue:
  19292. description: 配置单次最小数量限制
  19293. type: number
  19294. timeminvalue2:
  19295. description: 配置单次最小数量限制(转入)
  19296. type: number
  19297. tradedate:
  19298. description: 交易日(yyyyMMdd)
  19299. type: string
  19300. userid:
  19301. description: 用户ID
  19302. type: integer
  19303. required:
  19304. - logid
  19305. type: object
  19306. szdz.QueryGoodsPickupRsp:
  19307. properties:
  19308. accountid:
  19309. description: 账户ID
  19310. type: integer
  19311. address:
  19312. description: 提货人详细地址
  19313. type: string
  19314. auditer:
  19315. description: 审核人
  19316. type: integer
  19317. audittime:
  19318. description: 审核时间
  19319. type: string
  19320. cardnum:
  19321. description: 提货人证件号码
  19322. type: string
  19323. cardtypeid:
  19324. description: 提货人证件类型
  19325. type: integer
  19326. checkremark:
  19327. description: 审核备注
  19328. type: string
  19329. goodscode:
  19330. description: 商品代码
  19331. type: string
  19332. goodsid:
  19333. description: 商品ID
  19334. type: integer
  19335. goodsname:
  19336. description: 商品名称
  19337. type: string
  19338. handlestatus:
  19339. description: 处理状态
  19340. type: integer
  19341. marketid:
  19342. description: 市场ID
  19343. type: integer
  19344. phonenum:
  19345. description: 提货人联系方式
  19346. type: string
  19347. qty:
  19348. description: 提货数量
  19349. type: number
  19350. recivername:
  19351. description: 提货人姓名
  19352. type: string
  19353. reqtime:
  19354. description: 更新时间
  19355. type: string
  19356. takemode:
  19357. description: 提货方式 - 2:自提 3:配送
  19358. type: integer
  19359. takeorderid:
  19360. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  19361. type: string
  19362. takeorderstatus:
  19363. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  19364. type: integer
  19365. takeremark:
  19366. description: 提货备注
  19367. type: string
  19368. tradedate:
  19369. description: 交易日(yyyyMMdd)
  19370. type: string
  19371. userid:
  19372. description: 用户ID
  19373. type: integer
  19374. required:
  19375. - takeorderid
  19376. type: object
  19377. szdz.QueryRecieptOrderRsp:
  19378. properties:
  19379. accountName:
  19380. description: 所属账号名称(已脱敏)
  19381. type: string
  19382. accountid:
  19383. description: 资金账号
  19384. type: integer
  19385. buyorsell:
  19386. description: 方向 - 0:买 1:卖
  19387. type: integer
  19388. enableqty:
  19389. description: 可摘数量
  19390. type: integer
  19391. goodscode:
  19392. description: 商品代码
  19393. type: string
  19394. goodsid:
  19395. description: 商品ID
  19396. type: integer
  19397. goodsname:
  19398. description: 商品名称
  19399. type: string
  19400. orderid:
  19401. description: 委托单号
  19402. type: string
  19403. orderprice:
  19404. description: 委托价格
  19405. type: number
  19406. ordertime:
  19407. description: 委托时间
  19408. type: string
  19409. tradedate:
  19410. description: 交易日(yyyyMMdd)
  19411. type: string
  19412. required:
  19413. - ordertime
  19414. type: object
  19415. szdz.QuerySZDZTradePositionRsp:
  19416. properties:
  19417. accountid:
  19418. description: 账号Id
  19419. type: integer
  19420. agreeunit:
  19421. description: 合约单位
  19422. type: number
  19423. averageprice:
  19424. description: 持仓均价
  19425. type: number
  19426. buyorsell:
  19427. description: 方向 - 0:买 1:卖
  19428. type: integer
  19429. closetotalqty:
  19430. description: 平仓总数量
  19431. type: integer
  19432. curholderamount:
  19433. description: 当前持仓总金额
  19434. type: number
  19435. curpositionqty:
  19436. description: 当前持仓总数量
  19437. type: integer
  19438. currencyid:
  19439. description: 报价货币ID
  19440. type: integer
  19441. curtdposition:
  19442. description: 期末今日头寸
  19443. type: integer
  19444. decimalplace:
  19445. description: 报价小数位
  19446. type: integer
  19447. enableqty:
  19448. description: 可用量
  19449. type: integer
  19450. fretdposition:
  19451. description: 冻结今日头寸
  19452. type: integer
  19453. frozenqty:
  19454. description: 持仓冻结数量
  19455. type: integer
  19456. goodscode:
  19457. description: 商品代码(内部)
  19458. type: string
  19459. goodsid:
  19460. description: 商品Id
  19461. type: integer
  19462. goodsname:
  19463. description: 商品名称
  19464. type: string
  19465. goodunit:
  19466. description: 报价单位
  19467. type: string
  19468. goodunitid:
  19469. description: 报价单位ID
  19470. type: integer
  19471. holderamount:
  19472. description: 期初持仓总金额
  19473. type: number
  19474. marketid:
  19475. description: 市场ID
  19476. type: integer
  19477. openreqqty:
  19478. description: 开仓申请数量
  19479. type: integer
  19480. opentotalqty:
  19481. description: 开仓总数量
  19482. type: integer
  19483. otherfrozenqty:
  19484. description: 持仓其他冻结数量(交割冻结)
  19485. type: integer
  19486. positionqty:
  19487. description: 期初持仓数量
  19488. type: integer
  19489. szdz3freezqty:
  19490. description: 尚志大宗转换冻结总数量
  19491. type: integer
  19492. tnqty:
  19493. description: T+N冻结总量
  19494. type: integer
  19495. tnusedqty:
  19496. description: T+N使用量
  19497. type: integer
  19498. trademode:
  19499. description: 交易模式
  19500. type: integer
  19501. usedmargin:
  19502. description: 占用保证金
  19503. type: number
  19504. type: object
  19505. taaccount.QueryAmountLogRsp:
  19506. properties:
  19507. OPERATETYPENAME:
  19508. description: 资金操作类型名称
  19509. type: string
  19510. accountid:
  19511. description: 资金账户ID
  19512. type: integer
  19513. agoodscode:
  19514. description: 竞拍商品代码
  19515. type: string
  19516. agoodsname:
  19517. description: 竞拍商品名称
  19518. type: string
  19519. amount:
  19520. description: 资金金额
  19521. type: number
  19522. amountadjusttype:
  19523. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  19524. type: integer
  19525. autoid:
  19526. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  19527. type: integer
  19528. balance:
  19529. description: 期初余额
  19530. type: number
  19531. businesscode:
  19532. description: 业务编号
  19533. type: integer
  19534. createtime:
  19535. description: 发生时间
  19536. type: string
  19537. currencyid:
  19538. description: 币种ID
  19539. type: integer
  19540. currentbalance:
  19541. description: 期末余额(变动后金额)
  19542. type: number
  19543. dgoodscode:
  19544. description: 交割商品代码
  19545. type: string
  19546. dgoodsname:
  19547. description: 交割商品名称
  19548. type: string
  19549. goodscode:
  19550. description: 商品代码
  19551. type: string
  19552. goodsid:
  19553. description: 商品ID
  19554. type: integer
  19555. goodsname:
  19556. description: 商品名称
  19557. type: string
  19558. marketid:
  19559. description: 市场ID
  19560. type: integer
  19561. marketname:
  19562. description: 市场名称
  19563. type: string
  19564. moneyticket:
  19565. description: 资金流水号:银行端流水号
  19566. type: integer
  19567. operatetype:
  19568. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  19569. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  19570. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  19571. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  19572. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  19573. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  19574. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  19575. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  19576. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  19577. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  19578. type: integer
  19579. relationorderid:
  19580. description: 关联单号
  19581. type: string
  19582. remark:
  19583. description: 备注
  19584. type: string
  19585. trademode:
  19586. description: 交易模式
  19587. type: integer
  19588. required:
  19589. - accountid
  19590. - amount
  19591. - amountadjusttype
  19592. - autoid
  19593. - balance
  19594. - createtime
  19595. - currentbalance
  19596. - operatetype
  19597. type: object
  19598. taaccount.QueryHisAmountLogRsp:
  19599. properties:
  19600. OPERATETYPENAME:
  19601. description: 资金操作类型名称
  19602. type: string
  19603. accountid:
  19604. description: 资金账户ID
  19605. type: integer
  19606. agoodscode:
  19607. description: 竞拍商品代码
  19608. type: string
  19609. agoodsname:
  19610. description: 竞拍商品名称
  19611. type: string
  19612. amount:
  19613. description: 资金金额
  19614. type: number
  19615. amountadjusttype:
  19616. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  19617. type: integer
  19618. autoid:
  19619. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  19620. type: integer
  19621. balance:
  19622. description: 期初余额
  19623. type: number
  19624. businesscode:
  19625. description: 业务编号
  19626. type: integer
  19627. createtime:
  19628. description: 发生时间
  19629. type: string
  19630. currencyid:
  19631. description: 币种ID
  19632. type: integer
  19633. currentbalance:
  19634. description: 期末余额(变动后金额)
  19635. type: number
  19636. dgoodscode:
  19637. description: 交割商品代码
  19638. type: string
  19639. dgoodsname:
  19640. description: 交割商品名称
  19641. type: string
  19642. goodscode:
  19643. description: 商品代码
  19644. type: string
  19645. goodsid:
  19646. description: 商品ID
  19647. type: integer
  19648. goodsname:
  19649. description: 商品名称
  19650. type: string
  19651. histradedate:
  19652. description: 历史交易日
  19653. type: string
  19654. isvaliddata:
  19655. description: 是否有效 - 0:无效 1:有效
  19656. type: integer
  19657. marketid:
  19658. description: 市场ID
  19659. type: integer
  19660. marketname:
  19661. description: 市场名称
  19662. type: string
  19663. moneyticket:
  19664. description: 资金流水号:银行端流水号
  19665. type: integer
  19666. operatetype:
  19667. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  19668. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  19669. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  19670. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  19671. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  19672. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  19673. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  19674. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  19675. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  19676. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  19677. type: integer
  19678. relationorderid:
  19679. description: 关联单号
  19680. type: string
  19681. remark:
  19682. description: 备注
  19683. type: string
  19684. trademode:
  19685. description: 交易模式
  19686. type: integer
  19687. required:
  19688. - accountid
  19689. - amount
  19690. - amountadjusttype
  19691. - autoid
  19692. - balance
  19693. - createtime
  19694. - currentbalance
  19695. - histradedate
  19696. - operatetype
  19697. type: object
  19698. trade.QueryRecieptOrderRsp:
  19699. properties:
  19700. accountName:
  19701. description: 所属账号名称(已脱敏)
  19702. type: string
  19703. accountid:
  19704. description: 资金账号
  19705. type: integer
  19706. buyorsell:
  19707. description: 方向 - 0:买 1:卖
  19708. type: integer
  19709. enableqty:
  19710. description: 可摘数量
  19711. type: integer
  19712. goodscode:
  19713. description: 商品代码
  19714. type: string
  19715. goodsid:
  19716. description: 商品ID
  19717. type: integer
  19718. goodsname:
  19719. description: 商品名称
  19720. type: string
  19721. orderid:
  19722. description: 委托单号
  19723. type: string
  19724. orderprice:
  19725. description: 委托价格
  19726. type: number
  19727. ordertime:
  19728. description: 委托时间
  19729. type: string
  19730. tradedate:
  19731. description: 交易日(yyyyMMdd)
  19732. type: string
  19733. required:
  19734. - ordertime
  19735. type: object
  19736. user.LoginQueryRsp:
  19737. properties:
  19738. areaRoles:
  19739. description: 所属角色信息
  19740. items:
  19741. $ref: '#/definitions/models.Arearole'
  19742. type: array
  19743. externalExchanges:
  19744. description: 外部交易所
  19745. items:
  19746. $ref: '#/definitions/models.Externalexchange'
  19747. type: array
  19748. goodsgroups:
  19749. description: 商品组
  19750. items:
  19751. $ref: '#/definitions/models.Goodsgroup'
  19752. type: array
  19753. loginAccount:
  19754. $ref: '#/definitions/models.Loginaccount'
  19755. description: 登录账号
  19756. markets:
  19757. description: 市场
  19758. items:
  19759. $ref: '#/definitions/models.Market'
  19760. type: array
  19761. systemParams:
  19762. description: 系统参数
  19763. items:
  19764. $ref: '#/definitions/models.Systemparam'
  19765. type: array
  19766. userAccount:
  19767. $ref: '#/definitions/models.Useraccount'
  19768. description: 用户账号
  19769. userInfo:
  19770. $ref: '#/definitions/models.Userinfo'
  19771. description: 用户信息
  19772. username:
  19773. description: 用户姓名
  19774. type: string
  19775. type: object
  19776. info:
  19777. contact: {}
  19778. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  19779. termsOfService: http://www.muchinfo.cn
  19780. title: MTP2.0 查询服务 API
  19781. version: "1.0"
  19782. paths:
  19783. /CPTrade/QueryCPTradeMyBidInfos:
  19784. get:
  19785. parameters:
  19786. - description: 资金账户
  19787. in: query
  19788. name: accountid
  19789. required: true
  19790. type: integer
  19791. - description: 预售市场ID
  19792. in: query
  19793. name: marketid
  19794. type: integer
  19795. - description: 预售商品ID
  19796. in: query
  19797. name: goodsid
  19798. type: integer
  19799. produces:
  19800. - application/json
  19801. responses:
  19802. "200":
  19803. description: OK
  19804. schema:
  19805. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  19806. "500":
  19807. description: Internal Server Error
  19808. schema:
  19809. $ref: '#/definitions/app.Response'
  19810. security:
  19811. - ApiKeyAuth: []
  19812. summary: 查询产能预售我的出价信息
  19813. tags:
  19814. - 产能预售
  19815. /CPTrade/QueryCPTradeOrderDetail:
  19816. get:
  19817. parameters:
  19818. - description: 预售商品ID
  19819. in: query
  19820. name: goodsid
  19821. type: integer
  19822. - description: 预售市场ID
  19823. in: query
  19824. name: marketid
  19825. type: integer
  19826. - description: 预售商品ID列表 - 格式:1,2,3
  19827. in: query
  19828. name: goodsids
  19829. type: string
  19830. produces:
  19831. - application/json
  19832. responses:
  19833. "200":
  19834. description: OK
  19835. schema:
  19836. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  19837. "500":
  19838. description: Internal Server Error
  19839. schema:
  19840. $ref: '#/definitions/app.Response'
  19841. security:
  19842. - ApiKeyAuth: []
  19843. summary: 查询产能预售委托单信息
  19844. tags:
  19845. - 产能预售
  19846. /CPTrade/QueryMyCPTradeGoods:
  19847. get:
  19848. parameters:
  19849. - description: 资金账户
  19850. in: query
  19851. name: accountid
  19852. required: true
  19853. type: integer
  19854. produces:
  19855. - application/json
  19856. responses:
  19857. "200":
  19858. description: OK
  19859. schema:
  19860. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  19861. "500":
  19862. description: Internal Server Error
  19863. schema:
  19864. $ref: '#/definitions/app.Response'
  19865. security:
  19866. - ApiKeyAuth: []
  19867. summary: 查询我的预售信息
  19868. tags:
  19869. - 产能预售
  19870. /CPTrade/QueryPositionCancel:
  19871. get:
  19872. parameters:
  19873. - description: 账户ID
  19874. in: query
  19875. name: userid
  19876. required: true
  19877. type: integer
  19878. - description: 注销ID
  19879. in: query
  19880. name: cancelid
  19881. type: integer
  19882. - description: 资金账户ID
  19883. in: query
  19884. name: accountid
  19885. type: integer
  19886. produces:
  19887. - application/json
  19888. responses:
  19889. "200":
  19890. description: OK
  19891. schema:
  19892. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  19893. "500":
  19894. description: Internal Server Error
  19895. schema:
  19896. $ref: '#/definitions/app.Response'
  19897. security:
  19898. - ApiKeyAuth: []
  19899. summary: 查询远期订单注销申请信息
  19900. tags:
  19901. - 产能预售
  19902. /CPTrade/QueryPreasleApply:
  19903. get:
  19904. parameters:
  19905. - description: 账户ID
  19906. in: query
  19907. name: userid
  19908. required: true
  19909. type: integer
  19910. - description: 申请ID
  19911. in: query
  19912. name: applyid
  19913. type: integer
  19914. - description: 资金账户ID
  19915. in: query
  19916. name: accountid
  19917. type: integer
  19918. produces:
  19919. - application/json
  19920. responses:
  19921. "200":
  19922. description: OK
  19923. schema:
  19924. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  19925. "500":
  19926. description: Internal Server Error
  19927. schema:
  19928. $ref: '#/definitions/app.Response'
  19929. security:
  19930. - ApiKeyAuth: []
  19931. summary: 查询产能预售申请信息
  19932. tags:
  19933. - 产能预售
  19934. /CPTrade/QueryPresaleGoodsEx:
  19935. get:
  19936. parameters:
  19937. - description: 预售商品ID
  19938. in: query
  19939. name: goodsid
  19940. type: integer
  19941. - description: 预售市场ID
  19942. in: query
  19943. name: marketid
  19944. type: integer
  19945. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  19946. in: query
  19947. name: presalemode
  19948. type: integer
  19949. - description: 预售商品ID列表 - 格式:1,2,3
  19950. in: query
  19951. name: goodsids
  19952. type: string
  19953. - description: 预售商品代码
  19954. in: query
  19955. name: goodscode
  19956. type: string
  19957. produces:
  19958. - application/json
  19959. responses:
  19960. "200":
  19961. description: OK
  19962. schema:
  19963. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  19964. "500":
  19965. description: Internal Server Error
  19966. schema:
  19967. $ref: '#/definitions/app.Response'
  19968. security:
  19969. - ApiKeyAuth: []
  19970. summary: 查询产能预售商品扩展信息
  19971. tags:
  19972. - 产能预售
  19973. /CPTrade/QueryUserGoodsData:
  19974. get:
  19975. parameters:
  19976. - description: 资金账户ID
  19977. in: query
  19978. name: accountid
  19979. required: true
  19980. type: integer
  19981. produces:
  19982. - application/json
  19983. responses:
  19984. "200":
  19985. description: OK
  19986. schema:
  19987. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  19988. "500":
  19989. description: Internal Server Error
  19990. schema:
  19991. $ref: '#/definitions/app.Response'
  19992. security:
  19993. - ApiKeyAuth: []
  19994. summary: 查询远期订单信息
  19995. tags:
  19996. - 产能预售
  19997. /Common/GetAllEnums:
  19998. get:
  19999. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  20000. parameters:
  20001. - description: 起始自增ID
  20002. in: query
  20003. name: autoid
  20004. type: integer
  20005. produces:
  20006. - application/json
  20007. responses:
  20008. "200":
  20009. description: OK
  20010. schema:
  20011. $ref: '#/definitions/models.Enumdicitem'
  20012. "500":
  20013. description: Internal Server Error
  20014. schema:
  20015. $ref: '#/definitions/app.Response'
  20016. summary: 获取所有枚举信息
  20017. tags:
  20018. - 通用服务
  20019. /Common/GetClientMenus:
  20020. get:
  20021. parameters:
  20022. - description: 登录账号
  20023. in: query
  20024. name: loginID
  20025. required: true
  20026. type: integer
  20027. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  20028. in: query
  20029. name: clientType
  20030. type: integer
  20031. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  20032. in: query
  20033. name: name
  20034. type: string
  20035. produces:
  20036. - application/json
  20037. responses:
  20038. "200":
  20039. description: OK
  20040. schema:
  20041. items:
  20042. $ref: '#/definitions/common.ClientMenu'
  20043. type: array
  20044. "500":
  20045. description: Internal Server Error
  20046. schema:
  20047. $ref: '#/definitions/app.Response'
  20048. security:
  20049. - ApiKeyAuth: []
  20050. summary: 获取交易端菜单
  20051. tags:
  20052. - 通用服务
  20053. /Common/GetDivisions:
  20054. get:
  20055. produces:
  20056. - application/json
  20057. responses:
  20058. "200":
  20059. description: OK
  20060. schema:
  20061. $ref: '#/definitions/models.Division'
  20062. "500":
  20063. description: Internal Server Error
  20064. schema:
  20065. $ref: '#/definitions/app.Response'
  20066. summary: 查询区域信息
  20067. tags:
  20068. - 通用服务
  20069. /Common/GetPCWebMenus:
  20070. get:
  20071. parameters:
  20072. - description: 登录账号
  20073. in: query
  20074. name: loginID
  20075. required: true
  20076. type: integer
  20077. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  20078. in: query
  20079. name: name
  20080. type: string
  20081. produces:
  20082. - application/json
  20083. responses:
  20084. "200":
  20085. description: OK
  20086. schema:
  20087. items:
  20088. $ref: '#/definitions/common.PCWebMenu'
  20089. type: array
  20090. "500":
  20091. description: Internal Server Error
  20092. schema:
  20093. $ref: '#/definitions/app.Response'
  20094. security:
  20095. - ApiKeyAuth: []
  20096. summary: 获取PCWeb交易端菜单
  20097. tags:
  20098. - 通用服务
  20099. /Common/GetServerTime:
  20100. get:
  20101. produces:
  20102. - application/json
  20103. responses:
  20104. "200":
  20105. description: OK
  20106. schema:
  20107. $ref: '#/definitions/app.Response'
  20108. "500":
  20109. description: Internal Server Error
  20110. schema:
  20111. $ref: '#/definitions/app.Response'
  20112. summary: 获取服务器时间
  20113. tags:
  20114. - 通用服务
  20115. /Common/NoticeReaded:
  20116. post:
  20117. parameters:
  20118. - description: 登录账号
  20119. in: query
  20120. name: loginID
  20121. required: true
  20122. type: integer
  20123. - description: 通知公告ID
  20124. in: query
  20125. name: noticeID
  20126. required: true
  20127. type: integer
  20128. produces:
  20129. - application/json
  20130. responses:
  20131. "200":
  20132. description: OK
  20133. schema:
  20134. $ref: '#/definitions/app.Response'
  20135. "500":
  20136. description: Internal Server Error
  20137. schema:
  20138. $ref: '#/definitions/app.Response'
  20139. security:
  20140. - ApiKeyAuth: []
  20141. summary: 通知公告设置已读请求
  20142. tags:
  20143. - 通用服务
  20144. /Common/QueryErrorInfos:
  20145. get:
  20146. description: 如果传入rowNumber,则返回此rowNumber后的数据
  20147. parameters:
  20148. - description: 起始行号前索引
  20149. in: query
  20150. name: rowNumber
  20151. type: string
  20152. produces:
  20153. - application/json
  20154. responses:
  20155. "200":
  20156. description: OK
  20157. schema:
  20158. $ref: '#/definitions/models.QueryErrorInfosRsp'
  20159. "500":
  20160. description: Internal Server Error
  20161. schema:
  20162. $ref: '#/definitions/app.Response'
  20163. summary: 获取数据库错误信息
  20164. tags:
  20165. - 通用服务
  20166. /Common/QueryImageConfigs:
  20167. get:
  20168. parameters:
  20169. - description: 用户id
  20170. in: query
  20171. name: userId
  20172. type: integer
  20173. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  20174. in: query
  20175. name: imageType
  20176. type: integer
  20177. produces:
  20178. - application/json
  20179. responses:
  20180. "200":
  20181. description: OK
  20182. schema:
  20183. $ref: '#/definitions/common.QueryImageConfigsRsp'
  20184. "500":
  20185. description: Internal Server Error
  20186. schema:
  20187. $ref: '#/definitions/app.Response'
  20188. summary: 查询轮播图配置信息
  20189. tags:
  20190. - 通用服务
  20191. /Common/QueryNotice:
  20192. get:
  20193. parameters:
  20194. - description: 页码
  20195. in: query
  20196. name: page
  20197. type: integer
  20198. - description: 每页条数
  20199. in: query
  20200. name: pagesize
  20201. type: integer
  20202. - description: 登录账号
  20203. in: query
  20204. name: loginID
  20205. required: true
  20206. type: integer
  20207. - description: 消息类型 - 1:公告通知 2:系统消息
  20208. in: query
  20209. name: msgType
  20210. type: integer
  20211. - description: 是否只获取未读信息
  20212. in: query
  20213. name: onlyUnRead
  20214. type: boolean
  20215. - description: 自增ID,传入后会返回这个ID后面的记录
  20216. in: query
  20217. name: lastID
  20218. type: integer
  20219. produces:
  20220. - application/json
  20221. responses:
  20222. "200":
  20223. description: OK
  20224. schema:
  20225. $ref: '#/definitions/common.QueryNoticeRsp'
  20226. "500":
  20227. description: Internal Server Error
  20228. schema:
  20229. $ref: '#/definitions/app.Response'
  20230. security:
  20231. - ApiKeyAuth: []
  20232. summary: 通知公告系统消息查询
  20233. tags:
  20234. - 通用服务
  20235. /Common/QueryProvincesAndCities:
  20236. get:
  20237. parameters:
  20238. - description: 省ID
  20239. in: query
  20240. name: provinceID
  20241. type: integer
  20242. produces:
  20243. - application/json
  20244. responses:
  20245. "200":
  20246. description: OK
  20247. schema:
  20248. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  20249. "500":
  20250. description: Internal Server Error
  20251. schema:
  20252. $ref: '#/definitions/app.Response'
  20253. summary: 查询省市信息(不包括区)
  20254. tags:
  20255. - 通用服务
  20256. /Common/QueryTableDefine:
  20257. get:
  20258. parameters:
  20259. - description: 表key
  20260. in: query
  20261. name: tableKey
  20262. type: string
  20263. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  20264. in: query
  20265. name: tableType
  20266. type: integer
  20267. produces:
  20268. - application/json
  20269. responses:
  20270. "200":
  20271. description: OK
  20272. schema:
  20273. $ref: '#/definitions/common.QueryTableDefineRsp'
  20274. "500":
  20275. description: Internal Server Error
  20276. schema:
  20277. $ref: '#/definitions/app.Response'
  20278. summary: 查询交易端列表头信息
  20279. tags:
  20280. - 通用服务
  20281. /Common/QueryTraderMenu:
  20282. get:
  20283. parameters:
  20284. - description: 登录账号
  20285. in: query
  20286. name: loginid
  20287. required: true
  20288. type: integer
  20289. produces:
  20290. - application/json
  20291. responses:
  20292. "200":
  20293. description: OK
  20294. schema:
  20295. $ref: '#/definitions/common.QueryTraderMenuRsp'
  20296. "500":
  20297. description: Internal Server Error
  20298. schema:
  20299. $ref: '#/definitions/app.Response'
  20300. summary: 查询交易端菜单
  20301. tags:
  20302. - 通用服务
  20303. /Delivery/QueryDeliveryRelation:
  20304. get:
  20305. parameters:
  20306. - description: 商品ID
  20307. in: query
  20308. name: goodsid
  20309. type: integer
  20310. - description: 品种ID
  20311. in: query
  20312. name: deliverygoodsid
  20313. type: integer
  20314. - description: 市场ID
  20315. in: query
  20316. name: marketid
  20317. type: integer
  20318. produces:
  20319. - application/json
  20320. responses:
  20321. "200":
  20322. description: OK
  20323. schema:
  20324. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  20325. "500":
  20326. description: Internal Server Error
  20327. schema:
  20328. $ref: '#/definitions/app.Response'
  20329. security:
  20330. - ApiKeyAuth: []
  20331. summary: 查询商品交割关系表
  20332. tags:
  20333. - 交割服务
  20334. /Ermcp/GetErmcpGoods:
  20335. get:
  20336. parameters:
  20337. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  20338. in: query
  20339. name: userid
  20340. type: integer
  20341. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  20342. in: query
  20343. name: lastUpdateTime
  20344. type: string
  20345. produces:
  20346. - application/json
  20347. responses:
  20348. "200":
  20349. description: OK
  20350. schema:
  20351. $ref: '#/definitions/models.ErmcpGoods'
  20352. "500":
  20353. description: Internal Server Error
  20354. schema:
  20355. $ref: '#/definitions/app.Response'
  20356. security:
  20357. - ApiKeyAuth: []
  20358. summary: 查询企业风管期货商品信息
  20359. tags:
  20360. - 企业风险管理(app)
  20361. /Ermcp/GetErmcpGoodsSortByPosition:
  20362. get:
  20363. parameters:
  20364. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  20365. in: query
  20366. name: sortIndex
  20367. type: string
  20368. produces:
  20369. - application/json
  20370. responses:
  20371. "200":
  20372. description: OK
  20373. schema:
  20374. $ref: '#/definitions/models.Goodssortbypreposition'
  20375. "500":
  20376. description: Internal Server Error
  20377. schema:
  20378. $ref: '#/definitions/app.Response'
  20379. security:
  20380. - ApiKeyAuth: []
  20381. summary: 查询企业风管期货主力、次主力商品信息
  20382. tags:
  20383. - 企业风险管理(app)
  20384. /Ermcp/GetErmcpOutAccountStatus:
  20385. get:
  20386. parameters:
  20387. - description: 登录账号
  20388. in: query
  20389. name: loginID
  20390. required: true
  20391. type: integer
  20392. produces:
  20393. - application/json
  20394. responses:
  20395. "200":
  20396. description: OK
  20397. schema:
  20398. $ref: '#/definitions/models.Hedgemarketopenlog'
  20399. "500":
  20400. description: Internal Server Error
  20401. schema:
  20402. $ref: '#/definitions/app.Response'
  20403. security:
  20404. - ApiKeyAuth: []
  20405. summary: 获取目标登录账号当前对冲账号在线状态
  20406. tags:
  20407. - 企业风险管理(app)
  20408. /Ermcp/GetErmcpRoleFuncMenuLists:
  20409. get:
  20410. parameters:
  20411. - description: 登录账号
  20412. in: query
  20413. name: loginID
  20414. required: true
  20415. type: integer
  20416. produces:
  20417. - application/json
  20418. responses:
  20419. "200":
  20420. description: OK
  20421. schema:
  20422. $ref: '#/definitions/models.Funcmenulist'
  20423. "500":
  20424. description: Internal Server Error
  20425. schema:
  20426. $ref: '#/definitions/app.Response'
  20427. security:
  20428. - ApiKeyAuth: []
  20429. summary: 获取企业风管终端权限
  20430. tags:
  20431. - 企业风险管理(app)
  20432. /Ermcp/QueryAccMgrBizGroupSet:
  20433. get:
  20434. parameters:
  20435. - description: 用户ID
  20436. in: query
  20437. name: userid
  20438. required: true
  20439. type: integer
  20440. - description: 现货商品id
  20441. in: query
  20442. name: deliverygoodsid
  20443. type: integer
  20444. produces:
  20445. - application/json
  20446. responses:
  20447. "200":
  20448. description: OK
  20449. schema:
  20450. items:
  20451. $ref: '#/definitions/models.ErmcpBizGroupEx'
  20452. type: array
  20453. "500":
  20454. description: Internal Server Error
  20455. schema:
  20456. $ref: '#/definitions/app.Response'
  20457. security:
  20458. - ApiKeyAuth: []
  20459. summary: 查询业务类型分组(账户管理/账户设置)
  20460. tags:
  20461. - 企业风险管理(app)
  20462. /Ermcp/QueryAccMgrLoginUser:
  20463. get:
  20464. parameters:
  20465. - description: 用户ID
  20466. in: query
  20467. name: userid
  20468. required: true
  20469. type: integer
  20470. - description: 用户类型 2-机构 7-企业成员
  20471. in: query
  20472. name: usertype
  20473. type: integer
  20474. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  20475. in: query
  20476. name: querytype
  20477. required: true
  20478. type: integer
  20479. produces:
  20480. - application/json
  20481. responses:
  20482. "200":
  20483. description: OK
  20484. schema:
  20485. items:
  20486. $ref: '#/definitions/models.ErmcpLoginUserEx'
  20487. type: array
  20488. "500":
  20489. description: Internal Server Error
  20490. schema:
  20491. $ref: '#/definitions/app.Response'
  20492. security:
  20493. - ApiKeyAuth: []
  20494. summary: 查询账户管理登录账号(账户管理/登录账号)
  20495. tags:
  20496. - 企业风险管理(app)
  20497. /Ermcp/QueryAccMgrMainAccountInfo:
  20498. get:
  20499. parameters:
  20500. - description: 用户ID
  20501. in: query
  20502. name: userid
  20503. type: integer
  20504. - description: 主账号id
  20505. in: query
  20506. name: accountid
  20507. type: integer
  20508. produces:
  20509. - application/json
  20510. responses:
  20511. "200":
  20512. description: OK
  20513. schema:
  20514. items:
  20515. $ref: '#/definitions/models.MainAccountInfo'
  20516. type: array
  20517. "500":
  20518. description: Internal Server Error
  20519. schema:
  20520. $ref: '#/definitions/app.Response'
  20521. security:
  20522. - ApiKeyAuth: []
  20523. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  20524. tags:
  20525. - 企业风险管理(app)
  20526. /Ermcp/QueryAccMgrRole:
  20527. get:
  20528. parameters:
  20529. - description: 用户ID
  20530. in: query
  20531. name: userid
  20532. required: true
  20533. type: integer
  20534. produces:
  20535. - application/json
  20536. responses:
  20537. "200":
  20538. description: OK
  20539. schema:
  20540. items:
  20541. $ref: '#/definitions/models.ErmcpRole'
  20542. type: array
  20543. "500":
  20544. description: Internal Server Error
  20545. schema:
  20546. $ref: '#/definitions/app.Response'
  20547. security:
  20548. - ApiKeyAuth: []
  20549. summary: 查询账户管理角色设置(账户管理/角色设置)
  20550. tags:
  20551. - 企业风险管理(app)
  20552. /Ermcp/QueryAccMgrRoleMenu:
  20553. get:
  20554. parameters:
  20555. - description: 用户ID
  20556. in: query
  20557. name: userid
  20558. required: true
  20559. type: integer
  20560. - description: 角色id(可多个,逗号隔开)
  20561. in: query
  20562. name: roleid
  20563. type: string
  20564. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  20565. in: query
  20566. name: menutype
  20567. type: integer
  20568. produces:
  20569. - application/json
  20570. responses:
  20571. "200":
  20572. description: OK
  20573. schema:
  20574. items:
  20575. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  20576. type: array
  20577. "500":
  20578. description: Internal Server Error
  20579. schema:
  20580. $ref: '#/definitions/app.Response'
  20581. security:
  20582. - ApiKeyAuth: []
  20583. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  20584. tags:
  20585. - 企业风险管理(app)
  20586. /Ermcp/QueryAccMgrTaAccountInfo:
  20587. get:
  20588. parameters:
  20589. - description: 用户ID
  20590. in: query
  20591. name: userid
  20592. required: true
  20593. type: integer
  20594. - description: 账号id
  20595. in: query
  20596. name: accountid
  20597. type: integer
  20598. produces:
  20599. - application/json
  20600. responses:
  20601. "200":
  20602. description: OK
  20603. schema:
  20604. items:
  20605. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  20606. type: array
  20607. "500":
  20608. description: Internal Server Error
  20609. schema:
  20610. $ref: '#/definitions/app.Response'
  20611. security:
  20612. - ApiKeyAuth: []
  20613. summary: 查询账户管理授信(账户管理/账户设置/授信)
  20614. tags:
  20615. - 企业风险管理(app)
  20616. /Ermcp/QueryAccMgrTaaccount:
  20617. get:
  20618. parameters:
  20619. - description: 用户ID
  20620. in: query
  20621. name: userid
  20622. required: true
  20623. type: integer
  20624. produces:
  20625. - application/json
  20626. responses:
  20627. "200":
  20628. description: OK
  20629. schema:
  20630. items:
  20631. $ref: '#/definitions/models.ErmcpTaAccountEx'
  20632. type: array
  20633. "500":
  20634. description: Internal Server Error
  20635. schema:
  20636. $ref: '#/definitions/app.Response'
  20637. security:
  20638. - ApiKeyAuth: []
  20639. summary: 查询账户管理期货账号(账户管理/期货账号)
  20640. tags:
  20641. - 企业风险管理(app)
  20642. /Ermcp/QueryAvaildGoodsGroup:
  20643. get:
  20644. parameters:
  20645. - description: 所属机构ID
  20646. in: query
  20647. name: userid
  20648. required: true
  20649. type: integer
  20650. produces:
  20651. - application/json
  20652. responses:
  20653. "200":
  20654. description: OK
  20655. schema:
  20656. items:
  20657. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  20658. type: array
  20659. "500":
  20660. description: Internal Server Error
  20661. schema:
  20662. $ref: '#/definitions/app.Response'
  20663. security:
  20664. - ApiKeyAuth: []
  20665. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  20666. tags:
  20667. - 企业风险管理(app)
  20668. /Ermcp/QueryBusinessDj:
  20669. get:
  20670. parameters:
  20671. - description: 用户ID
  20672. in: query
  20673. name: UserId
  20674. required: true
  20675. type: integer
  20676. - description: 用户类型 2-机构 7-企业成员
  20677. in: query
  20678. name: usertype
  20679. type: integer
  20680. - description: 现货合同ID, 不填则查所有
  20681. in: query
  20682. name: relatedid
  20683. type: string
  20684. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20685. in: query
  20686. name: applystatus
  20687. type: string
  20688. produces:
  20689. - application/json
  20690. responses:
  20691. "200":
  20692. description: OK
  20693. schema:
  20694. items:
  20695. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  20696. type: array
  20697. "500":
  20698. description: Internal Server Error
  20699. schema:
  20700. $ref: '#/definitions/app.Response'
  20701. security:
  20702. - ApiKeyAuth: []
  20703. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  20704. tags:
  20705. - 企业风险管理(app)
  20706. /Ermcp/QueryBusinessFp:
  20707. get:
  20708. parameters:
  20709. - description: 用户ID
  20710. in: query
  20711. name: UserId
  20712. required: true
  20713. type: integer
  20714. - description: 用户类型 2-机构 7-企业成员
  20715. in: query
  20716. name: usertype
  20717. type: integer
  20718. - description: 现货合同ID, 不填则查所有
  20719. in: query
  20720. name: relatedid
  20721. type: string
  20722. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20723. in: query
  20724. name: applystatus
  20725. type: string
  20726. produces:
  20727. - application/json
  20728. responses:
  20729. "200":
  20730. description: OK
  20731. schema:
  20732. items:
  20733. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  20734. type: array
  20735. "500":
  20736. description: Internal Server Error
  20737. schema:
  20738. $ref: '#/definitions/app.Response'
  20739. security:
  20740. - ApiKeyAuth: []
  20741. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  20742. tags:
  20743. - 企业风险管理(app)
  20744. /Ermcp/QueryBusinessJs:
  20745. get:
  20746. parameters:
  20747. - description: 用户ID
  20748. in: query
  20749. name: UserId
  20750. required: true
  20751. type: integer
  20752. - description: 用户类型 2-机构 7-企业成员
  20753. in: query
  20754. name: usertype
  20755. type: integer
  20756. - description: 现货合同ID, 不填则查所有
  20757. in: query
  20758. name: relatedid
  20759. type: string
  20760. - description: 操作申请id
  20761. in: query
  20762. name: operateapplyid
  20763. type: string
  20764. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20765. in: query
  20766. name: applystatus
  20767. type: string
  20768. produces:
  20769. - application/json
  20770. responses:
  20771. "200":
  20772. description: OK
  20773. schema:
  20774. items:
  20775. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  20776. type: array
  20777. "500":
  20778. description: Internal Server Error
  20779. schema:
  20780. $ref: '#/definitions/app.Response'
  20781. security:
  20782. - ApiKeyAuth: []
  20783. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  20784. tags:
  20785. - 企业风险管理(app)
  20786. /Ermcp/QueryBusinessJsEx:
  20787. get:
  20788. parameters:
  20789. - description: 用户ID
  20790. in: query
  20791. name: UserId
  20792. required: true
  20793. type: integer
  20794. - description: 用户类型 2-机构 7-企业成员
  20795. in: query
  20796. name: usertype
  20797. type: integer
  20798. - description: 现货合同ID, 不填则查所有
  20799. in: query
  20800. name: relatedid
  20801. type: string
  20802. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20803. in: query
  20804. name: applystatus
  20805. type: string
  20806. produces:
  20807. - application/json
  20808. responses:
  20809. "200":
  20810. description: OK
  20811. schema:
  20812. items:
  20813. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  20814. type: array
  20815. "500":
  20816. description: Internal Server Error
  20817. schema:
  20818. $ref: '#/definitions/app.Response'
  20819. security:
  20820. - ApiKeyAuth: []
  20821. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  20822. tags:
  20823. - 企业风险管理(app)
  20824. /Ermcp/QueryBusinessKx:
  20825. get:
  20826. parameters:
  20827. - description: 用户ID
  20828. in: query
  20829. name: UserId
  20830. required: true
  20831. type: integer
  20832. - description: 用户类型 2-机构 7-企业成员
  20833. in: query
  20834. name: usertype
  20835. type: integer
  20836. - description: 现货合同ID, 不填则查所有
  20837. in: query
  20838. name: relatedid
  20839. type: string
  20840. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20841. in: query
  20842. name: applystatus
  20843. type: string
  20844. produces:
  20845. - application/json
  20846. responses:
  20847. "200":
  20848. description: OK
  20849. schema:
  20850. items:
  20851. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  20852. type: array
  20853. "500":
  20854. description: Internal Server Error
  20855. schema:
  20856. $ref: '#/definitions/app.Response'
  20857. security:
  20858. - ApiKeyAuth: []
  20859. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  20860. tags:
  20861. - 企业风险管理(app)
  20862. /Ermcp/QueryChangeLog:
  20863. get:
  20864. parameters:
  20865. - description: 合同ID
  20866. in: query
  20867. name: RelatedId
  20868. required: true
  20869. type: string
  20870. produces:
  20871. - application/json
  20872. responses:
  20873. "200":
  20874. description: OK
  20875. schema:
  20876. items:
  20877. $ref: '#/definitions/ermcp.QryOPLogRsp'
  20878. type: array
  20879. "500":
  20880. description: Internal Server Error
  20881. schema:
  20882. $ref: '#/definitions/app.Response'
  20883. security:
  20884. - ApiKeyAuth: []
  20885. summary: 查询变更记录
  20886. tags:
  20887. - 企业风险管理(app)
  20888. /Ermcp/QueryErmcpHisOrderDetails:
  20889. get:
  20890. parameters:
  20891. - description: 资金账户ID
  20892. in: query
  20893. name: accountID
  20894. required: true
  20895. type: integer
  20896. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20897. in: query
  20898. name: startDate
  20899. type: string
  20900. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20901. in: query
  20902. name: endDate
  20903. type: string
  20904. produces:
  20905. - application/json
  20906. responses:
  20907. "200":
  20908. description: OK
  20909. schema:
  20910. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20911. "500":
  20912. description: Internal Server Error
  20913. schema:
  20914. $ref: '#/definitions/app.Response'
  20915. security:
  20916. - ApiKeyAuth: []
  20917. summary: 获取企业风管期货历史委托单信息
  20918. tags:
  20919. - 企业风险管理(app)
  20920. /Ermcp/QueryErmcpHisTradeDetails:
  20921. get:
  20922. parameters:
  20923. - description: 资金账户ID
  20924. in: query
  20925. name: accountID
  20926. required: true
  20927. type: integer
  20928. - description: 商品ID
  20929. in: query
  20930. name: goodsID
  20931. type: integer
  20932. - description: 买卖方向,0:买 1:卖
  20933. in: query
  20934. name: buyOrSell
  20935. type: integer
  20936. - description: 关联委托单号
  20937. in: query
  20938. name: orderID
  20939. type: integer
  20940. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20941. in: query
  20942. name: startDate
  20943. type: string
  20944. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20945. in: query
  20946. name: endDate
  20947. type: string
  20948. produces:
  20949. - application/json
  20950. responses:
  20951. "200":
  20952. description: OK
  20953. schema:
  20954. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20955. "500":
  20956. description: Internal Server Error
  20957. schema:
  20958. $ref: '#/definitions/app.Response'
  20959. security:
  20960. - ApiKeyAuth: []
  20961. summary: 获取企业风管期货历史成交单信息
  20962. tags:
  20963. - 企业风险管理(app)
  20964. /Ermcp/QueryErmcpInnerHolderDetails:
  20965. get:
  20966. parameters:
  20967. - description: 资金账户ID
  20968. in: query
  20969. name: accountID
  20970. required: true
  20971. type: integer
  20972. - description: 商品ID
  20973. in: query
  20974. name: goodsID
  20975. type: integer
  20976. - description: 买卖方向,0:买 1:卖
  20977. in: query
  20978. name: buyOrSell
  20979. type: integer
  20980. produces:
  20981. - application/json
  20982. responses:
  20983. "200":
  20984. description: OK
  20985. schema:
  20986. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  20987. "500":
  20988. description: Internal Server Error
  20989. schema:
  20990. $ref: '#/definitions/app.Response'
  20991. security:
  20992. - ApiKeyAuth: []
  20993. summary: 获取企业风管期货内部持仓单信息
  20994. tags:
  20995. - 企业风险管理(app)
  20996. /Ermcp/QueryErmcpOrderDetails:
  20997. get:
  20998. parameters:
  20999. - description: 资金账户ID
  21000. in: query
  21001. name: accountID
  21002. required: true
  21003. type: integer
  21004. produces:
  21005. - application/json
  21006. responses:
  21007. "200":
  21008. description: OK
  21009. schema:
  21010. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  21011. "500":
  21012. description: Internal Server Error
  21013. schema:
  21014. $ref: '#/definitions/app.Response'
  21015. security:
  21016. - ApiKeyAuth: []
  21017. summary: 获取企业风管期货委托单信息
  21018. tags:
  21019. - 企业风险管理(app)
  21020. /Ermcp/QueryErmcpTradeDetails:
  21021. get:
  21022. parameters:
  21023. - description: 资金账户ID
  21024. in: query
  21025. name: accountID
  21026. required: true
  21027. type: integer
  21028. - description: 商品ID
  21029. in: query
  21030. name: goodsID
  21031. type: integer
  21032. - description: 买卖方向,0:买 1:卖
  21033. in: query
  21034. name: buyOrSell
  21035. type: integer
  21036. - description: 关联委托单号
  21037. in: query
  21038. name: orderID
  21039. type: integer
  21040. produces:
  21041. - application/json
  21042. responses:
  21043. "200":
  21044. description: OK
  21045. schema:
  21046. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  21047. "500":
  21048. description: Internal Server Error
  21049. schema:
  21050. $ref: '#/definitions/app.Response'
  21051. security:
  21052. - ApiKeyAuth: []
  21053. summary: 获取企业风管期货成交单信息
  21054. tags:
  21055. - 企业风险管理(app)
  21056. /Ermcp/QueryErmcpTradePosition:
  21057. get:
  21058. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  21059. parameters:
  21060. - description: 资金账户ID
  21061. in: query
  21062. name: accountID
  21063. required: true
  21064. type: integer
  21065. - description: 所属市场ID
  21066. in: query
  21067. name: marketID
  21068. type: integer
  21069. produces:
  21070. - application/json
  21071. responses:
  21072. "200":
  21073. description: OK
  21074. schema:
  21075. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  21076. "500":
  21077. description: Internal Server Error
  21078. schema:
  21079. $ref: '#/definitions/app.Response'
  21080. security:
  21081. - ApiKeyAuth: []
  21082. summary: 获取企业风管期货持仓头寸信息
  21083. tags:
  21084. - 企业风险管理(app)
  21085. /Ermcp/QueryExposureDetail:
  21086. get:
  21087. parameters:
  21088. - description: 所属机构ID
  21089. in: query
  21090. name: areaUserId
  21091. required: true
  21092. type: integer
  21093. - description: 套保商品
  21094. in: query
  21095. name: middleGoodsId
  21096. required: true
  21097. type: integer
  21098. produces:
  21099. - application/json
  21100. responses:
  21101. "200":
  21102. description: OK
  21103. schema:
  21104. items:
  21105. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  21106. type: array
  21107. "500":
  21108. description: Internal Server Error
  21109. schema:
  21110. $ref: '#/definitions/app.Response'
  21111. security:
  21112. - ApiKeyAuth: []
  21113. summary: 查询敞口现货明细
  21114. tags:
  21115. - 企业风险管理(app)
  21116. /Ermcp/QueryExposureGoods:
  21117. get:
  21118. parameters:
  21119. - description: 套保商品id
  21120. in: query
  21121. name: middlegoodsid
  21122. required: true
  21123. type: integer
  21124. produces:
  21125. - application/json
  21126. responses:
  21127. "200":
  21128. description: OK
  21129. schema:
  21130. items:
  21131. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  21132. type: array
  21133. "500":
  21134. description: Internal Server Error
  21135. schema:
  21136. $ref: '#/definitions/app.Response'
  21137. security:
  21138. - ApiKeyAuth: []
  21139. summary: 查询敞口主力合约
  21140. tags:
  21141. - 企业风险管理(app)
  21142. /Ermcp/QueryExposureHedgePosition:
  21143. get:
  21144. parameters:
  21145. - description: 用户id
  21146. in: query
  21147. name: userid
  21148. required: true
  21149. type: integer
  21150. produces:
  21151. - application/json
  21152. responses:
  21153. "200":
  21154. description: OK
  21155. schema:
  21156. items:
  21157. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  21158. type: array
  21159. "500":
  21160. description: Internal Server Error
  21161. schema:
  21162. $ref: '#/definitions/app.Response'
  21163. security:
  21164. - ApiKeyAuth: []
  21165. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  21166. tags:
  21167. - 企业风险管理(app)
  21168. /Ermcp/QueryExposureHedgePositionDetail:
  21169. get:
  21170. parameters:
  21171. - description: 所属机构ID
  21172. in: query
  21173. name: userid
  21174. required: true
  21175. type: integer
  21176. - description: 商品id
  21177. in: query
  21178. name: goodsId
  21179. required: true
  21180. type: integer
  21181. produces:
  21182. - application/json
  21183. responses:
  21184. "200":
  21185. description: OK
  21186. schema:
  21187. items:
  21188. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  21189. type: array
  21190. "500":
  21191. description: Internal Server Error
  21192. schema:
  21193. $ref: '#/definitions/app.Response'
  21194. security:
  21195. - ApiKeyAuth: []
  21196. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  21197. tags:
  21198. - 企业风险管理(app)
  21199. /Ermcp/QueryExposureSpot:
  21200. get:
  21201. parameters:
  21202. - description: 所属机构ID
  21203. in: query
  21204. name: areaUserId
  21205. required: true
  21206. type: integer
  21207. produces:
  21208. - application/json
  21209. responses:
  21210. "200":
  21211. description: OK
  21212. schema:
  21213. items:
  21214. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  21215. type: array
  21216. "500":
  21217. description: Internal Server Error
  21218. schema:
  21219. $ref: '#/definitions/app.Response'
  21220. security:
  21221. - ApiKeyAuth: []
  21222. summary: 查询敞口现货头寸(敞口/现货头寸)
  21223. tags:
  21224. - 企业风险管理(app)
  21225. /Ermcp/QueryExposureSpotDetail:
  21226. get:
  21227. parameters:
  21228. - description: 所属机构ID
  21229. in: query
  21230. name: areaUserId
  21231. required: true
  21232. type: integer
  21233. - description: 现货品种ID
  21234. in: query
  21235. name: wrstandardId
  21236. required: true
  21237. type: integer
  21238. produces:
  21239. - application/json
  21240. responses:
  21241. "200":
  21242. description: OK
  21243. schema:
  21244. items:
  21245. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  21246. type: array
  21247. "500":
  21248. description: Internal Server Error
  21249. schema:
  21250. $ref: '#/definitions/app.Response'
  21251. security:
  21252. - ApiKeyAuth: []
  21253. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  21254. tags:
  21255. - 企业风险管理(app)
  21256. /Ermcp/QueryFuturesCompany:
  21257. get:
  21258. produces:
  21259. - application/json
  21260. responses:
  21261. "200":
  21262. description: OK
  21263. schema:
  21264. items:
  21265. $ref: '#/definitions/models.ErmcpFuturesCompany'
  21266. type: array
  21267. "500":
  21268. description: Internal Server Error
  21269. schema:
  21270. $ref: '#/definitions/app.Response'
  21271. security:
  21272. - ApiKeyAuth: []
  21273. summary: 查询期货公司
  21274. tags:
  21275. - 企业风险管理(app)
  21276. /Ermcp/QueryGGConvertConfig:
  21277. get:
  21278. parameters:
  21279. - description: 品种id(不填则查所有)
  21280. in: query
  21281. name: goodsgroupid
  21282. type: integer
  21283. produces:
  21284. - application/json
  21285. responses:
  21286. "200":
  21287. description: OK
  21288. schema:
  21289. items:
  21290. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  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/QueryGoodsBrand:
  21302. get:
  21303. parameters:
  21304. - description: 用户ID
  21305. in: query
  21306. name: userid
  21307. required: true
  21308. type: integer
  21309. - description: 现货商品ID
  21310. in: query
  21311. name: wrstandardid
  21312. type: integer
  21313. produces:
  21314. - application/json
  21315. responses:
  21316. "200":
  21317. description: OK
  21318. schema:
  21319. items:
  21320. $ref: '#/definitions/models.ErmcpGoodsBrand'
  21321. type: array
  21322. "500":
  21323. description: Internal Server Error
  21324. schema:
  21325. $ref: '#/definitions/app.Response'
  21326. security:
  21327. - ApiKeyAuth: []
  21328. summary: 查询商品品牌
  21329. tags:
  21330. - 企业风险管理(app)
  21331. /Ermcp/QueryGoodsModel:
  21332. get:
  21333. parameters:
  21334. - description: 用户ID
  21335. in: query
  21336. name: userid
  21337. required: true
  21338. type: integer
  21339. produces:
  21340. - application/json
  21341. responses:
  21342. "200":
  21343. description: OK
  21344. schema:
  21345. items:
  21346. $ref: '#/definitions/models.ErmcpGoodsModel'
  21347. type: array
  21348. "500":
  21349. description: Internal Server Error
  21350. schema:
  21351. $ref: '#/definitions/app.Response'
  21352. security:
  21353. - ApiKeyAuth: []
  21354. summary: 查询商品型号
  21355. tags:
  21356. - 企业风险管理(app)
  21357. /Ermcp/QueryHisExposure:
  21358. get:
  21359. parameters:
  21360. - description: 用户id
  21361. in: query
  21362. name: userid
  21363. required: true
  21364. type: integer
  21365. - description: 每个品种记录数
  21366. in: query
  21367. name: lastNum
  21368. required: true
  21369. type: integer
  21370. produces:
  21371. - application/json
  21372. responses:
  21373. "200":
  21374. description: OK
  21375. schema:
  21376. items:
  21377. $ref: '#/definitions/ermcp.HisExposureRsp'
  21378. type: array
  21379. "500":
  21380. description: Internal Server Error
  21381. schema:
  21382. $ref: '#/definitions/app.Response'
  21383. security:
  21384. - ApiKeyAuth: []
  21385. summary: 查询历史敞口(菜单:敞口/历史敞口)
  21386. tags:
  21387. - 企业风险管理(app)
  21388. /Ermcp/QueryMiddleGoods:
  21389. get:
  21390. parameters:
  21391. - description: 所属机构ID
  21392. in: query
  21393. name: userid
  21394. required: true
  21395. type: integer
  21396. - description: 状态 0-停用 1-正常
  21397. in: query
  21398. name: status
  21399. required: true
  21400. type: integer
  21401. produces:
  21402. - application/json
  21403. responses:
  21404. "200":
  21405. description: OK
  21406. schema:
  21407. items:
  21408. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  21409. type: array
  21410. "500":
  21411. description: Internal Server Error
  21412. schema:
  21413. $ref: '#/definitions/app.Response'
  21414. security:
  21415. - ApiKeyAuth: []
  21416. summary: 查询套保品种(菜单:套保品种)
  21417. tags:
  21418. - 企业风险管理(app)
  21419. /Ermcp/QueryMiddleGoodsChangeLog:
  21420. get:
  21421. parameters:
  21422. - description: 所属机构ID
  21423. in: query
  21424. name: userid
  21425. required: true
  21426. type: integer
  21427. - description: 套保品种id
  21428. in: query
  21429. name: middlegoodsid
  21430. required: true
  21431. type: integer
  21432. produces:
  21433. - application/json
  21434. responses:
  21435. "200":
  21436. description: OK
  21437. schema:
  21438. items:
  21439. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  21440. type: array
  21441. "500":
  21442. description: Internal Server Error
  21443. schema:
  21444. $ref: '#/definitions/app.Response'
  21445. security:
  21446. - ApiKeyAuth: []
  21447. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  21448. tags:
  21449. - 企业风险管理(app)
  21450. /Ermcp/QueryMiddleGoodsDetail:
  21451. get:
  21452. parameters:
  21453. - description: 所属机构ID
  21454. in: query
  21455. name: userid
  21456. required: true
  21457. type: integer
  21458. - description: 套保品种id
  21459. in: query
  21460. name: middlegoodsid
  21461. type: integer
  21462. produces:
  21463. - application/json
  21464. responses:
  21465. "200":
  21466. description: OK
  21467. schema:
  21468. items:
  21469. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  21470. type: array
  21471. "500":
  21472. description: Internal Server Error
  21473. schema:
  21474. $ref: '#/definitions/app.Response'
  21475. security:
  21476. - ApiKeyAuth: []
  21477. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  21478. tags:
  21479. - 企业风险管理(app)
  21480. /Ermcp/QueryPendingAuditInfo:
  21481. get:
  21482. parameters:
  21483. - description: 用户ID
  21484. in: query
  21485. name: UserId
  21486. required: true
  21487. type: integer
  21488. produces:
  21489. - application/json
  21490. responses:
  21491. "200":
  21492. description: OK
  21493. schema:
  21494. items:
  21495. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  21496. type: array
  21497. "500":
  21498. description: Internal Server Error
  21499. schema:
  21500. $ref: '#/definitions/app.Response'
  21501. security:
  21502. - ApiKeyAuth: []
  21503. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  21504. tags:
  21505. - 企业风险管理(app)
  21506. /Ermcp/QueryRealtimeExposure:
  21507. get:
  21508. parameters:
  21509. - description: 所属机构ID
  21510. in: query
  21511. name: userid
  21512. required: true
  21513. type: integer
  21514. produces:
  21515. - application/json
  21516. responses:
  21517. "200":
  21518. description: OK
  21519. schema:
  21520. items:
  21521. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  21522. type: array
  21523. "500":
  21524. description: Internal Server Error
  21525. schema:
  21526. $ref: '#/definitions/app.Response'
  21527. security:
  21528. - ApiKeyAuth: []
  21529. summary: 查询实时敞口
  21530. tags:
  21531. - 企业风险管理(app)
  21532. /Ermcp/QueryRealtimeExposurePosition:
  21533. get:
  21534. parameters:
  21535. - description: 用户id
  21536. in: query
  21537. name: userid
  21538. required: true
  21539. type: integer
  21540. - description: 套保商品ID
  21541. in: query
  21542. name: middleGoodsId
  21543. required: true
  21544. type: integer
  21545. produces:
  21546. - application/json
  21547. responses:
  21548. "200":
  21549. description: OK
  21550. schema:
  21551. items:
  21552. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  21553. type: array
  21554. "500":
  21555. description: Internal Server Error
  21556. schema:
  21557. $ref: '#/definitions/app.Response'
  21558. security:
  21559. - ApiKeyAuth: []
  21560. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  21561. tags:
  21562. - 企业风险管理(app)
  21563. /Ermcp/QueryRoleMenu:
  21564. get:
  21565. parameters:
  21566. - description: 登录ID
  21567. in: query
  21568. name: loginid
  21569. required: true
  21570. type: integer
  21571. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  21572. in: query
  21573. name: menutype
  21574. type: integer
  21575. produces:
  21576. - application/json
  21577. responses:
  21578. "200":
  21579. description: OK
  21580. schema:
  21581. items:
  21582. $ref: '#/definitions/models.RoleMenu'
  21583. type: array
  21584. "500":
  21585. description: Internal Server Error
  21586. schema:
  21587. $ref: '#/definitions/app.Response'
  21588. security:
  21589. - ApiKeyAuth: []
  21590. summary: 查询角色菜单和权限
  21591. tags:
  21592. - 企业风险管理(app)
  21593. /Ermcp/QueryTradeConfigTMP:
  21594. get:
  21595. parameters:
  21596. - description: 所属机构id
  21597. in: query
  21598. name: areauserid
  21599. type: integer
  21600. produces:
  21601. - application/json
  21602. responses:
  21603. "200":
  21604. description: OK
  21605. schema:
  21606. items:
  21607. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  21608. type: array
  21609. "500":
  21610. description: Internal Server Error
  21611. schema:
  21612. $ref: '#/definitions/app.Response'
  21613. security:
  21614. - ApiKeyAuth: []
  21615. summary: 查询交易模板配置
  21616. tags:
  21617. - 企业风险管理(app)
  21618. /Ermcp/QueryUserInfo:
  21619. get:
  21620. parameters:
  21621. - description: 所属机构用户ID
  21622. in: query
  21623. name: MemberUserID
  21624. required: true
  21625. type: integer
  21626. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  21627. in: query
  21628. name: queryType
  21629. required: true
  21630. type: integer
  21631. produces:
  21632. - application/json
  21633. responses:
  21634. "200":
  21635. description: OK
  21636. schema:
  21637. items:
  21638. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  21639. type: array
  21640. "500":
  21641. description: Internal Server Error
  21642. schema:
  21643. $ref: '#/definitions/app.Response'
  21644. security:
  21645. - ApiKeyAuth: []
  21646. summary: 查询客户资料
  21647. tags:
  21648. - 企业风险管理(app)
  21649. /Ermcp/QueryWarehouseInfo:
  21650. get:
  21651. parameters:
  21652. - description: 用户ID
  21653. in: query
  21654. name: userid
  21655. required: true
  21656. type: integer
  21657. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  21658. in: query
  21659. name: status
  21660. type: string
  21661. produces:
  21662. - application/json
  21663. responses:
  21664. "200":
  21665. description: OK
  21666. schema:
  21667. items:
  21668. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  21669. type: array
  21670. "500":
  21671. description: Internal Server Error
  21672. schema:
  21673. $ref: '#/definitions/app.Response'
  21674. security:
  21675. - ApiKeyAuth: []
  21676. summary: 查询仓库信息
  21677. tags:
  21678. - 企业风险管理(app)
  21679. /Ermcp3/QryAreaExpourseContractDetail:
  21680. get:
  21681. parameters:
  21682. - description: 用户ID
  21683. in: query
  21684. name: userid
  21685. required: true
  21686. type: integer
  21687. - description: 套保商品id
  21688. in: query
  21689. name: middlegoodsid
  21690. required: true
  21691. type: integer
  21692. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21693. in: query
  21694. name: cycletype
  21695. required: true
  21696. type: integer
  21697. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21698. 全(0)【原值】
  21699. in: query
  21700. name: cycletime
  21701. required: true
  21702. type: string
  21703. produces:
  21704. - application/json
  21705. responses:
  21706. "200":
  21707. description: OK
  21708. schema:
  21709. items:
  21710. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  21711. type: array
  21712. "500":
  21713. description: Internal Server Error
  21714. schema:
  21715. $ref: '#/definitions/app.Response'
  21716. security:
  21717. - ApiKeyAuth: []
  21718. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  21719. tags:
  21720. - 企业风险管理v3(app)
  21721. /Ermcp3/QryAreaExpourseFutuDetail:
  21722. get:
  21723. parameters:
  21724. - description: 用户ID
  21725. in: query
  21726. name: userid
  21727. required: true
  21728. type: integer
  21729. - description: 套保商品id
  21730. in: query
  21731. name: middlegoodsid
  21732. required: true
  21733. type: integer
  21734. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21735. in: query
  21736. name: cycletype
  21737. required: true
  21738. type: integer
  21739. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21740. 全(0)【原值】
  21741. in: query
  21742. name: cycletime
  21743. required: true
  21744. type: string
  21745. produces:
  21746. - application/json
  21747. responses:
  21748. "200":
  21749. description: OK
  21750. schema:
  21751. items:
  21752. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  21753. type: array
  21754. "500":
  21755. description: Internal Server Error
  21756. schema:
  21757. $ref: '#/definitions/app.Response'
  21758. security:
  21759. - ApiKeyAuth: []
  21760. summary: 查询敞口期货明细(敞口报表/期货明细)
  21761. tags:
  21762. - 企业风险管理v3(app)
  21763. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  21764. get:
  21765. parameters:
  21766. - description: 用户ID
  21767. in: query
  21768. name: userid
  21769. required: true
  21770. type: integer
  21771. - description: 套保商品id
  21772. in: query
  21773. name: middlegoodsid
  21774. required: true
  21775. type: integer
  21776. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21777. in: query
  21778. name: cycletype
  21779. required: true
  21780. type: integer
  21781. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21782. 全(0)【原值】
  21783. in: query
  21784. name: cycletime
  21785. required: true
  21786. type: string
  21787. produces:
  21788. - application/json
  21789. responses:
  21790. "200":
  21791. description: OK
  21792. schema:
  21793. items:
  21794. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  21795. type: array
  21796. "500":
  21797. description: Internal Server Error
  21798. schema:
  21799. $ref: '#/definitions/app.Response'
  21800. security:
  21801. - ApiKeyAuth: []
  21802. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  21803. tags:
  21804. - 企业风险管理v3(app)
  21805. /Ermcp3/QryAreaExpourseParamChLogDetail:
  21806. get:
  21807. parameters:
  21808. - description: 用户ID
  21809. in: query
  21810. name: userid
  21811. required: true
  21812. type: integer
  21813. - description: 套保商品id
  21814. in: query
  21815. name: middlegoodsid
  21816. required: true
  21817. type: integer
  21818. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21819. in: query
  21820. name: cycletype
  21821. required: true
  21822. type: integer
  21823. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21824. 全(0)【原值】
  21825. in: query
  21826. name: cycletime
  21827. required: true
  21828. type: string
  21829. produces:
  21830. - application/json
  21831. responses:
  21832. "200":
  21833. description: OK
  21834. schema:
  21835. items:
  21836. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  21837. type: array
  21838. "500":
  21839. description: Internal Server Error
  21840. schema:
  21841. $ref: '#/definitions/app.Response'
  21842. security:
  21843. - ApiKeyAuth: []
  21844. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  21845. tags:
  21846. - 企业风险管理v3(app)
  21847. /Ermcp3/QryAreaExpourseReport:
  21848. get:
  21849. parameters:
  21850. - description: 用户ID
  21851. in: query
  21852. name: userid
  21853. required: true
  21854. type: integer
  21855. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  21856. in: query
  21857. name: querytype
  21858. required: true
  21859. type: integer
  21860. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21861. in: query
  21862. name: cycletype
  21863. required: true
  21864. type: integer
  21865. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21866. 全(0)【原值】
  21867. in: query
  21868. name: cycletime
  21869. required: true
  21870. type: string
  21871. produces:
  21872. - application/json
  21873. responses:
  21874. "200":
  21875. description: OK
  21876. schema:
  21877. items:
  21878. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  21879. type: array
  21880. "500":
  21881. description: Internal Server Error
  21882. schema:
  21883. $ref: '#/definitions/app.Response'
  21884. security:
  21885. - ApiKeyAuth: []
  21886. summary: 查询敞口报表
  21887. tags:
  21888. - 企业风险管理v3(app)
  21889. /Ermcp3/QryAreaSpotplReport:
  21890. get:
  21891. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  21892. parameters:
  21893. - description: 用户ID
  21894. in: query
  21895. name: userid
  21896. required: true
  21897. type: integer
  21898. - description: 查询类型 1-报表 2-报表明细
  21899. in: query
  21900. name: querytype
  21901. required: true
  21902. type: integer
  21903. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21904. in: query
  21905. name: cycletype
  21906. required: true
  21907. type: integer
  21908. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21909. 全(0)【原值】
  21910. in: query
  21911. name: cycletime
  21912. required: true
  21913. type: string
  21914. - description: 现货品种id(明细必填)
  21915. in: query
  21916. name: deliverygoodsid
  21917. type: integer
  21918. - description: 币种id(明细必填)
  21919. in: query
  21920. name: currencyid
  21921. type: integer
  21922. - description: 日/周/月报表汇总维度 1:品种+品类
  21923. in: query
  21924. name: sumflag
  21925. type: integer
  21926. produces:
  21927. - application/json
  21928. responses:
  21929. "200":
  21930. description: OK
  21931. schema:
  21932. items:
  21933. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  21934. type: array
  21935. "500":
  21936. description: Internal Server Error
  21937. schema:
  21938. $ref: '#/definitions/app.Response'
  21939. security:
  21940. - ApiKeyAuth: []
  21941. summary: 查询现货报表
  21942. tags:
  21943. - 企业风险管理v3(app)
  21944. /Ermcp3/QryAreaStockReport:
  21945. get:
  21946. parameters:
  21947. - description: 用户ID
  21948. in: query
  21949. name: userid
  21950. required: true
  21951. type: integer
  21952. - description: 查询类型 1-报表 2-报表明细
  21953. in: query
  21954. name: querytype
  21955. required: true
  21956. type: integer
  21957. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21958. in: query
  21959. name: cycletype
  21960. required: true
  21961. type: integer
  21962. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21963. 全(0)【原值】
  21964. in: query
  21965. name: cycletime
  21966. required: true
  21967. type: string
  21968. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  21969. in: query
  21970. name: sumfields
  21971. type: string
  21972. - description: 品种ID
  21973. in: query
  21974. name: deliverygoodsid
  21975. type: integer
  21976. - description: 品类ID
  21977. in: query
  21978. name: wrstandardid
  21979. type: integer
  21980. - description: 品牌ID
  21981. in: query
  21982. name: spotgoodsbrandid
  21983. type: integer
  21984. - description: 仓库ID
  21985. in: query
  21986. name: warehouseinfoid
  21987. type: integer
  21988. produces:
  21989. - application/json
  21990. responses:
  21991. "200":
  21992. description: OK
  21993. schema:
  21994. items:
  21995. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  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/QryAreaSumPL:
  22007. get:
  22008. parameters:
  22009. - description: 用户ID
  22010. in: query
  22011. name: userid
  22012. required: true
  22013. type: integer
  22014. - description: 查询类型 1-报表 2-报表明细
  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. - description: 币种id(明细必填)
  22031. in: query
  22032. name: currencyid
  22033. type: integer
  22034. produces:
  22035. - application/json
  22036. responses:
  22037. "200":
  22038. description: OK
  22039. schema:
  22040. items:
  22041. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  22042. type: array
  22043. "500":
  22044. description: Internal Server Error
  22045. schema:
  22046. $ref: '#/definitions/app.Response'
  22047. security:
  22048. - ApiKeyAuth: []
  22049. summary: 查询汇总损益表
  22050. tags:
  22051. - 企业风险管理v3(app)
  22052. /Ermcp3/QryFinanceReport:
  22053. get:
  22054. parameters:
  22055. - description: 用户ID
  22056. in: query
  22057. name: userid
  22058. required: true
  22059. type: integer
  22060. - description: 查询类型 1-报表 2-报表明细
  22061. in: query
  22062. name: querytype
  22063. required: true
  22064. type: integer
  22065. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22066. in: query
  22067. name: cycletype
  22068. required: true
  22069. type: integer
  22070. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22071. 全(0)【原值】
  22072. in: query
  22073. name: cycletime
  22074. required: true
  22075. type: string
  22076. - description: 币种id(报表明细必填)
  22077. in: query
  22078. name: currencyid
  22079. type: integer
  22080. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  22081. in: query
  22082. name: sumfields
  22083. type: string
  22084. produces:
  22085. - application/json
  22086. responses:
  22087. "200":
  22088. description: OK
  22089. schema:
  22090. items:
  22091. $ref: '#/definitions/models.Ermcp3FinanceReport'
  22092. type: array
  22093. "500":
  22094. description: Internal Server Error
  22095. schema:
  22096. $ref: '#/definitions/app.Response'
  22097. security:
  22098. - ApiKeyAuth: []
  22099. summary: 查询财务报表
  22100. tags:
  22101. - 企业风险管理v3(app)
  22102. /Ermcp3/QrySCMiddleGoodsReport:
  22103. get:
  22104. parameters:
  22105. - description: 用户ID
  22106. in: query
  22107. name: userid
  22108. required: true
  22109. type: integer
  22110. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22111. in: query
  22112. name: cycletype
  22113. required: true
  22114. type: integer
  22115. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22116. 全(0)【原值】
  22117. in: query
  22118. name: cycletime
  22119. required: true
  22120. type: string
  22121. - description: 合同id
  22122. in: query
  22123. name: spotcontractid
  22124. type: integer
  22125. - description: 套保品种id
  22126. in: query
  22127. name: middlegoodsid
  22128. type: integer
  22129. - description: 现货品种id
  22130. in: query
  22131. name: deliverygoodsid
  22132. type: integer
  22133. - description: 现货商品id
  22134. in: query
  22135. name: wrstandardid
  22136. type: integer
  22137. - description: 合同编号(模糊匹配)
  22138. in: query
  22139. name: contractno
  22140. type: string
  22141. produces:
  22142. - application/json
  22143. responses:
  22144. "200":
  22145. description: OK
  22146. schema:
  22147. items:
  22148. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  22149. type: array
  22150. "500":
  22151. description: Internal Server Error
  22152. schema:
  22153. $ref: '#/definitions/app.Response'
  22154. security:
  22155. - ApiKeyAuth: []
  22156. summary: 查询定价报表
  22157. tags:
  22158. - 企业风险管理v3(app)
  22159. /Ermcp3/QryTaFutureDataReport:
  22160. get:
  22161. parameters:
  22162. - description: 用户ID
  22163. in: query
  22164. name: userid
  22165. required: true
  22166. type: integer
  22167. - description: 查询类型 1-报表 2-报表明细
  22168. in: query
  22169. name: querytype
  22170. required: true
  22171. type: integer
  22172. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22173. in: query
  22174. name: cycletype
  22175. required: true
  22176. type: integer
  22177. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22178. 全(0)【原值】
  22179. in: query
  22180. name: cycletime
  22181. required: true
  22182. type: string
  22183. - description: 币种id(查明细必填)
  22184. in: query
  22185. name: currencyid
  22186. type: integer
  22187. - description: 品种id(查明细必填)
  22188. in: query
  22189. name: goodsgroupid
  22190. type: integer
  22191. - description: 商品id(查明细必填)
  22192. in: query
  22193. name: goodsid
  22194. type: integer
  22195. - description: 买卖方向(查明细必填)
  22196. in: query
  22197. name: buyorsell
  22198. type: integer
  22199. produces:
  22200. - application/json
  22201. responses:
  22202. "200":
  22203. description: OK
  22204. schema:
  22205. items:
  22206. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  22207. type: array
  22208. "500":
  22209. description: Internal Server Error
  22210. schema:
  22211. $ref: '#/definitions/app.Response'
  22212. security:
  22213. - ApiKeyAuth: []
  22214. summary: 查询期货报表
  22215. tags:
  22216. - 企业风险管理v3(app)
  22217. /Ermcp3/QueryAreaStock:
  22218. get:
  22219. parameters:
  22220. - description: 用户ID
  22221. in: query
  22222. name: userid
  22223. required: true
  22224. type: integer
  22225. produces:
  22226. - application/json
  22227. responses:
  22228. "200":
  22229. description: OK
  22230. schema:
  22231. items:
  22232. $ref: '#/definitions/models.Ermcp3AreaStock'
  22233. type: array
  22234. "500":
  22235. description: Internal Server Error
  22236. schema:
  22237. $ref: '#/definitions/app.Response'
  22238. security:
  22239. - ApiKeyAuth: []
  22240. summary: 查询机构库存(库存管理/当前库存)
  22241. tags:
  22242. - 企业风险管理v3(app)
  22243. /Ermcp3/QueryAreaStockApply:
  22244. get:
  22245. parameters:
  22246. - description: 用户ID
  22247. in: query
  22248. name: userid
  22249. required: true
  22250. type: integer
  22251. - description: 用户类型 2-机构 7-企业成员
  22252. in: query
  22253. name: usertype
  22254. type: integer
  22255. - description: 现货商品ID
  22256. in: query
  22257. name: deliverygoodsid
  22258. type: integer
  22259. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  22260. in: query
  22261. name: inouttype
  22262. type: string
  22263. - description: 合同ID
  22264. in: query
  22265. name: spotcontractid
  22266. type: integer
  22267. - description: 品类ID
  22268. in: query
  22269. name: wrstandardid
  22270. type: integer
  22271. - description: 品牌ID
  22272. in: query
  22273. name: spotgoodsbrandid
  22274. type: integer
  22275. - description: 仓库ID
  22276. in: query
  22277. name: warehouseinfoid
  22278. type: integer
  22279. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22280. in: query
  22281. name: applystatus
  22282. type: string
  22283. produces:
  22284. - application/json
  22285. responses:
  22286. "200":
  22287. description: OK
  22288. schema:
  22289. items:
  22290. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  22291. type: array
  22292. "500":
  22293. description: Internal Server Error
  22294. schema:
  22295. $ref: '#/definitions/app.Response'
  22296. security:
  22297. - ApiKeyAuth: []
  22298. summary: 查询库存申请(出入库记录|库存审核)
  22299. tags:
  22300. - 企业风险管理v3(app)
  22301. /Ermcp3/QueryAreaStockApplySum:
  22302. get:
  22303. parameters:
  22304. - description: 合同ID
  22305. in: query
  22306. name: spotcontractid
  22307. required: true
  22308. type: integer
  22309. produces:
  22310. - application/json
  22311. responses:
  22312. "200":
  22313. description: OK
  22314. schema:
  22315. items:
  22316. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  22317. type: array
  22318. "500":
  22319. description: Internal Server Error
  22320. schema:
  22321. $ref: '#/definitions/app.Response'
  22322. security:
  22323. - ApiKeyAuth: []
  22324. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  22325. tags:
  22326. - 企业风险管理v3(app)
  22327. /Ermcp3/QueryDGFactoryItem:
  22328. get:
  22329. parameters:
  22330. - description: 用户id
  22331. in: query
  22332. name: userid
  22333. type: integer
  22334. - description: 用户类型 2-机构 7-企业成员
  22335. in: query
  22336. name: usertype
  22337. type: integer
  22338. - description: 选择项ID(SEQ_DGFACTORYITEM)
  22339. in: query
  22340. name: dgfactoryitemid
  22341. type: integer
  22342. - description: 现货品种ID
  22343. in: query
  22344. name: deliverygoodsid
  22345. type: integer
  22346. - description: 要素项类型
  22347. in: query
  22348. name: dgfactoryitemtypeid
  22349. type: integer
  22350. - description: 顺序
  22351. in: query
  22352. name: orderindex
  22353. type: integer
  22354. produces:
  22355. - application/json
  22356. responses:
  22357. "200":
  22358. description: OK
  22359. schema:
  22360. items:
  22361. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  22362. type: array
  22363. "500":
  22364. description: Internal Server Error
  22365. schema:
  22366. $ref: '#/definitions/app.Response'
  22367. security:
  22368. - ApiKeyAuth: []
  22369. summary: 查询品种要素定义项
  22370. tags:
  22371. - 企业风险管理v3(app)
  22372. /Ermcp3/QueryDeliveryGoods:
  22373. get:
  22374. parameters:
  22375. - description: 用户id
  22376. in: query
  22377. name: userid
  22378. required: true
  22379. type: integer
  22380. - description: 用户类型 2-机构 7-企业成员
  22381. in: query
  22382. name: usertype
  22383. type: integer
  22384. - description: 排除已配置的业务类型商品 1-套保 2-套利
  22385. in: query
  22386. name: excludecfg
  22387. type: integer
  22388. produces:
  22389. - application/json
  22390. responses:
  22391. "200":
  22392. description: OK
  22393. schema:
  22394. items:
  22395. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  22396. type: array
  22397. "500":
  22398. description: Internal Server Error
  22399. schema:
  22400. $ref: '#/definitions/app.Response'
  22401. security:
  22402. - ApiKeyAuth: []
  22403. summary: 查询现货商品
  22404. tags:
  22405. - 企业风险管理v3(app)
  22406. /Ermcp3/QueryDeliveryGoodsDetail:
  22407. get:
  22408. parameters:
  22409. - description: 用户id
  22410. in: query
  22411. name: userid
  22412. required: true
  22413. type: integer
  22414. - description: 用户类型 2-机构 7-企业成员
  22415. in: query
  22416. name: usertype
  22417. type: integer
  22418. - description: 现货商品id
  22419. in: query
  22420. name: deliverygoodsid
  22421. type: integer
  22422. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  22423. in: query
  22424. name: filtersubempty
  22425. type: integer
  22426. produces:
  22427. - application/json
  22428. responses:
  22429. "200":
  22430. description: OK
  22431. schema:
  22432. items:
  22433. $ref: '#/definitions/models.XHDeliveryGoods'
  22434. type: array
  22435. "500":
  22436. description: Internal Server Error
  22437. schema:
  22438. $ref: '#/definitions/app.Response'
  22439. security:
  22440. - ApiKeyAuth: []
  22441. summary: 查询现货商品详情
  22442. tags:
  22443. - 企业风险管理v3(app)
  22444. /Ermcp3/QueryExposureDetail:
  22445. get:
  22446. parameters:
  22447. - description: 用户id
  22448. in: query
  22449. name: userid
  22450. required: true
  22451. type: integer
  22452. - description: 用户类型 2-机构 7-企业成员
  22453. in: query
  22454. name: usertype
  22455. type: integer
  22456. - description: 套保商品
  22457. in: query
  22458. name: middlegoodsid
  22459. required: true
  22460. type: integer
  22461. produces:
  22462. - application/json
  22463. responses:
  22464. "200":
  22465. description: OK
  22466. schema:
  22467. items:
  22468. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  22469. type: array
  22470. "500":
  22471. description: Internal Server Error
  22472. schema:
  22473. $ref: '#/definitions/app.Response'
  22474. security:
  22475. - ApiKeyAuth: []
  22476. summary: 查询敞口现货明细
  22477. tags:
  22478. - 企业风险管理v3(app)
  22479. /Ermcp3/QueryExposureSpot:
  22480. get:
  22481. parameters:
  22482. - description: 用户id
  22483. in: query
  22484. name: userid
  22485. required: true
  22486. type: integer
  22487. - description: 用户类型 2-机构 7-企业成员
  22488. in: query
  22489. name: usertype
  22490. type: integer
  22491. produces:
  22492. - application/json
  22493. responses:
  22494. "200":
  22495. description: OK
  22496. schema:
  22497. items:
  22498. $ref: '#/definitions/models.Ermcp3AreaSpot'
  22499. type: array
  22500. "500":
  22501. description: Internal Server Error
  22502. schema:
  22503. $ref: '#/definitions/app.Response'
  22504. security:
  22505. - ApiKeyAuth: []
  22506. summary: 查询敞口现货头寸(敞口/现货头寸)
  22507. tags:
  22508. - 企业风险管理v3(app)
  22509. /Ermcp3/QueryExposureSpotDetail:
  22510. get:
  22511. parameters:
  22512. - description: 用户id
  22513. in: query
  22514. name: userid
  22515. required: true
  22516. type: integer
  22517. - description: 用户类型 2-机构 7-企业成员
  22518. in: query
  22519. name: usertype
  22520. type: integer
  22521. - description: 现货商品ID
  22522. in: query
  22523. name: wrstandardid
  22524. required: true
  22525. type: integer
  22526. produces:
  22527. - application/json
  22528. responses:
  22529. "200":
  22530. description: OK
  22531. schema:
  22532. items:
  22533. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  22534. type: array
  22535. "500":
  22536. description: Internal Server Error
  22537. schema:
  22538. $ref: '#/definitions/app.Response'
  22539. security:
  22540. - ApiKeyAuth: []
  22541. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  22542. tags:
  22543. - 企业风险管理v3(app)
  22544. /Ermcp3/QueryGoodsGroup:
  22545. get:
  22546. parameters:
  22547. - description: 用户id
  22548. in: query
  22549. name: userid
  22550. required: true
  22551. type: integer
  22552. - description: 用户类型 2-机构 7-企业成员
  22553. in: query
  22554. name: usertype
  22555. type: integer
  22556. - description: 排除套保品中已关联的商品组 1-排除
  22557. in: query
  22558. name: excludecfg
  22559. type: integer
  22560. produces:
  22561. - application/json
  22562. responses:
  22563. "200":
  22564. description: OK
  22565. schema:
  22566. items:
  22567. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  22568. type: array
  22569. "500":
  22570. description: Internal Server Error
  22571. schema:
  22572. $ref: '#/definitions/app.Response'
  22573. security:
  22574. - ApiKeyAuth: []
  22575. summary: 查询期货商品组
  22576. tags:
  22577. - 企业风险管理v3(app)
  22578. /Ermcp3/QueryGoodsWrstandard:
  22579. get:
  22580. parameters:
  22581. - description: 用户id
  22582. in: query
  22583. name: userid
  22584. required: true
  22585. type: integer
  22586. - description: 用户类型 2-机构 7-企业成员
  22587. in: query
  22588. name: usertype
  22589. type: integer
  22590. - description: 现货商品id
  22591. in: query
  22592. name: deliverygoodsid
  22593. type: integer
  22594. produces:
  22595. - application/json
  22596. responses:
  22597. "200":
  22598. description: OK
  22599. schema:
  22600. items:
  22601. $ref: '#/definitions/models.Ermcp3Wrstandard'
  22602. type: array
  22603. "500":
  22604. description: Internal Server Error
  22605. schema:
  22606. $ref: '#/definitions/app.Response'
  22607. security:
  22608. - ApiKeyAuth: []
  22609. summary: 查询商品品类
  22610. tags:
  22611. - 企业风险管理v3(app)
  22612. /Ermcp3/QueryGoodsbrand:
  22613. get:
  22614. parameters:
  22615. - description: 用户id
  22616. in: query
  22617. name: userid
  22618. required: true
  22619. type: integer
  22620. - description: 用户类型 2-机构 7-企业成员
  22621. in: query
  22622. name: usertype
  22623. type: integer
  22624. produces:
  22625. - application/json
  22626. responses:
  22627. "200":
  22628. description: OK
  22629. schema:
  22630. items:
  22631. $ref: '#/definitions/models.Ermcp3Brand'
  22632. type: array
  22633. "500":
  22634. description: Internal Server Error
  22635. schema:
  22636. $ref: '#/definitions/app.Response'
  22637. security:
  22638. - ApiKeyAuth: []
  22639. summary: 查询商品品牌
  22640. tags:
  22641. - 企业风险管理v3(app)
  22642. /Ermcp3/QueryHedgePlan:
  22643. get:
  22644. parameters:
  22645. - description: 用户ID
  22646. in: query
  22647. name: userid
  22648. required: true
  22649. type: integer
  22650. - description: 用户类型 2-机构 7-企业成员
  22651. in: query
  22652. name: usertype
  22653. type: integer
  22654. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22655. in: query
  22656. name: hedgeplanstatus
  22657. required: true
  22658. type: string
  22659. produces:
  22660. - application/json
  22661. responses:
  22662. "200":
  22663. description: OK
  22664. schema:
  22665. items:
  22666. $ref: '#/definitions/models.Ermcp3HedgePlan'
  22667. type: array
  22668. "500":
  22669. description: Internal Server Error
  22670. schema:
  22671. $ref: '#/definitions/app.Response'
  22672. security:
  22673. - ApiKeyAuth: []
  22674. summary: 查询套保计划
  22675. tags:
  22676. - 企业风险管理v3(app)
  22677. /Ermcp3/QueryInnerTradeLink:
  22678. get:
  22679. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  22680. parameters:
  22681. - description: 外部成交单号
  22682. in: query
  22683. name: outtradeid
  22684. required: true
  22685. type: integer
  22686. produces:
  22687. - application/json
  22688. responses:
  22689. "200":
  22690. description: OK
  22691. schema:
  22692. items:
  22693. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  22694. type: array
  22695. "500":
  22696. description: Internal Server Error
  22697. schema:
  22698. $ref: '#/definitions/app.Response'
  22699. security:
  22700. - ApiKeyAuth: []
  22701. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  22702. tags:
  22703. - 企业风险管理v3(app)
  22704. /Ermcp3/QueryMiddleGoodsDetail:
  22705. get:
  22706. parameters:
  22707. - description: 用户id
  22708. in: query
  22709. name: userid
  22710. required: true
  22711. type: integer
  22712. - description: 用户类型 2-机构 7-企业成员
  22713. in: query
  22714. name: usertype
  22715. type: integer
  22716. - description: 套保品种id
  22717. in: query
  22718. name: middlegoodsid
  22719. type: integer
  22720. produces:
  22721. - application/json
  22722. responses:
  22723. "200":
  22724. description: OK
  22725. schema:
  22726. items:
  22727. $ref: '#/definitions/models.TBMiddleGoods'
  22728. type: array
  22729. "500":
  22730. description: Internal Server Error
  22731. schema:
  22732. $ref: '#/definitions/app.Response'
  22733. security:
  22734. - ApiKeyAuth: []
  22735. summary: 查询套保品种详情(套保品种/商品详情)
  22736. tags:
  22737. - 企业风险管理v3(app)
  22738. /Ermcp3/QueryOutTradeLink:
  22739. get:
  22740. description: 页面 app 现货->期现关联->外部成交单关联
  22741. parameters:
  22742. - description: 用户ID(填登录用户的userid)
  22743. in: query
  22744. name: userid
  22745. required: true
  22746. type: integer
  22747. - description: 外部订单号(模糊匹配)
  22748. in: query
  22749. name: outtradeid
  22750. type: string
  22751. - description: 合约名称/代码(模糊匹配)
  22752. in: query
  22753. name: goodsname
  22754. type: string
  22755. - description: 关联状态 0-未关联 1-已关联
  22756. in: query
  22757. name: hasinnerorder
  22758. type: integer
  22759. produces:
  22760. - application/json
  22761. responses:
  22762. "200":
  22763. description: OK
  22764. schema:
  22765. items:
  22766. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  22767. type: array
  22768. "500":
  22769. description: Internal Server Error
  22770. schema:
  22771. $ref: '#/definitions/app.Response'
  22772. security:
  22773. - ApiKeyAuth: []
  22774. summary: 查询外部成交单关联
  22775. tags:
  22776. - 企业风险管理v3(app)
  22777. /Ermcp3/QueryPaAreaAuditCfg:
  22778. get:
  22779. parameters:
  22780. - description: 用户id
  22781. in: query
  22782. name: userid
  22783. required: true
  22784. type: integer
  22785. produces:
  22786. - application/json
  22787. responses:
  22788. "200":
  22789. description: OK
  22790. schema:
  22791. items:
  22792. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  22793. type: array
  22794. "500":
  22795. description: Internal Server Error
  22796. schema:
  22797. $ref: '#/definitions/app.Response'
  22798. security:
  22799. - ApiKeyAuth: []
  22800. summary: 查询审核设置
  22801. tags:
  22802. - 企业风险管理v3(app)
  22803. /Ermcp3/QueryPaAreaSubject:
  22804. get:
  22805. parameters:
  22806. - description: 用户id
  22807. in: query
  22808. name: userid
  22809. required: true
  22810. type: integer
  22811. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  22812. in: query
  22813. name: subjectid
  22814. type: integer
  22815. - description: 主体类型 - 1:交易主体 2:业务部门
  22816. in: query
  22817. name: subjecttype
  22818. type: integer
  22819. - description: '主体状态 - 1:正常 2: 停用'
  22820. in: query
  22821. name: subjectstatus
  22822. type: integer
  22823. produces:
  22824. - application/json
  22825. responses:
  22826. "200":
  22827. description: OK
  22828. schema:
  22829. items:
  22830. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  22831. type: array
  22832. "500":
  22833. description: Internal Server Error
  22834. schema:
  22835. $ref: '#/definitions/app.Response'
  22836. security:
  22837. - ApiKeyAuth: []
  22838. summary: 查询交易主体
  22839. tags:
  22840. - 企业风险管理v3(app)
  22841. /Ermcp3/QueryPaTradeLink:
  22842. get:
  22843. description: 页面 app 现货->期现关联->期现单据关联
  22844. parameters:
  22845. - description: 用户ID
  22846. in: query
  22847. name: userid
  22848. required: true
  22849. type: integer
  22850. produces:
  22851. - application/json
  22852. responses:
  22853. "200":
  22854. description: OK
  22855. schema:
  22856. items:
  22857. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  22858. type: array
  22859. "500":
  22860. description: Internal Server Error
  22861. schema:
  22862. $ref: '#/definitions/app.Response'
  22863. security:
  22864. - ApiKeyAuth: []
  22865. summary: 查询期现单据关联
  22866. tags:
  22867. - 企业风险管理v3(app)
  22868. /Ermcp3/QueryPaTradeLinkDetail:
  22869. get:
  22870. description: 页面 app 现货->期现关联->关联记录
  22871. parameters:
  22872. - description: 用户ID(填登录用户的userid)
  22873. in: query
  22874. name: userid
  22875. required: true
  22876. type: integer
  22877. - description: 关联状态 1:成功 2:失败 3:解绑
  22878. in: query
  22879. name: linkstatus
  22880. type: integer
  22881. - description: 期货订单号(模糊匹配)
  22882. in: query
  22883. name: tradeid
  22884. type: string
  22885. - description: 现货编号(模糊匹配)
  22886. in: query
  22887. name: contractno
  22888. type: string
  22889. - description: 期货账户(模糊匹配)
  22890. in: query
  22891. name: taname
  22892. type: string
  22893. produces:
  22894. - application/json
  22895. responses:
  22896. "200":
  22897. description: OK
  22898. schema:
  22899. items:
  22900. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  22901. type: array
  22902. "500":
  22903. description: Internal Server Error
  22904. schema:
  22905. $ref: '#/definitions/app.Response'
  22906. security:
  22907. - ApiKeyAuth: []
  22908. summary: 查询期现关联记录
  22909. tags:
  22910. - 企业风险管理v3(app)
  22911. /Ermcp3/QueryParamChangeApp:
  22912. get:
  22913. description: |-
  22914. 原型页面:
  22915. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  22916. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  22917. parameters:
  22918. - description: 用户ID
  22919. in: query
  22920. name: userid
  22921. required: true
  22922. type: integer
  22923. - description: 现货品种id
  22924. in: query
  22925. name: deliverygoodsid
  22926. type: integer
  22927. - description: 现货商品id
  22928. in: query
  22929. name: wrstandardid
  22930. type: integer
  22931. - description: 套保商品id
  22932. in: query
  22933. name: middlegoodsid
  22934. type: integer
  22935. - description: 操作类型 1:新增 2:修改
  22936. in: query
  22937. name: operatetype
  22938. type: integer
  22939. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  22940. in: query
  22941. name: paramchangetype
  22942. type: integer
  22943. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22944. in: query
  22945. name: ftstatus
  22946. type: string
  22947. produces:
  22948. - application/json
  22949. responses:
  22950. "200":
  22951. description: OK
  22952. schema:
  22953. items:
  22954. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  22955. type: array
  22956. "500":
  22957. description: Internal Server Error
  22958. schema:
  22959. $ref: '#/definitions/app.Response'
  22960. security:
  22961. - ApiKeyAuth: []
  22962. summary: 查询现货商品参数变更申请(流水)
  22963. tags:
  22964. - 企业风险管理v3(app)
  22965. /Ermcp3/QueryRootUserAccount:
  22966. get:
  22967. parameters:
  22968. - description: 用户ID
  22969. in: query
  22970. name: userid
  22971. required: true
  22972. type: integer
  22973. produces:
  22974. - application/json
  22975. responses:
  22976. "200":
  22977. description: OK
  22978. schema:
  22979. items:
  22980. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  22981. type: array
  22982. "500":
  22983. description: Internal Server Error
  22984. schema:
  22985. $ref: '#/definitions/app.Response'
  22986. security:
  22987. - ApiKeyAuth: []
  22988. summary: 查询顶级用户信息
  22989. tags:
  22990. - 企业风险管理v3(app)
  22991. /Ermcp3/QuerySCMiddleGoods:
  22992. get:
  22993. description: |-
  22994. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  22995. 现货编号 即 合同编号
  22996. parameters:
  22997. - description: 用户ID(填登录用户的userid)
  22998. in: query
  22999. name: userid
  23000. required: true
  23001. type: integer
  23002. - description: 买卖方向 0-买 1-卖
  23003. in: query
  23004. name: buyorsell
  23005. required: true
  23006. type: integer
  23007. - description: 商品组id
  23008. in: query
  23009. name: goodsgroupid
  23010. required: true
  23011. type: integer
  23012. - description: 业务类型 1:套保 2:套利
  23013. in: query
  23014. name: biztype
  23015. type: integer
  23016. - description: 现货编号(模糊匹配)
  23017. in: query
  23018. name: contractno
  23019. type: string
  23020. - description: 对手方(模糊匹配)
  23021. in: query
  23022. name: customername
  23023. type: string
  23024. - description: 现货商品名称(模糊匹配)
  23025. in: query
  23026. name: wrstandardname
  23027. type: string
  23028. produces:
  23029. - application/json
  23030. responses:
  23031. "200":
  23032. description: OK
  23033. schema:
  23034. items:
  23035. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  23036. type: array
  23037. "500":
  23038. description: Internal Server Error
  23039. schema:
  23040. $ref: '#/definitions/app.Response'
  23041. security:
  23042. - ApiKeyAuth: []
  23043. summary: 查询现货订单
  23044. tags:
  23045. - 企业风险管理v3(app)
  23046. /Ermcp3/QuerySpotContract:
  23047. get:
  23048. parameters:
  23049. - description: 用户id(当指定contractid, userid可不填)
  23050. in: query
  23051. name: userid
  23052. required: true
  23053. type: integer
  23054. - description: 用户类型 2-机构 7-企业成员
  23055. in: query
  23056. name: usertype
  23057. type: integer
  23058. - description: 合同类型 1-采购, -1-销售
  23059. in: query
  23060. name: contracttype
  23061. type: integer
  23062. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  23063. in: query
  23064. name: querytype
  23065. type: string
  23066. - description: 合同ID(SpotContractId)
  23067. in: query
  23068. name: contractid
  23069. type: string
  23070. - description: 合同编号(模糊匹配)
  23071. in: query
  23072. name: contractno
  23073. type: string
  23074. - description: 商品名称(模糊匹配)
  23075. in: query
  23076. name: wrstandardname
  23077. type: string
  23078. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  23079. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  23080. in: query
  23081. name: status
  23082. type: string
  23083. - description: 是否只查今日的合同 1-查今日合同
  23084. in: query
  23085. name: istoday
  23086. type: integer
  23087. produces:
  23088. - application/json
  23089. responses:
  23090. "200":
  23091. description: OK
  23092. schema:
  23093. items:
  23094. $ref: '#/definitions/models.Ermcp3Contract'
  23095. type: array
  23096. "500":
  23097. description: Internal Server Error
  23098. schema:
  23099. $ref: '#/definitions/app.Response'
  23100. security:
  23101. - ApiKeyAuth: []
  23102. summary: 查询现货合同
  23103. tags:
  23104. - 企业风险管理v3(app)
  23105. /Ermcp3/QuerySpotContractBS:
  23106. get:
  23107. parameters:
  23108. - description: 用户id
  23109. in: query
  23110. name: userid
  23111. required: true
  23112. type: integer
  23113. - description: 用户类型 2-机构 7-企业成员
  23114. in: query
  23115. name: usertype
  23116. type: integer
  23117. - description: 合同类型 1-采购, -1-销售
  23118. in: query
  23119. name: contracttype
  23120. required: true
  23121. type: integer
  23122. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  23123. in: query
  23124. name: querytype
  23125. type: integer
  23126. - description: 合同ID(SpotContractId)
  23127. in: query
  23128. name: contractid
  23129. type: string
  23130. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  23131. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  23132. in: query
  23133. name: status
  23134. type: string
  23135. - description: 是否只查今日的合同 1-查今日合同
  23136. in: query
  23137. name: istoday
  23138. type: integer
  23139. produces:
  23140. - application/json
  23141. responses:
  23142. "200":
  23143. description: OK
  23144. schema:
  23145. items:
  23146. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  23147. type: array
  23148. "500":
  23149. description: Internal Server Error
  23150. schema:
  23151. $ref: '#/definitions/app.Response'
  23152. security:
  23153. - ApiKeyAuth: []
  23154. summary: 查询合同(采购/销售)
  23155. tags:
  23156. - 企业风险管理v3(app)
  23157. /Ermcp3/QuerySpotGoodsPrice:
  23158. get:
  23159. parameters:
  23160. - description: 用户ID
  23161. in: query
  23162. name: userid
  23163. required: true
  23164. type: integer
  23165. produces:
  23166. - application/json
  23167. responses:
  23168. "200":
  23169. description: OK
  23170. schema:
  23171. items:
  23172. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  23173. type: array
  23174. "500":
  23175. description: Internal Server Error
  23176. schema:
  23177. $ref: '#/definitions/app.Response'
  23178. security:
  23179. - ApiKeyAuth: []
  23180. summary: 查询现货市价(现货市价)
  23181. tags:
  23182. - 企业风险管理v3(app)
  23183. /Ermcp3/QuerySpotGoodsPriceLog:
  23184. get:
  23185. parameters:
  23186. - description: 用户ID
  23187. in: query
  23188. name: userid
  23189. required: true
  23190. type: integer
  23191. - description: 现货商品ID
  23192. in: query
  23193. name: deliverygoodsid
  23194. required: true
  23195. type: integer
  23196. - description: 品牌ID
  23197. in: query
  23198. name: brandid
  23199. type: integer
  23200. - description: 品类ID
  23201. in: query
  23202. name: wrstandardid
  23203. type: integer
  23204. produces:
  23205. - application/json
  23206. responses:
  23207. "200":
  23208. description: OK
  23209. schema:
  23210. items:
  23211. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  23212. type: array
  23213. "500":
  23214. description: Internal Server Error
  23215. schema:
  23216. $ref: '#/definitions/app.Response'
  23217. security:
  23218. - ApiKeyAuth: []
  23219. summary: 查询现货市价详情(现货市价/详情)
  23220. tags:
  23221. - 企业风险管理v3(app)
  23222. /Ermcp3/QuerySubTaaccount:
  23223. get:
  23224. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  23225. parameters:
  23226. - description: 母账号id
  23227. in: query
  23228. name: parentaccountid
  23229. type: integer
  23230. - description: 母账号代码
  23231. in: query
  23232. name: parentaccountcode
  23233. type: string
  23234. produces:
  23235. - application/json
  23236. responses:
  23237. "200":
  23238. description: OK
  23239. schema:
  23240. items:
  23241. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  23242. type: array
  23243. "500":
  23244. description: Internal Server Error
  23245. schema:
  23246. $ref: '#/definitions/app.Response'
  23247. security:
  23248. - ApiKeyAuth: []
  23249. summary: 查询期货子账户
  23250. tags:
  23251. - 企业风险管理v3(app)
  23252. /Erms2/QueryArbitrageStrategy:
  23253. get:
  23254. parameters:
  23255. - description: 账户ID
  23256. in: query
  23257. name: userid
  23258. required: true
  23259. type: integer
  23260. - description: 商品组ID(品种ID)
  23261. in: query
  23262. name: goodsgroupid
  23263. type: string
  23264. produces:
  23265. - application/json
  23266. responses:
  23267. "200":
  23268. description: OK
  23269. schema:
  23270. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  23271. "500":
  23272. description: Internal Server Error
  23273. schema:
  23274. $ref: '#/definitions/app.Response'
  23275. security:
  23276. - ApiKeyAuth: []
  23277. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  23278. tags:
  23279. - 风险管理
  23280. /Erms2/QueryInnerTradeDetail:
  23281. get:
  23282. parameters:
  23283. - description: 资金账户
  23284. in: query
  23285. name: accountid
  23286. required: true
  23287. type: integer
  23288. produces:
  23289. - application/json
  23290. responses:
  23291. "200":
  23292. description: OK
  23293. schema:
  23294. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  23295. "500":
  23296. description: Internal Server Error
  23297. schema:
  23298. $ref: '#/definitions/app.Response'
  23299. security:
  23300. - ApiKeyAuth: []
  23301. summary: 查询内部成交单信息
  23302. tags:
  23303. - 风险管理
  23304. /Erms2/QuerySpotContract:
  23305. get:
  23306. parameters:
  23307. - description: 策略申请ID
  23308. in: query
  23309. name: asapplyid
  23310. required: true
  23311. type: integer
  23312. - description: 现货合同ID
  23313. in: query
  23314. name: spotcontractid
  23315. type: integer
  23316. produces:
  23317. - application/json
  23318. responses:
  23319. "200":
  23320. description: OK
  23321. schema:
  23322. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  23323. "500":
  23324. description: Internal Server Error
  23325. schema:
  23326. $ref: '#/definitions/app.Response'
  23327. security:
  23328. - ApiKeyAuth: []
  23329. summary: 查询现货合同表信息(指定策略ID、未结束的)
  23330. tags:
  23331. - 风险管理
  23332. /Erms3/AddErms2ASApply:
  23333. post:
  23334. parameters:
  23335. - description: 申请参数
  23336. in: body
  23337. name: jsonBody
  23338. required: true
  23339. schema:
  23340. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  23341. produces:
  23342. - application/json
  23343. responses:
  23344. "200":
  23345. description: OK
  23346. schema:
  23347. $ref: '#/definitions/app.Response'
  23348. "500":
  23349. description: Internal Server Error
  23350. schema:
  23351. $ref: '#/definitions/app.Response'
  23352. security:
  23353. - ApiKeyAuth: []
  23354. summary: 新增期现套利业务申请
  23355. tags:
  23356. - 风险管理v3
  23357. /Erms3/AddErms2SpotTradeApply:
  23358. post:
  23359. parameters:
  23360. - description: 申请参数
  23361. in: body
  23362. name: jsonBody
  23363. required: true
  23364. schema:
  23365. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  23366. produces:
  23367. - application/json
  23368. responses:
  23369. "200":
  23370. description: OK
  23371. schema:
  23372. $ref: '#/definitions/app.Response'
  23373. "500":
  23374. description: Internal Server Error
  23375. schema:
  23376. $ref: '#/definitions/app.Response'
  23377. security:
  23378. - ApiKeyAuth: []
  23379. summary: 新增现货贸易业务申请
  23380. tags:
  23381. - 风险管理v3
  23382. /Erms3/AddSpotContractApply:
  23383. post:
  23384. parameters:
  23385. - description: 申请参数
  23386. in: body
  23387. name: jsonBody
  23388. required: true
  23389. schema:
  23390. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  23391. produces:
  23392. - application/json
  23393. responses:
  23394. "200":
  23395. description: OK
  23396. schema:
  23397. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  23398. "500":
  23399. description: Internal Server Error
  23400. schema:
  23401. $ref: '#/definitions/app.Response'
  23402. security:
  23403. - ApiKeyAuth: []
  23404. summary: 新增现货合同申请
  23405. tags:
  23406. - 风险管理v3
  23407. /Erms3/AddUserInfoApply:
  23408. post:
  23409. parameters:
  23410. - description: 用户信息
  23411. in: body
  23412. name: jsonBody
  23413. required: true
  23414. schema:
  23415. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  23416. produces:
  23417. - application/json
  23418. responses:
  23419. "200":
  23420. description: OK
  23421. schema:
  23422. $ref: '#/definitions/app.Response'
  23423. "500":
  23424. description: Internal Server Error
  23425. schema:
  23426. $ref: '#/definitions/app.Response'
  23427. security:
  23428. - ApiKeyAuth: []
  23429. summary: 新增客户申请
  23430. tags:
  23431. - 风险管理v3
  23432. /Erms3/DeleteUserInfoApply:
  23433. get:
  23434. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  23435. parameters:
  23436. - description: 用户ID
  23437. in: query
  23438. name: userID
  23439. required: true
  23440. type: integer
  23441. produces:
  23442. - application/json
  23443. responses:
  23444. "200":
  23445. description: OK
  23446. schema:
  23447. $ref: '#/definitions/app.Response'
  23448. "500":
  23449. description: Internal Server Error
  23450. schema:
  23451. $ref: '#/definitions/app.Response'
  23452. security:
  23453. - ApiKeyAuth: []
  23454. summary: 删除客户申请
  23455. tags:
  23456. - 风险管理v3
  23457. /Erms3/ModifyUserInfoApply:
  23458. post:
  23459. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  23460. int, "userstate": 2 }'
  23461. parameters:
  23462. - description: 用户信息
  23463. in: body
  23464. name: jsonBody
  23465. required: true
  23466. schema:
  23467. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  23468. produces:
  23469. - application/json
  23470. responses:
  23471. "200":
  23472. description: OK
  23473. schema:
  23474. $ref: '#/definitions/app.Response'
  23475. "500":
  23476. description: Internal Server Error
  23477. schema:
  23478. $ref: '#/definitions/app.Response'
  23479. security:
  23480. - ApiKeyAuth: []
  23481. summary: 修改客户申请
  23482. tags:
  23483. - 风险管理v3
  23484. /Erms3/QueryBusinessInfo:
  23485. get:
  23486. parameters:
  23487. - description: 资金账号ID列表,用逗号分隔
  23488. in: query
  23489. name: accountids
  23490. required: true
  23491. type: string
  23492. - description: 状态,0为未结束 1为已结束
  23493. in: query
  23494. name: status
  23495. required: true
  23496. type: integer
  23497. produces:
  23498. - application/json
  23499. responses:
  23500. "200":
  23501. description: OK
  23502. schema:
  23503. items:
  23504. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  23505. type: array
  23506. "500":
  23507. description: Internal Server Error
  23508. schema:
  23509. $ref: '#/definitions/app.Response'
  23510. security:
  23511. - ApiKeyAuth: []
  23512. summary: 查询业务表单数据
  23513. tags:
  23514. - 风险管理v3
  23515. /Erms3/QueryPendingAuditContract:
  23516. get:
  23517. parameters:
  23518. - description: 资金账号ID列表,逗号隔开
  23519. in: query
  23520. name: accountids
  23521. required: true
  23522. type: string
  23523. - description: 合同类型 1-采购 -1-销售
  23524. in: query
  23525. name: contracttype
  23526. required: true
  23527. type: integer
  23528. - description: 合同模式 1-普通 2-回购
  23529. in: query
  23530. name: contractmode
  23531. required: true
  23532. type: integer
  23533. produces:
  23534. - application/json
  23535. responses:
  23536. "200":
  23537. description: OK
  23538. schema:
  23539. items:
  23540. $ref: '#/definitions/erms3.QryAuditContractRsp'
  23541. type: array
  23542. "500":
  23543. description: Internal Server Error
  23544. schema:
  23545. $ref: '#/definitions/app.Response'
  23546. security:
  23547. - ApiKeyAuth: []
  23548. summary: 查询待审核合同
  23549. tags:
  23550. - 风险管理v3
  23551. /Erms3/QueryPendingBusiness:
  23552. get:
  23553. parameters:
  23554. - description: 资金账号ID列表,逗号隔开
  23555. in: query
  23556. name: accountids
  23557. required: true
  23558. type: string
  23559. produces:
  23560. - application/json
  23561. responses:
  23562. "200":
  23563. description: OK
  23564. schema:
  23565. items:
  23566. $ref: '#/definitions/erms3.QryPendingBizRsp'
  23567. type: array
  23568. "500":
  23569. description: Internal Server Error
  23570. schema:
  23571. $ref: '#/definitions/app.Response'
  23572. security:
  23573. - ApiKeyAuth: []
  23574. summary: 查询待审核基差贸易业务
  23575. tags:
  23576. - 风险管理v3
  23577. /Erms3/QuerySpotContractAppleForm:
  23578. get:
  23579. parameters:
  23580. - description: 登录账号
  23581. in: query
  23582. name: loginID
  23583. required: true
  23584. type: integer
  23585. produces:
  23586. - application/json
  23587. responses:
  23588. "200":
  23589. description: OK
  23590. schema:
  23591. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  23592. "500":
  23593. description: Internal Server Error
  23594. schema:
  23595. $ref: '#/definitions/app.Response'
  23596. security:
  23597. - ApiKeyAuth: []
  23598. summary: 查询合同申请表单数据
  23599. tags:
  23600. - 风险管理v3
  23601. /Erms3/QuerySpotContractDetail:
  23602. get:
  23603. parameters:
  23604. - description: 资金账号ID列表,用逗号分隔
  23605. in: query
  23606. name: accountids
  23607. required: true
  23608. type: string
  23609. - description: 合同类型,1为采购合同 -1为销售合同
  23610. in: query
  23611. name: contracttype
  23612. required: true
  23613. type: integer
  23614. - description: 合同模式,1为普通合同 2为回购销售合同
  23615. in: query
  23616. name: contractmode
  23617. required: true
  23618. type: integer
  23619. - description: 状态,0为履约中 1为已完成
  23620. in: query
  23621. name: status
  23622. required: true
  23623. type: integer
  23624. produces:
  23625. - application/json
  23626. responses:
  23627. "200":
  23628. description: OK
  23629. schema:
  23630. items:
  23631. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  23632. type: array
  23633. "500":
  23634. description: Internal Server Error
  23635. schema:
  23636. $ref: '#/definitions/app.Response'
  23637. security:
  23638. - ApiKeyAuth: []
  23639. summary: 查询合同详细信息
  23640. tags:
  23641. - 风险管理v3
  23642. /Erms3/QueryUserInfoApplies:
  23643. get:
  23644. parameters:
  23645. - description: 页码
  23646. in: query
  23647. name: page
  23648. type: integer
  23649. - description: 每页条数
  23650. in: query
  23651. name: pagesize
  23652. type: integer
  23653. - description: 客户名称,支持模糊查询
  23654. in: query
  23655. name: userName
  23656. type: string
  23657. produces:
  23658. - application/json
  23659. responses:
  23660. "200":
  23661. description: OK
  23662. schema:
  23663. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  23664. "500":
  23665. description: Internal Server Error
  23666. schema:
  23667. $ref: '#/definitions/app.Response'
  23668. security:
  23669. - ApiKeyAuth: []
  23670. summary: 客户申请信息查询
  23671. tags:
  23672. - 风险管理v3
  23673. /Erms3/QueryUserInfos:
  23674. get:
  23675. parameters:
  23676. - description: 页码
  23677. in: query
  23678. name: page
  23679. type: integer
  23680. - description: 每页条数
  23681. in: query
  23682. name: pagesize
  23683. type: integer
  23684. - description: 客户名称,支持模糊查询
  23685. in: query
  23686. name: userName
  23687. type: string
  23688. produces:
  23689. - application/json
  23690. responses:
  23691. "200":
  23692. description: OK
  23693. schema:
  23694. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  23695. "500":
  23696. description: Internal Server Error
  23697. schema:
  23698. $ref: '#/definitions/app.Response'
  23699. security:
  23700. - ApiKeyAuth: []
  23701. summary: 客户信息查询
  23702. tags:
  23703. - 风险管理v3
  23704. /HSBY/GetHsbyMyCount:
  23705. get:
  23706. description: 说明: 不包括已完成的数量。
  23707. parameters:
  23708. - description: 资金账户列表,格式:1,2,3
  23709. in: query
  23710. name: accountIDs
  23711. required: true
  23712. type: string
  23713. produces:
  23714. - application/json
  23715. responses:
  23716. "200":
  23717. description: OK
  23718. schema:
  23719. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  23720. "500":
  23721. description: Internal Server Error
  23722. schema:
  23723. $ref: '#/definitions/app.Response'
  23724. security:
  23725. - ApiKeyAuth: []
  23726. summary: 获取我的订单与包裹数量
  23727. tags:
  23728. - 定制【海商报业】
  23729. /HSBY/QueryClientFixedADConfigs:
  23730. get:
  23731. produces:
  23732. - application/json
  23733. responses:
  23734. "200":
  23735. description: OK
  23736. schema:
  23737. $ref: '#/definitions/models.Clientfixedadconfig'
  23738. "500":
  23739. description: Internal Server Error
  23740. schema:
  23741. $ref: '#/definitions/app.Response'
  23742. security:
  23743. - ApiKeyAuth: []
  23744. summary: 获取终端固定广告配置
  23745. tags:
  23746. - 定制【海商报业】
  23747. /HSBY/QueryHsbyBuyMyTradeDetail:
  23748. get:
  23749. parameters:
  23750. - description: 页码
  23751. in: query
  23752. name: page
  23753. type: integer
  23754. - description: 每页条数
  23755. in: query
  23756. name: pagesize
  23757. type: integer
  23758. - description: 资金账户列表,格式:1,2,3
  23759. in: query
  23760. name: accountIDs
  23761. required: true
  23762. type: string
  23763. produces:
  23764. - application/json
  23765. responses:
  23766. "200":
  23767. description: OK
  23768. schema:
  23769. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  23770. "500":
  23771. description: Internal Server Error
  23772. schema:
  23773. $ref: '#/definitions/app.Response'
  23774. security:
  23775. - ApiKeyAuth: []
  23776. summary: 查询"我的订单 - 已完成"单据信息
  23777. tags:
  23778. - 定制【海商报业】
  23779. /HSBY/QueryHsbyGoodsOrderDetails:
  23780. get:
  23781. description: 说明:查询结果已按委托价格和委托时间排序
  23782. parameters:
  23783. - description: 商品ID
  23784. in: query
  23785. name: goodsID
  23786. required: true
  23787. type: integer
  23788. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  23789. in: query
  23790. name: accountIDs
  23791. type: string
  23792. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  23793. in: query
  23794. name: buyOrSell
  23795. type: integer
  23796. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  23797. in: query
  23798. name: price
  23799. type: number
  23800. - description: 档位,不传则默认为3档
  23801. in: query
  23802. name: speed
  23803. type: integer
  23804. produces:
  23805. - application/json
  23806. responses:
  23807. "200":
  23808. description: OK
  23809. schema:
  23810. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  23811. "500":
  23812. description: Internal Server Error
  23813. schema:
  23814. $ref: '#/definitions/app.Response'
  23815. security:
  23816. - ApiKeyAuth: []
  23817. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  23818. tags:
  23819. - 定制【海商报业】
  23820. /HSBY/QueryHsbyListingGoodsDetail:
  23821. get:
  23822. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  23823. parameters:
  23824. - description: 商品ID
  23825. in: query
  23826. name: goodsID
  23827. required: true
  23828. type: integer
  23829. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  23830. in: query
  23831. name: accountID
  23832. type: integer
  23833. produces:
  23834. - application/json
  23835. responses:
  23836. "200":
  23837. description: OK
  23838. schema:
  23839. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  23840. "500":
  23841. description: Internal Server Error
  23842. schema:
  23843. $ref: '#/definitions/app.Response'
  23844. security:
  23845. - ApiKeyAuth: []
  23846. summary: 查询二级市场(挂牌点选)商品信息详情
  23847. tags:
  23848. - 定制【海商报业】
  23849. /HSBY/QueryHsbyMarketGoodsDetail:
  23850. get:
  23851. parameters:
  23852. - description: 委托单号
  23853. in: query
  23854. name: orderID
  23855. required: true
  23856. type: integer
  23857. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  23858. in: query
  23859. name: accountID
  23860. type: integer
  23861. produces:
  23862. - application/json
  23863. responses:
  23864. "200":
  23865. description: OK
  23866. schema:
  23867. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  23868. "500":
  23869. description: Internal Server Error
  23870. schema:
  23871. $ref: '#/definitions/app.Response'
  23872. security:
  23873. - ApiKeyAuth: []
  23874. summary: 查询三级市场(商城)商品信息详情
  23875. tags:
  23876. - 定制【海商报业】
  23877. /HSBY/QueryHsbyMarketGoodses:
  23878. get:
  23879. parameters:
  23880. - description: 页码
  23881. in: query
  23882. name: page
  23883. type: integer
  23884. - description: 每页条数
  23885. in: query
  23886. name: pagesize
  23887. type: integer
  23888. - description: 市场ID列表,格式:1,2,3
  23889. in: query
  23890. name: marketIDs
  23891. required: true
  23892. type: string
  23893. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  23894. in: query
  23895. name: accountID
  23896. required: true
  23897. type: integer
  23898. - description: 类别ID
  23899. in: query
  23900. name: categoryID
  23901. type: integer
  23902. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  23903. in: query
  23904. name: goodsIDs
  23905. type: string
  23906. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  23907. in: query
  23908. name: couponTypeID
  23909. type: integer
  23910. produces:
  23911. - application/json
  23912. responses:
  23913. "200":
  23914. description: OK
  23915. schema:
  23916. $ref: '#/definitions/models.HsbyMarketGoods'
  23917. "500":
  23918. description: Internal Server Error
  23919. schema:
  23920. $ref: '#/definitions/app.Response'
  23921. security:
  23922. - ApiKeyAuth: []
  23923. summary: 查询特卖商品列表(三级商城)
  23924. tags:
  23925. - 定制【海商报业】
  23926. /HSBY/QueryHsbyMarkets:
  23927. get:
  23928. produces:
  23929. - application/json
  23930. responses:
  23931. "200":
  23932. description: OK
  23933. schema:
  23934. $ref: '#/definitions/models.HsbyMarketInfo'
  23935. "500":
  23936. description: Internal Server Error
  23937. schema:
  23938. $ref: '#/definitions/app.Response'
  23939. security:
  23940. - ApiKeyAuth: []
  23941. summary: 查询海商报业相关市场信息
  23942. tags:
  23943. - 定制【海商报业】
  23944. /HSBY/QueryHsbyMyBuyOrderDetails:
  23945. get:
  23946. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  23947. parameters:
  23948. - description: 资金账户列表,格式:1,2,3
  23949. in: query
  23950. name: accountIDs
  23951. required: true
  23952. type: string
  23953. produces:
  23954. - application/json
  23955. responses:
  23956. "200":
  23957. description: OK
  23958. schema:
  23959. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  23960. "500":
  23961. description: Internal Server Error
  23962. schema:
  23963. $ref: '#/definitions/app.Response'
  23964. security:
  23965. - ApiKeyAuth: []
  23966. summary: 查询“我的订单”信息
  23967. tags:
  23968. - 定制【海商报业】
  23969. /HSBY/QueryHsbyMyGoods:
  23970. get:
  23971. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  23972. parameters:
  23973. - description: 资金账户列表,格式:1,2,3
  23974. in: query
  23975. name: accountIDs
  23976. required: true
  23977. type: string
  23978. produces:
  23979. - application/json
  23980. responses:
  23981. "200":
  23982. description: OK
  23983. schema:
  23984. $ref: '#/definitions/models.HsbyMyGoods'
  23985. "500":
  23986. description: Internal Server Error
  23987. schema:
  23988. $ref: '#/definitions/app.Response'
  23989. security:
  23990. - ApiKeyAuth: []
  23991. summary: 查询“我的商品”信息
  23992. tags:
  23993. - 定制【海商报业】
  23994. /HSBY/QueryHsbyMyPackages:
  23995. get:
  23996. parameters:
  23997. - description: 资金账户列表,格式:1,2,3
  23998. in: query
  23999. name: accountIDs
  24000. required: true
  24001. type: string
  24002. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  24003. in: query
  24004. name: takeOrderStatus
  24005. type: integer
  24006. produces:
  24007. - application/json
  24008. responses:
  24009. "200":
  24010. description: OK
  24011. schema:
  24012. $ref: '#/definitions/models.HsbyMyPackage'
  24013. "500":
  24014. description: Internal Server Error
  24015. schema:
  24016. $ref: '#/definitions/app.Response'
  24017. security:
  24018. - ApiKeyAuth: []
  24019. summary: 查询我的包裹信息
  24020. tags:
  24021. - 定制【海商报业】
  24022. /HSBY/QueryHsbyPreGoodsDetail:
  24023. get:
  24024. parameters:
  24025. - description: 商品ID
  24026. in: query
  24027. name: goodsID
  24028. required: true
  24029. type: integer
  24030. - description: 资金账户,主要用于获取预售商品购买上限
  24031. in: query
  24032. name: accountID
  24033. type: integer
  24034. produces:
  24035. - application/json
  24036. responses:
  24037. "200":
  24038. description: OK
  24039. schema:
  24040. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  24041. "500":
  24042. description: Internal Server Error
  24043. schema:
  24044. $ref: '#/definitions/app.Response'
  24045. security:
  24046. - ApiKeyAuth: []
  24047. summary: 查询一级市场(预售)商品信息详情
  24048. tags:
  24049. - 定制【海商报业】
  24050. /HSBY/QueryHsbyPreGoodses:
  24051. get:
  24052. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  24053. parameters:
  24054. - description: 页码
  24055. in: query
  24056. name: page
  24057. type: integer
  24058. - description: 每页条数
  24059. in: query
  24060. name: pagesize
  24061. type: integer
  24062. - description: 市场ID列表,格式:1,2,3
  24063. in: query
  24064. name: marketIDs
  24065. required: true
  24066. type: string
  24067. - description: 目的地(省)ID
  24068. in: query
  24069. name: descProvinceID
  24070. type: integer
  24071. - description: 目的地(市)ID
  24072. in: query
  24073. name: descCityID
  24074. type: integer
  24075. produces:
  24076. - application/json
  24077. responses:
  24078. "200":
  24079. description: OK
  24080. schema:
  24081. $ref: '#/definitions/models.HsbyPreGoods'
  24082. "500":
  24083. description: Internal Server Error
  24084. schema:
  24085. $ref: '#/definitions/app.Response'
  24086. security:
  24087. - ApiKeyAuth: []
  24088. summary: 查询新品上市商品列表(一级市场预售)
  24089. tags:
  24090. - 定制【海商报业】
  24091. /HSBY/QueryHsbySellMyDetails:
  24092. get:
  24093. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  24094. parameters:
  24095. - description: 页码
  24096. in: query
  24097. name: page
  24098. type: integer
  24099. - description: 每页条数
  24100. in: query
  24101. name: pagesize
  24102. type: integer
  24103. - description: 资金账户列表,格式:1,2,3
  24104. in: query
  24105. name: accountIDs
  24106. required: true
  24107. type: string
  24108. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  24109. in: query
  24110. name: orderType
  24111. type: integer
  24112. produces:
  24113. - application/json
  24114. responses:
  24115. "200":
  24116. description: OK
  24117. schema:
  24118. $ref: '#/definitions/models.HsbySellMyDetail'
  24119. "500":
  24120. description: Internal Server Error
  24121. schema:
  24122. $ref: '#/definitions/app.Response'
  24123. security:
  24124. - ApiKeyAuth: []
  24125. summary: 查询"我的闲置"单据信息
  24126. tags:
  24127. - 定制【海商报业】
  24128. /HSBY/QueryHsbyTopGoodses:
  24129. get:
  24130. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  24131. parameters:
  24132. - description: 页码
  24133. in: query
  24134. name: page
  24135. type: integer
  24136. - description: 每页条数
  24137. in: query
  24138. name: pagesize
  24139. type: integer
  24140. - description: 市场ID列表,格式:1,2,3
  24141. in: query
  24142. name: marketIDs
  24143. required: true
  24144. type: string
  24145. - description: 目的地(省)ID
  24146. in: query
  24147. name: descProvinceID
  24148. type: integer
  24149. - description: 目的地(市)ID
  24150. in: query
  24151. name: descCityID
  24152. type: integer
  24153. produces:
  24154. - application/json
  24155. responses:
  24156. "200":
  24157. description: OK
  24158. schema:
  24159. $ref: '#/definitions/models.HsbyTopGoods'
  24160. "500":
  24161. description: Internal Server Error
  24162. schema:
  24163. $ref: '#/definitions/app.Response'
  24164. security:
  24165. - ApiKeyAuth: []
  24166. summary: 查询热卖商品列表(二级市场挂牌点选)
  24167. tags:
  24168. - 定制【海商报业】
  24169. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  24170. get:
  24171. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  24172. parameters:
  24173. - description: 商品ID
  24174. in: query
  24175. name: goodsID
  24176. required: true
  24177. type: integer
  24178. produces:
  24179. - application/json
  24180. responses:
  24181. "200":
  24182. description: OK
  24183. schema:
  24184. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  24185. "500":
  24186. description: Internal Server Error
  24187. schema:
  24188. $ref: '#/definitions/app.Response'
  24189. security:
  24190. - ApiKeyAuth: []
  24191. summary: 查询游客三级市场(商城)商品信息详情
  24192. tags:
  24193. - 定制【海商报业】
  24194. /HSBY/QueryHsbyVisitorMarketGoodses:
  24195. get:
  24196. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  24197. parameters:
  24198. - description: 页码
  24199. in: query
  24200. name: page
  24201. type: integer
  24202. - description: 每页条数
  24203. in: query
  24204. name: pagesize
  24205. type: integer
  24206. - description: 市场ID列表,格式:1,2,3
  24207. in: query
  24208. name: marketIDs
  24209. required: true
  24210. type: string
  24211. - description: 类别ID
  24212. in: query
  24213. name: categoryID
  24214. type: integer
  24215. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  24216. in: query
  24217. name: goodsIDs
  24218. type: string
  24219. produces:
  24220. - application/json
  24221. responses:
  24222. "200":
  24223. description: OK
  24224. schema:
  24225. $ref: '#/definitions/models.HsbyMarketGoods'
  24226. "500":
  24227. description: Internal Server Error
  24228. schema:
  24229. $ref: '#/definitions/app.Response'
  24230. security:
  24231. - ApiKeyAuth: []
  24232. summary: 查询游客特卖商品列表(三级商城)
  24233. tags:
  24234. - 定制【海商报业】
  24235. /HSBY/QueryMyCollectionOrders:
  24236. get:
  24237. parameters:
  24238. - description: 页码
  24239. in: query
  24240. name: page
  24241. type: integer
  24242. - description: 每页条数
  24243. in: query
  24244. name: pagesize
  24245. type: integer
  24246. - description: 资金账户,格式:1,2,3
  24247. in: query
  24248. name: accountIDs
  24249. required: true
  24250. type: string
  24251. produces:
  24252. - application/json
  24253. responses:
  24254. "200":
  24255. description: OK
  24256. schema:
  24257. $ref: '#/definitions/models.HsbySellCollectionOrder'
  24258. "500":
  24259. description: Internal Server Error
  24260. schema:
  24261. $ref: '#/definitions/app.Response'
  24262. security:
  24263. - ApiKeyAuth: []
  24264. summary: 我的闲置中收款信息查询
  24265. tags:
  24266. - 定制【海商报业】
  24267. /HSBY/QueryMyCouponHolds:
  24268. get:
  24269. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  24270. parameters:
  24271. - description: 资金账户列表,格式:1,2,3
  24272. in: query
  24273. name: accountIDs
  24274. required: true
  24275. type: string
  24276. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  24277. in: query
  24278. name: holdStatus
  24279. type: string
  24280. produces:
  24281. - application/json
  24282. responses:
  24283. "200":
  24284. description: OK
  24285. schema:
  24286. $ref: '#/definitions/models.MyCouponHold'
  24287. "500":
  24288. description: Internal Server Error
  24289. schema:
  24290. $ref: '#/definitions/app.Response'
  24291. security:
  24292. - ApiKeyAuth: []
  24293. summary: 我的优惠卷持仓查询
  24294. tags:
  24295. - 定制【海商报业】
  24296. /HSBY/QueryMyCoupons:
  24297. get:
  24298. parameters:
  24299. - description: 资金账户列表,格式:1,2,3
  24300. in: query
  24301. name: accountIDs
  24302. required: true
  24303. type: string
  24304. - description: 商品ID, 一般与sellUserID配套传入
  24305. in: query
  24306. name: goodsID
  24307. type: integer
  24308. - description: 卖方UserID
  24309. in: query
  24310. name: sellUserID
  24311. type: integer
  24312. produces:
  24313. - application/json
  24314. responses:
  24315. "200":
  24316. description: OK
  24317. schema:
  24318. $ref: '#/definitions/models.MyCoupon'
  24319. "500":
  24320. description: Internal Server Error
  24321. schema:
  24322. $ref: '#/definitions/app.Response'
  24323. security:
  24324. - ApiKeyAuth: []
  24325. summary: 我的优惠卷查询
  24326. tags:
  24327. - 定制【海商报业】
  24328. /HSBY/QueryMyPayOrders:
  24329. get:
  24330. parameters:
  24331. - description: 页码
  24332. in: query
  24333. name: page
  24334. type: integer
  24335. - description: 每页条数
  24336. in: query
  24337. name: pagesize
  24338. type: integer
  24339. - description: 资金账户列表,格式:1,2,3
  24340. in: query
  24341. name: accountIDs
  24342. required: true
  24343. type: string
  24344. - description: 买方委托单号
  24345. in: query
  24346. name: buyOrderID
  24347. type: integer
  24348. - description: 卖方委托单号
  24349. in: query
  24350. name: sellOrderID
  24351. type: integer
  24352. produces:
  24353. - application/json
  24354. responses:
  24355. "200":
  24356. description: OK
  24357. schema:
  24358. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  24359. "500":
  24360. description: Internal Server Error
  24361. schema:
  24362. $ref: '#/definitions/app.Response'
  24363. security:
  24364. - ApiKeyAuth: []
  24365. summary: 获取我的订单中待付款信息
  24366. tags:
  24367. - 定制【海商报业】
  24368. /HSBY/QueryMyUsedCoupon:
  24369. get:
  24370. parameters:
  24371. - description: 资金账户列表,格式:1,2,3
  24372. in: query
  24373. name: accountIDs
  24374. required: true
  24375. type: string
  24376. produces:
  24377. - application/json
  24378. responses:
  24379. "200":
  24380. description: OK
  24381. schema:
  24382. $ref: '#/definitions/models.MyUsedCoupon'
  24383. "500":
  24384. description: Internal Server Error
  24385. schema:
  24386. $ref: '#/definitions/app.Response'
  24387. security:
  24388. - ApiKeyAuth: []
  24389. summary: 已使用优惠卷查询
  24390. tags:
  24391. - 定制【海商报业】
  24392. /HSBY/QueryProvincesAndCities:
  24393. get:
  24394. description: 查询结果只包括二级市场商品已关连的省市信息。
  24395. parameters:
  24396. - description: 省ID
  24397. in: query
  24398. name: provinceID
  24399. type: integer
  24400. produces:
  24401. - application/json
  24402. responses:
  24403. "200":
  24404. description: OK
  24405. schema:
  24406. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  24407. "500":
  24408. description: Internal Server Error
  24409. schema:
  24410. $ref: '#/definitions/app.Response'
  24411. security:
  24412. - ApiKeyAuth: []
  24413. summary: 查询省市信息(不包括区)
  24414. tags:
  24415. - 定制【海商报业】
  24416. /HSBY/SetHsbyMyPackagesStatus:
  24417. post:
  24418. parameters:
  24419. - description: 提货单号
  24420. in: query
  24421. name: takeOrderID
  24422. required: true
  24423. type: string
  24424. - description: 资金账号
  24425. in: query
  24426. name: accountID
  24427. required: true
  24428. type: integer
  24429. produces:
  24430. - application/json
  24431. responses:
  24432. "200":
  24433. description: OK
  24434. schema:
  24435. $ref: '#/definitions/app.Response'
  24436. "500":
  24437. description: Internal Server Error
  24438. schema:
  24439. $ref: '#/definitions/app.Response'
  24440. security:
  24441. - ApiKeyAuth: []
  24442. summary: 设置我的包裹已收货状态
  24443. tags:
  24444. - 定制【海商报业】
  24445. /Market/GetAllExExchanges:
  24446. get:
  24447. produces:
  24448. - application/json
  24449. responses:
  24450. "200":
  24451. description: OK
  24452. schema:
  24453. $ref: '#/definitions/models.Goods'
  24454. "500":
  24455. description: Internal Server Error
  24456. schema:
  24457. $ref: '#/definitions/app.Response'
  24458. security:
  24459. - ApiKeyAuth: []
  24460. summary: 获取所有外部交易所信息
  24461. tags:
  24462. - 通用市场
  24463. /Market/QueryGoodsesByLoginID:
  24464. get:
  24465. parameters:
  24466. - description: 登录账号
  24467. in: query
  24468. name: loginID
  24469. required: true
  24470. type: integer
  24471. - description: 市场ID列表,格式:1,2,3
  24472. in: query
  24473. name: marketIDs
  24474. type: string
  24475. produces:
  24476. - application/json
  24477. responses:
  24478. "200":
  24479. description: OK
  24480. schema:
  24481. $ref: '#/definitions/models.Goods'
  24482. "500":
  24483. description: Internal Server Error
  24484. schema:
  24485. $ref: '#/definitions/app.Response'
  24486. security:
  24487. - ApiKeyAuth: []
  24488. summary: 获取登录账号有权限的商品信息
  24489. tags:
  24490. - 通用市场
  24491. /Market/QueryMarketRun:
  24492. get:
  24493. parameters:
  24494. - description: 市场ID,不传返回所有
  24495. in: query
  24496. name: marketID
  24497. type: integer
  24498. produces:
  24499. - application/json
  24500. responses:
  24501. "200":
  24502. description: OK
  24503. schema:
  24504. $ref: '#/definitions/models.Marketrun'
  24505. "500":
  24506. description: Internal Server Error
  24507. schema:
  24508. $ref: '#/definitions/app.Response'
  24509. security:
  24510. - ApiKeyAuth: []
  24511. summary: 查询市场运行信息
  24512. tags:
  24513. - 通用市场
  24514. /Market/QueryMarketsByLoginID:
  24515. get:
  24516. parameters:
  24517. - description: 登录账号
  24518. in: query
  24519. name: loginID
  24520. required: true
  24521. type: integer
  24522. produces:
  24523. - application/json
  24524. responses:
  24525. "200":
  24526. description: OK
  24527. schema:
  24528. $ref: '#/definitions/models.Market'
  24529. "500":
  24530. description: Internal Server Error
  24531. schema:
  24532. $ref: '#/definitions/app.Response'
  24533. security:
  24534. - ApiKeyAuth: []
  24535. summary: 获取登录账号有权限的市场信息
  24536. tags:
  24537. - 通用市场
  24538. /Order/QueryHisTradeDetail:
  24539. get:
  24540. parameters:
  24541. - description: 资金账户 - 格式:1,2,3
  24542. in: query
  24543. name: accountID
  24544. required: true
  24545. type: string
  24546. - description: 成交单号
  24547. in: query
  24548. name: tradeID
  24549. type: integer
  24550. - description: 委托单号
  24551. in: query
  24552. name: orderID
  24553. type: integer
  24554. - description: 商品ID
  24555. in: query
  24556. name: goodsID
  24557. type: integer
  24558. - description: 交易模式 - 格式:1,2,3
  24559. in: query
  24560. name: tradeMode
  24561. type: string
  24562. - description: 委托单据类型
  24563. in: query
  24564. name: buildType
  24565. type: integer
  24566. - description: 成交类别 - 格式:1,2,3
  24567. in: query
  24568. name: tradeType
  24569. type: string
  24570. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24571. in: query
  24572. name: startDate
  24573. type: string
  24574. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24575. in: query
  24576. name: endDate
  24577. type: string
  24578. produces:
  24579. - application/json
  24580. responses:
  24581. "200":
  24582. description: OK
  24583. schema:
  24584. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  24585. "500":
  24586. description: Internal Server Error
  24587. schema:
  24588. $ref: '#/definitions/app.Response'
  24589. security:
  24590. - ApiKeyAuth: []
  24591. summary: 历史成交单查询(合约市场)
  24592. tags:
  24593. - 通用单据
  24594. /Order/QueryHisTradeOrderDetail:
  24595. get:
  24596. parameters:
  24597. - description: 资金账户 - 格式:1,2,3
  24598. in: query
  24599. name: accountID
  24600. required: true
  24601. type: string
  24602. - description: 交易模式 - 格式:1,2,3
  24603. in: query
  24604. name: tradeMode
  24605. type: string
  24606. - description: 委托状态 - 格式:1,2,3
  24607. in: query
  24608. name: orderStatus
  24609. type: string
  24610. - description: 委托单号
  24611. in: query
  24612. name: orderID
  24613. type: integer
  24614. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24615. in: query
  24616. name: startDate
  24617. type: string
  24618. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24619. in: query
  24620. name: endDate
  24621. type: string
  24622. produces:
  24623. - application/json
  24624. responses:
  24625. "200":
  24626. description: OK
  24627. schema:
  24628. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  24629. "500":
  24630. description: Internal Server Error
  24631. schema:
  24632. $ref: '#/definitions/app.Response'
  24633. security:
  24634. - ApiKeyAuth: []
  24635. summary: 历史委托单查询请求(合约市场)
  24636. tags:
  24637. - 通用单据
  24638. /Order/QueryTradeDetail:
  24639. get:
  24640. parameters:
  24641. - description: 资金账户 - 格式:1,2,3
  24642. in: query
  24643. name: accountID
  24644. required: true
  24645. type: string
  24646. - description: 成交单号
  24647. in: query
  24648. name: tradeID
  24649. type: integer
  24650. - description: 委托单号
  24651. in: query
  24652. name: orderID
  24653. type: integer
  24654. - description: 交易模式 - 格式:1,2,3
  24655. in: query
  24656. name: tradeMode
  24657. type: string
  24658. - description: 委托单据类型
  24659. in: query
  24660. name: buildType
  24661. type: integer
  24662. - description: 成交类别 - 格式:1,2,3
  24663. in: query
  24664. name: tradeType
  24665. type: string
  24666. - description: 商品ID
  24667. in: query
  24668. name: goodsID
  24669. type: integer
  24670. produces:
  24671. - application/json
  24672. responses:
  24673. "200":
  24674. description: OK
  24675. schema:
  24676. $ref: '#/definitions/order.QueryTradeDetailRsp'
  24677. "500":
  24678. description: Internal Server Error
  24679. schema:
  24680. $ref: '#/definitions/app.Response'
  24681. security:
  24682. - ApiKeyAuth: []
  24683. summary: 成交单查询(合约市场)
  24684. tags:
  24685. - 通用单据
  24686. /Order/QueryTradeHolderDetail:
  24687. get:
  24688. parameters:
  24689. - description: 用户id
  24690. in: query
  24691. name: userid
  24692. type: integer
  24693. - description: 资金账号, 格式 1,2,3
  24694. in: query
  24695. name: accids
  24696. type: string
  24697. - description: 交易模式, 格式 1,2,3
  24698. in: query
  24699. name: trademodes
  24700. type: string
  24701. - description: 市场id, 格式 1,2,3
  24702. in: query
  24703. name: marketids
  24704. type: string
  24705. - description: 商品id
  24706. in: query
  24707. name: goodsid
  24708. type: integer
  24709. - description: 买卖方向 0-买 1-卖
  24710. in: query
  24711. name: buyorsell
  24712. type: integer
  24713. produces:
  24714. - application/json
  24715. responses:
  24716. "200":
  24717. description: OK
  24718. schema:
  24719. items:
  24720. $ref: '#/definitions/models.TradeHolderDetail'
  24721. type: array
  24722. "500":
  24723. description: Internal Server Error
  24724. schema:
  24725. $ref: '#/definitions/app.Response'
  24726. security:
  24727. - ApiKeyAuth: []
  24728. summary: 查询持仓明细
  24729. tags:
  24730. - 通用单据
  24731. /Order/QueryTradeOrderDetail:
  24732. get:
  24733. parameters:
  24734. - description: 资金账户 - 格式:1,2,3
  24735. in: query
  24736. name: accountID
  24737. required: true
  24738. type: string
  24739. - description: 交易模式 - 格式:1,2,3
  24740. in: query
  24741. name: tradeMode
  24742. type: string
  24743. - description: 委托状态 - 格式:1,2,3
  24744. in: query
  24745. name: orderStatus
  24746. type: string
  24747. - description: 委托单号
  24748. in: query
  24749. name: orderID
  24750. type: integer
  24751. produces:
  24752. - application/json
  24753. responses:
  24754. "200":
  24755. description: OK
  24756. schema:
  24757. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  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/QueryTradePosition:
  24768. get:
  24769. parameters:
  24770. - description: 资金账户 - 格式:1,2,3
  24771. in: query
  24772. name: accountID
  24773. required: true
  24774. type: string
  24775. - description: 交易模式 - 格式:1,2,3
  24776. in: query
  24777. name: tradeMode
  24778. type: string
  24779. produces:
  24780. - application/json
  24781. responses:
  24782. "200":
  24783. description: OK
  24784. schema:
  24785. $ref: '#/definitions/order.QueryTradePositionRsp'
  24786. "500":
  24787. description: Internal Server Error
  24788. schema:
  24789. $ref: '#/definitions/app.Response'
  24790. security:
  24791. - ApiKeyAuth: []
  24792. summary: 持仓汇总查询(合约市场)
  24793. tags:
  24794. - 通用单据
  24795. /Qhj/QueryAccountInOutApply:
  24796. get:
  24797. parameters:
  24798. - description: 用户ID
  24799. in: query
  24800. name: userid
  24801. required: true
  24802. type: integer
  24803. - description: 申请起始日期(格式yyyymmdd)
  24804. in: query
  24805. name: begindate
  24806. type: string
  24807. - description: 申请截止日期(格式yyyymmdd)
  24808. in: query
  24809. name: enddate
  24810. type: string
  24811. - description: 模糊搜索名称
  24812. in: query
  24813. name: likename
  24814. type: string
  24815. produces:
  24816. - application/json
  24817. responses:
  24818. "200":
  24819. description: OK
  24820. schema:
  24821. items:
  24822. $ref: '#/definitions/models.QhjAccountOutInApply'
  24823. type: array
  24824. "500":
  24825. description: Internal Server Error
  24826. schema:
  24827. $ref: '#/definitions/app.Response'
  24828. security:
  24829. - ApiKeyAuth: []
  24830. summary: 查询充值提现
  24831. tags:
  24832. - 大连千海金
  24833. /Qhj/QueryAreaFinanceConfig:
  24834. get:
  24835. parameters:
  24836. - description: 机构用户ID 其他做市关系,都设置为 1
  24837. in: query
  24838. name: userid
  24839. type: integer
  24840. produces:
  24841. - application/json
  24842. responses:
  24843. "200":
  24844. description: OK
  24845. schema:
  24846. items:
  24847. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  24848. type: array
  24849. "500":
  24850. description: Internal Server Error
  24851. schema:
  24852. $ref: '#/definitions/app.Response'
  24853. security:
  24854. - ApiKeyAuth: []
  24855. summary: 查询企业配置表
  24856. tags:
  24857. - 大连千海金
  24858. /Qhj/QueryBankAccountSign:
  24859. get:
  24860. parameters:
  24861. - description: 用户ID
  24862. in: query
  24863. name: userid
  24864. required: true
  24865. type: integer
  24866. produces:
  24867. - application/json
  24868. responses:
  24869. "200":
  24870. description: OK
  24871. schema:
  24872. items:
  24873. $ref: '#/definitions/models.QhjBankAccountSign'
  24874. type: array
  24875. "500":
  24876. description: Internal Server Error
  24877. schema:
  24878. $ref: '#/definitions/app.Response'
  24879. security:
  24880. - ApiKeyAuth: []
  24881. summary: 查询签约银行信息(提现账户管理)
  24882. tags:
  24883. - 大连千海金
  24884. /Qhj/QueryBankInfo:
  24885. get:
  24886. produces:
  24887. - application/json
  24888. responses:
  24889. "200":
  24890. description: OK
  24891. schema:
  24892. items:
  24893. $ref: '#/definitions/models.QhjBankInfo'
  24894. type: array
  24895. "500":
  24896. description: Internal Server Error
  24897. schema:
  24898. $ref: '#/definitions/app.Response'
  24899. security:
  24900. - ApiKeyAuth: []
  24901. summary: 查询开户行
  24902. tags:
  24903. - 大连千海金
  24904. /Qhj/QueryBrokerApply:
  24905. get:
  24906. parameters:
  24907. - description: 所属机构ID
  24908. in: query
  24909. name: userid
  24910. type: integer
  24911. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24912. in: query
  24913. name: filterstatus
  24914. type: string
  24915. produces:
  24916. - application/json
  24917. responses:
  24918. "200":
  24919. description: OK
  24920. schema:
  24921. items:
  24922. $ref: '#/definitions/models.QhjBrokerApply'
  24923. type: array
  24924. "500":
  24925. description: Internal Server Error
  24926. schema:
  24927. $ref: '#/definitions/app.Response'
  24928. security:
  24929. - ApiKeyAuth: []
  24930. summary: 查询经纪人申请
  24931. tags:
  24932. - 大连千海金
  24933. /Qhj/QueryBrokerApplyEx:
  24934. get:
  24935. parameters:
  24936. - description: 所属机构ID
  24937. in: query
  24938. name: userid
  24939. type: integer
  24940. produces:
  24941. - application/json
  24942. responses:
  24943. "200":
  24944. description: OK
  24945. schema:
  24946. items:
  24947. $ref: '#/definitions/models.QhjBrokerApplyEx'
  24948. type: array
  24949. "500":
  24950. description: Internal Server Error
  24951. schema:
  24952. $ref: '#/definitions/app.Response'
  24953. security:
  24954. - ApiKeyAuth: []
  24955. summary: 查询经纪人信息和申请记录
  24956. tags:
  24957. - 大连千海金
  24958. /Qhj/QueryBrokerRewardLog:
  24959. get:
  24960. parameters:
  24961. - description: 用户ID
  24962. in: query
  24963. name: userid
  24964. required: true
  24965. type: integer
  24966. - description: 开始交易日(yyyymmdd)
  24967. in: query
  24968. name: begindate
  24969. type: string
  24970. - description: 结束交易日(yyyymmdd)
  24971. in: query
  24972. name: enddate
  24973. type: string
  24974. produces:
  24975. - application/json
  24976. responses:
  24977. "200":
  24978. description: OK
  24979. schema:
  24980. items:
  24981. $ref: '#/definitions/models.QhjBrokerRewardLog'
  24982. type: array
  24983. "500":
  24984. description: Internal Server Error
  24985. schema:
  24986. $ref: '#/definitions/app.Response'
  24987. security:
  24988. - ApiKeyAuth: []
  24989. summary: 查询奖励流水(我的奖励)
  24990. tags:
  24991. - 大连千海金
  24992. /Qhj/QueryContract:
  24993. get:
  24994. parameters:
  24995. - description: 用户ID
  24996. in: query
  24997. name: userid
  24998. type: integer
  24999. - description: scf合同id
  25000. in: query
  25001. name: scfcontractid
  25002. type: integer
  25003. produces:
  25004. - application/json
  25005. responses:
  25006. "200":
  25007. description: OK
  25008. schema:
  25009. items:
  25010. $ref: '#/definitions/models.QhjContract'
  25011. type: array
  25012. "500":
  25013. description: Internal Server Error
  25014. schema:
  25015. $ref: '#/definitions/app.Response'
  25016. security:
  25017. - ApiKeyAuth: []
  25018. summary: 查询融资明细(合同)
  25019. tags:
  25020. - 大连千海金
  25021. /Qhj/QueryContractLog:
  25022. get:
  25023. parameters:
  25024. - description: scf合同id
  25025. in: query
  25026. name: scfcontractid
  25027. required: true
  25028. type: integer
  25029. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  25030. in: query
  25031. name: amounttype
  25032. type: string
  25033. produces:
  25034. - application/json
  25035. responses:
  25036. "200":
  25037. description: OK
  25038. schema:
  25039. items:
  25040. $ref: '#/definitions/models.QhjContractLog'
  25041. type: array
  25042. "500":
  25043. description: Internal Server Error
  25044. schema:
  25045. $ref: '#/definitions/app.Response'
  25046. security:
  25047. - ApiKeyAuth: []
  25048. summary: 查询融资明细流水(融资明细详情页中的流水)
  25049. tags:
  25050. - 大连千海金
  25051. /Qhj/QueryCusBankSignBank:
  25052. get:
  25053. produces:
  25054. - application/json
  25055. responses:
  25056. "200":
  25057. description: OK
  25058. schema:
  25059. items:
  25060. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  25061. type: array
  25062. "500":
  25063. description: Internal Server Error
  25064. schema:
  25065. $ref: '#/definitions/app.Response'
  25066. security:
  25067. - ApiKeyAuth: []
  25068. summary: 查询托管银行
  25069. tags:
  25070. - 大连千海金
  25071. /Qhj/QueryCustomerInfo:
  25072. get:
  25073. parameters:
  25074. - description: 用户ID
  25075. in: query
  25076. name: userid
  25077. required: true
  25078. type: integer
  25079. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  25080. in: query
  25081. name: querytype
  25082. required: true
  25083. type: integer
  25084. - description: 客户类型 1-个人 2-企业
  25085. in: query
  25086. name: userinfotype
  25087. type: integer
  25088. - description: 客户名称(模糊匹配)
  25089. in: query
  25090. name: customername
  25091. type: string
  25092. - description: 昵称(模糊匹配)
  25093. in: query
  25094. name: nickname
  25095. type: string
  25096. - description: 是否包含子级 1-包含
  25097. in: query
  25098. name: includesub
  25099. type: integer
  25100. produces:
  25101. - application/json
  25102. responses:
  25103. "200":
  25104. description: OK
  25105. schema:
  25106. items:
  25107. $ref: '#/definitions/models.QhjCustomer'
  25108. type: array
  25109. "500":
  25110. description: Internal Server Error
  25111. schema:
  25112. $ref: '#/definitions/app.Response'
  25113. security:
  25114. - ApiKeyAuth: []
  25115. summary: 查询客户资料
  25116. tags:
  25117. - 大连千海金
  25118. /Qhj/QueryGoodsEx:
  25119. get:
  25120. parameters:
  25121. - description: 商品id
  25122. in: query
  25123. name: goodsid
  25124. type: integer
  25125. produces:
  25126. - application/json
  25127. responses:
  25128. "200":
  25129. description: OK
  25130. schema:
  25131. items:
  25132. $ref: '#/definitions/models.Qhjgoodsex'
  25133. type: array
  25134. "500":
  25135. description: Internal Server Error
  25136. schema:
  25137. $ref: '#/definitions/app.Response'
  25138. security:
  25139. - ApiKeyAuth: []
  25140. summary: 交易商品扩展表
  25141. tags:
  25142. - 大连千海金
  25143. /Qhj/QueryMyTeam:
  25144. get:
  25145. parameters:
  25146. - description: 用户ID
  25147. in: query
  25148. name: userid
  25149. required: true
  25150. type: integer
  25151. produces:
  25152. - application/json
  25153. responses:
  25154. "200":
  25155. description: OK
  25156. schema:
  25157. items:
  25158. $ref: '#/definitions/models.QhjMyTeamEx'
  25159. type: array
  25160. "500":
  25161. description: Internal Server Error
  25162. schema:
  25163. $ref: '#/definitions/app.Response'
  25164. security:
  25165. - ApiKeyAuth: []
  25166. summary: 查询我的团队
  25167. tags:
  25168. - 大连千海金
  25169. /Qhj/QueryMyTeamOrder:
  25170. get:
  25171. parameters:
  25172. - description: 页码
  25173. in: query
  25174. name: page
  25175. type: integer
  25176. - description: 每页条数
  25177. in: query
  25178. name: pagesize
  25179. type: integer
  25180. - description: 用户ID
  25181. in: query
  25182. name: userid
  25183. required: true
  25184. type: integer
  25185. - description: 交易模式
  25186. in: query
  25187. name: trademode
  25188. type: integer
  25189. - description: 名称(模糊搜索账户)
  25190. in: query
  25191. name: filtername
  25192. type: string
  25193. produces:
  25194. - application/json
  25195. responses:
  25196. "200":
  25197. description: OK
  25198. schema:
  25199. items:
  25200. $ref: '#/definitions/models.QhjTeamOrder'
  25201. type: array
  25202. "500":
  25203. description: Internal Server Error
  25204. schema:
  25205. $ref: '#/definitions/app.Response'
  25206. security:
  25207. - ApiKeyAuth: []
  25208. summary: 查询团队订单(我的团队/团队订单)
  25209. tags:
  25210. - 大连千海金
  25211. /Qhj/QueryParentAreaList:
  25212. get:
  25213. parameters:
  25214. - description: 用户ID
  25215. in: query
  25216. name: userid
  25217. required: true
  25218. type: integer
  25219. produces:
  25220. - application/json
  25221. responses:
  25222. "200":
  25223. description: OK
  25224. schema:
  25225. items:
  25226. $ref: '#/definitions/models.QhjParentAreaList'
  25227. type: array
  25228. "500":
  25229. description: Internal Server Error
  25230. schema:
  25231. $ref: '#/definitions/app.Response'
  25232. security:
  25233. - ApiKeyAuth: []
  25234. summary: 查询所属机构列表
  25235. tags:
  25236. - 大连千海金
  25237. /Qhj/QueryPayOrder:
  25238. get:
  25239. parameters:
  25240. - description: 资金账号id
  25241. in: query
  25242. name: accountid
  25243. required: true
  25244. type: integer
  25245. - description: 成交单号
  25246. in: query
  25247. name: tradeid
  25248. type: integer
  25249. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  25250. in: query
  25251. name: payflag
  25252. type: string
  25253. produces:
  25254. - application/json
  25255. responses:
  25256. "200":
  25257. description: OK
  25258. schema:
  25259. items:
  25260. $ref: '#/definitions/models.QhjPayOrder'
  25261. type: array
  25262. "500":
  25263. description: Internal Server Error
  25264. schema:
  25265. $ref: '#/definitions/app.Response'
  25266. security:
  25267. - ApiKeyAuth: []
  25268. summary: 查询待付款单据
  25269. tags:
  25270. - 大连千海金
  25271. /Qhj/QueryPickArea:
  25272. get:
  25273. parameters:
  25274. - description: 用户ID
  25275. in: query
  25276. name: userid
  25277. type: integer
  25278. produces:
  25279. - application/json
  25280. responses:
  25281. "200":
  25282. description: OK
  25283. schema:
  25284. items:
  25285. $ref: '#/definitions/models.QhjPickArea'
  25286. type: array
  25287. "500":
  25288. description: Internal Server Error
  25289. schema:
  25290. $ref: '#/definitions/app.Response'
  25291. security:
  25292. - ApiKeyAuth: []
  25293. summary: 查询提货门店
  25294. tags:
  25295. - 大连千海金
  25296. /Qhj/QueryPickGoods:
  25297. get:
  25298. parameters:
  25299. - description: 交易商品id
  25300. in: query
  25301. name: goodsid
  25302. required: true
  25303. type: integer
  25304. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  25305. in: query
  25306. name: status
  25307. type: string
  25308. produces:
  25309. - application/json
  25310. responses:
  25311. "200":
  25312. description: OK
  25313. schema:
  25314. items:
  25315. $ref: '#/definitions/models.QhjPickGoods'
  25316. type: array
  25317. "500":
  25318. description: Internal Server Error
  25319. schema:
  25320. $ref: '#/definitions/app.Response'
  25321. security:
  25322. - ApiKeyAuth: []
  25323. summary: 查询提货商品
  25324. tags:
  25325. - 大连千海金
  25326. /Qhj/QueryRSTriggerLog:
  25327. get:
  25328. parameters:
  25329. - description: 用户ID
  25330. in: query
  25331. name: userid
  25332. type: integer
  25333. - description: 定投策略id
  25334. in: query
  25335. name: regularlystrategyid
  25336. type: integer
  25337. - description: 商品id
  25338. in: query
  25339. name: goodsid
  25340. type: integer
  25341. - description: 开始交易日(yyyymmdd)
  25342. in: query
  25343. name: begindate
  25344. type: string
  25345. - description: 结束交易日(yyyymmdd)
  25346. in: query
  25347. name: enddate
  25348. type: string
  25349. - description: 名称(模糊搜索账户)
  25350. in: query
  25351. name: filtername
  25352. type: string
  25353. produces:
  25354. - application/json
  25355. responses:
  25356. "200":
  25357. description: OK
  25358. schema:
  25359. items:
  25360. $ref: '#/definitions/models.QhjRSTriggerLog'
  25361. type: array
  25362. "500":
  25363. description: Internal Server Error
  25364. schema:
  25365. $ref: '#/definitions/app.Response'
  25366. security:
  25367. - ApiKeyAuth: []
  25368. summary: 查询定投记录(定投管理/详情/定投记录)
  25369. tags:
  25370. - 大连千海金
  25371. /Qhj/QueryRStrategy:
  25372. get:
  25373. parameters:
  25374. - description: 用户ID
  25375. in: query
  25376. name: userid
  25377. type: integer
  25378. - description: 商品id
  25379. in: query
  25380. name: goodsid
  25381. type: integer
  25382. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  25383. in: query
  25384. name: status
  25385. type: string
  25386. - description: 名称(模糊搜索账户)
  25387. in: query
  25388. name: filtername
  25389. type: string
  25390. produces:
  25391. - application/json
  25392. responses:
  25393. "200":
  25394. description: OK
  25395. schema:
  25396. items:
  25397. $ref: '#/definitions/models.QhjRStrategy'
  25398. type: array
  25399. "500":
  25400. description: Internal Server Error
  25401. schema:
  25402. $ref: '#/definitions/app.Response'
  25403. security:
  25404. - ApiKeyAuth: []
  25405. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  25406. tags:
  25407. - 大连千海金
  25408. /Qhj/QueryReckonPriceLog:
  25409. get:
  25410. parameters:
  25411. - description: 商品ID
  25412. in: query
  25413. name: goodsid
  25414. type: integer
  25415. - description: 交易日 格式(yyyymmdd)
  25416. in: query
  25417. name: tradedate
  25418. type: string
  25419. produces:
  25420. - application/json
  25421. responses:
  25422. "200":
  25423. description: OK
  25424. schema:
  25425. items:
  25426. $ref: '#/definitions/models.QhjReckonPriceLog'
  25427. type: array
  25428. "500":
  25429. description: Internal Server Error
  25430. schema:
  25431. $ref: '#/definitions/app.Response'
  25432. security:
  25433. - ApiKeyAuth: []
  25434. summary: 查询定投价(结算价)
  25435. tags:
  25436. - 大连千海金
  25437. /Qhj/QueryScoreLog:
  25438. get:
  25439. parameters:
  25440. - description: 用户ID
  25441. in: query
  25442. name: userid
  25443. required: true
  25444. type: integer
  25445. - description: 开始交易日(yyyymmdd)
  25446. in: query
  25447. name: begindate
  25448. type: string
  25449. - description: 结束交易日(yyyymmdd)
  25450. in: query
  25451. name: enddate
  25452. type: string
  25453. - description: 最近多少条
  25454. in: query
  25455. name: lastnum
  25456. type: integer
  25457. produces:
  25458. - application/json
  25459. responses:
  25460. "200":
  25461. description: OK
  25462. schema:
  25463. items:
  25464. $ref: '#/definitions/models.QhjScoreLog'
  25465. type: array
  25466. "500":
  25467. description: Internal Server Error
  25468. schema:
  25469. $ref: '#/definitions/app.Response'
  25470. security:
  25471. - ApiKeyAuth: []
  25472. summary: 查询积分流水(我的积分)
  25473. tags:
  25474. - 大连千海金
  25475. /Qhj/QuerySiteColumnDetail:
  25476. get:
  25477. parameters:
  25478. - description: 用户ID
  25479. in: query
  25480. name: userid
  25481. required: true
  25482. type: integer
  25483. produces:
  25484. - application/json
  25485. responses:
  25486. "200":
  25487. description: OK
  25488. schema:
  25489. items:
  25490. $ref: '#/definitions/models.QhjSiteColumnDetail'
  25491. type: array
  25492. "500":
  25493. description: Internal Server Error
  25494. schema:
  25495. $ref: '#/definitions/app.Response'
  25496. security:
  25497. - ApiKeyAuth: []
  25498. summary: 查询资讯
  25499. tags:
  25500. - 大连千海金
  25501. /Qhj/QueryTradeGoodsPickup:
  25502. get:
  25503. parameters:
  25504. - description: 用户ID
  25505. in: query
  25506. name: userid
  25507. required: true
  25508. type: integer
  25509. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  25510. 7:已拒绝 8:已撤销
  25511. in: query
  25512. name: takeorderstatus
  25513. type: integer
  25514. produces:
  25515. - application/json
  25516. responses:
  25517. "200":
  25518. description: OK
  25519. schema:
  25520. items:
  25521. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  25522. type: array
  25523. "500":
  25524. description: Internal Server Error
  25525. schema:
  25526. $ref: '#/definitions/app.Response'
  25527. security:
  25528. - ApiKeyAuth: []
  25529. summary: 查询提货
  25530. tags:
  25531. - 大连千海金
  25532. /Qhj/QueryUserCollectConfig:
  25533. get:
  25534. parameters:
  25535. - description: 用户ID
  25536. in: query
  25537. name: userid
  25538. required: true
  25539. type: integer
  25540. produces:
  25541. - application/json
  25542. responses:
  25543. "200":
  25544. description: OK
  25545. schema:
  25546. items:
  25547. $ref: '#/definitions/models.UserCollectConfig'
  25548. type: array
  25549. "500":
  25550. description: Internal Server Error
  25551. schema:
  25552. $ref: '#/definitions/app.Response'
  25553. security:
  25554. - ApiKeyAuth: []
  25555. summary: 查询提现账户设置
  25556. tags:
  25557. - 大连千海金
  25558. /Qhj/QueryUserReceiveInfo:
  25559. get:
  25560. parameters:
  25561. - description: 用户ID
  25562. in: query
  25563. name: userid
  25564. required: true
  25565. type: integer
  25566. produces:
  25567. - application/json
  25568. responses:
  25569. "200":
  25570. description: OK
  25571. schema:
  25572. items:
  25573. $ref: '#/definitions/models.UserReceiveInfo'
  25574. type: array
  25575. "500":
  25576. description: Internal Server Error
  25577. schema:
  25578. $ref: '#/definitions/app.Response'
  25579. security:
  25580. - ApiKeyAuth: []
  25581. summary: 查询收货地址信息
  25582. tags:
  25583. - 大连千海金
  25584. /QhjMgr/QueryAccountInOutApply:
  25585. get:
  25586. parameters:
  25587. - description: 查询类型 1-提现(出金) 2-充值(出金)
  25588. in: query
  25589. name: querytype
  25590. required: true
  25591. type: integer
  25592. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  25593. in: query
  25594. name: applystatus
  25595. type: integer
  25596. - description: 申请起始日期(格式yyyymmdd)
  25597. in: query
  25598. name: begindate
  25599. type: string
  25600. - description: 申请截止日期(格式yyyymmdd)
  25601. in: query
  25602. name: enddate
  25603. type: string
  25604. - description: 模糊搜索名称
  25605. in: query
  25606. name: likename
  25607. type: string
  25608. produces:
  25609. - application/json
  25610. responses:
  25611. "200":
  25612. description: OK
  25613. schema:
  25614. items:
  25615. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  25616. type: array
  25617. "500":
  25618. description: Internal Server Error
  25619. schema:
  25620. $ref: '#/definitions/app.Response'
  25621. security:
  25622. - ApiKeyAuth: []
  25623. summary: 查询充值提现
  25624. tags:
  25625. - 大连千海金(PCWeb)
  25626. /QhjMgr/QueryBrokerApply:
  25627. get:
  25628. parameters:
  25629. - description: 所属机构ID
  25630. in: query
  25631. name: userid
  25632. type: integer
  25633. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25634. in: query
  25635. name: filterstatus
  25636. type: string
  25637. - description: 名称(模糊匹配)
  25638. in: query
  25639. name: filtername
  25640. type: string
  25641. - description: 是否包含子级 1-包含
  25642. in: query
  25643. name: includesub
  25644. type: integer
  25645. produces:
  25646. - application/json
  25647. responses:
  25648. "200":
  25649. description: OK
  25650. schema:
  25651. items:
  25652. $ref: '#/definitions/models.QhjMgrBrokerApply'
  25653. type: array
  25654. "500":
  25655. description: Internal Server Error
  25656. schema:
  25657. $ref: '#/definitions/app.Response'
  25658. security:
  25659. - ApiKeyAuth: []
  25660. summary: 查询经纪人申请
  25661. tags:
  25662. - 大连千海金(PCWeb)
  25663. /QhjMgr/QueryBrokerRewardReport:
  25664. get:
  25665. parameters:
  25666. - description: 所属机构ID
  25667. in: query
  25668. name: userid
  25669. required: true
  25670. type: integer
  25671. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25672. in: query
  25673. name: cycletype
  25674. required: true
  25675. type: integer
  25676. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  25677. in: query
  25678. name: cycletime
  25679. required: true
  25680. type: string
  25681. - description: 名称(模糊匹配)
  25682. in: query
  25683. name: filtername
  25684. type: string
  25685. - description: 是否包含子级 1-包含
  25686. in: query
  25687. name: includesub
  25688. type: integer
  25689. produces:
  25690. - application/json
  25691. responses:
  25692. "200":
  25693. description: OK
  25694. schema:
  25695. items:
  25696. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  25697. type: array
  25698. "500":
  25699. description: Internal Server Error
  25700. schema:
  25701. $ref: '#/definitions/app.Response'
  25702. security:
  25703. - ApiKeyAuth: []
  25704. summary: 查询经纪人奖励报表(废弃)
  25705. tags:
  25706. - 大连千海金(PCWeb)
  25707. /QhjMgr/QueryContract:
  25708. get:
  25709. parameters:
  25710. - description: 用户ID
  25711. in: query
  25712. name: userid
  25713. type: integer
  25714. - description: 商品id
  25715. in: query
  25716. name: goodsid
  25717. type: integer
  25718. - description: 名称(模糊搜索账户)
  25719. in: query
  25720. name: filtername
  25721. type: string
  25722. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  25723. in: query
  25724. name: risklevel
  25725. type: string
  25726. - description: 开始交易日(yyyymmdd)
  25727. in: query
  25728. name: begindate
  25729. type: string
  25730. - description: 结束交易日(yyyymmdd)
  25731. in: query
  25732. name: enddate
  25733. type: string
  25734. produces:
  25735. - application/json
  25736. responses:
  25737. "200":
  25738. description: OK
  25739. schema:
  25740. items:
  25741. $ref: '#/definitions/models.QhjMgrContract'
  25742. type: array
  25743. "500":
  25744. description: Internal Server Error
  25745. schema:
  25746. $ref: '#/definitions/app.Response'
  25747. security:
  25748. - ApiKeyAuth: []
  25749. summary: 查询融资信息(合同)
  25750. tags:
  25751. - 大连千海金(PCWeb)
  25752. /QhjMgr/QueryCustomerInfo:
  25753. get:
  25754. parameters:
  25755. - description: 用户ID
  25756. in: query
  25757. name: userid
  25758. required: true
  25759. type: integer
  25760. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  25761. in: query
  25762. name: querytype
  25763. required: true
  25764. type: integer
  25765. - description: 客户类型 1-个人 2-企业
  25766. in: query
  25767. name: userinfotype
  25768. type: integer
  25769. - description: 客户名称(模糊匹配)
  25770. in: query
  25771. name: customername
  25772. type: string
  25773. - description: 昵称(模糊匹配)
  25774. in: query
  25775. name: nickname
  25776. type: string
  25777. - description: 所属客户经理(模糊匹配)
  25778. in: query
  25779. name: brokername
  25780. type: string
  25781. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  25782. 如0503 -5月3日)
  25783. in: query
  25784. name: birthday
  25785. type: string
  25786. - description: 是否包含子级 1-包含
  25787. in: query
  25788. name: includesub
  25789. type: integer
  25790. produces:
  25791. - application/json
  25792. responses:
  25793. "200":
  25794. description: OK
  25795. schema:
  25796. items:
  25797. $ref: '#/definitions/models.QhjMgrCustomer'
  25798. type: array
  25799. "500":
  25800. description: Internal Server Error
  25801. schema:
  25802. $ref: '#/definitions/app.Response'
  25803. security:
  25804. - ApiKeyAuth: []
  25805. summary: 查询客户资料
  25806. tags:
  25807. - 大连千海金(PCWeb)
  25808. /QhjMgr/QueryPickGoods:
  25809. get:
  25810. parameters:
  25811. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  25812. in: query
  25813. name: status
  25814. type: string
  25815. produces:
  25816. - application/json
  25817. responses:
  25818. "200":
  25819. description: OK
  25820. schema:
  25821. items:
  25822. $ref: '#/definitions/models.QhjMgrPickGoods'
  25823. type: array
  25824. "500":
  25825. description: Internal Server Error
  25826. schema:
  25827. $ref: '#/definitions/app.Response'
  25828. security:
  25829. - ApiKeyAuth: []
  25830. summary: 查询提货商品
  25831. tags:
  25832. - 大连千海金(PCWeb)
  25833. /QhjMgr/QuerySubArea:
  25834. get:
  25835. parameters:
  25836. - description: 用户ID
  25837. in: query
  25838. name: userid
  25839. required: true
  25840. type: integer
  25841. produces:
  25842. - application/json
  25843. responses:
  25844. "200":
  25845. description: OK
  25846. schema:
  25847. items:
  25848. $ref: '#/definitions/models.QhjMgrSubArea'
  25849. type: array
  25850. "500":
  25851. description: Internal Server Error
  25852. schema:
  25853. $ref: '#/definitions/app.Response'
  25854. security:
  25855. - ApiKeyAuth: []
  25856. summary: 查询子机构列表
  25857. tags:
  25858. - 大连千海金(PCWeb)
  25859. /QhjMgr/QueryTradeDetail:
  25860. get:
  25861. parameters:
  25862. - description: 用户ID
  25863. in: query
  25864. name: userid
  25865. required: true
  25866. type: integer
  25867. - description: 用户类型 1-个人 2-企业
  25868. in: query
  25869. name: userinfotype
  25870. type: integer
  25871. - description: 交易模式
  25872. in: query
  25873. name: trademode
  25874. type: integer
  25875. - description: 商品id
  25876. in: query
  25877. name: goodsid
  25878. type: integer
  25879. - description: 名称(模糊搜索账户)
  25880. in: query
  25881. name: filtername
  25882. type: string
  25883. - description: 开始交易日(yyyymmdd)
  25884. in: query
  25885. name: begindate
  25886. type: string
  25887. - description: 结束交易日(yyyymmdd)
  25888. in: query
  25889. name: enddate
  25890. type: string
  25891. - description: 是否包含子级 1-包含
  25892. in: query
  25893. name: includesub
  25894. type: integer
  25895. produces:
  25896. - application/json
  25897. responses:
  25898. "200":
  25899. description: OK
  25900. schema:
  25901. items:
  25902. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  25903. type: array
  25904. "500":
  25905. description: Internal Server Error
  25906. schema:
  25907. $ref: '#/definitions/app.Response'
  25908. security:
  25909. - ApiKeyAuth: []
  25910. summary: 查询成交明细
  25911. tags:
  25912. - 大连千海金(PCWeb)
  25913. /QhjMgr/QueryTradeOrderDetail:
  25914. get:
  25915. parameters:
  25916. - description: 用户ID
  25917. in: query
  25918. name: userid
  25919. required: true
  25920. type: integer
  25921. - description: 用户类型 1-个人 2-企业
  25922. in: query
  25923. name: userinfotype
  25924. type: integer
  25925. - description: 交易模式
  25926. in: query
  25927. name: trademode
  25928. type: integer
  25929. - description: 商品id
  25930. in: query
  25931. name: goodsid
  25932. type: integer
  25933. - description: 名称(模糊搜索账户)
  25934. in: query
  25935. name: filtername
  25936. type: string
  25937. - description: 开始交易日(yyyymmdd)
  25938. in: query
  25939. name: begindate
  25940. type: string
  25941. - description: 结束交易日(yyyymmdd)
  25942. in: query
  25943. name: enddate
  25944. type: string
  25945. - description: 是否包含子级 1-包含
  25946. in: query
  25947. name: includesub
  25948. type: integer
  25949. produces:
  25950. - application/json
  25951. responses:
  25952. "200":
  25953. description: OK
  25954. schema:
  25955. items:
  25956. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  25957. type: array
  25958. "500":
  25959. description: Internal Server Error
  25960. schema:
  25961. $ref: '#/definitions/app.Response'
  25962. security:
  25963. - ApiKeyAuth: []
  25964. summary: 查询委托明细
  25965. tags:
  25966. - 大连千海金(PCWeb)
  25967. /QhjMgr/QueryTradePayOrder:
  25968. get:
  25969. parameters:
  25970. - description: 用户ID
  25971. in: query
  25972. name: userid
  25973. required: true
  25974. type: integer
  25975. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  25976. in: query
  25977. name: payflag
  25978. type: string
  25979. - description: 用户类型 1-个人 2-企业
  25980. in: query
  25981. name: userinfotype
  25982. type: integer
  25983. - description: 交易模式
  25984. in: query
  25985. name: trademode
  25986. type: integer
  25987. - description: 商品id
  25988. in: query
  25989. name: goodsid
  25990. type: integer
  25991. - description: 名称(模糊搜索账户)
  25992. in: query
  25993. name: filtername
  25994. type: string
  25995. - description: 开始交易日(yyyymmdd)
  25996. in: query
  25997. name: begindate
  25998. type: string
  25999. - description: 结束交易日(yyyymmdd)
  26000. in: query
  26001. name: enddate
  26002. type: string
  26003. - description: 是否包含子级 1-包含
  26004. in: query
  26005. name: includesub
  26006. type: integer
  26007. produces:
  26008. - application/json
  26009. responses:
  26010. "200":
  26011. description: OK
  26012. schema:
  26013. items:
  26014. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  26015. type: array
  26016. "500":
  26017. description: Internal Server Error
  26018. schema:
  26019. $ref: '#/definitions/app.Response'
  26020. security:
  26021. - ApiKeyAuth: []
  26022. summary: 查询待付款单
  26023. tags:
  26024. - 大连千海金(PCWeb)
  26025. /QhjMgr/QueryTradePosition:
  26026. get:
  26027. parameters:
  26028. - description: 用户ID
  26029. in: query
  26030. name: userid
  26031. required: true
  26032. type: integer
  26033. - description: 用户类型 1-个人 2-企业
  26034. in: query
  26035. name: userinfotype
  26036. type: integer
  26037. - description: 交易模式
  26038. in: query
  26039. name: trademode
  26040. type: integer
  26041. - description: 商品id
  26042. in: query
  26043. name: goodsid
  26044. type: integer
  26045. - description: 名称(模糊搜索账户)
  26046. in: query
  26047. name: filtername
  26048. type: string
  26049. - description: 是否包含子级 1-包含
  26050. in: query
  26051. name: includesub
  26052. type: integer
  26053. produces:
  26054. - application/json
  26055. responses:
  26056. "200":
  26057. description: OK
  26058. schema:
  26059. items:
  26060. $ref: '#/definitions/models.QhjMgrPositionRsp'
  26061. type: array
  26062. "500":
  26063. description: Internal Server Error
  26064. schema:
  26065. $ref: '#/definitions/app.Response'
  26066. security:
  26067. - ApiKeyAuth: []
  26068. summary: 查询持仓汇总
  26069. tags:
  26070. - 大连千海金(PCWeb)
  26071. /QhjSys/QueryAgreementChangeLog:
  26072. get:
  26073. parameters:
  26074. - description: 协议ID
  26075. in: query
  26076. name: agreementid
  26077. type: integer
  26078. - description: 协议版本号
  26079. in: query
  26080. name: agreementversion
  26081. type: integer
  26082. - description: 协议类型 - 1:注册 2:登录 3:交易
  26083. in: query
  26084. name: agreementtype
  26085. type: integer
  26086. - description: 协议编号(模糊匹配)
  26087. in: query
  26088. name: agreementno
  26089. type: string
  26090. - description: 协议名称(模糊匹配)
  26091. in: query
  26092. name: agreementname
  26093. type: string
  26094. produces:
  26095. - application/json
  26096. responses:
  26097. "200":
  26098. description: OK
  26099. schema:
  26100. items:
  26101. $ref: '#/definitions/models.QhjAgreementChangeLog'
  26102. type: array
  26103. "500":
  26104. description: Internal Server Error
  26105. schema:
  26106. $ref: '#/definitions/app.Response'
  26107. security:
  26108. - ApiKeyAuth: []
  26109. summary: 查询协议配置变更流水
  26110. tags:
  26111. - 大连千海金(协议和签约信息)
  26112. /QhjSys/QueryAgreementConfig:
  26113. get:
  26114. parameters:
  26115. - description: 协议ID
  26116. in: query
  26117. name: agreementid
  26118. type: integer
  26119. - description: 协议版本号
  26120. in: query
  26121. name: agreementversion
  26122. type: integer
  26123. - description: 协议类型 - 1:注册 2:登录 3:交易
  26124. in: query
  26125. name: agreementtype
  26126. type: integer
  26127. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  26128. in: query
  26129. name: isvalid
  26130. type: integer
  26131. - description: 协议编号(模糊匹配)
  26132. in: query
  26133. name: agreementno
  26134. type: string
  26135. - description: 协议名称(模糊匹配)
  26136. in: query
  26137. name: agreementname
  26138. type: string
  26139. produces:
  26140. - application/json
  26141. responses:
  26142. "200":
  26143. description: OK
  26144. schema:
  26145. items:
  26146. $ref: '#/definitions/models.QhjAgreementConfig'
  26147. type: array
  26148. "500":
  26149. description: Internal Server Error
  26150. schema:
  26151. $ref: '#/definitions/app.Response'
  26152. security:
  26153. - ApiKeyAuth: []
  26154. summary: 查询协议配置
  26155. tags:
  26156. - 大连千海金(协议和签约信息)
  26157. /QhjSys/QueryCustomerSignStatus:
  26158. get:
  26159. parameters:
  26160. - description: 客户ID
  26161. in: query
  26162. name: userid
  26163. type: integer
  26164. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  26165. in: query
  26166. name: nodetype
  26167. type: integer
  26168. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  26169. in: query
  26170. name: goodsid
  26171. type: integer
  26172. - description: 创建交易日(yyyyMMdd)
  26173. in: query
  26174. name: tradedate
  26175. type: string
  26176. - description: 用户名称(模糊匹配)
  26177. in: query
  26178. name: username
  26179. type: string
  26180. produces:
  26181. - application/json
  26182. responses:
  26183. "200":
  26184. description: OK
  26185. schema:
  26186. items:
  26187. $ref: '#/definitions/models.QhjCustomerSignStatus'
  26188. type: array
  26189. "500":
  26190. description: Internal Server Error
  26191. schema:
  26192. $ref: '#/definitions/app.Response'
  26193. security:
  26194. - ApiKeyAuth: []
  26195. summary: 查询客户协议签约状态
  26196. tags:
  26197. - 大连千海金(协议和签约信息)
  26198. /QhjSys/QueryNodeAgreementConfig:
  26199. get:
  26200. parameters:
  26201. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  26202. in: query
  26203. name: configid
  26204. type: integer
  26205. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  26206. in: query
  26207. name: nodetype
  26208. type: integer
  26209. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  26210. in: query
  26211. name: goodsid
  26212. type: integer
  26213. - description: 协议ID
  26214. in: query
  26215. name: agreementid
  26216. type: integer
  26217. - description: 协议类型 - 1:注册 2:登录 3:交易
  26218. in: query
  26219. name: agreementtype
  26220. type: integer
  26221. - description: 协议版本号
  26222. in: query
  26223. name: agreementversion
  26224. type: integer
  26225. - description: 协议编号(模糊匹配)
  26226. in: query
  26227. name: agreementno
  26228. type: string
  26229. - description: 协议名称(模糊匹配)
  26230. in: query
  26231. name: agreementname
  26232. type: string
  26233. produces:
  26234. - application/json
  26235. responses:
  26236. "200":
  26237. description: OK
  26238. schema:
  26239. items:
  26240. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  26241. type: array
  26242. "500":
  26243. description: Internal Server Error
  26244. schema:
  26245. $ref: '#/definitions/app.Response'
  26246. security:
  26247. - ApiKeyAuth: []
  26248. summary: 查询协议节点配置
  26249. tags:
  26250. - 大连千海金(协议和签约信息)
  26251. /QhjSys/QueryQhjCustomerSignLog:
  26252. get:
  26253. parameters:
  26254. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  26255. in: query
  26256. name: logid
  26257. type: integer
  26258. - description: 客户ID
  26259. in: query
  26260. name: userid
  26261. type: integer
  26262. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  26263. in: query
  26264. name: nodetype
  26265. type: integer
  26266. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  26267. in: query
  26268. name: goodsid
  26269. type: integer
  26270. - description: 协议ID
  26271. in: query
  26272. name: agreementid
  26273. type: integer
  26274. - description: 用户名称(模糊匹配)
  26275. in: query
  26276. name: username
  26277. type: string
  26278. - description: 协议编号(模糊匹配)
  26279. in: query
  26280. name: agreementno
  26281. type: string
  26282. - description: 协议名称(模糊匹配)
  26283. in: query
  26284. name: agreementname
  26285. type: string
  26286. produces:
  26287. - application/json
  26288. responses:
  26289. "200":
  26290. description: OK
  26291. schema:
  26292. items:
  26293. $ref: '#/definitions/models.QhjCustomerSignLog'
  26294. type: array
  26295. "500":
  26296. description: Internal Server Error
  26297. schema:
  26298. $ref: '#/definitions/app.Response'
  26299. security:
  26300. - ApiKeyAuth: []
  26301. summary: 查询客户协议签约流水
  26302. tags:
  26303. - 大连千海金(协议和签约信息)
  26304. /QhjSys/QueryUserNodeCfgAndStatus:
  26305. get:
  26306. parameters:
  26307. - description: 客户ID
  26308. in: query
  26309. name: userid
  26310. type: integer
  26311. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  26312. in: query
  26313. name: configid
  26314. type: integer
  26315. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  26316. in: query
  26317. name: nodetype
  26318. type: string
  26319. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  26320. in: query
  26321. name: goodsid
  26322. type: integer
  26323. - description: 协议ID
  26324. in: query
  26325. name: agreementid
  26326. type: integer
  26327. - description: 协议类型 - 1:注册 2:登录 3:交易
  26328. in: query
  26329. name: agreementtype
  26330. type: integer
  26331. - description: 协议版本号
  26332. in: query
  26333. name: agreementversion
  26334. type: integer
  26335. - description: 协议编号(模糊匹配)
  26336. in: query
  26337. name: agreementno
  26338. type: string
  26339. - description: 协议名称(模糊匹配)
  26340. in: query
  26341. name: agreementname
  26342. type: string
  26343. produces:
  26344. - application/json
  26345. responses:
  26346. "200":
  26347. description: OK
  26348. schema:
  26349. items:
  26350. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  26351. type: array
  26352. "500":
  26353. description: Internal Server Error
  26354. schema:
  26355. $ref: '#/definitions/app.Response'
  26356. security:
  26357. - ApiKeyAuth: []
  26358. summary: 查询用户协议节点配置和状态
  26359. tags:
  26360. - 大连千海金(协议和签约信息)
  26361. /Quote/QueryHistoryDatas:
  26362. get:
  26363. parameters:
  26364. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  26365. 日线 12:周线 13:月线 14:年线'
  26366. in: query
  26367. name: cycleType
  26368. required: true
  26369. type: integer
  26370. - description: 商品代码
  26371. in: query
  26372. name: goodsCode
  26373. required: true
  26374. type: string
  26375. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  26376. in: query
  26377. name: startTime
  26378. type: string
  26379. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  26380. in: query
  26381. name: endTime
  26382. type: string
  26383. - description: 条数
  26384. in: query
  26385. name: count
  26386. type: integer
  26387. - description: 是否按时间顺序排序(默认为时间倒序排序)
  26388. in: query
  26389. name: isAsc
  26390. type: boolean
  26391. produces:
  26392. - application/json
  26393. responses:
  26394. "200":
  26395. description: OK
  26396. schema:
  26397. $ref: '#/definitions/quote.HistoryData'
  26398. "500":
  26399. description: Internal Server Error
  26400. schema:
  26401. $ref: '#/definitions/app.Response'
  26402. security:
  26403. - ApiKeyAuth: []
  26404. summary: 查询行情历史数据
  26405. tags:
  26406. - 行情服务
  26407. /Quote/QueryHistoryTikDatas:
  26408. get:
  26409. parameters:
  26410. - description: 商品代码
  26411. in: query
  26412. name: goodsCode
  26413. required: true
  26414. type: string
  26415. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  26416. in: query
  26417. name: startTime
  26418. type: string
  26419. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  26420. in: query
  26421. name: endTime
  26422. type: string
  26423. - description: 条数
  26424. in: query
  26425. name: count
  26426. type: integer
  26427. - description: 是否按时间顺序排序(默认为时间倒序排序)
  26428. in: query
  26429. name: isAsc
  26430. type: boolean
  26431. produces:
  26432. - application/json
  26433. responses:
  26434. "200":
  26435. description: OK
  26436. schema:
  26437. $ref: '#/definitions/quote.HistoryTikData'
  26438. "500":
  26439. description: Internal Server Error
  26440. schema:
  26441. $ref: '#/definitions/app.Response'
  26442. security:
  26443. - ApiKeyAuth: []
  26444. summary: 查询行情Tik数据
  26445. tags:
  26446. - 行情服务
  26447. /Quote/QueryQuoteDay:
  26448. get:
  26449. parameters:
  26450. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  26451. in: query
  26452. name: goodsCodes
  26453. type: string
  26454. produces:
  26455. - application/json
  26456. responses:
  26457. "200":
  26458. description: OK
  26459. schema:
  26460. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  26461. "500":
  26462. description: Internal Server Error
  26463. schema:
  26464. $ref: '#/definitions/app.Response'
  26465. security:
  26466. - ApiKeyAuth: []
  26467. summary: 获取商品盘面信息
  26468. tags:
  26469. - 行情服务
  26470. /Quote/QueryTSData:
  26471. get:
  26472. parameters:
  26473. - description: 商品代码
  26474. in: query
  26475. name: goodsCode
  26476. required: true
  26477. type: string
  26478. produces:
  26479. - application/json
  26480. responses:
  26481. "200":
  26482. description: OK
  26483. schema:
  26484. $ref: '#/definitions/quote.QueryTSDataRsp'
  26485. "500":
  26486. description: Internal Server Error
  26487. schema:
  26488. $ref: '#/definitions/app.Response'
  26489. security:
  26490. - ApiKeyAuth: []
  26491. summary: 分时图数据查询
  26492. tags:
  26493. - 行情服务
  26494. /SZDZ/QueryConvertConfig:
  26495. get:
  26496. parameters:
  26497. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  26498. 6:交易转花生米(不设置)
  26499. in: query
  26500. name: convertType
  26501. type: integer
  26502. - description: 外部商品代码[JD\PD]
  26503. in: query
  26504. name: outerGoodsCode
  26505. type: string
  26506. - description: 内部商品ID列表[交易],格式:1,2,3
  26507. in: query
  26508. name: innerGoodsIDs
  26509. type: string
  26510. produces:
  26511. - application/json
  26512. responses:
  26513. "200":
  26514. description: OK
  26515. schema:
  26516. $ref: '#/definitions/models.Szdz3convertconfig'
  26517. "500":
  26518. description: Internal Server Error
  26519. schema:
  26520. $ref: '#/definitions/app.Response'
  26521. security:
  26522. - ApiKeyAuth: []
  26523. summary: 查询交易系统转换设置
  26524. tags:
  26525. - 定制【尚志大宗】
  26526. /SZDZ/QueryConvertLog:
  26527. get:
  26528. parameters:
  26529. - description: 资金账户 - 格式:1,2,3
  26530. in: query
  26531. name: accountID
  26532. required: true
  26533. type: string
  26534. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  26535. in: query
  26536. name: startDate
  26537. type: string
  26538. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  26539. in: query
  26540. name: endDate
  26541. type: string
  26542. produces:
  26543. - application/json
  26544. responses:
  26545. "200":
  26546. description: OK
  26547. schema:
  26548. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  26549. "500":
  26550. description: Internal Server Error
  26551. schema:
  26552. $ref: '#/definitions/app.Response'
  26553. security:
  26554. - ApiKeyAuth: []
  26555. summary: 交易系统转换流水查询
  26556. tags:
  26557. - 定制【尚志大宗】
  26558. /SZDZ/QueryGoodsPickup:
  26559. get:
  26560. parameters:
  26561. - description: 资金账户 - 格式:1,2,3
  26562. in: query
  26563. name: accountID
  26564. required: true
  26565. type: string
  26566. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  26567. in: query
  26568. name: takeOrderStatus
  26569. type: integer
  26570. produces:
  26571. - application/json
  26572. responses:
  26573. "200":
  26574. description: OK
  26575. schema:
  26576. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  26577. "500":
  26578. description: Internal Server Error
  26579. schema:
  26580. $ref: '#/definitions/app.Response'
  26581. security:
  26582. - ApiKeyAuth: []
  26583. summary: 商品提货单查询
  26584. tags:
  26585. - 定制【尚志大宗】
  26586. /SZDZ/QueryRecieptOrder:
  26587. get:
  26588. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  26589. parameters:
  26590. - description: 页码
  26591. in: query
  26592. name: page
  26593. type: integer
  26594. - description: 每页条数
  26595. in: query
  26596. name: pagesize
  26597. type: integer
  26598. - description: 商品ID
  26599. in: query
  26600. name: goodsID
  26601. required: true
  26602. type: integer
  26603. - description: 所属账户名称
  26604. in: query
  26605. name: accountName
  26606. type: string
  26607. - description: 市场ID
  26608. in: query
  26609. name: marketID
  26610. type: integer
  26611. - description: 方向 - 0:买 1:卖
  26612. in: query
  26613. name: buyorsell
  26614. required: true
  26615. type: integer
  26616. produces:
  26617. - application/json
  26618. responses:
  26619. "200":
  26620. description: OK
  26621. schema:
  26622. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  26623. "500":
  26624. description: Internal Server Error
  26625. schema:
  26626. $ref: '#/definitions/app.Response'
  26627. security:
  26628. - ApiKeyAuth: []
  26629. summary: 点选挂牌委托单据查询(摘牌大厅)
  26630. tags:
  26631. - 定制【尚志大宗】
  26632. /SZDZ/QuerySZDZTradePosition:
  26633. get:
  26634. parameters:
  26635. - description: 资金账户
  26636. in: query
  26637. name: accountID
  26638. required: true
  26639. type: integer
  26640. produces:
  26641. - application/json
  26642. responses:
  26643. "200":
  26644. description: OK
  26645. schema:
  26646. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  26647. "500":
  26648. description: Internal Server Error
  26649. schema:
  26650. $ref: '#/definitions/app.Response'
  26651. security:
  26652. - ApiKeyAuth: []
  26653. summary: 持仓汇总查询(尚志大宗)
  26654. tags:
  26655. - 定制【尚志大宗】
  26656. /SZDZ/SearchWhite:
  26657. get:
  26658. parameters:
  26659. - description: 用户ID
  26660. in: query
  26661. name: userID
  26662. required: true
  26663. type: integer
  26664. produces:
  26665. - application/json
  26666. responses:
  26667. "200":
  26668. description: OK
  26669. schema:
  26670. $ref: '#/definitions/models.Szdz3searchwhitelist'
  26671. "500":
  26672. description: Internal Server Error
  26673. schema:
  26674. $ref: '#/definitions/app.Response'
  26675. security:
  26676. - ApiKeyAuth: []
  26677. summary: 搜索白名单
  26678. tags:
  26679. - 定制【尚志大宗】
  26680. /Search/SearchGoodses:
  26681. get:
  26682. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  26683. parameters:
  26684. - description: 检索内容
  26685. in: query
  26686. name: content
  26687. required: true
  26688. type: string
  26689. - description: 交易模式,格式:1,2,3
  26690. in: query
  26691. name: tradeModes
  26692. type: string
  26693. produces:
  26694. - application/json
  26695. responses:
  26696. "200":
  26697. description: OK
  26698. schema:
  26699. $ref: '#/definitions/models.SearchGoods'
  26700. "500":
  26701. description: Internal Server Error
  26702. schema:
  26703. $ref: '#/definitions/app.Response'
  26704. summary: 检索商品信息
  26705. tags:
  26706. - 检索服务
  26707. /TaAccount/GetTaAccounts:
  26708. get:
  26709. parameters:
  26710. - description: 登录账户
  26711. in: query
  26712. name: loginID
  26713. required: true
  26714. type: integer
  26715. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  26716. in: query
  26717. name: taAccountType
  26718. type: integer
  26719. produces:
  26720. - application/json
  26721. responses:
  26722. "200":
  26723. description: OK
  26724. schema:
  26725. $ref: '#/definitions/models.Taaccount'
  26726. "500":
  26727. description: Internal Server Error
  26728. schema:
  26729. $ref: '#/definitions/app.Response'
  26730. security:
  26731. - ApiKeyAuth: []
  26732. summary: 获取资金账户信息
  26733. tags:
  26734. - 资金账户
  26735. /TaAccount/QueryAmountLog:
  26736. get:
  26737. parameters:
  26738. - description: 页码
  26739. in: query
  26740. name: page
  26741. type: integer
  26742. - description: 每页条数
  26743. in: query
  26744. name: pagesize
  26745. type: integer
  26746. - description: 资金账户 - 格式:1,2,3
  26747. in: query
  26748. name: accountID
  26749. required: true
  26750. type: string
  26751. - description: 资金操作类型 - 格式:1,2,3
  26752. in: query
  26753. name: OperateType
  26754. type: string
  26755. produces:
  26756. - application/json
  26757. responses:
  26758. "200":
  26759. description: OK
  26760. schema:
  26761. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  26762. "500":
  26763. description: Internal Server Error
  26764. schema:
  26765. $ref: '#/definitions/app.Response'
  26766. security:
  26767. - ApiKeyAuth: []
  26768. summary: 资金流水查询(当前)
  26769. tags:
  26770. - 资金账户
  26771. /TaAccount/QueryHisAmountLog:
  26772. get:
  26773. parameters:
  26774. - description: 页码
  26775. in: query
  26776. name: page
  26777. type: integer
  26778. - description: 每页条数
  26779. in: query
  26780. name: pagesize
  26781. type: integer
  26782. - description: 资金账户 - 格式:1,2,3
  26783. in: query
  26784. name: accountID
  26785. required: true
  26786. type: string
  26787. - description: 资金操作类型 - 格式:1,2,3
  26788. in: query
  26789. name: OperateType
  26790. type: string
  26791. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  26792. in: query
  26793. name: startDate
  26794. type: string
  26795. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  26796. in: query
  26797. name: endDate
  26798. type: string
  26799. produces:
  26800. - application/json
  26801. responses:
  26802. "200":
  26803. description: OK
  26804. schema:
  26805. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  26806. "500":
  26807. description: Internal Server Error
  26808. schema:
  26809. $ref: '#/definitions/app.Response'
  26810. security:
  26811. - ApiKeyAuth: []
  26812. summary: 资金流水查询(历史)
  26813. tags:
  26814. - 资金账户
  26815. /Tjmd/QueryQuoteGoodsList:
  26816. get:
  26817. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  26818. parameters:
  26819. - description: 用户类型
  26820. in: query
  26821. name: usertype
  26822. required: true
  26823. type: integer
  26824. - description: 市场id, 格式 1,2,3
  26825. in: query
  26826. name: marketids
  26827. type: string
  26828. - description: 商品组id
  26829. in: query
  26830. name: goodsgroupid
  26831. type: integer
  26832. - description: 商品id
  26833. in: query
  26834. name: goodsid
  26835. type: integer
  26836. produces:
  26837. - application/json
  26838. responses:
  26839. "200":
  26840. description: OK
  26841. schema:
  26842. items:
  26843. $ref: '#/definitions/models.TjmdQuoteGoods'
  26844. type: array
  26845. "500":
  26846. description: Internal Server Error
  26847. schema:
  26848. $ref: '#/definitions/app.Response'
  26849. security:
  26850. - ApiKeyAuth: []
  26851. summary: 查询掉期报价列表
  26852. tags:
  26853. - 天津麦顿
  26854. /Tjmd/QueryTjmdMarketSection:
  26855. get:
  26856. produces:
  26857. - application/json
  26858. responses:
  26859. "200":
  26860. description: OK
  26861. schema:
  26862. items:
  26863. $ref: '#/definitions/models.TjmdMarketSection'
  26864. type: array
  26865. "500":
  26866. description: Internal Server Error
  26867. schema:
  26868. $ref: '#/definitions/app.Response'
  26869. security:
  26870. - ApiKeyAuth: []
  26871. summary: 查询市场板块
  26872. tags:
  26873. - 天津麦顿
  26874. /Tjmd/QueryTjmdTodayAccountMargin:
  26875. get:
  26876. parameters:
  26877. - description: 市场id
  26878. in: query
  26879. name: marketid
  26880. type: string
  26881. - description: 商品id
  26882. in: query
  26883. name: goodsid
  26884. type: string
  26885. - description: 资金账号
  26886. in: query
  26887. name: accountid
  26888. type: string
  26889. produces:
  26890. - application/json
  26891. responses:
  26892. "200":
  26893. description: OK
  26894. schema:
  26895. items:
  26896. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  26897. type: array
  26898. "500":
  26899. description: Internal Server Error
  26900. schema:
  26901. $ref: '#/definitions/app.Response'
  26902. security:
  26903. - ApiKeyAuth: []
  26904. summary: 查询今日账户保证金配置
  26905. tags:
  26906. - 天津麦顿
  26907. /Tjmd/QueryTjmdTradeOrderDetail:
  26908. get:
  26909. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  26910. parameters:
  26911. - description: 页码
  26912. in: query
  26913. name: page
  26914. type: integer
  26915. - description: 每页条数
  26916. in: query
  26917. name: pagesize
  26918. type: integer
  26919. - description: 用户id
  26920. in: query
  26921. name: userid
  26922. required: true
  26923. type: integer
  26924. - description: 用户类型
  26925. in: query
  26926. name: usertype
  26927. required: true
  26928. type: integer
  26929. - description: 市场id, 格式 1,2,3
  26930. in: query
  26931. name: marketids
  26932. type: string
  26933. - description: 商品id
  26934. in: query
  26935. name: goodsid
  26936. required: true
  26937. type: integer
  26938. - description: 买卖方向 0-买 1-卖
  26939. in: query
  26940. name: buyorsell
  26941. required: true
  26942. type: integer
  26943. produces:
  26944. - application/json
  26945. responses:
  26946. "200":
  26947. description: OK
  26948. schema:
  26949. items:
  26950. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  26951. type: array
  26952. "500":
  26953. description: Internal Server Error
  26954. schema:
  26955. $ref: '#/definitions/app.Response'
  26956. security:
  26957. - ApiKeyAuth: []
  26958. summary: 查询掉期买卖大厅
  26959. tags:
  26960. - 天津麦顿
  26961. /Tjmd/QueryTjmdTransferApply:
  26962. get:
  26963. parameters:
  26964. - description: 类型 1-我的申请 2-对方申请
  26965. in: query
  26966. name: applytype
  26967. required: true
  26968. type: integer
  26969. - description: 市场id, 格式 1,2,3
  26970. in: query
  26971. name: marketids
  26972. type: string
  26973. - description: 资金账号, 格式 25000000001,25000000003
  26974. in: query
  26975. name: accountids
  26976. type: string
  26977. - description: 开始交易日(yyyymmdd)
  26978. in: query
  26979. name: begindate
  26980. type: string
  26981. - description: 结束交易日(yyyymmdd)
  26982. in: query
  26983. name: enddate
  26984. type: string
  26985. produces:
  26986. - application/json
  26987. responses:
  26988. "200":
  26989. description: OK
  26990. schema:
  26991. items:
  26992. $ref: '#/definitions/models.TjmdTransferApply'
  26993. type: array
  26994. "500":
  26995. description: Internal Server Error
  26996. schema:
  26997. $ref: '#/definitions/app.Response'
  26998. security:
  26999. - ApiKeyAuth: []
  27000. summary: 查询掉期协议单
  27001. tags:
  27002. - 天津麦顿
  27003. /Trade/QueryRecieptOrder:
  27004. get:
  27005. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  27006. parameters:
  27007. - description: 页码
  27008. in: query
  27009. name: page
  27010. type: integer
  27011. - description: 每页条数
  27012. in: query
  27013. name: pagesize
  27014. type: integer
  27015. - description: 商品ID
  27016. in: query
  27017. name: goodsID
  27018. required: true
  27019. type: integer
  27020. - description: 所属账户名称
  27021. in: query
  27022. name: accountName
  27023. type: string
  27024. - description: 市场ID
  27025. in: query
  27026. name: marketID
  27027. type: integer
  27028. - description: 方向 - 0:买 1:卖
  27029. in: query
  27030. name: buyorsell
  27031. required: true
  27032. type: integer
  27033. produces:
  27034. - application/json
  27035. responses:
  27036. "200":
  27037. description: OK
  27038. schema:
  27039. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  27040. "500":
  27041. description: Internal Server Error
  27042. schema:
  27043. $ref: '#/definitions/app.Response'
  27044. security:
  27045. - ApiKeyAuth: []
  27046. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  27047. tags:
  27048. - 通用交易
  27049. /User/AddMessageBoard:
  27050. post:
  27051. parameters:
  27052. - description: 用户ID
  27053. in: query
  27054. name: userID
  27055. required: true
  27056. type: integer
  27057. - description: 留言信息
  27058. in: query
  27059. name: message
  27060. required: true
  27061. type: string
  27062. - description: 联系电话
  27063. in: query
  27064. name: contactNum
  27065. required: true
  27066. type: string
  27067. produces:
  27068. - application/json
  27069. responses:
  27070. "200":
  27071. description: OK
  27072. schema:
  27073. $ref: '#/definitions/app.Response'
  27074. "500":
  27075. description: Internal Server Error
  27076. schema:
  27077. $ref: '#/definitions/app.Response'
  27078. security:
  27079. - ApiKeyAuth: []
  27080. summary: 添加用户留言板信息
  27081. tags:
  27082. - 用户信息
  27083. /User/AddUserFavoriteGoods:
  27084. post:
  27085. parameters:
  27086. - description: 用户ID
  27087. in: query
  27088. name: userID
  27089. required: true
  27090. type: integer
  27091. - description: 商品ID
  27092. in: query
  27093. name: goodsID
  27094. required: true
  27095. type: integer
  27096. produces:
  27097. - application/json
  27098. responses:
  27099. "200":
  27100. description: OK
  27101. schema:
  27102. $ref: '#/definitions/app.Response'
  27103. "500":
  27104. description: Internal Server Error
  27105. schema:
  27106. $ref: '#/definitions/app.Response'
  27107. security:
  27108. - ApiKeyAuth: []
  27109. summary: 添加用户商品收藏信息
  27110. tags:
  27111. - 用户信息
  27112. /User/GetLoginID:
  27113. get:
  27114. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  27115. parameters:
  27116. - description: 登录代码
  27117. in: query
  27118. name: username
  27119. required: true
  27120. type: string
  27121. produces:
  27122. - application/json
  27123. responses:
  27124. "200":
  27125. description: OK
  27126. schema:
  27127. $ref: '#/definitions/app.Response'
  27128. "500":
  27129. description: Internal Server Error
  27130. schema:
  27131. $ref: '#/definitions/app.Response'
  27132. summary: 获取登录ID
  27133. tags:
  27134. - 用户信息
  27135. /User/GetUserAccount:
  27136. get:
  27137. parameters:
  27138. - description: 用户ID
  27139. in: query
  27140. name: userID
  27141. required: true
  27142. type: integer
  27143. produces:
  27144. - application/json
  27145. responses:
  27146. "200":
  27147. description: OK
  27148. schema:
  27149. $ref: '#/definitions/models.Useraccount'
  27150. "500":
  27151. description: Internal Server Error
  27152. schema:
  27153. $ref: '#/definitions/app.Response'
  27154. security:
  27155. - ApiKeyAuth: []
  27156. summary: 获取用户账号信息
  27157. tags:
  27158. - 用户信息
  27159. /User/GetUserAuthStatus:
  27160. get:
  27161. parameters:
  27162. - description: 用户ID
  27163. in: query
  27164. name: userID
  27165. required: true
  27166. type: integer
  27167. produces:
  27168. - application/json
  27169. responses:
  27170. "200":
  27171. description: OK
  27172. schema:
  27173. $ref: '#/definitions/app.Response'
  27174. "500":
  27175. description: Internal Server Error
  27176. schema:
  27177. $ref: '#/definitions/app.Response'
  27178. security:
  27179. - ApiKeyAuth: []
  27180. summary: 获取用户实名认证状态
  27181. tags:
  27182. - 用户信息
  27183. /User/LoginQuery:
  27184. get:
  27185. parameters:
  27186. - description: 登录账号
  27187. in: query
  27188. name: loginID
  27189. required: true
  27190. type: integer
  27191. produces:
  27192. - application/json
  27193. responses:
  27194. "200":
  27195. description: OK
  27196. schema:
  27197. $ref: '#/definitions/user.LoginQueryRsp'
  27198. "500":
  27199. description: Internal Server Error
  27200. schema:
  27201. $ref: '#/definitions/app.Response'
  27202. security:
  27203. - ApiKeyAuth: []
  27204. summary: 账户登录后信息查询
  27205. tags:
  27206. - 用户信息
  27207. /User/QueryMessageBoard:
  27208. get:
  27209. parameters:
  27210. - description: 用户ID
  27211. in: query
  27212. name: userID
  27213. required: true
  27214. type: integer
  27215. produces:
  27216. - application/json
  27217. responses:
  27218. "200":
  27219. description: OK
  27220. schema:
  27221. $ref: '#/definitions/models.Messageboard'
  27222. "500":
  27223. description: Internal Server Error
  27224. schema:
  27225. $ref: '#/definitions/app.Response'
  27226. security:
  27227. - ApiKeyAuth: []
  27228. summary: 获取用户留言板信息
  27229. tags:
  27230. - 用户信息
  27231. /User/QueryUserFavoriteGoodses:
  27232. get:
  27233. parameters:
  27234. - description: 用户ID
  27235. in: query
  27236. name: userID
  27237. required: true
  27238. type: integer
  27239. produces:
  27240. - application/json
  27241. responses:
  27242. "200":
  27243. description: OK
  27244. schema:
  27245. $ref: '#/definitions/models.Userfavoritegoods'
  27246. "500":
  27247. description: Internal Server Error
  27248. schema:
  27249. $ref: '#/definitions/app.Response'
  27250. security:
  27251. - ApiKeyAuth: []
  27252. summary: 获取用户商品收藏信息
  27253. tags:
  27254. - 用户信息
  27255. /User/QueryUserInfo:
  27256. get:
  27257. parameters:
  27258. - description: 用户ID
  27259. in: query
  27260. name: userID
  27261. required: true
  27262. type: integer
  27263. - description: 是否解密
  27264. in: query
  27265. name: isDecrypt
  27266. type: boolean
  27267. produces:
  27268. - application/json
  27269. responses:
  27270. "200":
  27271. description: OK
  27272. schema:
  27273. $ref: '#/definitions/models.Userinfo'
  27274. "500":
  27275. description: Internal Server Error
  27276. schema:
  27277. $ref: '#/definitions/app.Response'
  27278. security:
  27279. - ApiKeyAuth: []
  27280. summary: 获取用户信息
  27281. tags:
  27282. - 用户信息
  27283. /User/QueryUserReferNum:
  27284. get:
  27285. parameters:
  27286. - description: 用户ID
  27287. in: query
  27288. name: userID
  27289. required: true
  27290. type: integer
  27291. produces:
  27292. - application/json
  27293. responses:
  27294. "200":
  27295. description: OK
  27296. schema:
  27297. $ref: '#/definitions/app.Response'
  27298. "500":
  27299. description: Internal Server Error
  27300. schema:
  27301. $ref: '#/definitions/app.Response'
  27302. summary: 获取用户邀请码
  27303. tags:
  27304. - 用户信息
  27305. /User/RemoveUserFavoriteGoods:
  27306. post:
  27307. parameters:
  27308. - description: 用户ID
  27309. in: query
  27310. name: userID
  27311. required: true
  27312. type: integer
  27313. - description: 商品ID
  27314. in: query
  27315. name: goodsID
  27316. required: true
  27317. type: integer
  27318. produces:
  27319. - application/json
  27320. responses:
  27321. "200":
  27322. description: OK
  27323. schema:
  27324. $ref: '#/definitions/app.Response'
  27325. "500":
  27326. description: Internal Server Error
  27327. schema:
  27328. $ref: '#/definitions/app.Response'
  27329. security:
  27330. - ApiKeyAuth: []
  27331. summary: 移除用户商品收藏信息
  27332. tags:
  27333. - 用户信息
  27334. /User/UpdateUserAccountStatus:
  27335. post:
  27336. parameters:
  27337. - description: 用户ID
  27338. in: query
  27339. name: userID
  27340. required: true
  27341. type: integer
  27342. - description: 账户状态 - 4:正常 6:注销(停用)
  27343. in: query
  27344. name: accountStatus
  27345. required: true
  27346. type: integer
  27347. produces:
  27348. - application/json
  27349. responses:
  27350. "200":
  27351. description: OK
  27352. schema:
  27353. $ref: '#/definitions/app.Response'
  27354. "500":
  27355. description: Internal Server Error
  27356. schema:
  27357. $ref: '#/definitions/app.Response'
  27358. security:
  27359. - ApiKeyAuth: []
  27360. summary: 更新用户状态
  27361. tags:
  27362. - 用户信息
  27363. /WRTrade/GetAllDeliveryGoods:
  27364. get:
  27365. produces:
  27366. - application/json
  27367. responses:
  27368. "200":
  27369. description: OK
  27370. schema:
  27371. $ref: '#/definitions/app.Response'
  27372. "500":
  27373. description: Internal Server Error
  27374. schema:
  27375. $ref: '#/definitions/app.Response'
  27376. security:
  27377. - ApiKeyAuth: []
  27378. summary: 获取带仓单分类的种类信息
  27379. tags:
  27380. - 仓单贸易
  27381. - 仓单贸易
  27382. /WrTrade2/QueryDeliveryGoodsSection:
  27383. get:
  27384. produces:
  27385. - application/json
  27386. responses:
  27387. "200":
  27388. description: OK
  27389. schema:
  27390. items:
  27391. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  27392. type: array
  27393. "500":
  27394. description: Internal Server Error
  27395. schema:
  27396. $ref: '#/definitions/app.Response'
  27397. security:
  27398. - ApiKeyAuth: []
  27399. summary: 查询板块(分类)
  27400. tags:
  27401. - 仓单贸易v2
  27402. /WrTrade2/QueryFaProductDetail:
  27403. get:
  27404. description: 页面 买卖大厅 -> 选择融资方案
  27405. parameters:
  27406. - description: 仓单要素id
  27407. in: query
  27408. name: wrfactortypeid
  27409. required: true
  27410. type: integer
  27411. produces:
  27412. - application/json
  27413. responses:
  27414. "200":
  27415. description: OK
  27416. schema:
  27417. items:
  27418. $ref: '#/definitions/models.WrFAProductDetail'
  27419. type: array
  27420. "500":
  27421. description: Internal Server Error
  27422. schema:
  27423. $ref: '#/definitions/app.Response'
  27424. security:
  27425. - ApiKeyAuth: []
  27426. summary: 查询融资产品列表
  27427. tags:
  27428. - 仓单贸易v2
  27429. /WrTrade2/QueryFilterItem:
  27430. get:
  27431. parameters:
  27432. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  27433. in: query
  27434. name: itype
  27435. required: true
  27436. type: string
  27437. produces:
  27438. - application/json
  27439. responses:
  27440. "200":
  27441. description: OK
  27442. schema:
  27443. items:
  27444. $ref: '#/definitions/models.WrFilterItem'
  27445. type: array
  27446. "500":
  27447. description: Internal Server Error
  27448. schema:
  27449. $ref: '#/definitions/app.Response'
  27450. security:
  27451. - ApiKeyAuth: []
  27452. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  27453. tags:
  27454. - 仓单贸易v2
  27455. /WrTrade2/QueryFtDeliveryGoods:
  27456. get:
  27457. produces:
  27458. - application/json
  27459. responses:
  27460. "200":
  27461. description: OK
  27462. schema:
  27463. items:
  27464. $ref: '#/definitions/models.WrFtDeliveryGoods'
  27465. type: array
  27466. "500":
  27467. description: Internal Server Error
  27468. schema:
  27469. $ref: '#/definitions/app.Response'
  27470. security:
  27471. - ApiKeyAuth: []
  27472. summary: 查询品种品类筛选框列表
  27473. tags:
  27474. - 仓单贸易v2
  27475. /WrTrade2/QueryHoldLB:
  27476. get:
  27477. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  27478. parameters:
  27479. - description: 资金账号
  27480. in: query
  27481. name: accountid
  27482. required: true
  27483. type: integer
  27484. - description: 仓库id
  27485. in: query
  27486. name: warehouseid
  27487. type: integer
  27488. - description: 品种id
  27489. in: query
  27490. name: deliverygoodsid
  27491. type: integer
  27492. - description: 品类id
  27493. in: query
  27494. name: wrstandardid
  27495. type: integer
  27496. - description: 仓单要素id
  27497. in: query
  27498. name: wrfactortypeid
  27499. type: integer
  27500. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27501. in: query
  27502. name: dgitemname
  27503. type: string
  27504. produces:
  27505. - application/json
  27506. responses:
  27507. "200":
  27508. description: OK
  27509. schema:
  27510. items:
  27511. $ref: '#/definitions/models.WrHoldLB'
  27512. type: array
  27513. "500":
  27514. description: Internal Server Error
  27515. schema:
  27516. $ref: '#/definitions/app.Response'
  27517. security:
  27518. - ApiKeyAuth: []
  27519. summary: 查询仓单持有记录
  27520. tags:
  27521. - 仓单贸易v2
  27522. /WrTrade2/QueryOrderQuote:
  27523. get:
  27524. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  27525. 唯一确定1条记录
  27526. parameters:
  27527. - description: 页码
  27528. in: query
  27529. name: page
  27530. type: integer
  27531. - description: 每页条数
  27532. in: query
  27533. name: pagesize
  27534. type: integer
  27535. - description: 仓单贸易市场id
  27536. in: query
  27537. name: marketid
  27538. type: integer
  27539. - description: 价格方式 - 1:固定价 2-浮动价
  27540. in: query
  27541. name: wrpricetype
  27542. required: true
  27543. type: integer
  27544. - description: 0:仓单预售 1:仓单贸易
  27545. in: query
  27546. name: haswr
  27547. type: integer
  27548. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27549. in: query
  27550. name: dgitemname
  27551. type: string
  27552. - description: 仓库id(筛选条件)
  27553. in: query
  27554. name: warehouseid
  27555. type: integer
  27556. - description: 品种id
  27557. in: query
  27558. name: deliverygoodsid
  27559. type: integer
  27560. - description: 品类id
  27561. in: query
  27562. name: wrstandardid
  27563. type: integer
  27564. - description: 品牌id(dgfactoryitemid)
  27565. in: query
  27566. name: brandid
  27567. type: integer
  27568. - description: 年份id(dgfactoryitemid)
  27569. in: query
  27570. name: yearsid
  27571. type: integer
  27572. - description: 仓单要素id
  27573. in: query
  27574. name: wrfactortypeid
  27575. type: integer
  27576. - description: 交收月(yyyy-mm) 仓单预售填写
  27577. in: query
  27578. name: deliverymonth
  27579. type: string
  27580. produces:
  27581. - application/json
  27582. responses:
  27583. "200":
  27584. description: OK
  27585. schema:
  27586. items:
  27587. $ref: '#/definitions/models.WrOrderQuote'
  27588. type: array
  27589. "500":
  27590. description: Internal Server Error
  27591. schema:
  27592. $ref: '#/definitions/app.Response'
  27593. security:
  27594. - ApiKeyAuth: []
  27595. summary: 查询大厅行情列表
  27596. tags:
  27597. - 仓单贸易v2
  27598. /WrTrade2/QueryOrderQuoteDetail:
  27599. get:
  27600. parameters:
  27601. - description: 页码
  27602. in: query
  27603. name: page
  27604. type: integer
  27605. - description: 每页条数
  27606. in: query
  27607. name: pagesize
  27608. type: integer
  27609. - description: 仓单贸易市场id
  27610. in: query
  27611. name: marketid
  27612. type: integer
  27613. - description: 价格方式 - 1:固定价 2-浮动价
  27614. in: query
  27615. name: wrpricetype
  27616. required: true
  27617. type: integer
  27618. - description: 0:仓单预售 1:仓单贸易
  27619. in: query
  27620. name: haswr
  27621. type: integer
  27622. - description: 仓单要素id
  27623. in: query
  27624. name: wrfactortypeid
  27625. required: true
  27626. type: integer
  27627. - description: 期货商品id(浮动价方式时填)
  27628. in: query
  27629. name: goodsid
  27630. type: integer
  27631. - description: 买卖方向 0-买 1-卖
  27632. in: query
  27633. name: buyorsell
  27634. required: true
  27635. type: integer
  27636. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  27637. in: query
  27638. name: deliverymonth
  27639. type: string
  27640. produces:
  27641. - application/json
  27642. responses:
  27643. "200":
  27644. description: OK
  27645. schema:
  27646. items:
  27647. $ref: '#/definitions/models.WrOrderQuoteDetail'
  27648. type: array
  27649. "500":
  27650. description: Internal Server Error
  27651. schema:
  27652. $ref: '#/definitions/app.Response'
  27653. security:
  27654. - ApiKeyAuth: []
  27655. summary: 查询买卖大厅
  27656. tags:
  27657. - 仓单贸易v2
  27658. /WrTrade2/QueryOrderQuoteMyq:
  27659. get:
  27660. parameters:
  27661. - description: 页码
  27662. in: query
  27663. name: page
  27664. type: integer
  27665. - description: 每页条数
  27666. in: query
  27667. name: pagesize
  27668. type: integer
  27669. - description: 用户id
  27670. in: query
  27671. name: userid
  27672. required: true
  27673. type: integer
  27674. - description: 仓单贸易市场id
  27675. in: query
  27676. name: marketid
  27677. type: integer
  27678. - description: 0:仓单预售 1:仓单贸易
  27679. in: query
  27680. name: haswr
  27681. type: integer
  27682. - description: 买卖方向 0-买 1-卖
  27683. in: query
  27684. name: buyorsell
  27685. required: true
  27686. type: integer
  27687. - description: 品种id
  27688. in: query
  27689. name: deliverygoodsid
  27690. type: integer
  27691. - description: 品类id
  27692. in: query
  27693. name: wrstandardid
  27694. type: integer
  27695. - description: 交收月(yyyy-mm) 仓单预售填写
  27696. in: query
  27697. name: deliverymonth
  27698. type: string
  27699. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27700. in: query
  27701. name: dgitemname
  27702. type: string
  27703. produces:
  27704. - application/json
  27705. responses:
  27706. "200":
  27707. description: OK
  27708. schema:
  27709. items:
  27710. $ref: '#/definitions/models.WrQuoteOrderMyq'
  27711. type: array
  27712. "500":
  27713. description: Internal Server Error
  27714. schema:
  27715. $ref: '#/definitions/app.Response'
  27716. security:
  27717. - ApiKeyAuth: []
  27718. summary: 查询贸易圈挂牌大厅
  27719. tags:
  27720. - 仓单贸易v2
  27721. /WrTrade2/QueryPerformancePlan:
  27722. get:
  27723. parameters:
  27724. - description: 用户id
  27725. in: query
  27726. name: userid
  27727. required: true
  27728. type: integer
  27729. - description: 买卖方向 0-买 1-卖
  27730. in: query
  27731. name: buyorsell
  27732. required: true
  27733. type: integer
  27734. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  27735. 8:释放冻结失败 9:超时待处理 10:超时关闭
  27736. in: query
  27737. name: status
  27738. type: string
  27739. - description: 开始交易日(yyyymmdd)
  27740. in: query
  27741. name: begindate
  27742. type: string
  27743. - description: 结束交易日(yyyymmdd)
  27744. in: query
  27745. name: enddate
  27746. type: string
  27747. produces:
  27748. - application/json
  27749. responses:
  27750. "200":
  27751. description: OK
  27752. schema:
  27753. items:
  27754. $ref: '#/definitions/models.WrPerformancePlan'
  27755. type: array
  27756. "500":
  27757. description: Internal Server Error
  27758. schema:
  27759. $ref: '#/definitions/app.Response'
  27760. security:
  27761. - ApiKeyAuth: []
  27762. summary: 查询履约信息
  27763. tags:
  27764. - 仓单贸易v2
  27765. /WrTrade2/QueryPermancePlanTmp:
  27766. get:
  27767. description: |-
  27768. 返回指定用户的模板和公共模板(用户id为空)
  27769. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  27770. parameters:
  27771. - description: 用户id
  27772. in: query
  27773. name: userid
  27774. type: integer
  27775. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  27776. (无仓单) 5:挂牌期权 6:竞拍-降价式
  27777. in: query
  27778. name: tmptype
  27779. type: string
  27780. - description: 是否包含公共模板(用户id为空的) 1-包含
  27781. in: query
  27782. name: includepub
  27783. type: integer
  27784. - description: 市场id(天津麦顿指定此参数,其它不用)
  27785. in: query
  27786. name: marketid
  27787. type: integer
  27788. produces:
  27789. - application/json
  27790. responses:
  27791. "200":
  27792. description: OK
  27793. schema:
  27794. items:
  27795. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  27796. type: array
  27797. "500":
  27798. description: Internal Server Error
  27799. schema:
  27800. $ref: '#/definitions/app.Response'
  27801. security:
  27802. - ApiKeyAuth: []
  27803. summary: 查询履约模板
  27804. tags:
  27805. - 仓单贸易v2
  27806. /WrTrade2/QuerySiteColumnDetail:
  27807. get:
  27808. parameters:
  27809. - description: 页码
  27810. in: query
  27811. name: page
  27812. type: integer
  27813. - description: 每页条数
  27814. in: query
  27815. name: pagesize
  27816. type: integer
  27817. - description: 所属栏目id
  27818. in: query
  27819. name: columnid
  27820. type: integer
  27821. produces:
  27822. - application/json
  27823. responses:
  27824. "200":
  27825. description: OK
  27826. schema:
  27827. items:
  27828. $ref: '#/definitions/models.WrSiteColumnDetail'
  27829. type: array
  27830. "500":
  27831. description: Internal Server Error
  27832. schema:
  27833. $ref: '#/definitions/app.Response'
  27834. security:
  27835. - ApiKeyAuth: []
  27836. summary: 查询资讯
  27837. tags:
  27838. - 仓单贸易v2
  27839. /WrTrade2/QuerySpotGroupTradeSum:
  27840. get:
  27841. produces:
  27842. - application/json
  27843. responses:
  27844. "200":
  27845. description: OK
  27846. schema:
  27847. items:
  27848. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  27849. type: array
  27850. "500":
  27851. description: Internal Server Error
  27852. schema:
  27853. $ref: '#/definitions/app.Response'
  27854. security:
  27855. - ApiKeyAuth: []
  27856. summary: 查询指数
  27857. tags:
  27858. - 仓单贸易v2
  27859. /WrTrade2/QuerySpotGroupTradeSumDetail:
  27860. get:
  27861. description: 查询的结果将会按日期 从小到大 排序
  27862. parameters:
  27863. - description: 现货商品id
  27864. in: query
  27865. name: deliverygoodsid
  27866. required: true
  27867. type: integer
  27868. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  27869. in: query
  27870. name: lastnum
  27871. type: integer
  27872. produces:
  27873. - application/json
  27874. responses:
  27875. "200":
  27876. description: OK
  27877. schema:
  27878. items:
  27879. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  27880. type: array
  27881. "500":
  27882. description: Internal Server Error
  27883. schema:
  27884. $ref: '#/definitions/app.Response'
  27885. security:
  27886. - ApiKeyAuth: []
  27887. summary: 查询指数详细(价格走势图)
  27888. tags:
  27889. - 仓单贸易v2
  27890. /WrTrade2/QueryWrAverageTradePrice:
  27891. get:
  27892. parameters:
  27893. - description: 页码
  27894. in: query
  27895. name: page
  27896. type: integer
  27897. - description: 每页条数
  27898. in: query
  27899. name: pagesize
  27900. type: integer
  27901. - description: 0:仓单预售 1:仓单贸易
  27902. in: query
  27903. name: haswr
  27904. required: true
  27905. type: integer
  27906. - description: 仓单要素id
  27907. in: query
  27908. name: wrfactortypeid
  27909. required: true
  27910. type: integer
  27911. produces:
  27912. - application/json
  27913. responses:
  27914. "200":
  27915. description: OK
  27916. schema:
  27917. items:
  27918. $ref: '#/definitions/models.WrAverageTradePrice'
  27919. type: array
  27920. "500":
  27921. description: Internal Server Error
  27922. schema:
  27923. $ref: '#/definitions/app.Response'
  27924. security:
  27925. - ApiKeyAuth: []
  27926. summary: 查询成交价(历史走势)
  27927. tags:
  27928. - 仓单贸易v2
  27929. /WrTrade2/QueryWrBrandAndYears:
  27930. get:
  27931. produces:
  27932. - application/json
  27933. responses:
  27934. "200":
  27935. description: OK
  27936. schema:
  27937. items:
  27938. $ref: '#/definitions/models.WrBrandAndYears'
  27939. type: array
  27940. "500":
  27941. description: Internal Server Error
  27942. schema:
  27943. $ref: '#/definitions/app.Response'
  27944. security:
  27945. - ApiKeyAuth: []
  27946. summary: 查询品牌和年份
  27947. tags:
  27948. - 仓单贸易v2
  27949. /WrTrade2/QueryWrBsGoodsInfo:
  27950. get:
  27951. description: 合约交易/买卖大厅/详情
  27952. parameters:
  27953. - description: 商品id
  27954. in: query
  27955. name: goodsid
  27956. required: true
  27957. type: integer
  27958. produces:
  27959. - application/json
  27960. responses:
  27961. "200":
  27962. description: OK
  27963. schema:
  27964. items:
  27965. $ref: '#/definitions/models.WrBsGoodsInfo'
  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/QueryWrBuybackDetail:
  27977. get:
  27978. parameters:
  27979. - description: 融资合同id
  27980. in: query
  27981. name: scfcontractid
  27982. type: integer
  27983. produces:
  27984. - application/json
  27985. responses:
  27986. "200":
  27987. description: OK
  27988. schema:
  27989. items:
  27990. $ref: '#/definitions/models.WrBuybackDetail'
  27991. type: array
  27992. "500":
  27993. description: Internal Server Error
  27994. schema:
  27995. $ref: '#/definitions/app.Response'
  27996. security:
  27997. - ApiKeyAuth: []
  27998. summary: 查询仓单回购明细
  27999. tags:
  28000. - 仓单贸易v2
  28001. /WrTrade2/QueryWrClientAdSpaceConfig:
  28002. get:
  28003. produces:
  28004. - application/json
  28005. responses:
  28006. "200":
  28007. description: OK
  28008. schema:
  28009. items:
  28010. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  28011. type: array
  28012. "500":
  28013. description: Internal Server Error
  28014. schema:
  28015. $ref: '#/definitions/app.Response'
  28016. security:
  28017. - ApiKeyAuth: []
  28018. summary: 查询固定广告配置
  28019. tags:
  28020. - 仓单贸易v2
  28021. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  28022. get:
  28023. parameters:
  28024. - description: 资金账号
  28025. in: query
  28026. name: accountid
  28027. required: true
  28028. type: integer
  28029. - description: 商品id
  28030. in: query
  28031. name: goodsid
  28032. required: true
  28033. type: integer
  28034. produces:
  28035. - application/json
  28036. responses:
  28037. "200":
  28038. description: OK
  28039. schema:
  28040. items:
  28041. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  28042. type: array
  28043. "500":
  28044. description: Internal Server Error
  28045. schema:
  28046. $ref: '#/definitions/app.Response'
  28047. security:
  28048. - ApiKeyAuth: []
  28049. summary: 查询合约交收可点选仓单
  28050. tags:
  28051. - 仓单贸易v2
  28052. /WrTrade2/QueryWrDeliveryDetail:
  28053. get:
  28054. parameters:
  28055. - description: 用户id
  28056. in: query
  28057. name: userid
  28058. required: true
  28059. type: integer
  28060. - description: 资金账号id
  28061. in: query
  28062. name: accountid
  28063. type: integer
  28064. - description: 开始交易日(yyyymmdd)
  28065. in: query
  28066. name: begindate
  28067. type: string
  28068. - description: 结束交易日(yyyymmdd)
  28069. in: query
  28070. name: enddate
  28071. type: string
  28072. produces:
  28073. - application/json
  28074. responses:
  28075. "200":
  28076. description: OK
  28077. schema:
  28078. items:
  28079. $ref: '#/definitions/models.WrDeliveryDetail'
  28080. type: array
  28081. "500":
  28082. description: Internal Server Error
  28083. schema:
  28084. $ref: '#/definitions/app.Response'
  28085. security:
  28086. - ApiKeyAuth: []
  28087. summary: 查询交收
  28088. tags:
  28089. - 仓单贸易v2
  28090. /WrTrade2/QueryWrDraftUserInfo:
  28091. get:
  28092. parameters:
  28093. - description: 用户ID
  28094. in: query
  28095. name: userid
  28096. required: true
  28097. type: integer
  28098. - description: 用户状态 1:正常 2:注销
  28099. in: query
  28100. name: userstatus
  28101. type: integer
  28102. produces:
  28103. - application/json
  28104. responses:
  28105. "200":
  28106. description: OK
  28107. schema:
  28108. items:
  28109. $ref: '#/definitions/models.WrDraftUserInfo'
  28110. type: array
  28111. "500":
  28112. description: Internal Server Error
  28113. schema:
  28114. $ref: '#/definitions/app.Response'
  28115. security:
  28116. - ApiKeyAuth: []
  28117. summary: 查询实名认证信息
  28118. tags:
  28119. - 仓单贸易v2
  28120. /WrTrade2/QueryWrFactorTypeInfo:
  28121. get:
  28122. parameters:
  28123. - description: 仓单要素id
  28124. in: query
  28125. name: wrfactortypeid
  28126. required: true
  28127. type: integer
  28128. produces:
  28129. - application/json
  28130. responses:
  28131. "200":
  28132. description: OK
  28133. schema:
  28134. items:
  28135. $ref: '#/definitions/models.WrFactorTypeInfo'
  28136. type: array
  28137. "500":
  28138. description: Internal Server Error
  28139. schema:
  28140. $ref: '#/definitions/app.Response'
  28141. security:
  28142. - ApiKeyAuth: []
  28143. summary: 查询仓单要素详细信息
  28144. tags:
  28145. - 仓单贸易v2
  28146. /WrTrade2/QueryWrFactorTypeInfoEx:
  28147. get:
  28148. parameters:
  28149. - description: 仓单要素id
  28150. in: query
  28151. name: wrfactortypeid
  28152. required: true
  28153. type: integer
  28154. produces:
  28155. - application/json
  28156. responses:
  28157. "200":
  28158. description: OK
  28159. schema:
  28160. items:
  28161. $ref: '#/definitions/models.WrTypeItem'
  28162. type: array
  28163. "500":
  28164. description: Internal Server Error
  28165. schema:
  28166. $ref: '#/definitions/app.Response'
  28167. security:
  28168. - ApiKeyAuth: []
  28169. summary: 查询仓单要素详细信息列表项
  28170. tags:
  28171. - 仓单贸易v2
  28172. /WrTrade2/QueryWrFinanceBuyApply:
  28173. get:
  28174. description: 页面 融资信息+ / 申请单
  28175. parameters:
  28176. - description: 用户id
  28177. in: query
  28178. name: userid
  28179. required: true
  28180. type: integer
  28181. produces:
  28182. - application/json
  28183. responses:
  28184. "200":
  28185. description: OK
  28186. schema:
  28187. items:
  28188. $ref: '#/definitions/models.WrFinanceBuyApply'
  28189. type: array
  28190. "500":
  28191. description: Internal Server Error
  28192. schema:
  28193. $ref: '#/definitions/app.Response'
  28194. security:
  28195. - ApiKeyAuth: []
  28196. summary: 查询融资购买申请
  28197. tags:
  28198. - 仓单贸易v2
  28199. /WrTrade2/QueryWrFriendApply:
  28200. get:
  28201. parameters:
  28202. - description: 用户id
  28203. in: query
  28204. name: userid
  28205. required: true
  28206. type: integer
  28207. produces:
  28208. - application/json
  28209. responses:
  28210. "200":
  28211. description: OK
  28212. schema:
  28213. items:
  28214. $ref: '#/definitions/models.WrFriendApply'
  28215. type: array
  28216. "500":
  28217. description: Internal Server Error
  28218. schema:
  28219. $ref: '#/definitions/app.Response'
  28220. security:
  28221. - ApiKeyAuth: []
  28222. summary: 查询好友申请记录
  28223. tags:
  28224. - 仓单贸易v2
  28225. /WrTrade2/QueryWrGoodsInfo:
  28226. get:
  28227. parameters:
  28228. - description: 仓单贸易市场id
  28229. in: query
  28230. name: marketid
  28231. type: integer
  28232. - description: 0:仓单预售 1:仓单贸易
  28233. in: query
  28234. name: haswr
  28235. required: true
  28236. type: integer
  28237. - description: 仓单要素id
  28238. in: query
  28239. name: wrfactortypeid
  28240. required: true
  28241. type: integer
  28242. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  28243. in: query
  28244. name: tmplateid
  28245. type: integer
  28246. produces:
  28247. - application/json
  28248. responses:
  28249. "200":
  28250. description: OK
  28251. schema:
  28252. items:
  28253. $ref: '#/definitions/models.WrGoodsInfo'
  28254. type: array
  28255. "500":
  28256. description: Internal Server Error
  28257. schema:
  28258. $ref: '#/definitions/app.Response'
  28259. security:
  28260. - ApiKeyAuth: []
  28261. summary: 查询仓单商品信息
  28262. tags:
  28263. - 仓单贸易v2
  28264. /WrTrade2/QueryWrMarketTradeConfig:
  28265. get:
  28266. parameters:
  28267. - description: 市场id
  28268. in: query
  28269. name: marketid
  28270. type: integer
  28271. produces:
  28272. - application/json
  28273. responses:
  28274. "200":
  28275. description: OK
  28276. schema:
  28277. items:
  28278. $ref: '#/definitions/models.WrMarketTradeConfig'
  28279. type: array
  28280. "500":
  28281. description: Internal Server Error
  28282. schema:
  28283. $ref: '#/definitions/app.Response'
  28284. security:
  28285. - ApiKeyAuth: []
  28286. summary: 查询市场交易参数配置
  28287. tags:
  28288. - 仓单贸易v2
  28289. /WrTrade2/QueryWrOrderDetail:
  28290. get:
  28291. description: 页面 现货仓单 | 预售仓单 -> 委托单
  28292. parameters:
  28293. - description: 页码
  28294. in: query
  28295. name: page
  28296. type: integer
  28297. - description: 每页条数
  28298. in: query
  28299. name: pagesize
  28300. type: integer
  28301. - description: 用户id
  28302. in: query
  28303. name: userid
  28304. required: true
  28305. type: integer
  28306. - description: 仓单贸易市场id
  28307. in: query
  28308. name: marketid
  28309. type: integer
  28310. - description: 0:仓单预售 1:仓单贸易
  28311. in: query
  28312. name: haswr
  28313. required: true
  28314. type: integer
  28315. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  28316. in: query
  28317. name: bcancel
  28318. type: integer
  28319. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  28320. in: query
  28321. name: wrtradetype
  28322. type: integer
  28323. - description: 开始交易日(yyyymmdd)
  28324. in: query
  28325. name: begindate
  28326. type: string
  28327. - description: 结束交易日(yyyymmdd)
  28328. in: query
  28329. name: enddate
  28330. type: string
  28331. produces:
  28332. - application/json
  28333. responses:
  28334. "200":
  28335. description: OK
  28336. schema:
  28337. items:
  28338. $ref: '#/definitions/models.WrOrderDetail'
  28339. type: array
  28340. "500":
  28341. description: Internal Server Error
  28342. schema:
  28343. $ref: '#/definitions/app.Response'
  28344. security:
  28345. - ApiKeyAuth: []
  28346. summary: 查询仓单委托单
  28347. tags:
  28348. - 仓单贸易v2
  28349. /WrTrade2/QueryWrOutInApply:
  28350. get:
  28351. parameters:
  28352. - description: 用户id
  28353. in: query
  28354. name: userid
  28355. required: true
  28356. type: integer
  28357. - description: 开始交易日(yyyymmdd)
  28358. in: query
  28359. name: begindate
  28360. type: string
  28361. - description: 结束交易日(yyyymmdd)
  28362. in: query
  28363. name: enddate
  28364. type: string
  28365. produces:
  28366. - application/json
  28367. responses:
  28368. "200":
  28369. description: OK
  28370. schema:
  28371. items:
  28372. $ref: '#/definitions/models.WrOutInApply'
  28373. type: array
  28374. "500":
  28375. description: Internal Server Error
  28376. schema:
  28377. $ref: '#/definitions/app.Response'
  28378. security:
  28379. - ApiKeyAuth: []
  28380. summary: 查询提货申请
  28381. tags:
  28382. - 仓单贸易v2
  28383. /WrTrade2/QueryWrPerformancePlanStep:
  28384. get:
  28385. parameters:
  28386. - description: 履约计划id(performanceplanid)
  28387. in: query
  28388. name: planid
  28389. required: true
  28390. type: integer
  28391. - description: 当前步骤id
  28392. in: query
  28393. name: curstepid
  28394. type: integer
  28395. produces:
  28396. - application/json
  28397. responses:
  28398. "200":
  28399. description: OK
  28400. schema:
  28401. items:
  28402. $ref: '#/definitions/models.WrPerformancePlanStep'
  28403. type: array
  28404. "500":
  28405. description: Internal Server Error
  28406. schema:
  28407. $ref: '#/definitions/app.Response'
  28408. security:
  28409. - ApiKeyAuth: []
  28410. summary: 查询履约信息详情
  28411. tags:
  28412. - 仓单贸易v2
  28413. /WrTrade2/QueryWrPerformanceStepType:
  28414. get:
  28415. produces:
  28416. - application/json
  28417. responses:
  28418. "200":
  28419. description: OK
  28420. schema:
  28421. items:
  28422. $ref: '#/definitions/models.WrPerformanceStepType'
  28423. type: array
  28424. "500":
  28425. description: Internal Server Error
  28426. schema:
  28427. $ref: '#/definitions/app.Response'
  28428. security:
  28429. - ApiKeyAuth: []
  28430. summary: 查询履约步骤枚举
  28431. tags:
  28432. - 仓单贸易v2
  28433. /WrTrade2/QueryWrPosition:
  28434. get:
  28435. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  28436. parameters:
  28437. - description: 用户id
  28438. in: query
  28439. name: userid
  28440. required: true
  28441. type: integer
  28442. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  28443. in: query
  28444. name: querytype
  28445. required: true
  28446. type: integer
  28447. - description: 0:仓单预售 1:仓单贸易
  28448. in: query
  28449. name: haswr
  28450. required: true
  28451. type: integer
  28452. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  28453. in: query
  28454. name: dgitemname
  28455. type: string
  28456. - description: 仓库id(筛选条件)
  28457. in: query
  28458. name: warehouseid
  28459. type: integer
  28460. - description: 品种id
  28461. in: query
  28462. name: deliverygoodsid
  28463. type: integer
  28464. - description: 品类id
  28465. in: query
  28466. name: wrstandardid
  28467. type: integer
  28468. produces:
  28469. - application/json
  28470. responses:
  28471. "200":
  28472. description: OK
  28473. schema:
  28474. items:
  28475. $ref: '#/definitions/models.WrPosition'
  28476. type: array
  28477. "500":
  28478. description: Internal Server Error
  28479. schema:
  28480. $ref: '#/definitions/app.Response'
  28481. security:
  28482. - ApiKeyAuth: []
  28483. summary: 查询现货(预售)仓单持仓
  28484. tags:
  28485. - 仓单贸易v2
  28486. /WrTrade2/QueryWrPreSaleInfo:
  28487. get:
  28488. parameters:
  28489. - description: 市场id
  28490. in: query
  28491. name: marketid
  28492. type: integer
  28493. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  28494. in: query
  28495. name: presalestatus
  28496. type: string
  28497. - description: 摇号标识 - 0:未摇号 1:已摇号
  28498. in: query
  28499. name: lotteryflag
  28500. type: integer
  28501. - description: 最近多少条记录(按创建时间倒序)
  28502. in: query
  28503. name: lastnum
  28504. type: integer
  28505. produces:
  28506. - application/json
  28507. responses:
  28508. "200":
  28509. description: OK
  28510. schema:
  28511. items:
  28512. $ref: '#/definitions/models.WrPreSaleInfo'
  28513. type: array
  28514. "500":
  28515. description: Internal Server Error
  28516. schema:
  28517. $ref: '#/definitions/app.Response'
  28518. security:
  28519. - ApiKeyAuth: []
  28520. summary: 查询新品发布
  28521. tags:
  28522. - 仓单贸易v2
  28523. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  28524. get:
  28525. parameters:
  28526. - description: 市场id
  28527. in: query
  28528. name: marketid
  28529. required: true
  28530. type: integer
  28531. - description: 现货商品id
  28532. in: query
  28533. name: wrstandardid
  28534. required: true
  28535. type: integer
  28536. - description: 开始交易日(yyyymmdd)
  28537. in: query
  28538. name: begindate
  28539. type: string
  28540. - description: 结束交易日(yyyymmdd)
  28541. in: query
  28542. name: enddate
  28543. type: string
  28544. - description: 最近多少条记录(按交易日倒序)
  28545. in: query
  28546. name: lastnum
  28547. type: integer
  28548. produces:
  28549. - application/json
  28550. responses:
  28551. "200":
  28552. description: OK
  28553. schema:
  28554. items:
  28555. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  28556. type: array
  28557. "500":
  28558. description: Internal Server Error
  28559. schema:
  28560. $ref: '#/definitions/app.Response'
  28561. security:
  28562. - ApiKeyAuth: []
  28563. summary: 查询价格走势
  28564. tags:
  28565. - 仓单贸易v2
  28566. /WrTrade2/QueryWrScfContract:
  28567. get:
  28568. parameters:
  28569. - description: 用户id
  28570. in: query
  28571. name: userid
  28572. required: true
  28573. type: integer
  28574. - description: 融资合同id
  28575. in: query
  28576. name: scfcontractid
  28577. type: integer
  28578. produces:
  28579. - application/json
  28580. responses:
  28581. "200":
  28582. description: OK
  28583. schema:
  28584. items:
  28585. $ref: '#/definitions/models.WrScfContract'
  28586. type: array
  28587. "500":
  28588. description: Internal Server Error
  28589. schema:
  28590. $ref: '#/definitions/app.Response'
  28591. security:
  28592. - ApiKeyAuth: []
  28593. summary: 查询仓单贸易融资合同
  28594. tags:
  28595. - 仓单贸易v2
  28596. /WrTrade2/QueryWrScfContractInterest:
  28597. get:
  28598. parameters:
  28599. - description: 融资合同id
  28600. in: query
  28601. name: scfcontractid
  28602. type: integer
  28603. produces:
  28604. - application/json
  28605. responses:
  28606. "200":
  28607. description: OK
  28608. schema:
  28609. items:
  28610. $ref: '#/definitions/models.WrScfContractInterest'
  28611. type: array
  28612. "500":
  28613. description: Internal Server Error
  28614. schema:
  28615. $ref: '#/definitions/app.Response'
  28616. security:
  28617. - ApiKeyAuth: []
  28618. summary: 查询融资合同费用明细
  28619. tags:
  28620. - 仓单贸易v2
  28621. /WrTrade2/QueryWrSearchUser:
  28622. get:
  28623. parameters:
  28624. - description: 用户名称(模糊匹配)
  28625. in: query
  28626. name: username
  28627. required: true
  28628. type: string
  28629. produces:
  28630. - application/json
  28631. responses:
  28632. "200":
  28633. description: OK
  28634. schema:
  28635. items:
  28636. $ref: '#/definitions/models.WrSearchUser'
  28637. type: array
  28638. "500":
  28639. description: Internal Server Error
  28640. schema:
  28641. $ref: '#/definitions/app.Response'
  28642. security:
  28643. - ApiKeyAuth: []
  28644. summary: 查询用户
  28645. tags:
  28646. - 仓单贸易v2
  28647. /WrTrade2/QueryWrSpecialMatchOrder:
  28648. get:
  28649. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  28650. parameters:
  28651. - description: 页码
  28652. in: query
  28653. name: page
  28654. type: integer
  28655. - description: 每页条数
  28656. in: query
  28657. name: pagesize
  28658. type: integer
  28659. - description: 用户id
  28660. in: query
  28661. name: userid
  28662. required: true
  28663. type: integer
  28664. - description: 仓单贸易市场id
  28665. in: query
  28666. name: marketid
  28667. type: integer
  28668. - description: 0:仓单预售 1:仓单贸易
  28669. in: query
  28670. name: haswr
  28671. required: true
  28672. type: integer
  28673. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  28674. in: query
  28675. name: isspecified
  28676. type: integer
  28677. produces:
  28678. - application/json
  28679. responses:
  28680. "200":
  28681. description: OK
  28682. schema:
  28683. items:
  28684. $ref: '#/definitions/models.WrSpecialMatchOrder'
  28685. type: array
  28686. "500":
  28687. description: Internal Server Error
  28688. schema:
  28689. $ref: '#/definitions/app.Response'
  28690. security:
  28691. - ApiKeyAuth: []
  28692. summary: 查询指定成交
  28693. tags:
  28694. - 仓单贸易v2
  28695. /WrTrade2/QueryWrStandardFactoryItem:
  28696. get:
  28697. parameters:
  28698. - description: 品类id
  28699. in: query
  28700. name: wrstandardid
  28701. required: true
  28702. type: integer
  28703. produces:
  28704. - application/json
  28705. responses:
  28706. "200":
  28707. description: OK
  28708. schema:
  28709. items:
  28710. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  28711. type: array
  28712. "500":
  28713. description: Internal Server Error
  28714. schema:
  28715. $ref: '#/definitions/app.Response'
  28716. security:
  28717. - ApiKeyAuth: []
  28718. summary: 查询品类要素定义项
  28719. tags:
  28720. - 仓单贸易v2
  28721. /WrTrade2/QueryWrTradeBargainApply:
  28722. get:
  28723. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  28724. 议价->对方议价 填写matchuserid=登录用户id
  28725. parameters:
  28726. - description: 议价人id(摘牌方)
  28727. in: query
  28728. name: userid
  28729. type: integer
  28730. - description: 挂牌方id(查对方议价时,填写此项)
  28731. in: query
  28732. name: matchuserid
  28733. type: integer
  28734. - description: 关联委托单id
  28735. in: query
  28736. name: wrtradeorderid
  28737. type: integer
  28738. - description: 0:仓单预售 1:仓单贸易
  28739. in: query
  28740. name: haswr
  28741. required: true
  28742. type: integer
  28743. - description: 开始交易日(yyyymmdd)
  28744. in: query
  28745. name: begindate
  28746. type: string
  28747. - description: 结束交易日(yyyymmdd)
  28748. in: query
  28749. name: enddate
  28750. type: string
  28751. produces:
  28752. - application/json
  28753. responses:
  28754. "200":
  28755. description: OK
  28756. schema:
  28757. items:
  28758. $ref: '#/definitions/models.WRTradeBargainApply'
  28759. type: array
  28760. "500":
  28761. description: Internal Server Error
  28762. schema:
  28763. $ref: '#/definitions/app.Response'
  28764. security:
  28765. - ApiKeyAuth: []
  28766. summary: 查询议价单
  28767. tags:
  28768. - 仓单贸易v2
  28769. /WrTrade2/QueryWrTradeDetail:
  28770. get:
  28771. parameters:
  28772. - description: 页码
  28773. in: query
  28774. name: page
  28775. type: integer
  28776. - description: 每页条数
  28777. in: query
  28778. name: pagesize
  28779. type: integer
  28780. - description: 用户id
  28781. in: query
  28782. name: userid
  28783. required: true
  28784. type: integer
  28785. - description: 仓单贸易市场id
  28786. in: query
  28787. name: marketid
  28788. type: integer
  28789. - description: 0:仓单预售 1:仓单贸易
  28790. in: query
  28791. name: haswr
  28792. required: true
  28793. type: integer
  28794. - description: 开始交易日(yyyymmdd)
  28795. in: query
  28796. name: begindate
  28797. type: string
  28798. - description: 结束交易日(yyyymmdd)
  28799. in: query
  28800. name: enddate
  28801. type: string
  28802. produces:
  28803. - application/json
  28804. responses:
  28805. "200":
  28806. description: OK
  28807. schema:
  28808. items:
  28809. $ref: '#/definitions/models.WrTradeDetail'
  28810. type: array
  28811. "500":
  28812. description: Internal Server Error
  28813. schema:
  28814. $ref: '#/definitions/app.Response'
  28815. security:
  28816. - ApiKeyAuth: []
  28817. summary: 查询仓单成交明细
  28818. tags:
  28819. - 仓单贸易v2
  28820. /WrTrade2/QueryWrTradeOrderDetail:
  28821. get:
  28822. parameters:
  28823. - description: 页码
  28824. in: query
  28825. name: page
  28826. type: integer
  28827. - description: 每页条数
  28828. in: query
  28829. name: pagesize
  28830. type: integer
  28831. - description: 商品id
  28832. in: query
  28833. name: goodsid
  28834. required: true
  28835. type: integer
  28836. - description: 买卖方向 0-买 1-卖
  28837. in: query
  28838. name: buyorsell
  28839. required: true
  28840. type: integer
  28841. produces:
  28842. - application/json
  28843. responses:
  28844. "200":
  28845. description: OK
  28846. schema:
  28847. items:
  28848. $ref: '#/definitions/models.WrTradeOrderDetail'
  28849. type: array
  28850. "500":
  28851. description: Internal Server Error
  28852. schema:
  28853. $ref: '#/definitions/app.Response'
  28854. security:
  28855. - ApiKeyAuth: []
  28856. summary: 查询合约交易买卖大厅
  28857. tags:
  28858. - 仓单贸易v2
  28859. /WrTrade2/QueryWrUserFriend:
  28860. get:
  28861. parameters:
  28862. - description: 用户id
  28863. in: query
  28864. name: userid
  28865. required: true
  28866. type: integer
  28867. - description: 新朋友userid, 如果填写了此项则查找新朋友
  28868. in: query
  28869. name: newuserid
  28870. type: integer
  28871. produces:
  28872. - application/json
  28873. responses:
  28874. "200":
  28875. description: OK
  28876. schema:
  28877. items:
  28878. $ref: '#/definitions/models.WrUserFriend'
  28879. type: array
  28880. "500":
  28881. description: Internal Server Error
  28882. schema:
  28883. $ref: '#/definitions/app.Response'
  28884. security:
  28885. - ApiKeyAuth: []
  28886. summary: 查询我的朋友
  28887. tags:
  28888. - 仓单贸易v2
  28889. /WrTrade2/QueryWrUserReceiptInfo:
  28890. get:
  28891. parameters:
  28892. - description: 用户id
  28893. in: query
  28894. name: userid
  28895. type: integer
  28896. - description: 发票类型 - 1:个人 2:企业
  28897. in: query
  28898. name: receipttype
  28899. type: integer
  28900. produces:
  28901. - application/json
  28902. responses:
  28903. "200":
  28904. description: OK
  28905. schema:
  28906. items:
  28907. $ref: '#/definitions/models.WrUserReceiptInfo'
  28908. type: array
  28909. "500":
  28910. description: Internal Server Error
  28911. schema:
  28912. $ref: '#/definitions/app.Response'
  28913. security:
  28914. - ApiKeyAuth: []
  28915. summary: 查询发票信息
  28916. tags:
  28917. - 仓单贸易v2
  28918. /ZJ/GetBankTip:
  28919. get:
  28920. produces:
  28921. - application/json
  28922. responses:
  28923. "200":
  28924. description: OK
  28925. schema:
  28926. type: string
  28927. "500":
  28928. description: Internal Server Error
  28929. schema:
  28930. $ref: '#/definitions/app.Response'
  28931. summary: 获取中江网银端出入金提示信息
  28932. tags:
  28933. - 中江
  28934. /ZJ/GetCusBankChannels:
  28935. get:
  28936. produces:
  28937. - application/json
  28938. responses:
  28939. "200":
  28940. description: OK
  28941. schema:
  28942. items:
  28943. type: string
  28944. type: array
  28945. "500":
  28946. description: Internal Server Error
  28947. schema:
  28948. $ref: '#/definitions/app.Response'
  28949. summary: 获取中江出入金渠道显示列表
  28950. tags:
  28951. - 中江
  28952. securityDefinitions:
  28953. ApiKeyAuth:
  28954. in: header
  28955. name: Authorization
  28956. type: apiKey
  28957. swagger: "2.0"