swagger.yaml 807 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data: {}
  8. msg:
  9. type: string
  10. page:
  11. description: 页码
  12. type: integer
  13. pagesize:
  14. description: 每页条数
  15. type: integer
  16. total:
  17. description: 总条数
  18. type: integer
  19. type: object
  20. common.ClientMenu:
  21. properties:
  22. children:
  23. description: 子菜单列表
  24. items:
  25. $ref: '#/definitions/common.ClientMenu'
  26. type: array
  27. code:
  28. description: ID
  29. type: string
  30. isshow:
  31. description: 是否显示
  32. type: boolean
  33. remark:
  34. description: 备注
  35. type: string
  36. rulekey:
  37. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  38. type: string
  39. sort:
  40. description: 排序
  41. type: integer
  42. title:
  43. description: 标题
  44. type: string
  45. type:
  46. description: 类型,1:菜单 2:按钮
  47. type: integer
  48. url:
  49. description: URL
  50. type: string
  51. type: object
  52. common.PCWebMenu:
  53. properties:
  54. auth:
  55. description: 页面权限列表
  56. items:
  57. $ref: '#/definitions/common.PCWebMenuAuth'
  58. type: array
  59. children:
  60. description: 子菜单列表
  61. items:
  62. $ref: '#/definitions/common.PCWebMenu'
  63. type: array
  64. code:
  65. description: ID,新版本中权限KEY也是这个字段
  66. type: string
  67. component:
  68. description: 路由组件
  69. type: string
  70. isshow:
  71. description: 是否显示
  72. type: boolean
  73. path:
  74. description: 路由路径
  75. type: string
  76. remark:
  77. description: 备注
  78. type: string
  79. rulekey:
  80. description: 权限主键,非空表示需要判断控制,非空值不可重复
  81. type: string
  82. sort:
  83. description: 排序
  84. type: integer
  85. title:
  86. description: 标题
  87. type: string
  88. url:
  89. description: URL
  90. type: string
  91. type: object
  92. common.PCWebMenuAuth:
  93. properties:
  94. code:
  95. description: ID,新版本中权限KEY也是这个字段
  96. type: string
  97. isshow:
  98. description: 是否显示
  99. type: boolean
  100. label:
  101. description: 标题
  102. type: string
  103. remark:
  104. description: 备注
  105. type: string
  106. rulekey:
  107. description: 权限主键,非空表示需要判断控制,非空值不可重复
  108. type: string
  109. type: object
  110. common.QueryImageConfigsRsp:
  111. properties:
  112. areauserid:
  113. description: 所属机构ID
  114. type: integer
  115. configid:
  116. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  117. type: integer
  118. createdate:
  119. description: 创建时间
  120. type: string
  121. creatorid:
  122. description: 创建人
  123. type: integer
  124. imagedetailpath:
  125. description: 详情图片 [UrlType = 3时 有且必填,其它类型不需要]
  126. type: string
  127. imagepath:
  128. description: 图片
  129. type: string
  130. imagetype:
  131. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  132. type: integer
  133. isshow:
  134. description: 是否展示 - 0:不展示 1:展示
  135. type: integer
  136. marketid:
  137. description: 市场ID
  138. type: integer
  139. modifierid:
  140. description: 操作人
  141. type: integer
  142. sort:
  143. description: 排序
  144. type: integer
  145. title:
  146. description: 标题
  147. type: string
  148. trademode:
  149. description: 交易模式
  150. type: integer
  151. updatedate:
  152. description: 修改时间
  153. type: string
  154. url:
  155. description: 链接(地址或商品ID)
  156. type: string
  157. urltype:
  158. description: 链接类型 - 1:直接地址 2:商品ID
  159. type: integer
  160. required:
  161. - configid
  162. type: object
  163. common.QueryNoticeRsp:
  164. properties:
  165. auditoruserid:
  166. description: 审核人
  167. type: integer
  168. auditremark:
  169. description: 审核备注
  170. type: string
  171. audittime:
  172. description: 审核日期
  173. type: string
  174. autoid:
  175. description: 自增ID
  176. type: integer
  177. content:
  178. description: 内容
  179. type: string
  180. createtime:
  181. description: 创建时间
  182. type: string
  183. creatorid:
  184. description: 建仓人
  185. type: integer
  186. endtime:
  187. description: 结束时间
  188. type: string
  189. istop:
  190. description: 是否置顶 - 0:不置顶 1:置顶
  191. type: integer
  192. msgiconurl:
  193. description: 消息图标Url
  194. type: string
  195. msgtype:
  196. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  197. type: integer
  198. publisher:
  199. description: 消息发布者
  200. type: string
  201. readed:
  202. description: 是否已读
  203. type: boolean
  204. scheduletime:
  205. description: 计划发送时间
  206. type: string
  207. sendtype:
  208. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  209. type: integer
  210. sentstatus:
  211. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  212. type: integer
  213. title:
  214. description: 标题
  215. type: string
  216. userid:
  217. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  218. type: integer
  219. required:
  220. - autoid
  221. type: object
  222. common.QueryProvincesAndCitiesRsp:
  223. properties:
  224. cities:
  225. description: 市
  226. items:
  227. $ref: '#/definitions/models.Division'
  228. type: array
  229. province:
  230. $ref: '#/definitions/models.Division'
  231. description: 省
  232. type: object
  233. common.QueryTableDefineRsp:
  234. properties:
  235. columns:
  236. description: 列头信息数组
  237. items:
  238. $ref: '#/definitions/models.Tablecolumnconfig'
  239. type: array
  240. remark:
  241. description: Remark
  242. type: string
  243. tabelmenu:
  244. description: 列表菜单
  245. type: string
  246. tablekey:
  247. description: 列表Key
  248. type: string
  249. tablename:
  250. description: 列表名称
  251. type: string
  252. tabletype:
  253. description: 列表类型 - 1:管理端 2:终端
  254. type: integer
  255. required:
  256. - tablekey
  257. type: object
  258. common.QueryTraderMenuRsp:
  259. properties:
  260. OperationMenu:
  261. description: 功能菜单
  262. items:
  263. $ref: '#/definitions/models.OperationPrimaryMenu'
  264. type: array
  265. QuoteMenu:
  266. description: 报价牌分类菜单
  267. items:
  268. $ref: '#/definitions/models.QuotePrimaryMenu'
  269. type: array
  270. type: object
  271. cptrade.Cptradepositioncancel:
  272. properties:
  273. accountid:
  274. description: 申请人账户ID
  275. type: integer
  276. applystatus:
  277. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  278. type: integer
  279. applytime:
  280. description: 申请时间
  281. type: string
  282. cancelid:
  283. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  284. type: integer
  285. cancelqty:
  286. description: 注销数量
  287. type: integer
  288. createtime:
  289. description: 创建时间
  290. type: string
  291. creatorid:
  292. description: 创建人ID
  293. type: integer
  294. creatorname:
  295. description: 创建人
  296. type: string
  297. goodscode:
  298. description: 订单商品代码
  299. type: string
  300. goodsid:
  301. description: 商品ID
  302. type: integer
  303. goodsname:
  304. description: 订单商品名称
  305. type: string
  306. goodunit:
  307. description: 报价单位
  308. type: string
  309. handlestatus:
  310. description: 处理状态
  311. type: integer
  312. marketid:
  313. description: 市场ID
  314. type: integer
  315. marketname:
  316. description: 市场名称
  317. type: string
  318. tradedate:
  319. description: 交易日(yyyyMMdd)
  320. type: string
  321. userid:
  322. description: 申请人ID
  323. type: integer
  324. required:
  325. - cancelid
  326. type: object
  327. cptrade.Cptradepresaleapply:
  328. properties:
  329. accountid:
  330. description: 申请人账户ID
  331. type: integer
  332. applyid:
  333. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  334. type: integer
  335. applyremark:
  336. description: 申请备注
  337. type: string
  338. applystatus:
  339. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  340. type: integer
  341. applytime:
  342. description: 申请时间
  343. type: string
  344. attachmenturl:
  345. description: 附件地址
  346. type: string
  347. endtime:
  348. description: 预售结束时间
  349. type: string
  350. goodscode:
  351. description: 商品代码
  352. type: string
  353. goodsid:
  354. description: 商品ID
  355. type: integer
  356. goodsname:
  357. description: 商品名称
  358. type: string
  359. goodunit:
  360. description: 报价单位
  361. type: string
  362. handlestatus:
  363. description: 处理状态
  364. type: integer
  365. marketid:
  366. description: 预售市场ID
  367. type: integer
  368. marketname:
  369. description: 预售市场名称
  370. type: string
  371. presaleqty:
  372. description: 预售数量
  373. type: integer
  374. relatedgoodscode:
  375. description: 关联交易合约代码
  376. type: string
  377. relatedgoodsid:
  378. description: 关联交易合约ID
  379. type: integer
  380. relatedgoodsname:
  381. description: 关联交易合约名称
  382. type: string
  383. starttime:
  384. description: 预售开始时间
  385. type: string
  386. tradedate:
  387. description: 交易日(yyyyMMdd)
  388. type: string
  389. trademode:
  390. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  391. type: integer
  392. userid:
  393. description: 申请人ID
  394. type: integer
  395. required:
  396. - applyid
  397. type: object
  398. cptrade.Cptradeusergoodsdata:
  399. properties:
  400. EnabledQty:
  401. description: 可用量
  402. type: integer
  403. GoodsCode:
  404. description: 订单商品代码
  405. type: string
  406. GoodsName:
  407. description: 订单商品名称
  408. type: string
  409. WRStandardCode:
  410. description: 仓单标准代码
  411. type: string
  412. WRStandardName:
  413. description: 仓单标准名称
  414. type: string
  415. accountid:
  416. description: 账户ID
  417. type: integer
  418. cancelqty:
  419. description: 注销量
  420. type: integer
  421. curpresaleqty:
  422. description: 当前预售量
  423. type: integer
  424. deliveryqty:
  425. description: 交割量
  426. type: integer
  427. freezeamount:
  428. description: 冻结金额
  429. type: number
  430. goodsid:
  431. description: 商品ID
  432. type: integer
  433. goodunit:
  434. description: 报价单位
  435. type: string
  436. hasspotfreeze:
  437. description: 是否有现货冻结 - 0:否 1:有
  438. type: integer
  439. inqty:
  440. description: 转入量(总数量)
  441. type: integer
  442. marketid:
  443. description: 市场ID
  444. type: integer
  445. presaledamount:
  446. description: 已预售总金额
  447. type: integer
  448. presaledqty:
  449. description: 已预售量
  450. type: integer
  451. userid:
  452. description: 用户ID
  453. type: integer
  454. wrstandardid:
  455. description: 仓单标准ID
  456. type: integer
  457. required:
  458. - accountid
  459. - goodsid
  460. type: object
  461. cptrade.QueryCPTradeMyBidRsp:
  462. properties:
  463. accountid:
  464. description: 账户ID[报价币种]
  465. type: integer
  466. goodsid:
  467. description: 商品ID
  468. type: integer
  469. goodunit:
  470. description: 报价单位
  471. type: string
  472. marketid:
  473. description: 市场ID
  474. type: integer
  475. orderid:
  476. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  477. type: integer
  478. orderprice:
  479. description: 委托价格
  480. type: number
  481. orderqty:
  482. description: 委托数量
  483. type: integer
  484. ordertime:
  485. description: 委托时间
  486. type: string
  487. ordertotalprice:
  488. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  489. type: number
  490. ordertotalweight:
  491. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  492. type: integer
  493. totaltotalprice:
  494. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  495. type: number
  496. tradeprice:
  497. description: 成交价格
  498. type: number
  499. tradeqty:
  500. description: 成交数量
  501. type: integer
  502. required:
  503. - accountid
  504. - goodsid
  505. - marketid
  506. - orderid
  507. - orderqty
  508. - ordertime
  509. - tradeprice
  510. - tradeqty
  511. type: object
  512. cptrade.QueryCPTradeOrderDetailRsq:
  513. properties:
  514. accountid:
  515. description: 账户ID[报价币种]
  516. type: integer
  517. buildtype:
  518. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  519. type: integer
  520. buyorsell:
  521. description: 买卖 - 0:买 1:卖
  522. type: integer
  523. cancelorderid:
  524. description: 撤单单号(撤单时填写)
  525. type: integer
  526. cancelqty:
  527. description: 撤单数量
  528. type: integer
  529. clientordertime:
  530. description: 客户端委托时间
  531. type: string
  532. clientticket:
  533. description: 客户端流水号
  534. type: string
  535. clienttype:
  536. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  537. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  538. type: integer
  539. closeexchagechargevalue:
  540. description: 平仓交易所手续费设置值
  541. type: number
  542. closefeealgorithm:
  543. description: 平仓手续费收取方式 1:比率 2:固定
  544. type: integer
  545. closefreezecharge:
  546. description: 平仓冻结手续费(先建后平操作,需要记录)
  547. type: number
  548. closememberchargevalue:
  549. description: 平仓会员手续费设置值
  550. type: number
  551. closeqty:
  552. description: 平仓数量(先建后平操作 需要记录)
  553. type: integer
  554. closetradeqty:
  555. description: 平仓成交数量(先建后平操作,需要记录)
  556. type: integer
  557. closeunfreezecharge:
  558. description: 平仓解冻手续费(先建后平操作,需要记录)
  559. type: number
  560. delistingtype:
  561. description: 摘牌类型 - 1:价格最优 2:点选成交
  562. type: integer
  563. freezecharge:
  564. description: 冻结手续费
  565. type: number
  566. freezemargin:
  567. description: 冻结保证金(冻结交易金额)
  568. type: number
  569. gcaccountid:
  570. description: 账户ID[合约币种]
  571. type: integer
  572. goodsid:
  573. description: 商品ID
  574. type: integer
  575. isconfirmexercise:
  576. description: 是否确认行权- 0:否 1:是
  577. type: integer
  578. ispreexercise:
  579. description: 是否预申报- 0:否 1:是
  580. type: integer
  581. listingselecttype:
  582. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  583. type: integer
  584. marginalgorithm:
  585. description: 保证金收取方式 1:比率 2:固定
  586. type: integer
  587. marginvalue:
  588. description: 即市保证金设置值
  589. type: number
  590. marketid:
  591. description: 市场ID
  592. type: integer
  593. marketmaxsub:
  594. description: 市价最大偏移范围
  595. type: number
  596. memberuserid:
  597. description: 所属会员UserID
  598. type: integer
  599. openexchagechargevalue:
  600. description: 建仓交易所手续费设置值
  601. type: number
  602. openfeealgorithm:
  603. description: 建仓手续费收取方式 1:比率 2:固定
  604. type: integer
  605. openfreezecharge:
  606. description: 开仓冻结手续费(先建后平操作,需要记录)
  607. type: number
  608. openmemberchargevalue:
  609. description: 建仓会员手续费设置值
  610. type: number
  611. openqty:
  612. description: 开仓数量(先建后平操作,需要记录)
  613. type: integer
  614. opentradeqty:
  615. description: 开仓成交数量(先建后平操作,需要记录)
  616. type: integer
  617. openunfreezecharge:
  618. description: 开仓解冻手续费(先建后平操作,需要记录)
  619. type: number
  620. operatetype:
  621. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  622. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  623. 15:管理端协议转让
  624. type: integer
  625. operatorid:
  626. description: 登录账号(LoginID)
  627. type: integer
  628. optiontype:
  629. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  630. type: integer
  631. orderprice:
  632. description: 委托价格
  633. type: number
  634. orderqty:
  635. description: 委托数量
  636. type: integer
  637. ordersrc:
  638. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  639. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  640. type: integer
  641. orderstatus:
  642. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  643. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  644. 16:成交失败违约(荷兰式竞拍专用)
  645. type: integer
  646. ordertime:
  647. description: 委托时间
  648. type: string
  649. preexerciseprice:
  650. description: 预申报价格
  651. type: number
  652. premium:
  653. description: 权利金
  654. type: number
  655. preorderid:
  656. description: 关联预埋单号(止盈止损单时填写)
  657. type: integer
  658. pricemode:
  659. description: '取价方式 - 1:市价 2: 限价'
  660. type: integer
  661. quoteid:
  662. description: 报价单ID
  663. type: integer
  664. relatedid:
  665. description: 关联单号(交割单)
  666. type: integer
  667. retcode:
  668. description: 错误代码
  669. type: integer
  670. sessionid:
  671. description: 会话ID
  672. type: integer
  673. strorderid:
  674. description: 委托单号
  675. type: string
  676. tradedate:
  677. description: 交易日(yyyyMMdd)
  678. type: string
  679. tradeproperty:
  680. description: 交易属性
  681. type: integer
  682. tradeqty:
  683. description: 成交数量
  684. type: integer
  685. unfreezecharge:
  686. description: 解冻手续费
  687. type: number
  688. unfreezemargin:
  689. description: 解冻保证金
  690. type: number
  691. updatetime:
  692. description: 更新时间
  693. type: string
  694. uuid:
  695. description: 发起端唯一id
  696. type: string
  697. validtime:
  698. description: 有效期限
  699. type: string
  700. validtype:
  701. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  702. type: integer
  703. volumetype:
  704. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  705. type: integer
  706. required:
  707. - accountid
  708. - buildtype
  709. - buyorsell
  710. - goodsid
  711. - marketid
  712. - memberuserid
  713. - operatetype
  714. - orderqty
  715. - ordertime
  716. - pricemode
  717. - strorderid
  718. - tradedate
  719. - validtype
  720. type: object
  721. cptrade.QueryMyCPTradeGoodsRsp:
  722. properties:
  723. accountid:
  724. description: 卖方账户ID
  725. type: integer
  726. agreeunit:
  727. description: 合约单位
  728. type: number
  729. applyid:
  730. description: 关联申请ID
  731. type: integer
  732. attachmenturl:
  733. description: 附件地址
  734. type: string
  735. createtime:
  736. description: 创建时间
  737. type: string
  738. currencyid:
  739. description: 报价货币ID
  740. type: integer
  741. decimalplace:
  742. description: 报价小数位
  743. type: integer
  744. endtime:
  745. description: 预售结束时间
  746. type: string
  747. floorprice:
  748. description: 底价[大宗式竞拍]
  749. type: number
  750. goodscode:
  751. description: 商品代码(预售)
  752. type: string
  753. goodsdetail:
  754. description: 详情[大宗]
  755. type: string
  756. goodsid:
  757. description: 商品ID(自增ID SEQ_GOODS)
  758. type: integer
  759. goodsname:
  760. description: 商品名称(预售)
  761. type: string
  762. goodunit:
  763. description: 报价单位
  764. type: string
  765. goodunitid:
  766. description: 报价单位ID
  767. type: integer
  768. marketid:
  769. description: 所属市场ID
  770. type: integer
  771. marketname:
  772. description: 预售市场名称
  773. type: string
  774. presaledamount:
  775. description: 已预售总金额(预售结束时更新)
  776. type: number
  777. presaledqty:
  778. description: 已预售量(预售结束时更新)
  779. type: integer
  780. presalemode:
  781. description: 预售模式 - 1:一口价 2:大宗式竞拍
  782. type: integer
  783. presaleqty:
  784. description: 预售数量
  785. type: integer
  786. refprice:
  787. description: 参考价格[一口价]
  788. type: number
  789. relatedgoodscode:
  790. description: 商品代码(订单)
  791. type: string
  792. relatedgoodsid:
  793. description: 关联交易合约ID
  794. type: integer
  795. relatedgoodsname:
  796. description: 商品名称(订单)
  797. type: string
  798. relatedmarketid:
  799. description: 关联交易合约市场ID
  800. type: integer
  801. sellstatus:
  802. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  803. type: integer
  804. startprice:
  805. description: 起拍价[大宗式竞拍]
  806. type: number
  807. starttime:
  808. description: 预售开始时间
  809. type: string
  810. tradedate:
  811. description: 交易日(yyyyMMdd)
  812. type: string
  813. tradeprice:
  814. description: 成交价[大宗]
  815. type: number
  816. userid:
  817. description: 卖方用户ID
  818. type: integer
  819. required:
  820. - goodscode
  821. - goodsid
  822. - goodsname
  823. - marketid
  824. - relatedgoodscode
  825. - relatedgoodsname
  826. type: object
  827. cptrade.QueryPresaleGoodsExRsp:
  828. properties:
  829. attachmenturl:
  830. description: 附件地址
  831. type: string
  832. createtime:
  833. description: 创建时间
  834. type: string
  835. endtime:
  836. description: 预售结束时间
  837. type: string
  838. floorprice:
  839. description: 底价[大宗式竞拍]
  840. type: number
  841. goodsdetail:
  842. description: 详情[大宗]
  843. type: string
  844. goodsid:
  845. description: 商品ID(预售)
  846. type: integer
  847. goodunit:
  848. description: 报价单位
  849. type: string
  850. marketid:
  851. description: 预售市场ID - 根据预售模式选择市场
  852. type: integer
  853. presaledamount:
  854. description: 已预售总金额(预售结束时更新)
  855. type: number
  856. presaledqty:
  857. description: 已预售量(预售结束时更新)
  858. type: integer
  859. presalemode:
  860. description: 预售模式 - 1:一口价 2:大宗式竞拍
  861. type: integer
  862. presaleqty:
  863. description: 预售数量
  864. type: integer
  865. refprice:
  866. description: 参考价格[一口价]
  867. type: number
  868. relatedgoodsid:
  869. description: 关联交易合约ID
  870. type: integer
  871. relatedmarketid:
  872. description: 关联交易合约市场ID
  873. type: integer
  874. sellstatus:
  875. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  876. type: integer
  877. startprice:
  878. description: 起拍价[大宗式竞拍]
  879. type: number
  880. starttime:
  881. description: 预售开始时间
  882. type: string
  883. tradedate:
  884. description: 交易日(yyyyMMdd)
  885. type: string
  886. tradeprice:
  887. description: 成交价[大宗]
  888. type: number
  889. required:
  890. - goodsid
  891. type: object
  892. delivery.QueryDeliveryRelationRsp:
  893. properties:
  894. begindate:
  895. description: 起始日期(yyyyMMdd)
  896. type: string
  897. buytemplateid:
  898. description: 买履约计划模板ID
  899. type: integer
  900. deliverygoodscode:
  901. description: 品种代码
  902. type: string
  903. deliverygoodsid:
  904. description: 交割商品
  905. type: integer
  906. deliverygoodsname:
  907. description: 品种名称
  908. type: string
  909. deliverymode:
  910. description: 交割方式 - 1:点选式 2:申报式
  911. type: integer
  912. deliverypricerule:
  913. description: 交割价规则- 1:行情价 2:建仓价
  914. type: integer
  915. deliverytype:
  916. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  917. type: integer
  918. enddate:
  919. description: 结束日期(yyyyMMdd)
  920. type: string
  921. enumdicname:
  922. description: 品类单位名称
  923. type: string
  924. goodscode:
  925. description: 商品代码
  926. type: string
  927. goodsid:
  928. description: 交易合约ID
  929. type: integer
  930. goodsname:
  931. description: 商品名称
  932. type: string
  933. marketid:
  934. description: 市场ID
  935. type: integer
  936. mindeliveryqty:
  937. description: 最小交割系数(K)
  938. type: integer
  939. p2deliveryprice:
  940. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  941. type: number
  942. p2deliveryratio:
  943. description: P2合约系数(p)
  944. type: integer
  945. p2goodsid:
  946. description: P2合约ID
  947. type: integer
  948. p2pricemode:
  949. description: P2合约价格方式 - 1:商品价 2:固定值
  950. type: integer
  951. pdeliveryprice:
  952. description: P合约价格(商品价时填写0,固定值时填写固定值)
  953. type: number
  954. pdeliveryratio:
  955. description: P合约系数(n)
  956. type: integer
  957. pgoodscode:
  958. description: p合约代码
  959. type: string
  960. pgoodsid:
  961. description: P合约ID
  962. type: integer
  963. ppricemode:
  964. description: P合约价格方式 - 1:商品价 2:固定值
  965. type: integer
  966. rratio:
  967. description: 兑换系数(R)
  968. type: integer
  969. rratio1:
  970. description: 兑换系数(交易合约)(R1)
  971. type: integer
  972. rratio2:
  973. description: 兑换系数(仓单标准)(R2)
  974. type: integer
  975. selltemplateid:
  976. description: 卖履约计划模板ID
  977. type: integer
  978. wrstandardid:
  979. description: 仓单标准ID
  980. type: integer
  981. xdeliveryratio:
  982. description: 交易合约系数(m)
  983. type: integer
  984. required:
  985. - begindate
  986. - enddate
  987. - goodsid
  988. - mindeliveryqty
  989. - xdeliveryratio
  990. type: object
  991. ermcp.ExposureDetailRsp:
  992. properties:
  993. areauserid:
  994. description: 机构ID
  995. type: integer
  996. changeQty:
  997. description: 套保变动量
  998. type: number
  999. contracttype:
  1000. description: 现货合同类型 - 1:采购 -1:销售
  1001. type: integer
  1002. convertfactor:
  1003. description: 标仓系数
  1004. type: number
  1005. convertratio:
  1006. description: 套保系数
  1007. type: number
  1008. createtime:
  1009. description: 时间
  1010. type: string
  1011. enumdicname:
  1012. description: 现货商品单位名称
  1013. type: string
  1014. logtype:
  1015. description: 类型 - 1:套保计划 2:现货合同
  1016. type: integer
  1017. middlegoodsId:
  1018. description: 套保商品id
  1019. type: integer
  1020. middlegoodscode:
  1021. description: 套保商品代码
  1022. type: string
  1023. middlegoodsname:
  1024. description: 套保商品名称
  1025. type: string
  1026. qty:
  1027. description: 数量
  1028. type: number
  1029. relateNo:
  1030. description: 现货合同/套保计划编号
  1031. type: string
  1032. wrstandardcode:
  1033. description: 现货商品代码
  1034. type: string
  1035. wrstandardid:
  1036. description: 现货商品ID
  1037. type: integer
  1038. wrstandardname:
  1039. description: 现货商品名称
  1040. type: string
  1041. type: object
  1042. ermcp.ExposureHedgePosDetailRsp:
  1043. properties:
  1044. buyorsell:
  1045. description: 买卖方向 0-买 1-卖
  1046. type: integer
  1047. channelbuildtype:
  1048. description: 开平方向 1-建仓 2-平仓
  1049. type: integer
  1050. goodscode:
  1051. description: 商品代码
  1052. type: string
  1053. goodsname:
  1054. description: 商品名称
  1055. type: string
  1056. hedgegoodsid:
  1057. description: 商品id
  1058. type: integer
  1059. tradeqty:
  1060. description: 数量(成交数量)
  1061. type: integer
  1062. tradetime:
  1063. description: 时间(成交时间)
  1064. type: string
  1065. type: object
  1066. ermcp.ExposureHedgePositionRsp:
  1067. properties:
  1068. accountid:
  1069. description: 资金账号[外部母账户]
  1070. type: integer
  1071. curbuyposition:
  1072. description: 期末买头寸
  1073. type: integer
  1074. cursellposition:
  1075. description: 期末卖头寸
  1076. type: integer
  1077. curtdbuyposition:
  1078. description: 期末今日买头寸
  1079. type: integer
  1080. curtdsellposition:
  1081. description: 期末今日卖头寸
  1082. type: integer
  1083. curydbuyposition:
  1084. description: 期末上日买头寸
  1085. type: integer
  1086. curydsellposition:
  1087. description: 期末上日卖头寸
  1088. type: integer
  1089. decreaseqty:
  1090. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1091. type: integer
  1092. fretdbuyposition:
  1093. description: 冻结今日买头寸
  1094. type: integer
  1095. fretdsellposition:
  1096. description: 冻结今日卖头寸
  1097. type: integer
  1098. freydbuyposition:
  1099. description: 冻结上日买头寸
  1100. type: integer
  1101. freydsellposition:
  1102. description: 冻结上日卖头寸
  1103. type: integer
  1104. goodscode:
  1105. description: 商品代码
  1106. type: string
  1107. goodsid:
  1108. description: 商品id
  1109. type: integer
  1110. goodsname:
  1111. description: 商品名称
  1112. type: string
  1113. hedgeaccountcode:
  1114. description: 对冲账号
  1115. type: string
  1116. hedgegoodsid:
  1117. description: 对冲合约ID
  1118. type: integer
  1119. increaseqty:
  1120. description: 增加数量 = 期末买头寸 - 期初买头寸
  1121. type: integer
  1122. marketid:
  1123. description: 市场ID
  1124. type: integer
  1125. relateduserid:
  1126. description: 关联用户id
  1127. type: integer
  1128. totalcurqty:
  1129. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1130. type: integer
  1131. totalydqty:
  1132. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1133. type: integer
  1134. tradedate:
  1135. description: 交易日(yyyyMMdd)
  1136. type: string
  1137. ydbuyposition:
  1138. description: 期初买头寸
  1139. type: integer
  1140. ydsellposition:
  1141. description: 期初卖头寸
  1142. type: integer
  1143. type: object
  1144. ermcp.ExposureSpotDetailRsp:
  1145. properties:
  1146. contracttype:
  1147. description: 合同类型 1-采购 -1-销售
  1148. type: integer
  1149. createtime:
  1150. description: 创建时间
  1151. type: string
  1152. enumdicname:
  1153. description: 现货商品单位名称
  1154. type: string
  1155. logtype:
  1156. description: 记录类型 1-套保 2-现货合同
  1157. type: integer
  1158. qty:
  1159. description: 数量
  1160. type: number
  1161. recordname:
  1162. description: 类型名称
  1163. type: string
  1164. relatedid:
  1165. description: 套保计划ID/现货合同ID
  1166. type: string
  1167. relatedno:
  1168. description: 编号
  1169. type: string
  1170. strtime:
  1171. description: 时间
  1172. type: string
  1173. wrstandardcode:
  1174. description: 现货商品代码
  1175. type: string
  1176. wrstandardname:
  1177. description: 现货商品名称
  1178. type: string
  1179. type: object
  1180. ermcp.ExposureSpotRsp:
  1181. properties:
  1182. areauserid:
  1183. description: 所属机构
  1184. type: integer
  1185. decreaseqty:
  1186. description: 减少数量=-(销售已定价数量+采购计划数量)
  1187. type: number
  1188. increaseqty:
  1189. description: 增加数量=销售计划数量+采购已定价数量
  1190. type: number
  1191. oritoalspotqty:
  1192. description: 昨日数量
  1193. type: number
  1194. totalspotqty:
  1195. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1196. type: number
  1197. updatetime:
  1198. description: 更新时间
  1199. type: string
  1200. wrstandardcode:
  1201. description: 现货品种代码
  1202. type: string
  1203. wrstandardid:
  1204. description: 现货商品ID
  1205. type: integer
  1206. wrstandardname:
  1207. description: 现货品种
  1208. type: string
  1209. type: object
  1210. ermcp.HisExposureRsp:
  1211. properties:
  1212. data:
  1213. description: 历史敞口
  1214. items:
  1215. $ref: '#/definitions/models.ErmcpHisExposure'
  1216. type: array
  1217. enumdicname:
  1218. description: 单位名称
  1219. type: string
  1220. middlegoodscode:
  1221. description: 套保品种代码
  1222. type: string
  1223. middlegoodsid:
  1224. description: 套保品种ID
  1225. type: integer
  1226. middlegoodsname:
  1227. description: 套保品种名称
  1228. type: string
  1229. type: object
  1230. ermcp.PendingAuditCntRsp:
  1231. properties:
  1232. areastockqty:
  1233. description: '待审核数量: 库存申请'
  1234. type: integer
  1235. businessdjqty:
  1236. description: '待审核数量: 点价'
  1237. type: integer
  1238. businessfpqty:
  1239. description: '待审核数量: 发票'
  1240. type: integer
  1241. businessjsqty:
  1242. description: '待审核数量: 结算'
  1243. type: integer
  1244. businesskxqty:
  1245. description: '待审核数量: 款项'
  1246. type: integer
  1247. hedgeplanqty:
  1248. description: '待审核数量: 套保计划'
  1249. type: integer
  1250. spotcontractqty:
  1251. description: '待审核数量: 现货合同'
  1252. type: integer
  1253. userqty:
  1254. description: '待审核数量: 用户'
  1255. type: integer
  1256. type: object
  1257. ermcp.QryAvalidGPRsp:
  1258. properties:
  1259. goodsgroupid:
  1260. description: 期货品种id
  1261. type: integer
  1262. goodsgroupname:
  1263. description: 期货品种名称
  1264. type: string
  1265. goodunitid:
  1266. description: 品种单位id
  1267. type: integer
  1268. goodunitname:
  1269. description: 品种单位名称
  1270. type: string
  1271. outergroupcode:
  1272. description: 期货品种代码
  1273. type: string
  1274. type: object
  1275. ermcp.QryBusinessDjRsp:
  1276. properties:
  1277. amount:
  1278. description: 点价金额=(点价价格+升贴水)*点价数量
  1279. type: number
  1280. applyid:
  1281. description: 申请人
  1282. type: string
  1283. applyname:
  1284. description: 申请人名称
  1285. type: string
  1286. applystatus:
  1287. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1288. type: integer
  1289. applytime:
  1290. description: 申请时间
  1291. type: string
  1292. attachurl:
  1293. description: 附件
  1294. type: string
  1295. auditid:
  1296. description: 审核人ID
  1297. type: string
  1298. auditname:
  1299. description: 审核人名称
  1300. type: string
  1301. auditremark:
  1302. description: 审核备注
  1303. type: string
  1304. audittime:
  1305. description: 审核时间
  1306. type: string
  1307. buyusername:
  1308. description: 采购方名称
  1309. type: string
  1310. contractno:
  1311. description: 合同编号
  1312. type: string
  1313. contractstatus:
  1314. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1315. type: integer
  1316. contracttype:
  1317. description: 现货合同类型 - 1:采购 -1:销售
  1318. type: integer
  1319. deliverygoodscode:
  1320. description: 现货品种代码
  1321. type: string
  1322. deliverygoodsid:
  1323. description: 现货商品ID
  1324. type: integer
  1325. deliverygoodsname:
  1326. description: 现货品种名称
  1327. type: string
  1328. enumdicname:
  1329. description: 单位名称
  1330. type: string
  1331. goodscode:
  1332. description: 点价合约
  1333. type: string
  1334. goodsname:
  1335. description: 商品名称
  1336. type: string
  1337. operateapplyid:
  1338. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1339. type: string
  1340. operateapplytype:
  1341. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1342. type: integer
  1343. pricedPrice:
  1344. description: 点价价格(非必填)
  1345. type: number
  1346. pricedQty:
  1347. description: 点价数量(非必填)
  1348. type: number
  1349. pricemove:
  1350. description: 升贴水
  1351. type: number
  1352. pricetype:
  1353. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1354. type: integer
  1355. relatedid:
  1356. description: 现货合同ID
  1357. type: string
  1358. sellusername:
  1359. description: 销售方名字
  1360. type: string
  1361. userid:
  1362. description: 用户ID
  1363. type: integer
  1364. wrstandardcode:
  1365. description: 品类代码
  1366. type: string
  1367. wrstandardid:
  1368. description: 品类id
  1369. type: integer
  1370. wrstandardname:
  1371. description: 品类名称
  1372. type: string
  1373. type: object
  1374. ermcp.QryBussinessFpRsp:
  1375. properties:
  1376. applyid:
  1377. description: 申请人
  1378. type: string
  1379. applyname:
  1380. description: 申请人名称
  1381. type: string
  1382. applystatus:
  1383. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1384. type: integer
  1385. applytime:
  1386. description: 申请时间
  1387. type: string
  1388. attachurl:
  1389. description: 附件
  1390. type: string
  1391. auditid:
  1392. description: 审核人ID
  1393. type: string
  1394. auditname:
  1395. description: 审核人名称
  1396. type: string
  1397. auditremark:
  1398. description: 审核备注
  1399. type: string
  1400. audittime:
  1401. description: 审核时间
  1402. type: string
  1403. buyusername:
  1404. description: 采购方名称
  1405. type: string
  1406. contractno:
  1407. description: 合同编号
  1408. type: string
  1409. contractstatus:
  1410. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1411. type: integer
  1412. contracttype:
  1413. description: 现货合同类型 - 1:采购 -1:销售
  1414. type: integer
  1415. deliverygoodscode:
  1416. description: 现货品种代码
  1417. type: string
  1418. deliverygoodsid:
  1419. description: 现货商品ID
  1420. type: integer
  1421. deliverygoodsname:
  1422. description: 现货品种名称
  1423. type: string
  1424. enumdicname:
  1425. description: 单位名称
  1426. type: string
  1427. goodscode:
  1428. description: 点价合约
  1429. type: string
  1430. goodsname:
  1431. description: 商品名称
  1432. type: string
  1433. invoiceamount:
  1434. description: 已开收票金额(销售为开票,采购为收票)
  1435. type: number
  1436. operateapplyid:
  1437. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1438. type: string
  1439. operateapplytype:
  1440. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1441. type: integer
  1442. pricemove:
  1443. description: 升贴水
  1444. type: number
  1445. pricetype:
  1446. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1447. type: integer
  1448. relatedid:
  1449. description: 现货合同ID
  1450. type: string
  1451. sellusername:
  1452. description: 销售方名字
  1453. type: string
  1454. userid:
  1455. description: 用户ID
  1456. type: integer
  1457. wrstandardcode:
  1458. description: 品类代码
  1459. type: string
  1460. wrstandardid:
  1461. description: 品类id
  1462. type: integer
  1463. wrstandardname:
  1464. description: 品类名称
  1465. type: string
  1466. type: object
  1467. ermcp.QryBussinessJsExRsp:
  1468. properties:
  1469. applyid:
  1470. description: 申请人
  1471. type: string
  1472. applyname:
  1473. description: 申请人名称
  1474. type: string
  1475. applystatus:
  1476. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1477. type: integer
  1478. applytime:
  1479. description: 申请时间
  1480. type: string
  1481. attachurl:
  1482. description: 附件
  1483. type: string
  1484. auditid:
  1485. description: 审核人ID
  1486. type: string
  1487. auditname:
  1488. description: 审核人名称
  1489. type: string
  1490. auditremark:
  1491. description: 审核备注
  1492. type: string
  1493. audittime:
  1494. description: 审核时间
  1495. type: string
  1496. buyusername:
  1497. description: 采购方名称
  1498. type: string
  1499. contractno:
  1500. description: 合同编号
  1501. type: string
  1502. contractstatus:
  1503. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1504. type: integer
  1505. contracttype:
  1506. description: 现货合同类型 - 1:采购 -1:销售
  1507. type: integer
  1508. deliverygoodscode:
  1509. description: 现货品种代码
  1510. type: string
  1511. deliverygoodsid:
  1512. description: 现货商品ID
  1513. type: integer
  1514. deliverygoodsname:
  1515. description: 现货品种名称
  1516. type: string
  1517. enumdicname:
  1518. description: 单位名称
  1519. type: string
  1520. goodscode:
  1521. description: 点价合约
  1522. type: string
  1523. goodsname:
  1524. description: 商品名称
  1525. type: string
  1526. operateapplyid:
  1527. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1528. type: string
  1529. operateapplytype:
  1530. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1531. type: integer
  1532. pricemove:
  1533. description: 升贴水
  1534. type: number
  1535. pricetype:
  1536. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1537. type: integer
  1538. reckontype:
  1539. description: 结算类型
  1540. type: string
  1541. reckonvalue:
  1542. description: 值
  1543. type: number
  1544. relatedid:
  1545. description: 现货合同ID
  1546. type: string
  1547. sellusername:
  1548. description: 销售方名字
  1549. type: string
  1550. userid:
  1551. description: 用户ID
  1552. type: integer
  1553. wrstandardcode:
  1554. description: 品类代码
  1555. type: string
  1556. wrstandardid:
  1557. description: 品类id
  1558. type: integer
  1559. wrstandardname:
  1560. description: 品类名称
  1561. type: string
  1562. type: object
  1563. ermcp.QryBussinessJsRsp:
  1564. properties:
  1565. addmargin:
  1566. description: 追加保证金(非必填)
  1567. type: number
  1568. applyid:
  1569. description: 申请人
  1570. type: string
  1571. applyname:
  1572. description: 申请人名称
  1573. type: string
  1574. applystatus:
  1575. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1576. type: integer
  1577. applytime:
  1578. description: 申请时间
  1579. type: string
  1580. attachurl:
  1581. description: 附件
  1582. type: string
  1583. auditid:
  1584. description: 审核人ID
  1585. type: string
  1586. auditname:
  1587. description: 审核人名称
  1588. type: string
  1589. auditremark:
  1590. description: 审核备注
  1591. type: string
  1592. audittime:
  1593. description: 审核时间
  1594. type: string
  1595. buyusername:
  1596. description: 采购方名称
  1597. type: string
  1598. contractno:
  1599. description: 合同编号
  1600. type: string
  1601. contractstatus:
  1602. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1603. type: integer
  1604. contracttype:
  1605. description: 现货合同类型 - 1:采购 -1:销售
  1606. type: integer
  1607. decmargin:
  1608. description: 减少保证金(非必填)
  1609. type: number
  1610. deliverygoodscode:
  1611. description: 现货品种代码
  1612. type: string
  1613. deliverygoodsid:
  1614. description: 现货商品ID
  1615. type: integer
  1616. deliverygoodsname:
  1617. description: 现货品种名称
  1618. type: string
  1619. enumdicname:
  1620. description: 单位名称
  1621. type: string
  1622. goodscode:
  1623. description: 点价合约
  1624. type: string
  1625. goodsname:
  1626. description: 商品名称
  1627. type: string
  1628. operateapplyid:
  1629. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1630. type: string
  1631. operateapplytype:
  1632. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1633. type: integer
  1634. pricemove:
  1635. description: 升贴水
  1636. type: number
  1637. pricetype:
  1638. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1639. type: integer
  1640. reckonadjustamount:
  1641. description: 结算调整金额(非必填)
  1642. type: number
  1643. reckonosamount:
  1644. description: 结算溢短金额(非必填)
  1645. type: number
  1646. reckonotheramount:
  1647. description: 结算其他费用(非必填)
  1648. type: number
  1649. reckonrealqty:
  1650. description: 结算实际数量(非必填)
  1651. type: number
  1652. relatedid:
  1653. description: 现货合同ID
  1654. type: string
  1655. sellusername:
  1656. description: 销售方名字
  1657. type: string
  1658. userid:
  1659. description: 用户ID
  1660. type: integer
  1661. wrstandardcode:
  1662. description: 品类代码
  1663. type: string
  1664. wrstandardid:
  1665. description: 品类id
  1666. type: integer
  1667. wrstandardname:
  1668. description: 品类名称
  1669. type: string
  1670. type: object
  1671. ermcp.QryBussinessKxRsp:
  1672. properties:
  1673. applyid:
  1674. description: 申请人
  1675. type: string
  1676. applyname:
  1677. description: 申请人名称
  1678. type: string
  1679. applystatus:
  1680. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1681. type: integer
  1682. applytime:
  1683. description: 申请时间
  1684. type: string
  1685. attachurl:
  1686. description: 附件
  1687. type: string
  1688. auditid:
  1689. description: 审核人ID
  1690. type: string
  1691. auditname:
  1692. description: 审核人名称
  1693. type: string
  1694. auditremark:
  1695. description: 审核备注
  1696. type: string
  1697. audittime:
  1698. description: 审核时间
  1699. type: string
  1700. buyusername:
  1701. description: 采购方名称
  1702. type: string
  1703. contractno:
  1704. description: 合同编号
  1705. type: string
  1706. contractstatus:
  1707. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1708. type: integer
  1709. contracttype:
  1710. description: 现货合同类型 - 1:采购 -1:销售
  1711. type: integer
  1712. deductamount:
  1713. description: 退款(非必填)
  1714. type: number
  1715. deliverygoodscode:
  1716. description: 现货品种代码
  1717. type: string
  1718. deliverygoodsid:
  1719. description: 现货商品ID
  1720. type: integer
  1721. deliverygoodsname:
  1722. description: 现货品种名称
  1723. type: string
  1724. enumdicname:
  1725. description: 单位名称
  1726. type: string
  1727. goodscode:
  1728. description: 点价合约
  1729. type: string
  1730. goodsname:
  1731. description: 商品名称
  1732. type: string
  1733. kxtype:
  1734. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1735. type: integer
  1736. operateapplyid:
  1737. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1738. type: string
  1739. operateapplytype:
  1740. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1741. type: integer
  1742. payamount:
  1743. description: 收付款(非必填)
  1744. type: number
  1745. pricemove:
  1746. description: 升贴水
  1747. type: number
  1748. pricetype:
  1749. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1750. type: integer
  1751. relatedid:
  1752. description: 现货合同ID
  1753. type: string
  1754. sellusername:
  1755. description: 销售方名字
  1756. type: string
  1757. userid:
  1758. description: 用户ID
  1759. type: integer
  1760. wrstandardcode:
  1761. description: 品类代码
  1762. type: string
  1763. wrstandardid:
  1764. description: 品类id
  1765. type: integer
  1766. wrstandardname:
  1767. description: 品类名称
  1768. type: string
  1769. type: object
  1770. ermcp.QryGGCovertCfgRsp:
  1771. properties:
  1772. convertratio:
  1773. description: 折算系数
  1774. type: number
  1775. destgoodsgroupid:
  1776. description: 目标品种ID
  1777. type: integer
  1778. dstcode:
  1779. description: 目录品种代码
  1780. type: string
  1781. dstexchangecode:
  1782. description: 目标期货交易所
  1783. type: string
  1784. dstname:
  1785. description: 目标品种名称
  1786. type: string
  1787. dstunitid:
  1788. description: 目标品种单位ID
  1789. type: integer
  1790. dstunitidname:
  1791. description: 目标品种单位名称
  1792. type: string
  1793. modifytime:
  1794. description: 修改时间
  1795. type: string
  1796. srccode:
  1797. description: 源品种代码
  1798. type: string
  1799. srcexchangecode:
  1800. description: 源期货交易所
  1801. type: string
  1802. srcgoodsgroupid:
  1803. description: 源品种ID
  1804. type: integer
  1805. srcname:
  1806. description: 源品种名称
  1807. type: string
  1808. srcunitid:
  1809. description: 源品种单位ID
  1810. type: integer
  1811. srcunitidname:
  1812. description: 源品种单位名称
  1813. type: string
  1814. type: object
  1815. ermcp.QryMGChangeLogRsp:
  1816. properties:
  1817. aftervalue:
  1818. description: 变更后
  1819. type: number
  1820. applyid:
  1821. description: 操作人
  1822. type: integer
  1823. applyname:
  1824. description: 操作人名称
  1825. type: string
  1826. applysrc:
  1827. description: 操作来源 - 1:管理端 2:终端
  1828. type: integer
  1829. beforevalue:
  1830. description: 变更前
  1831. type: number
  1832. changelogtype:
  1833. description: 变更流水类型 - 1:套保比率变更
  1834. type: integer
  1835. handlestatus:
  1836. description: 处理状态
  1837. type: integer
  1838. logdatetime:
  1839. description: 流水日期
  1840. type: string
  1841. logid:
  1842. description: 流水ID
  1843. type: integer
  1844. logremark:
  1845. description: 流水备注
  1846. type: string
  1847. middlegoodsid:
  1848. description: 套保品种ID
  1849. type: integer
  1850. tradedate:
  1851. description: 交易日(yyyyMMdd)
  1852. type: string
  1853. updatetime:
  1854. description: 更新时间
  1855. type: string
  1856. type: object
  1857. ermcp.QryMiddleGoodsDetailRsp:
  1858. properties:
  1859. cvList:
  1860. description: 期货品种折算列表
  1861. items:
  1862. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1863. type: array
  1864. mg:
  1865. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1866. description: 套保品种基本信息
  1867. wrcList:
  1868. description: 现货品种列表(现货商品折算配置)
  1869. items:
  1870. $ref: '#/definitions/models.WRSConverTDetail'
  1871. type: array
  1872. type: object
  1873. ermcp.QryMiddleGoodsRsp:
  1874. properties:
  1875. areauserid:
  1876. description: 机构用户ID
  1877. type: integer
  1878. createtime:
  1879. description: 修改时间
  1880. type: string
  1881. enumdicname:
  1882. description: 单位名称
  1883. type: string
  1884. evaluateratio:
  1885. description: 估价系数
  1886. type: number
  1887. goodsgroupid:
  1888. description: 关联期货品种ID
  1889. type: integer
  1890. goodsunitid:
  1891. description: 单位ID
  1892. type: integer
  1893. isvalid:
  1894. description: 状态 0-无效(停用) 1-有效(正常)
  1895. type: integer
  1896. middlegoodscode:
  1897. description: 套保品种代码
  1898. type: string
  1899. middlegoodsid:
  1900. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1901. type: integer
  1902. middlegoodsname:
  1903. description: 套保品种名称
  1904. type: string
  1905. modifytime:
  1906. description: 修改时间
  1907. type: string
  1908. needarbitrageratio:
  1909. description: 套利比例
  1910. type: number
  1911. needhedgeratio:
  1912. description: 套保比率
  1913. type: number
  1914. qtydecimalplace:
  1915. description: 数量小数位
  1916. type: integer
  1917. relatedgoodsid:
  1918. description: 关联交易商品ID
  1919. type: integer
  1920. relatedgoodstype:
  1921. description: 关联商品类型 - 1:期货合约 2:现货品种
  1922. type: integer
  1923. remark:
  1924. description: 备注
  1925. type: string
  1926. type: object
  1927. ermcp.QryOPLogRsp:
  1928. properties:
  1929. aftervalue:
  1930. description: 变更后
  1931. type: number
  1932. applyid:
  1933. description: 操作人ID
  1934. type: string
  1935. applyname:
  1936. description: 操作人名称
  1937. type: string
  1938. beforevalue:
  1939. description: 变更前
  1940. type: number
  1941. biztype:
  1942. description: 业务类型 - 1:套保计划 2:现货合同
  1943. type: integer
  1944. contracttype:
  1945. description: 现货合同类型 - 1:采购 -1:销售
  1946. type: integer
  1947. logvalue:
  1948. description: 数值
  1949. type: number
  1950. operatelogtype:
  1951. description: 操作流水类型
  1952. type: integer
  1953. operatelogtypedesc:
  1954. description: 操作流水类型名称
  1955. type: string
  1956. relatedid:
  1957. description: 现货合同ID\套保计划
  1958. type: string
  1959. updatetime:
  1960. description: 更新时间
  1961. type: string
  1962. type: object
  1963. ermcp.QryUserInfoRsp:
  1964. properties:
  1965. address:
  1966. description: 通讯地址
  1967. type: string
  1968. attachment1:
  1969. description: 附件1
  1970. type: string
  1971. audittime:
  1972. description: 审核时间
  1973. type: string
  1974. cardbackphotourl:
  1975. description: 证件反面图片地址
  1976. type: string
  1977. cardfrontphotourl:
  1978. description: 证件正面图片地址
  1979. type: string
  1980. cardnum:
  1981. description: 证件号码
  1982. type: string
  1983. cardtype:
  1984. description: 证件类型
  1985. type: integer
  1986. cardtypename:
  1987. description: 证件类型名称
  1988. type: string
  1989. cityid:
  1990. description: 市
  1991. type: integer
  1992. contactname:
  1993. description: 联系人
  1994. type: string
  1995. countryid:
  1996. description: 国家
  1997. type: integer
  1998. createtime:
  1999. description: 创建时间
  2000. type: string
  2001. customername:
  2002. description: 企业名称
  2003. type: string
  2004. districtid:
  2005. description: 区域
  2006. type: integer
  2007. email:
  2008. description: 邮件
  2009. type: string
  2010. legalpersonname:
  2011. description: 法人姓名(企业)
  2012. type: string
  2013. memberuserid:
  2014. description: 所属机构ID
  2015. type: integer
  2016. mobile:
  2017. description: 手机号码
  2018. type: string
  2019. modifytime:
  2020. description: 修改时间
  2021. type: string
  2022. nickname:
  2023. description: 昵称
  2024. type: string
  2025. provinceid:
  2026. description: 省
  2027. type: integer
  2028. remark:
  2029. description: 备注
  2030. type: string
  2031. status:
  2032. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2033. type: integer
  2034. statusdesc:
  2035. description: 账户状态中文描述
  2036. type: string
  2037. taxpayernum:
  2038. description: 纳税人识别号
  2039. type: string
  2040. telphone:
  2041. description: 联系电话
  2042. type: string
  2043. userid:
  2044. description: 用户ID
  2045. type: integer
  2046. userinfotype:
  2047. description: 客户类型
  2048. type: string
  2049. type: object
  2050. ermcp.QryWarehouseRsp:
  2051. properties:
  2052. address:
  2053. description: 详细地址
  2054. type: string
  2055. areauserid:
  2056. description: 所属机构
  2057. type: integer
  2058. autoid:
  2059. description: 自增ID(仓库ID)
  2060. type: integer
  2061. cityid:
  2062. description: 市
  2063. type: integer
  2064. contactname:
  2065. description: 联系人
  2066. type: string
  2067. contactnum:
  2068. description: 联系电话
  2069. type: string
  2070. countryid:
  2071. description: 国家
  2072. type: integer
  2073. createtime:
  2074. description: 创建时间
  2075. type: string
  2076. districtid:
  2077. description: 区
  2078. type: integer
  2079. hasvideo:
  2080. description: 是否有视频 - 0:无 1:有
  2081. type: integer
  2082. provinceid:
  2083. description: 省
  2084. type: integer
  2085. remark:
  2086. description: 审核备注
  2087. type: string
  2088. videourl:
  2089. description: 视频地址
  2090. type: string
  2091. warehousecode:
  2092. description: 仓库代码
  2093. type: string
  2094. warehousename:
  2095. description: 仓库名称
  2096. type: string
  2097. warehousestatus:
  2098. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2099. type: integer
  2100. warehousetype:
  2101. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2102. type: integer
  2103. type: object
  2104. ermcp.QueryErmcpTradePositionRsp:
  2105. properties:
  2106. agreeunit:
  2107. description: 合约单位
  2108. type: number
  2109. buyorsell:
  2110. description: 方向 - 0:买 1:卖
  2111. type: integer
  2112. curpositionqty:
  2113. description: 持仓(总仓数量, 期末头寸)
  2114. type: integer
  2115. curtdposition:
  2116. description: 今仓数量(期末今日头寸)
  2117. type: integer
  2118. curtdpositionenabled:
  2119. description: 今仓可用
  2120. type: integer
  2121. decimalplace:
  2122. description: 报价小数位
  2123. type: integer
  2124. enableqty:
  2125. description: 可用(总仓可用)
  2126. type: integer
  2127. exexchangename:
  2128. description: 外部交易所名称
  2129. type: string
  2130. exexehangecode:
  2131. description: 外部交易所代码
  2132. type: string
  2133. exexehangeid:
  2134. description: 外部交易所id
  2135. type: integer
  2136. goodscode:
  2137. description: 商品代码(内部)
  2138. type: string
  2139. goodsid:
  2140. description: 商品ID(自增ID SEQ_GOODS)
  2141. type: integer
  2142. goodsname:
  2143. description: 商品名称
  2144. type: string
  2145. last:
  2146. description: 现价
  2147. type: number
  2148. marketid:
  2149. description: 所属市场ID
  2150. type: integer
  2151. openaverageprice:
  2152. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2153. type: number
  2154. opencost:
  2155. description: 开仓成本
  2156. type: number
  2157. openpl:
  2158. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  2159. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2160. type: number
  2161. outgoodscode:
  2162. description: 商品代码(外部)
  2163. type: string
  2164. positionaverageprice:
  2165. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2166. type: number
  2167. positioncost:
  2168. description: 持仓成本
  2169. type: number
  2170. positionpl:
  2171. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  2172. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2173. type: number
  2174. positionplrate:
  2175. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2176. type: number
  2177. usedmargin:
  2178. description: 占用保证金
  2179. type: number
  2180. type: object
  2181. ermcp.RealtimeExposurePositionRsp:
  2182. properties:
  2183. agreeunit:
  2184. description: 合约单位
  2185. type: string
  2186. areauserid:
  2187. description: 所属机构id
  2188. type: integer
  2189. convertratio:
  2190. description: 期货品种系数(折算系数)
  2191. type: number
  2192. curqty:
  2193. description: 当前持仓
  2194. type: integer
  2195. diffhedgeqty:
  2196. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2197. type: number
  2198. diffqty:
  2199. description: 持仓变动量=当前持仓-昨日持仓
  2200. type: integer
  2201. goodscode:
  2202. description: 商品代码
  2203. type: string
  2204. goodsid:
  2205. description: 商品id
  2206. type: integer
  2207. goodsname:
  2208. description: 商品名称
  2209. type: string
  2210. middlegoodsid:
  2211. description: 套保商品id
  2212. type: integer
  2213. ydqty:
  2214. description: 昨日持仓
  2215. type: integer
  2216. type: object
  2217. ermcp.RealtimeExposureRsp:
  2218. properties:
  2219. AreaUserID:
  2220. description: 所属机构
  2221. type: integer
  2222. BuyFutureQty:
  2223. description: 买入期货数量
  2224. type: number
  2225. BuyPlanQty:
  2226. description: 采购计划数量
  2227. type: number
  2228. BuyPricedQty:
  2229. description: 采购合同已定价数量
  2230. type: number
  2231. MiddleGoodsCode:
  2232. description: 套保品种代码
  2233. type: string
  2234. MiddleGoodsHedgeRatio:
  2235. description: 套保比例
  2236. type: number
  2237. MiddleGoodsID:
  2238. description: 套保品种
  2239. type: integer
  2240. MiddleGoodsName:
  2241. description: 套保品种名称
  2242. type: string
  2243. NeedHedgeExposoure:
  2244. description: 应套保敞口(套保敞口)
  2245. type: number
  2246. NeedHedgeRatio:
  2247. description: 应套保敞口比例
  2248. type: number
  2249. OriBuyFutureQty:
  2250. description: 期初买入期货数量
  2251. type: number
  2252. OriBuyPlanQty:
  2253. description: 期初采购计划数量
  2254. type: number
  2255. OriBuyPricedQty:
  2256. description: 期初采购合同已定价数量
  2257. type: number
  2258. OriSellFutureQty:
  2259. description: 期初卖出期货数量
  2260. type: number
  2261. OriSellPlanQty:
  2262. description: 期初销售计划数量
  2263. type: number
  2264. OriSellPricedQty:
  2265. description: 期初销售合同已定价数量
  2266. type: number
  2267. OriTotalSpotQty:
  2268. description: 期初现货总量
  2269. type: number
  2270. SellFutureQty:
  2271. description: 卖出期货数量
  2272. type: number
  2273. SellPlanQty:
  2274. description: 销售计划数量
  2275. type: number
  2276. SellPricedQty:
  2277. description: 销售合同已定价数量
  2278. type: number
  2279. TotalExposure:
  2280. description: 总敞口 平安:净敞口
  2281. type: number
  2282. TotalFutureQty:
  2283. description: 期货总量 平安:保值净持仓量
  2284. type: number
  2285. TotalHedgeRatio:
  2286. description: 敞口比例
  2287. type: number
  2288. TotalNeedHedgeQty:
  2289. description: 应套保总量(现货应套保总量)
  2290. type: number
  2291. TotalSpotQty:
  2292. description: 现货总量 平安:采销定价净值
  2293. type: number
  2294. arbitrageqty:
  2295. description: 套利量
  2296. type: number
  2297. diffArbitrageQty:
  2298. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2299. type: number
  2300. diffExposoureQty:
  2301. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2302. type: number
  2303. diffFutuQty:
  2304. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2305. type: number
  2306. diffHedgeQty:
  2307. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2308. type: number
  2309. diffQty:
  2310. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2311. type: number
  2312. diffSpotHedgeQty:
  2313. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2314. type: number
  2315. diffSpotQty:
  2316. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2317. type: number
  2318. enumdicname:
  2319. description: 单位名称
  2320. type: string
  2321. hedgeqty:
  2322. description: 套保量
  2323. type: number
  2324. needarbitrageqty:
  2325. description: 应套利量
  2326. type: number
  2327. needarbitrageratio:
  2328. description: 套利比例
  2329. type: number
  2330. needhedgeqty:
  2331. description: 应套保量
  2332. type: number
  2333. oriarbitrageqty:
  2334. description: 期初套利量
  2335. type: number
  2336. orihedgeqty:
  2337. description: 期初套保量
  2338. type: number
  2339. orineedhedgeexposoure:
  2340. description: 期初套保敞口
  2341. type: number
  2342. oritotalexposure:
  2343. description: 期初总敞口
  2344. type: number
  2345. oritotalfutureqty:
  2346. description: 期初期货总量
  2347. type: number
  2348. oritotalneedhedgeqty:
  2349. description: 期初现货应套保量
  2350. type: number
  2351. type: object
  2352. erms2.QueryArbitrageStrategyRsp:
  2353. properties:
  2354. applybasis:
  2355. description: 申请基差
  2356. type: number
  2357. asapplyid:
  2358. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2359. type: string
  2360. asname:
  2361. description: 策略名称
  2362. type: string
  2363. asno:
  2364. description: 策略编号
  2365. type: string
  2366. basischangepl:
  2367. description: 基差变动损益[结算更新]
  2368. type: number
  2369. biztype:
  2370. description: 业务类型 - 1:正向套利 -1:反向套利
  2371. type: integer
  2372. closetradedate:
  2373. description: 完结交易日(yyyyMMdd)
  2374. type: string
  2375. curbasis:
  2376. description: 当前基差[结算更新]
  2377. type: number
  2378. deliverygoodsid:
  2379. description: 现货品种ID
  2380. type: integer
  2381. futureavgprice:
  2382. description: 期货建仓均价
  2383. type: number
  2384. futurecloseamount:
  2385. description: 期货平仓金额
  2386. type: number
  2387. futurecloseqty:
  2388. description: 期货平仓数量
  2389. type: number
  2390. futureopenamount:
  2391. description: 期货开仓金额
  2392. type: number
  2393. futureopenqty:
  2394. description: 期货开仓数量
  2395. type: number
  2396. futurepl:
  2397. description: 期货总盈亏[结算更新]
  2398. type: number
  2399. futureqty:
  2400. description: 期货持仓数量
  2401. type: number
  2402. futurequote:
  2403. description: 期货额度
  2404. type: number
  2405. goodsgroupid:
  2406. description: 期货品种ID
  2407. type: integer
  2408. marketid:
  2409. description: 市场ID
  2410. type: integer
  2411. netexposure:
  2412. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2413. type: number
  2414. netexposurepl:
  2415. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2416. type: number
  2417. netexposurerate:
  2418. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2419. type: number
  2420. openbasis:
  2421. description: 建仓基差
  2422. type: number
  2423. pricedspotqty:
  2424. description: 已定价现货数量
  2425. type: number
  2426. pricedspotqtynotax:
  2427. description: 已定价现货不含税数量
  2428. type: number
  2429. remark:
  2430. description: 备注
  2431. type: string
  2432. spotavgprice:
  2433. description: 现货均价
  2434. type: number
  2435. spotbuyamount:
  2436. description: 现货采购金额
  2437. type: number
  2438. spotbuyqty:
  2439. description: 现货采购数量
  2440. type: number
  2441. spotpl:
  2442. description: 现货总盈亏[结算更新]
  2443. type: number
  2444. spotquota:
  2445. description: 现货额度
  2446. type: number
  2447. spotsellamount:
  2448. description: 现货销售金额
  2449. type: number
  2450. spotsellqty:
  2451. description: 现货销售数量
  2452. type: number
  2453. spotusedquota:
  2454. description: 现货占用资金
  2455. type: number
  2456. strategystatus:
  2457. description: 策略状态 - 0:未结束 1:已结束
  2458. type: integer
  2459. totalpl:
  2460. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2461. type: number
  2462. tradedate:
  2463. description: 交易日(yyyyMMdd)
  2464. type: string
  2465. updatetime:
  2466. description: 更新时间
  2467. type: string
  2468. usedquota:
  2469. description: 已占用资金
  2470. type: number
  2471. userid:
  2472. description: 所属机构
  2473. type: integer
  2474. required:
  2475. - asapplyid
  2476. type: object
  2477. erms2.QueryInnerTradeDetailRsp:
  2478. properties:
  2479. accountid:
  2480. description: 账号ID
  2481. type: integer
  2482. agreeunit:
  2483. description: 合约单位
  2484. type: number
  2485. asapplyid:
  2486. description: 策略申请ID
  2487. type: integer
  2488. asname:
  2489. description: 策略名称
  2490. type: string
  2491. asno:
  2492. description: 策略编号
  2493. type: string
  2494. buyorsell:
  2495. description: 方向 - 0:买 1:卖
  2496. type: integer
  2497. channelbuildtype:
  2498. description: 委托单据类型 0:无 1:建仓 2:平仓
  2499. type: integer
  2500. closetype:
  2501. description: 平仓方式 - 0:无 1:平今 2:平昨
  2502. type: integer
  2503. decimalplace:
  2504. description: 报价小数位
  2505. type: integer
  2506. detailtype:
  2507. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2508. type: integer
  2509. exexchangecode:
  2510. description: 外部交易所代码
  2511. type: string
  2512. exexchangename:
  2513. description: 外部交易所名称
  2514. type: string
  2515. goodscode:
  2516. description: 商品代码(合约)
  2517. type: string
  2518. goodsgroupid:
  2519. description: 商品组ID(品种ID)
  2520. type: integer
  2521. goodsgroupname:
  2522. description: 商品组名称(品种)
  2523. type: string
  2524. goodsid:
  2525. description: 商品ID
  2526. type: integer
  2527. goodsname:
  2528. description: 商品名称(合约)
  2529. type: string
  2530. goodunit:
  2531. description: 报价单位
  2532. type: string
  2533. marketid:
  2534. description: 市场ID
  2535. type: integer
  2536. orderid:
  2537. description: 委托单号
  2538. type: string
  2539. outgoodscode:
  2540. description: 商品代码(外部)
  2541. type: string
  2542. relatedouttradeid:
  2543. description: 关联外部成交单ID
  2544. type: string
  2545. remark:
  2546. description: 备注
  2547. type: string
  2548. spotcontractid:
  2549. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2550. type: integer
  2551. spotcontractno:
  2552. description: 现货合同编号
  2553. type: string
  2554. tradeid:
  2555. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2556. type: string
  2557. tradeprice:
  2558. description: 成交价格
  2559. type: number
  2560. tradeqty:
  2561. description: 成交数量
  2562. type: integer
  2563. tradetime:
  2564. description: 成交时间
  2565. type: string
  2566. updatetime:
  2567. description: 更新时间
  2568. type: string
  2569. required:
  2570. - asapplyid
  2571. - buyorsell
  2572. - goodscode
  2573. - goodsgroupid
  2574. - goodsgroupname
  2575. - goodsname
  2576. - tradeid
  2577. type: object
  2578. erms2.QuerySpotContractRsp:
  2579. properties:
  2580. accountid:
  2581. description: 资金账户ID
  2582. type: integer
  2583. areauserid:
  2584. description: 所属机构
  2585. type: integer
  2586. closedate:
  2587. description: 终止日期
  2588. type: string
  2589. closeremark:
  2590. description: 结束备注
  2591. type: string
  2592. closetradedate:
  2593. description: 完结交易日(yyyyMMdd)
  2594. type: string
  2595. closetype:
  2596. description: 终止类型 - 1:违约 2:提前终止
  2597. type: integer
  2598. contractamount:
  2599. description: 合同金额
  2600. type: number
  2601. contractattachment:
  2602. description: 合同附件
  2603. type: string
  2604. contractno:
  2605. description: 现货合同编号
  2606. type: string
  2607. contractqty:
  2608. description: 合同数量(数值) (用于计算)
  2609. type: number
  2610. contractqtychar:
  2611. description: 合同数量\已订价数量 (用于显示)
  2612. type: string
  2613. contractstatus:
  2614. description: 合同状态 - 0:未结束 1:已结束
  2615. type: integer
  2616. contracttype:
  2617. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2618. type: integer
  2619. customeraccountid:
  2620. description: 客户资金账户ID
  2621. type: integer
  2622. customeruserid:
  2623. description: 客户ID
  2624. type: integer
  2625. deliverygoodsdesc:
  2626. description: 品种说明
  2627. type: string
  2628. deliverygoodsid:
  2629. description: 现货品种ID
  2630. type: integer
  2631. handlestatus:
  2632. description: 处理状态
  2633. type: integer
  2634. invoiceatt:
  2635. description: 发票附件
  2636. type: string
  2637. invoicedatetime:
  2638. description: 开收票更新时间
  2639. type: string
  2640. invoiceopentime:
  2641. description: 开票时间
  2642. type: string
  2643. invoiceremark:
  2644. description: 发票备注
  2645. type: string
  2646. invoicestatus:
  2647. description: 开收票状态 - 0:未开票 1:已开票
  2648. type: integer
  2649. lastdate:
  2650. description: 交货时间
  2651. type: string
  2652. marketid:
  2653. description: 市场ID
  2654. type: integer
  2655. paydatetime:
  2656. description: 收付款更新时间
  2657. type: string
  2658. payremark:
  2659. description: 收付款备注
  2660. type: string
  2661. paystatus:
  2662. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2663. type: integer
  2664. positionqty:
  2665. description: 头寸数量 - 合同数量去小数部分
  2666. type: integer
  2667. producttype:
  2668. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2669. type: integer
  2670. relatedqty:
  2671. description: 已关联数量
  2672. type: number
  2673. relatedstatus:
  2674. description: 关联完结状态 - 0:未结束 1:已结束
  2675. type: integer
  2676. remark:
  2677. description: 备注
  2678. type: string
  2679. signdate:
  2680. description: 签订日期
  2681. type: string
  2682. spotcontractid:
  2683. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2684. type: string
  2685. spotdatetime:
  2686. description: 收发货更新时间
  2687. type: string
  2688. spotprice:
  2689. description: 价格
  2690. type: number
  2691. spotremark:
  2692. description: 收发货备注
  2693. type: string
  2694. spotstatus:
  2695. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2696. type: integer
  2697. tradedate:
  2698. description: 交易日(yyyyMMdd)
  2699. type: string
  2700. userid:
  2701. description: 业务员用户ID
  2702. type: integer
  2703. warehouseid:
  2704. description: 仓库ID
  2705. type: integer
  2706. wrfactortypeid:
  2707. description: 仓单要素类型ID
  2708. type: integer
  2709. wrstandardid:
  2710. description: 仓单标准ID(SEQ_WRSTANDARD)
  2711. type: integer
  2712. required:
  2713. - spotcontractid
  2714. type: object
  2715. erms3.AddErms2ASApplyReq:
  2716. properties:
  2717. applybasis:
  2718. description: 申请基差
  2719. type: number
  2720. applystatus:
  2721. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2722. type: integer
  2723. asapplyid:
  2724. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2725. type: integer
  2726. asname:
  2727. description: 策略名称
  2728. type: string
  2729. asno:
  2730. description: 策略编号
  2731. type: string
  2732. auditid:
  2733. description: 审核人
  2734. type: integer
  2735. auditremark:
  2736. description: 审核备注
  2737. type: string
  2738. audittime:
  2739. description: 审核时间
  2740. type: string
  2741. biztype:
  2742. description: 业务类型 - 1:正向套利 2:反向套利
  2743. type: integer
  2744. createtime:
  2745. description: 创建时间
  2746. type: string
  2747. creatorid:
  2748. description: 创建人
  2749. type: integer
  2750. deliverygoodsid:
  2751. description: 现货品种ID
  2752. type: integer
  2753. futurequote:
  2754. description: 期货额度
  2755. type: number
  2756. goodsgroupid:
  2757. description: 期货品种ID
  2758. type: integer
  2759. marketid:
  2760. description: 市场ID
  2761. type: integer
  2762. remark:
  2763. description: 备注
  2764. type: string
  2765. spotquota:
  2766. description: 现货额度
  2767. type: number
  2768. tradedate:
  2769. description: 交易日(yyyyMMdd)
  2770. type: string
  2771. userid:
  2772. description: 所属机构
  2773. type: integer
  2774. required:
  2775. - asapplyid
  2776. type: object
  2777. erms3.AddErms2SpotTradeApplyReq:
  2778. properties:
  2779. applyjsondetail:
  2780. description: 申请明细(JSON)
  2781. type: string
  2782. applystatus:
  2783. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2784. type: integer
  2785. areauserid:
  2786. description: 所属机构
  2787. type: integer
  2788. auditid:
  2789. description: 审核人
  2790. type: integer
  2791. auditremark:
  2792. description: 审核备注
  2793. type: string
  2794. audittime:
  2795. description: 审核时间
  2796. type: string
  2797. createtime:
  2798. description: 创建时间
  2799. type: string
  2800. creatorid:
  2801. description: 创建人
  2802. type: integer
  2803. deliverygoodsid:
  2804. description: 现货品种ID
  2805. type: integer
  2806. futureaccountid:
  2807. description: 期货资金账户
  2808. type: integer
  2809. goodsgroupid:
  2810. description: 期货品种
  2811. type: integer
  2812. marketid:
  2813. description: 市场ID
  2814. type: integer
  2815. remark:
  2816. description: 备注
  2817. type: string
  2818. spotaccountid:
  2819. description: 现货资金账户
  2820. type: integer
  2821. spottradeid:
  2822. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2823. type: integer
  2824. spottradename:
  2825. description: 业务名称
  2826. type: string
  2827. spottradeno:
  2828. description: 业务编号
  2829. type: string
  2830. tradedate:
  2831. description: 交易日(yyyyMMdd)
  2832. type: string
  2833. wrstandardid:
  2834. description: 仓单标准ID
  2835. type: integer
  2836. required:
  2837. - spottradeid
  2838. type: object
  2839. erms3.AddSpotContractApplyReq:
  2840. properties:
  2841. accountid:
  2842. description: 资金账户ID
  2843. type: integer
  2844. areauserid:
  2845. description: 所属机构
  2846. type: integer
  2847. contractattachment:
  2848. description: 合同附件
  2849. type: string
  2850. contractno:
  2851. description: 现货合同编号
  2852. type: string
  2853. contracttype:
  2854. description: 现货合同类型 - 1:采购 -1:销售
  2855. type: integer
  2856. creatorid:
  2857. description: 申请人
  2858. type: integer
  2859. customeraccountid:
  2860. description: 客户资金账户ID
  2861. type: integer
  2862. customeruserid:
  2863. description: 客户ID
  2864. type: integer
  2865. details:
  2866. description: 明细
  2867. items:
  2868. $ref: '#/definitions/erms3.SoptContractDetail'
  2869. type: array
  2870. orimargin:
  2871. description: 初始保证金
  2872. type: number
  2873. remark:
  2874. description: 备注
  2875. type: string
  2876. signdate:
  2877. description: 签订日期
  2878. type: string
  2879. required:
  2880. - accountid
  2881. - areauserid
  2882. - contractno
  2883. - contracttype
  2884. - customeraccountid
  2885. - customeruserid
  2886. - details
  2887. - orimargin
  2888. - signdate
  2889. type: object
  2890. erms3.AddSpotContractApplyRsp:
  2891. properties:
  2892. contractno:
  2893. description: 现货合同编号
  2894. type: string
  2895. spotcontractid:
  2896. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2897. type: integer
  2898. required:
  2899. - contractno
  2900. type: object
  2901. erms3.AddUserInfoApplyReq:
  2902. properties:
  2903. accountid:
  2904. description: 交易系统帐号Id (加密存储)
  2905. type: integer
  2906. areacode:
  2907. description: 机构代码
  2908. type: string
  2909. areaid:
  2910. description: 机构Id
  2911. type: integer
  2912. attachment1:
  2913. description: 附件1
  2914. type: string
  2915. attachment2:
  2916. description: 附件2
  2917. type: string
  2918. attachment3:
  2919. description: 附件3
  2920. type: string
  2921. attachment4:
  2922. description: 附件4
  2923. type: string
  2924. attachment5:
  2925. description: 附件5
  2926. type: string
  2927. auditedby:
  2928. description: 审核人
  2929. type: string
  2930. auditime:
  2931. description: 审核时间
  2932. type: string
  2933. auditsrc:
  2934. description: 审核来源 - 1:管理端 2:终端
  2935. type: integer
  2936. bankaccount:
  2937. description: 银行帐号 (加密存储)
  2938. type: string
  2939. bankaccountname:
  2940. description: 收款人名称
  2941. type: string
  2942. bankcardbackphotourl:
  2943. description: 银行卡背面照地址
  2944. type: string
  2945. bankcardfrontphotourl:
  2946. description: 银行卡正面照地址
  2947. type: string
  2948. bankid:
  2949. description: 银行编码
  2950. type: string
  2951. bankname:
  2952. description: 银行名称
  2953. type: string
  2954. bankpictureurl:
  2955. description: 银行卡正面地址
  2956. type: string
  2957. biznature:
  2958. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2959. type: integer
  2960. bizscope:
  2961. description: 企业经营范围(企业)
  2962. type: string
  2963. biztype:
  2964. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2965. type: integer
  2966. brokerid:
  2967. description: 经纪人ID(加密存储)
  2968. type: string
  2969. cardaddress:
  2970. description: 证件地址 (加密存储)
  2971. type: string
  2972. cardbackphotourl:
  2973. description: 背面证件照地址
  2974. type: string
  2975. cardfrontphotourl:
  2976. description: 正面证件照地址
  2977. type: string
  2978. cardnum:
  2979. description: 证件号码 (加密存储)
  2980. type: string
  2981. cardtype:
  2982. description: 证件类型
  2983. type: integer
  2984. cityid:
  2985. description: 市
  2986. type: integer
  2987. company:
  2988. description: 公司(个人)
  2989. type: string
  2990. contactcardbackphotourl:
  2991. description: 联系人证件背面图片地址
  2992. type: string
  2993. contactcardfrontphotourl:
  2994. description: 联系人证件正面图片地址
  2995. type: string
  2996. contactname:
  2997. description: 联系人
  2998. type: string
  2999. countryid:
  3000. description: 国家
  3001. type: integer
  3002. createtime:
  3003. description: 开户申请时间
  3004. type: string
  3005. cusbankid:
  3006. description: 签约类型
  3007. type: string
  3008. cusbankname:
  3009. description: 签约类型名称
  3010. type: string
  3011. customername:
  3012. description: 客户名称(企业名称)
  3013. type: string
  3014. districtid:
  3015. description: 地区
  3016. type: integer
  3017. email:
  3018. description: Email地址(加密存储)
  3019. type: string
  3020. halfbodyphotourl:
  3021. description: 半身照地址
  3022. type: string
  3023. headurl:
  3024. description: 头像地址
  3025. type: string
  3026. ipaddress:
  3027. description: IP地址
  3028. type: string
  3029. isvalidate:
  3030. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3031. type: string
  3032. legalcardbackphotourl:
  3033. description: 法人身份证背面照地址
  3034. type: string
  3035. legalcardfrontphotourl:
  3036. description: 法人身份证正面照地址
  3037. type: string
  3038. legalpersonname:
  3039. description: 法人姓名(企业)
  3040. type: string
  3041. logincode:
  3042. description: 登录帐号 (加密存储)
  3043. type: string
  3044. memberareaid:
  3045. description: 所属会员ID
  3046. type: integer
  3047. mobile2:
  3048. description: 手机号码[明文-尚志]
  3049. type: string
  3050. mobilephone:
  3051. description: 手机号码 (加密存储)
  3052. type: string
  3053. modifiedby:
  3054. description: 修改人帐号
  3055. type: integer
  3056. modifiedtime:
  3057. description: 修改时间
  3058. type: string
  3059. nickname:
  3060. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3061. type: string
  3062. openmode:
  3063. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3064. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3065. type: integer
  3066. otherurl:
  3067. description: 其它图片地址[使用分号分隔]
  3068. type: string
  3069. postalcode:
  3070. description: 邮政编码
  3071. type: string
  3072. provinceid:
  3073. description: 省
  3074. type: integer
  3075. proxystatementurl:
  3076. description: 授权委托书
  3077. type: string
  3078. qq:
  3079. description: QQ(加密存储
  3080. type: string
  3081. referral:
  3082. description: 推荐人编码
  3083. type: string
  3084. remark:
  3085. description: 备注
  3086. type: string
  3087. removebeforestatus:
  3088. description: REMOVEBEFORESTATUS
  3089. type: integer
  3090. sex:
  3091. description: 性别 - 0:女 1:男
  3092. type: integer
  3093. signedstatus:
  3094. description: 账户一号签签约状态
  3095. type: integer
  3096. signpdfurl:
  3097. description: 签约pdf文件
  3098. type: string
  3099. subbranch:
  3100. description: 开户支行
  3101. type: string
  3102. taxpayernum:
  3103. description: 纳税人识别号
  3104. type: string
  3105. telphone:
  3106. description: 联系电话(加密存储)
  3107. type: string
  3108. userid:
  3109. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3110. type: integer
  3111. userinfotype:
  3112. description: 用户信息类型 - 1:个人 2:企业
  3113. type: integer
  3114. username:
  3115. description: 用户姓名
  3116. type: string
  3117. userstate:
  3118. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3119. type: integer
  3120. usertype:
  3121. description: 用户类型 - 1:投资者 2:机构
  3122. type: integer
  3123. videourl:
  3124. description: 视频地址
  3125. type: string
  3126. wechat:
  3127. description: 微信号 (加密存储)
  3128. type: string
  3129. required:
  3130. - userid
  3131. type: object
  3132. erms3.CustomerInfo:
  3133. properties:
  3134. accountids:
  3135. description: 资金账户ID列表
  3136. items:
  3137. type: integer
  3138. type: array
  3139. customername:
  3140. description: 名称(企业名称)
  3141. type: string
  3142. mobile:
  3143. description: 手机号码
  3144. type: string
  3145. userid:
  3146. description: 用户ID
  3147. type: integer
  3148. required:
  3149. - userid
  3150. type: object
  3151. erms3.ModifyUserInfoApplyReq:
  3152. properties:
  3153. accountid:
  3154. description: 交易系统帐号Id (加密存储)
  3155. type: integer
  3156. areacode:
  3157. description: 机构代码
  3158. type: string
  3159. areaid:
  3160. description: 机构Id
  3161. type: integer
  3162. attachment1:
  3163. description: 附件1
  3164. type: string
  3165. attachment2:
  3166. description: 附件2
  3167. type: string
  3168. attachment3:
  3169. description: 附件3
  3170. type: string
  3171. attachment4:
  3172. description: 附件4
  3173. type: string
  3174. attachment5:
  3175. description: 附件5
  3176. type: string
  3177. auditedby:
  3178. description: 审核人
  3179. type: string
  3180. auditime:
  3181. description: 审核时间
  3182. type: string
  3183. auditsrc:
  3184. description: 审核来源 - 1:管理端 2:终端
  3185. type: integer
  3186. bankaccount:
  3187. description: 银行帐号 (加密存储)
  3188. type: string
  3189. bankaccountname:
  3190. description: 收款人名称
  3191. type: string
  3192. bankcardbackphotourl:
  3193. description: 银行卡背面照地址
  3194. type: string
  3195. bankcardfrontphotourl:
  3196. description: 银行卡正面照地址
  3197. type: string
  3198. bankid:
  3199. description: 银行编码
  3200. type: string
  3201. bankname:
  3202. description: 银行名称
  3203. type: string
  3204. bankpictureurl:
  3205. description: 银行卡正面地址
  3206. type: string
  3207. biznature:
  3208. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3209. type: integer
  3210. bizscope:
  3211. description: 企业经营范围(企业)
  3212. type: string
  3213. biztype:
  3214. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3215. type: integer
  3216. brokerid:
  3217. description: 经纪人ID(加密存储)
  3218. type: string
  3219. cardaddress:
  3220. description: 证件地址 (加密存储)
  3221. type: string
  3222. cardbackphotourl:
  3223. description: 背面证件照地址
  3224. type: string
  3225. cardfrontphotourl:
  3226. description: 正面证件照地址
  3227. type: string
  3228. cardnum:
  3229. description: 证件号码 (加密存储)
  3230. type: string
  3231. cardtype:
  3232. description: 证件类型
  3233. type: integer
  3234. cityid:
  3235. description: 市
  3236. type: integer
  3237. company:
  3238. description: 公司(个人)
  3239. type: string
  3240. contactcardbackphotourl:
  3241. description: 联系人证件背面图片地址
  3242. type: string
  3243. contactcardfrontphotourl:
  3244. description: 联系人证件正面图片地址
  3245. type: string
  3246. contactname:
  3247. description: 联系人
  3248. type: string
  3249. countryid:
  3250. description: 国家
  3251. type: integer
  3252. createtime:
  3253. description: 开户申请时间
  3254. type: string
  3255. cusbankid:
  3256. description: 签约类型
  3257. type: string
  3258. cusbankname:
  3259. description: 签约类型名称
  3260. type: string
  3261. customername:
  3262. description: 客户名称(企业名称)
  3263. type: string
  3264. districtid:
  3265. description: 地区
  3266. type: integer
  3267. email:
  3268. description: Email地址(加密存储)
  3269. type: string
  3270. halfbodyphotourl:
  3271. description: 半身照地址
  3272. type: string
  3273. headurl:
  3274. description: 头像地址
  3275. type: string
  3276. ipaddress:
  3277. description: IP地址
  3278. type: string
  3279. isvalidate:
  3280. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3281. type: string
  3282. legalcardbackphotourl:
  3283. description: 法人身份证背面照地址
  3284. type: string
  3285. legalcardfrontphotourl:
  3286. description: 法人身份证正面照地址
  3287. type: string
  3288. legalpersonname:
  3289. description: 法人姓名(企业)
  3290. type: string
  3291. logincode:
  3292. description: 登录帐号 (加密存储)
  3293. type: string
  3294. memberareaid:
  3295. description: 所属会员ID
  3296. type: integer
  3297. mobile2:
  3298. description: 手机号码[明文-尚志]
  3299. type: string
  3300. mobilephone:
  3301. description: 手机号码 (加密存储)
  3302. type: string
  3303. modifiedby:
  3304. description: 修改人帐号
  3305. type: integer
  3306. modifiedtime:
  3307. description: 修改时间
  3308. type: string
  3309. nickname:
  3310. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3311. type: string
  3312. openmode:
  3313. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3314. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3315. type: integer
  3316. otherurl:
  3317. description: 其它图片地址[使用分号分隔]
  3318. type: string
  3319. postalcode:
  3320. description: 邮政编码
  3321. type: string
  3322. provinceid:
  3323. description: 省
  3324. type: integer
  3325. proxystatementurl:
  3326. description: 授权委托书
  3327. type: string
  3328. qq:
  3329. description: QQ(加密存储
  3330. type: string
  3331. referral:
  3332. description: 推荐人编码
  3333. type: string
  3334. remark:
  3335. description: 备注
  3336. type: string
  3337. removebeforestatus:
  3338. description: REMOVEBEFORESTATUS
  3339. type: integer
  3340. sex:
  3341. description: 性别 - 0:女 1:男
  3342. type: integer
  3343. signedstatus:
  3344. description: 账户一号签签约状态
  3345. type: integer
  3346. signpdfurl:
  3347. description: 签约pdf文件
  3348. type: string
  3349. subbranch:
  3350. description: 开户支行
  3351. type: string
  3352. taxpayernum:
  3353. description: 纳税人识别号
  3354. type: string
  3355. telphone:
  3356. description: 联系电话(加密存储)
  3357. type: string
  3358. userid:
  3359. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3360. type: integer
  3361. userinfotype:
  3362. description: 用户信息类型 - 1:个人 2:企业
  3363. type: integer
  3364. username:
  3365. description: 用户姓名
  3366. type: string
  3367. userstate:
  3368. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3369. type: integer
  3370. usertype:
  3371. description: 用户类型 - 1:投资者 2:机构
  3372. type: integer
  3373. videourl:
  3374. description: 视频地址
  3375. type: string
  3376. wechat:
  3377. description: 微信号 (加密存储)
  3378. type: string
  3379. required:
  3380. - userid
  3381. type: object
  3382. erms3.QryAuditContractRsp:
  3383. properties:
  3384. accountid:
  3385. description: 交易员ID
  3386. type: string
  3387. applystatus:
  3388. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3389. type: integer
  3390. curdeliveryqty:
  3391. description: 未交收量
  3392. type: integer
  3393. customername:
  3394. description: 采购方ID
  3395. type: string
  3396. deliverygoodsid:
  3397. description: 品种ID
  3398. type: string
  3399. deliveryqty:
  3400. description: 交收量
  3401. type: integer
  3402. enumdicname:
  3403. description: 单位名称
  3404. type: string
  3405. matchaccountid:
  3406. description: 业务员ID
  3407. type: string
  3408. matchcustomername:
  3409. description: 销售方ID
  3410. type: string
  3411. pricedqty:
  3412. description: 定价量
  3413. type: number
  3414. signdate:
  3415. description: 签订日期
  3416. type: string
  3417. spotcontractid:
  3418. description: 合同ID
  3419. type: string
  3420. totaldqty:
  3421. description: 合同量
  3422. type: number
  3423. unpricedqty:
  3424. description: 未定价量
  3425. type: number
  3426. wrstandardname:
  3427. description: 商品名称
  3428. type: string
  3429. required:
  3430. - matchcustomername
  3431. - spotcontractid
  3432. type: object
  3433. erms3.QryPendingBizRsp:
  3434. properties:
  3435. accountid:
  3436. description: 现货账户
  3437. type: string
  3438. areaname:
  3439. description: 所属部门
  3440. type: string
  3441. bizid:
  3442. description: 业务ID
  3443. type: string
  3444. bizname:
  3445. description: 业务名称
  3446. type: string
  3447. status:
  3448. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3449. type: integer
  3450. type:
  3451. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3452. type: integer
  3453. type: object
  3454. erms3.QueryBusinessInfoRsp:
  3455. properties:
  3456. businessid:
  3457. description: 业务ID.
  3458. type: integer
  3459. buyamount:
  3460. description: 采购额.
  3461. type: number
  3462. buyqty:
  3463. description: 采购量.
  3464. type: string
  3465. futurepl:
  3466. description: 期货盈亏.
  3467. type: number
  3468. futureqty:
  3469. description: 期货敞口.
  3470. type: string
  3471. goodsid:
  3472. description: 商品名称/商品代码.
  3473. type: string
  3474. hedgingqty:
  3475. description: 套保量.
  3476. type: string
  3477. sellamount:
  3478. description: 销售额.
  3479. type: number
  3480. sellqty:
  3481. description: 销售量.
  3482. type: string
  3483. spotmarketvalue:
  3484. description: 现货市值.
  3485. type: number
  3486. spotpl:
  3487. description: 浮动权益.
  3488. type: number
  3489. spotqty:
  3490. description: 现货量.
  3491. type: string
  3492. statu:
  3493. description: 状态,0-未结束 1-已结束.
  3494. type: integer
  3495. totalpl:
  3496. description: 总盈亏.
  3497. type: number
  3498. totalqty:
  3499. description: 总敞口.
  3500. type: string
  3501. type:
  3502. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3503. type: integer
  3504. type: object
  3505. erms3.QuerySpotContractAppleFormRsp:
  3506. properties:
  3507. goodses:
  3508. description: 合约列表
  3509. items:
  3510. $ref: '#/definitions/models.GoodsIDAndName'
  3511. type: array
  3512. oppositeusers:
  3513. description: 对方账号列表
  3514. items:
  3515. $ref: '#/definitions/erms3.CustomerInfo'
  3516. type: array
  3517. ouruser:
  3518. $ref: '#/definitions/erms3.CustomerInfo'
  3519. description: 我方账号
  3520. warehouseinfos:
  3521. description: 仓库信息列表
  3522. items:
  3523. $ref: '#/definitions/models.Warehouseinfo'
  3524. type: array
  3525. wrstandards:
  3526. description: 仓单标准列表
  3527. items:
  3528. $ref: '#/definitions/models.WRStandardInfo'
  3529. type: array
  3530. type: object
  3531. erms3.QuerySpotContractInfoRsp:
  3532. properties:
  3533. accountid:
  3534. description: 表示交易员ID.
  3535. type: integer
  3536. curdeliveryqty:
  3537. description: 表示未交收量.
  3538. type: number
  3539. customername:
  3540. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3541. type: string
  3542. deliverygoodsid:
  3543. description: 表示品种ID.
  3544. type: string
  3545. deliveryqty:
  3546. description: 表示交收量.
  3547. type: number
  3548. matchaccountid:
  3549. description: 表示业务员ID.
  3550. type: integer
  3551. matchcustomername:
  3552. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3553. type: string
  3554. priceqty:
  3555. description: 表示定价量.
  3556. type: number
  3557. relatedbizid:
  3558. description: 表示业务ID.
  3559. type: string
  3560. signdate:
  3561. description: 表示签订日期.
  3562. type: string
  3563. spotcontractid:
  3564. description: 合同ID
  3565. type: string
  3566. status:
  3567. description: 表示状态,0-履约中 1-已完成.
  3568. type: integer
  3569. totalqty:
  3570. description: 表示合同量.
  3571. type: number
  3572. unpricedqty:
  3573. description: 表示未定价量.
  3574. type: number
  3575. wrstandardname:
  3576. description: 表示商品ID.
  3577. type: string
  3578. type: object
  3579. erms3.QueryUserInfoAppliesRsp:
  3580. properties:
  3581. biznature:
  3582. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3583. type: integer
  3584. contactname:
  3585. description: 联系人
  3586. type: string
  3587. createtime:
  3588. description: 开户申请时间
  3589. type: string
  3590. userid:
  3591. description: 用户ID(自增ID)
  3592. type: integer
  3593. userinfotype:
  3594. description: 用户信息类型 - 1:个人 2:企业
  3595. type: integer
  3596. username:
  3597. description: 用户姓名
  3598. type: string
  3599. userstate:
  3600. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3601. type: integer
  3602. required:
  3603. - userid
  3604. type: object
  3605. erms3.QueryUserInfosRsp:
  3606. properties:
  3607. biznature:
  3608. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3609. type: integer
  3610. contactname:
  3611. description: 联系人
  3612. type: string
  3613. customername:
  3614. description: 客户名称(企业名称)
  3615. type: string
  3616. userid:
  3617. description: 用户ID
  3618. type: integer
  3619. userinfotype:
  3620. description: 用户信息类型 - 1:个人 2:企业
  3621. type: integer
  3622. userstatus:
  3623. description: 用户状态 - 1:正常 2:注销
  3624. type: integer
  3625. required:
  3626. - userid
  3627. type: object
  3628. erms3.SoptContractDetail:
  3629. properties:
  3630. deliverygoodsdesc:
  3631. description: 现货品种说明
  3632. type: string
  3633. deliverygoodsid:
  3634. description: 现货品种ID
  3635. type: integer
  3636. deliverygoodsname:
  3637. description: 现货品种名称
  3638. type: string
  3639. pointdesc:
  3640. description: 点价描述
  3641. type: string
  3642. producttype:
  3643. description: 产品类型 1:标准仓单 2:等标 3:非标
  3644. type: integer
  3645. producttypename:
  3646. description: 产品类型名称
  3647. type: string
  3648. spotPointOrderVoList:
  3649. description: 点价列表
  3650. items:
  3651. $ref: '#/definitions/erms3.SpotPointOrder'
  3652. type: array
  3653. spotPriceOrderList:
  3654. description: 定价列表
  3655. items:
  3656. $ref: '#/definitions/erms3.SpotPriceOrder'
  3657. type: array
  3658. unitname:
  3659. description: 单位名称
  3660. type: string
  3661. warehouseid:
  3662. description: 仓库ID
  3663. type: integer
  3664. warehousename:
  3665. description: 仓库名称
  3666. type: string
  3667. wrstandardid:
  3668. description: 交易标的ID
  3669. type: integer
  3670. wrstandardname:
  3671. description: 交易标的名称
  3672. type: string
  3673. required:
  3674. - deliverygoodsid
  3675. - producttype
  3676. - unitname
  3677. - warehouseid
  3678. - wrstandardid
  3679. - wrstandardname
  3680. type: object
  3681. erms3.SpotPointOrder:
  3682. properties:
  3683. basic:
  3684. description: 基差
  3685. type: number
  3686. deliveryenddate:
  3687. description: 交收结束日期
  3688. type: string
  3689. deliverystartdate:
  3690. description: 交收开始日期
  3691. type: string
  3692. enddate:
  3693. description: 点价结束日期
  3694. type: string
  3695. goodsid:
  3696. description: 商品ID
  3697. type: integer
  3698. goodsname:
  3699. description: 商品名称
  3700. type: string
  3701. qty:
  3702. description: 数量
  3703. type: number
  3704. startdate:
  3705. description: 点价开始日期
  3706. type: string
  3707. required:
  3708. - basic
  3709. - goodsid
  3710. - qty
  3711. type: object
  3712. erms3.SpotPriceOrder:
  3713. properties:
  3714. amount:
  3715. description: 金额
  3716. type: number
  3717. deliveryenddate:
  3718. description: 交收结束日期
  3719. type: string
  3720. deliverystartdate:
  3721. description: 交收开始日期
  3722. type: string
  3723. price:
  3724. description: 价格
  3725. type: number
  3726. qty:
  3727. description: 数量
  3728. type: number
  3729. required:
  3730. - amount
  3731. - price
  3732. - qty
  3733. type: object
  3734. hsby.GetHsbyMyCountRsp:
  3735. properties:
  3736. myCouponCount:
  3737. description: 我的优惠卷数量
  3738. type: integer
  3739. myOrderDetailListingCount:
  3740. description: 我的订单求购中数量
  3741. type: integer
  3742. myOrderDetailPreCount:
  3743. description: 我的订单抢购中数量
  3744. type: integer
  3745. myPackageUnReceiveCount:
  3746. description: 我的包裹待收货数量
  3747. type: integer
  3748. myPackageUnSendCount:
  3749. description: 我的包裹待发货数量
  3750. type: integer
  3751. myPayOrderCount:
  3752. description: 我的订单待付款数量
  3753. type: integer
  3754. type: object
  3755. hsby.QueryProvincesAndCitiesRsp:
  3756. properties:
  3757. cities:
  3758. description: 市
  3759. items:
  3760. $ref: '#/definitions/models.Division'
  3761. type: array
  3762. province:
  3763. $ref: '#/definitions/models.Division'
  3764. description: 省
  3765. type: object
  3766. models.Arearole:
  3767. properties:
  3768. createtime:
  3769. description: 创建时间
  3770. type: string
  3771. creatorid:
  3772. description: 创建人ID
  3773. type: integer
  3774. fromuserid:
  3775. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3776. type: integer
  3777. isreturnscore:
  3778. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3779. type: integer
  3780. modifierid:
  3781. description: 修改人ID
  3782. type: integer
  3783. modifytime:
  3784. description: 修改时间
  3785. type: string
  3786. orgtype:
  3787. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3788. type: integer
  3789. outuserid:
  3790. description: 外部账户[场外期权做市商]
  3791. type: string
  3792. parentuserid:
  3793. description: 上级组织机构(组织机构)
  3794. type: integer
  3795. roletype:
  3796. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  3797. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  3798. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  3799. type: integer
  3800. rootuserid:
  3801. description: 顶级组织机构用户ID(组织机构)
  3802. type: integer
  3803. shoppassword:
  3804. description: 商城店铺登陆密码(商城店铺角色使用)
  3805. type: string
  3806. sublevelpath:
  3807. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3808. type: string
  3809. suborgtype:
  3810. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3811. type: integer
  3812. tradeaccountid:
  3813. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3814. type: integer
  3815. transurl:
  3816. description: 物流地址(物流机构)
  3817. type: string
  3818. userid:
  3819. description: 机构用户ID其他做市关系,都设置为 1
  3820. type: integer
  3821. required:
  3822. - roletype
  3823. - userid
  3824. type: object
  3825. models.Clientfixedadconfig:
  3826. properties:
  3827. adsort:
  3828. description: 排序
  3829. type: integer
  3830. adtype:
  3831. description: 广告位类型 - 1:新品抢购(HSBY)
  3832. type: integer
  3833. areauserid:
  3834. description: 所属机构ID
  3835. type: integer
  3836. createdate:
  3837. description: 创建时间
  3838. type: string
  3839. creatorid:
  3840. description: 创建人
  3841. type: integer
  3842. imagepath:
  3843. description: 图片
  3844. type: string
  3845. isshow:
  3846. description: 是否展示 - 0:不展示 1:展示
  3847. type: integer
  3848. modifierid:
  3849. description: 操作人
  3850. type: integer
  3851. recsize:
  3852. description: 推荐尺寸
  3853. type: string
  3854. title:
  3855. description: 标题
  3856. type: string
  3857. updatedate:
  3858. description: 更新时间
  3859. type: string
  3860. urlcontent:
  3861. description: 链接(地址或商品ID)
  3862. type: string
  3863. urltype:
  3864. description: 链接类型 - 1:直接地址 2:商品ID
  3865. type: integer
  3866. required:
  3867. - adsort
  3868. - adtype
  3869. type: object
  3870. models.DgFactoryItem:
  3871. properties:
  3872. dgfactoryitemid:
  3873. description: 选择项ID(SEQ_DGFACTORYITEM)
  3874. type: integer
  3875. dgfactoryitemtypeid:
  3876. description: 要素项类型
  3877. type: integer
  3878. dgfactoryitemvalue:
  3879. description: 要素项值(类型为仓库时填写仓库名称)
  3880. type: string
  3881. orderindex:
  3882. description: 顺序
  3883. type: integer
  3884. type: object
  3885. models.Division:
  3886. properties:
  3887. autoid:
  3888. description: 自增ID
  3889. type: integer
  3890. divisioncode:
  3891. description: 行政代码
  3892. type: string
  3893. divisionlevel:
  3894. description: 行政级别
  3895. type: string
  3896. divisionname:
  3897. description: 行政名称
  3898. type: string
  3899. modifierid:
  3900. description: 修改人
  3901. type: integer
  3902. modifytime:
  3903. description: 修改时间
  3904. type: string
  3905. parentcode:
  3906. description: 上级行政代码
  3907. type: string
  3908. pathname:
  3909. description: 路径名称
  3910. type: string
  3911. postcode:
  3912. description: 邮政编码
  3913. type: string
  3914. separablename:
  3915. description: 可拆分的全称
  3916. type: string
  3917. shortcode:
  3918. description: 地区简码
  3919. type: string
  3920. required:
  3921. - autoid
  3922. - divisioncode
  3923. type: object
  3924. models.Enumdicitem:
  3925. properties:
  3926. autoid:
  3927. description: 自增ID
  3928. type: integer
  3929. bankmappedvalue:
  3930. description: 银行服务对应值
  3931. type: string
  3932. enumdiccode:
  3933. description: 所属枚举代码
  3934. type: string
  3935. enumdicid:
  3936. description: 所属枚举ID
  3937. type: integer
  3938. enumdicname:
  3939. description: 枚举项名称
  3940. type: string
  3941. enumitemname:
  3942. description: 枚举项值
  3943. type: integer
  3944. enumitemstatus:
  3945. description: 枚举项状态 - 1.启用 2.不启用
  3946. type: integer
  3947. enumitemvalue:
  3948. description: 通用值 - [币种通用简写]
  3949. type: string
  3950. param1:
  3951. description: 参数1[币种:币种小数位]
  3952. type: string
  3953. param2:
  3954. description: 参数1[币种:币种显示单位]
  3955. type: string
  3956. remark:
  3957. description: 备注
  3958. type: string
  3959. required:
  3960. - autoid
  3961. - enumdiccode
  3962. - enumdicid
  3963. - enumitemname
  3964. type: object
  3965. models.Ermcp3AreaSpot:
  3966. properties:
  3967. areauserid:
  3968. description: 所属机构
  3969. type: integer
  3970. convertratio:
  3971. description: 套保系数
  3972. type: number
  3973. decreaseqty:
  3974. description: 减少数量=-(销售已定价数量+采购计划数量)
  3975. type: number
  3976. enumdicname:
  3977. description: 单位名称
  3978. type: string
  3979. increaseqty:
  3980. description: 增加数量=销售计划数量+采购已定价数量
  3981. type: number
  3982. oritoalspotqty:
  3983. description: 昨日数量
  3984. type: number
  3985. totalspotqty:
  3986. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3987. type: number
  3988. unitid:
  3989. description: 现货商品单位id
  3990. type: integer
  3991. updatetime:
  3992. description: 更新时间
  3993. type: string
  3994. wrstandardcode:
  3995. description: 现货商品代码
  3996. type: string
  3997. wrstandardid:
  3998. description: 现货商品ID(SEQ_WRSTANDARD)
  3999. type: integer
  4000. wrstandardname:
  4001. description: 现货商品名称
  4002. type: string
  4003. type: object
  4004. models.Ermcp3AreaSpotDetail:
  4005. properties:
  4006. contracttype:
  4007. description: 合同类型 1-采购 -1-销售
  4008. type: integer
  4009. createtime:
  4010. description: 创建时间
  4011. type: string
  4012. enumdicname:
  4013. description: 现货商品单位名称
  4014. type: string
  4015. logtype:
  4016. description: 记录类型 1-套保 2-现货合同
  4017. type: integer
  4018. qty:
  4019. description: 数量
  4020. type: number
  4021. recordname:
  4022. description: 类型名称
  4023. type: string
  4024. relatedid:
  4025. description: 套保计划ID/现货合同ID
  4026. type: string
  4027. relatedno:
  4028. description: 编号
  4029. type: string
  4030. strtime:
  4031. description: 时间
  4032. type: string
  4033. wrstandardcode:
  4034. description: 现货商品代码
  4035. type: string
  4036. wrstandardid:
  4037. description: 现货商品ID(SEQ_WRSTANDARD)
  4038. type: integer
  4039. wrstandardname:
  4040. description: 现货商品名称
  4041. type: string
  4042. type: object
  4043. models.Ermcp3AreaSpotPLReport:
  4044. properties:
  4045. accountid:
  4046. description: 期货账户ID (作废, 默认为0)
  4047. type: integer
  4048. accountname:
  4049. description: 机构名称
  4050. type: string
  4051. actualpl:
  4052. description: 现货损益
  4053. type: number
  4054. areauserid:
  4055. description: 所属机构\交易用户ID
  4056. type: integer
  4057. begindate:
  4058. description: 开始交易日
  4059. type: string
  4060. biztype:
  4061. description: 业务类型 - 1:套保 2:套利
  4062. type: integer
  4063. brandname:
  4064. description: 品牌名称
  4065. type: string
  4066. curamount:
  4067. description: 期末额
  4068. type: number
  4069. curaverageprice:
  4070. description: 期末均价
  4071. type: number
  4072. curbuyamount:
  4073. description: 期末采购总额
  4074. type: number
  4075. curbuyqty:
  4076. description: 期末采购总量
  4077. type: number
  4078. curmarketvalue:
  4079. description: 参考市值(期末市值)
  4080. type: number
  4081. curqty:
  4082. description: 期末量
  4083. type: number
  4084. currencyid:
  4085. description: 结算币种ID【原值】
  4086. type: integer
  4087. currencyname:
  4088. description: 币种名称
  4089. type: string
  4090. cursellamount:
  4091. description: 期末销售总额
  4092. type: number
  4093. cursellqty:
  4094. description: 期末销售总量
  4095. type: number
  4096. curspotprice:
  4097. description: 参考市价(最新价)
  4098. type: number
  4099. cycletime:
  4100. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4101. type: string
  4102. cycletype:
  4103. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4104. type: integer
  4105. deliverygoodscode:
  4106. description: 现货品种代码
  4107. type: string
  4108. deliverygoodsid:
  4109. description: 现货品种ID
  4110. type: integer
  4111. deliverygoodsname:
  4112. description: 现货品种名称
  4113. type: string
  4114. enddate:
  4115. description: 结束交易日
  4116. type: string
  4117. enumdicname:
  4118. description: 现货品种单位名称(作废)
  4119. type: string
  4120. floatpl:
  4121. description: 浮动损益
  4122. type: number
  4123. goodsunitid:
  4124. description: 现货品种单位id(作废)
  4125. type: integer
  4126. oriamount:
  4127. description: 期初额
  4128. type: number
  4129. oriaverageprice:
  4130. description: 期初均价
  4131. type: number
  4132. oribuyamount:
  4133. description: 期初采购总额
  4134. type: number
  4135. oribuyqty:
  4136. description: 期初采购总量
  4137. type: number
  4138. oriqty:
  4139. description: 期初量
  4140. type: number
  4141. orisellamount:
  4142. description: 期初销售总额
  4143. type: number
  4144. orisellqty:
  4145. description: 期初销售总量
  4146. type: number
  4147. reckondate:
  4148. description: 日照时期(yyyyMMdd)
  4149. type: string
  4150. spotgoodsbrandid:
  4151. description: 现货品牌ID
  4152. type: integer
  4153. todaybuyamount:
  4154. description: 今日采购额(今采购额)
  4155. type: number
  4156. todaybuyaverageprice:
  4157. description: 今日采购均价
  4158. type: number
  4159. todaybuyqty:
  4160. description: 今日采购量(今采购量)
  4161. type: number
  4162. todayinqty:
  4163. description: 今日入库量(今入库量)
  4164. type: number
  4165. todayoutqty:
  4166. description: 今日出库量(今出库量)
  4167. type: number
  4168. todaysellamount:
  4169. description: 今日销售额(今销售额)
  4170. type: number
  4171. todaysellaverageprice:
  4172. description: 今日销售均价
  4173. type: number
  4174. todaysellqty:
  4175. description: 今日销售量(今销售量)
  4176. type: number
  4177. unitid:
  4178. description: 品类单位id
  4179. type: integer
  4180. unitidname:
  4181. description: 品类单位名称
  4182. type: string
  4183. updatetime:
  4184. description: 更新时间
  4185. type: string
  4186. wrfactortypeid:
  4187. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4188. type: integer
  4189. wrstandardcode:
  4190. description: 现货商品(品类)代码
  4191. type: string
  4192. wrstandardid:
  4193. description: 现货品类ID
  4194. type: integer
  4195. wrstandardname:
  4196. description: 现货商品(品类)名称
  4197. type: string
  4198. type: object
  4199. models.Ermcp3AreaStock:
  4200. properties:
  4201. brandname:
  4202. description: 品牌名称
  4203. type: string
  4204. curstock:
  4205. description: 期末库存量(今日量)
  4206. type: number
  4207. deliverygoodscode:
  4208. description: 现货品种代码
  4209. type: string
  4210. deliverygoodsid:
  4211. description: 现货品种id
  4212. type: integer
  4213. deliverygoodsname:
  4214. description: 现货品种名称
  4215. type: string
  4216. enumdicname:
  4217. description: 单位名称
  4218. type: string
  4219. goodsunitid:
  4220. description: 现货商品单位id
  4221. type: integer
  4222. oristock:
  4223. description: 期初库存量(昨日量)
  4224. type: number
  4225. spotgoodsbrandid:
  4226. description: 现货品牌ID
  4227. type: integer
  4228. todaybuyinqty:
  4229. description: 今日采购入库量
  4230. type: number
  4231. todayproduceinqty:
  4232. description: 今日生产入库量
  4233. type: number
  4234. todayproduceoutqty:
  4235. description: 今日生产出库量
  4236. type: number
  4237. todayselloutqty:
  4238. description: 今日销售出库量
  4239. type: number
  4240. unitid:
  4241. description: 单位id
  4242. type: integer
  4243. updatetime:
  4244. description: 更新时间
  4245. type: string
  4246. userid:
  4247. description: 机构ID
  4248. type: integer
  4249. username:
  4250. description: 机构名称
  4251. type: string
  4252. warehousecode:
  4253. description: 仓库代码
  4254. type: string
  4255. warehouseinfoid:
  4256. description: 仓库ID
  4257. type: string
  4258. warehousename:
  4259. description: 仓库名称
  4260. type: string
  4261. warehousetype:
  4262. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4263. type: integer
  4264. wrstandardcode:
  4265. description: 品类代码
  4266. type: string
  4267. wrstandardid:
  4268. description: 品类ID
  4269. type: string
  4270. wrstandardname:
  4271. description: 品类名称
  4272. type: string
  4273. required:
  4274. - userid
  4275. type: object
  4276. models.Ermcp3AreaStockApply:
  4277. properties:
  4278. applyid:
  4279. description: 申请人
  4280. type: integer
  4281. applyname:
  4282. description: 申请人名称
  4283. type: string
  4284. applyremark:
  4285. description: 申请备注
  4286. type: string
  4287. applysrc:
  4288. description: 申请来源 - 1:管理端 2:终端
  4289. type: integer
  4290. applystatus:
  4291. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4292. type: integer
  4293. applytime:
  4294. description: 申请时间
  4295. type: string
  4296. auditid:
  4297. description: 审核人
  4298. type: integer
  4299. auditname:
  4300. description: 审核人名称
  4301. type: string
  4302. auditremark:
  4303. description: 审核备注
  4304. type: string
  4305. auditsrc:
  4306. description: 审核来源 - 1:管理端 2:终端
  4307. type: integer
  4308. audittime:
  4309. description: 审核时间
  4310. type: string
  4311. audittradedate:
  4312. description: 审核交易日(yyyyMMdd)
  4313. type: string
  4314. brandname:
  4315. description: 品牌名称
  4316. type: string
  4317. buynickname:
  4318. description: 采购方昵称
  4319. type: string
  4320. buyuserid:
  4321. description: 采购方userid
  4322. type: integer
  4323. buyusername:
  4324. description: 采购方名称
  4325. type: string
  4326. contractno:
  4327. description: 合同编号
  4328. type: string
  4329. contractqty:
  4330. description: 合同量
  4331. type: number
  4332. contracttype:
  4333. description: 现货合同类型 - 1:采购 -1:销售
  4334. type: integer
  4335. deliverygoodscode:
  4336. description: 现货品种代码
  4337. type: string
  4338. deliverygoodsid:
  4339. description: 现货品种id
  4340. type: integer
  4341. deliverygoodsname:
  4342. description: 现货品种名称
  4343. type: string
  4344. detailjson:
  4345. description: 明细数据
  4346. type: string
  4347. enumdicname:
  4348. description: 现货商品单位名称
  4349. type: string
  4350. inoutapplyid:
  4351. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4352. type: string
  4353. inouttype:
  4354. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4355. type: integer
  4356. pricetype:
  4357. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4358. type: integer
  4359. qty:
  4360. description: 数量
  4361. type: number
  4362. sellnickname:
  4363. description: 销售方昵称
  4364. type: string
  4365. selluserid:
  4366. description: 销售方userid
  4367. type: integer
  4368. sellusername:
  4369. description: 销售方名称
  4370. type: string
  4371. spotcontractid:
  4372. description: 关联现货合同ID
  4373. type: string
  4374. spotgoodsbrandid:
  4375. description: 现货品牌ID
  4376. type: integer
  4377. unitid:
  4378. description: 单位id
  4379. type: integer
  4380. userid:
  4381. description: 机构ID
  4382. type: integer
  4383. warehousecode:
  4384. description: 仓库代码
  4385. type: string
  4386. warehouseinfoid:
  4387. description: 现货仓库ID
  4388. type: string
  4389. warehousename:
  4390. description: 仓库名称
  4391. type: string
  4392. warehousetype:
  4393. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4394. type: integer
  4395. wrstandardcode:
  4396. description: 品类代码
  4397. type: string
  4398. wrstandardid:
  4399. description: 品类ID
  4400. type: integer
  4401. wrstandardname:
  4402. description: 品类名称
  4403. type: string
  4404. type: object
  4405. models.Ermcp3AreaStockApplySum:
  4406. properties:
  4407. brandname:
  4408. description: 品牌名称
  4409. type: string
  4410. inouttype:
  4411. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4412. type: integer
  4413. spotcontractid:
  4414. description: 关联现货合同ID
  4415. type: string
  4416. spotgoodsbrandid:
  4417. description: 品牌id
  4418. type: integer
  4419. totalqty:
  4420. description: 总数量
  4421. type: number
  4422. wrstandardid:
  4423. description: 品类id
  4424. type: integer
  4425. wrstandardname:
  4426. description: 品类名称
  4427. type: string
  4428. type: object
  4429. models.Ermcp3AreaStockReportEx:
  4430. properties:
  4431. begindate:
  4432. description: 开始交易日
  4433. type: string
  4434. brandname:
  4435. description: 品牌名称
  4436. type: string
  4437. curstock:
  4438. description: 期末库存量
  4439. type: number
  4440. cycletime:
  4441. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4442. type: string
  4443. cycletype:
  4444. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4445. type: integer
  4446. deliverygoodscode:
  4447. description: 现货品种代码
  4448. type: string
  4449. deliverygoodsid:
  4450. description: 现货品种id
  4451. type: integer
  4452. deliverygoodsname:
  4453. description: 现货品种名称
  4454. type: string
  4455. diffqty:
  4456. description: 库存变化量 = 期末 - 期初
  4457. type: number
  4458. enddate:
  4459. description: 结束交易日
  4460. type: string
  4461. enumdicname:
  4462. description: 单位名称
  4463. type: string
  4464. goodsunitid:
  4465. description: 现货单位id
  4466. type: integer
  4467. oristock:
  4468. description: 期初库存量
  4469. type: number
  4470. reckondate:
  4471. description: 日照时期(yyyyMMdd)
  4472. type: string
  4473. spotgoodsbrandid:
  4474. description: 现货品牌ID
  4475. type: integer
  4476. todaybuyinqty:
  4477. description: 今采购入库量
  4478. type: number
  4479. todayproduceinqty:
  4480. description: 今内部入库量
  4481. type: number
  4482. todayproduceoutqty:
  4483. description: 今内部出库量
  4484. type: number
  4485. todayselloutqty:
  4486. description: 今销售出库量
  4487. type: number
  4488. unbuyinqty:
  4489. description: 采购未入库量(数据库未找到相关字段?)
  4490. type: number
  4491. unitid:
  4492. description: 品类单位id
  4493. type: integer
  4494. unselloutqty:
  4495. description: 销售未出库量(数据库未找到相关字段?)
  4496. type: number
  4497. updatetime:
  4498. description: 更新时间
  4499. type: string
  4500. userid:
  4501. description: 机构ID
  4502. type: integer
  4503. username:
  4504. description: 机构名称
  4505. type: string
  4506. warehousecode:
  4507. description: 仓库代码
  4508. type: string
  4509. warehouseinfoid:
  4510. description: 仓库ID
  4511. type: string
  4512. warehousename:
  4513. description: 仓库名称
  4514. type: string
  4515. warehousetype:
  4516. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4517. type: integer
  4518. wrstandardcode:
  4519. description: 品类代码
  4520. type: string
  4521. wrstandardid:
  4522. description: 品类ID
  4523. type: integer
  4524. wrstandardname:
  4525. description: 品类名称
  4526. type: string
  4527. type: object
  4528. models.Ermcp3ArealSumPL:
  4529. properties:
  4530. accountname:
  4531. description: 机构名称
  4532. type: string
  4533. areauserid:
  4534. description: 所属机构\交易用户ID
  4535. type: integer
  4536. begindate:
  4537. description: 开始交易日
  4538. type: string
  4539. currencyid:
  4540. description: 结算币种ID
  4541. type: integer
  4542. currencyname:
  4543. description: 币种名称
  4544. type: string
  4545. cycletime:
  4546. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4547. type: string
  4548. cycletype:
  4549. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4550. type: integer
  4551. enddate:
  4552. description: 结束交易日
  4553. type: string
  4554. enumdicname:
  4555. description: 单位名称(套保品种)
  4556. type: string
  4557. futureactualpl:
  4558. description: 期货损益
  4559. type: number
  4560. futurefloatpl:
  4561. description: 期货浮动损益
  4562. type: number
  4563. futurespotratio:
  4564. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  4565. type: number
  4566. goodsunitid:
  4567. description: 套保品种单位id
  4568. type: integer
  4569. hedgeexposurepl:
  4570. description: 套保敞口损益
  4571. type: number
  4572. middlegoodscode:
  4573. description: 套保品种代码
  4574. type: string
  4575. middlegoodsid:
  4576. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  4577. type: integer
  4578. middlegoodsname:
  4579. description: 套保品种名称
  4580. type: string
  4581. reckondate:
  4582. description: 日照时期(yyyyMMdd)
  4583. type: string
  4584. spotactualpl:
  4585. description: 现货损益
  4586. type: number
  4587. spotfloatpl:
  4588. description: 现货浮动损益
  4589. type: number
  4590. sumactualpl:
  4591. description: 实际损益 = (ActualPL + FutureActualPL)
  4592. type: number
  4593. sumpl:
  4594. description: 总敞口损益 | 汇总损益
  4595. type: number
  4596. totalfutureqty:
  4597. description: 期货头寸总量
  4598. type: number
  4599. totalneedhedgeqty:
  4600. description: 应套保总量
  4601. type: number
  4602. totalspotqty:
  4603. description: 现货头寸总量
  4604. type: number
  4605. updatetime:
  4606. description: 更新时间
  4607. type: string
  4608. type: object
  4609. models.Ermcp3Brand:
  4610. properties:
  4611. areauserid:
  4612. description: 用户id
  4613. type: integer
  4614. brandid:
  4615. description: 品牌id
  4616. type: integer
  4617. brandname:
  4618. description: 品牌名称
  4619. type: string
  4620. deliverygoodsid:
  4621. description: 品种ID
  4622. type: integer
  4623. isvalid:
  4624. description: 是否有效
  4625. type: integer
  4626. type: object
  4627. models.Ermcp3Contract:
  4628. properties:
  4629. accountid:
  4630. description: 期货账户id
  4631. type: string
  4632. amount:
  4633. description: 金额 [1:一口价、3:暂定价]
  4634. type: number
  4635. attachment:
  4636. description: 附件
  4637. type: string
  4638. auditremark:
  4639. description: 审核意见
  4640. type: string
  4641. audittime:
  4642. description: 审核时间
  4643. type: string
  4644. biztype:
  4645. description: 业务类型 1-套保 2-套利
  4646. type: integer
  4647. brandname:
  4648. description: 品牌名称
  4649. type: string
  4650. buynickname:
  4651. description: 销售方昵称
  4652. type: string
  4653. buyuserid:
  4654. description: 采购方ID
  4655. type: integer
  4656. buyusername:
  4657. description: 采购方名称
  4658. type: string
  4659. contracctstatus:
  4660. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4661. type: integer
  4662. contractmargin:
  4663. description: 合同保证金
  4664. type: number
  4665. contractno:
  4666. description: 现货合同编号
  4667. type: string
  4668. contracttype:
  4669. description: 现货合同类型 - 1:采购 -1:销售
  4670. type: integer
  4671. convertfactor:
  4672. description: 标仓系数(品类)
  4673. type: number
  4674. createtime:
  4675. description: 创建时间
  4676. type: string
  4677. currencyid:
  4678. description: 币种id
  4679. type: integer
  4680. currencyname:
  4681. description: 币种名称
  4682. type: string
  4683. deliveryenddate:
  4684. description: 交收期(结束)
  4685. type: string
  4686. deliverygoodscode:
  4687. description: 现货品种代码
  4688. type: string
  4689. deliverygoodsid:
  4690. description: 现货品种ID
  4691. type: integer
  4692. deliverygoodsname:
  4693. description: 现货品种名称
  4694. type: string
  4695. deliverystartdate:
  4696. description: 交收期(开始)
  4697. type: string
  4698. enddate:
  4699. description: 点价结束日期 [2:点价 3:暂定价]
  4700. type: string
  4701. enumdicname:
  4702. description: 单位名称
  4703. type: string
  4704. goodscode:
  4705. description: 点价合约代码
  4706. type: string
  4707. goodsid:
  4708. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  4709. type: integer
  4710. goodsname:
  4711. description: 点价商品名称
  4712. type: string
  4713. margin:
  4714. description: 当前保证金
  4715. type: number
  4716. meruserid:
  4717. description: 跟单员id
  4718. type: integer
  4719. meruserlogincode:
  4720. description: 跟单员登录代码
  4721. type: string
  4722. merusername:
  4723. description: 跟单员名称
  4724. type: string
  4725. pointdesc:
  4726. description: 点价备注
  4727. type: string
  4728. price:
  4729. description: 价格\暂定价 [1:一口价、3:暂定价]
  4730. type: number
  4731. pricemove:
  4732. description: 升贴水 [2:点价 3:暂定价]
  4733. type: number
  4734. pricetype:
  4735. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4736. type: integer
  4737. producttype:
  4738. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4739. type: integer
  4740. qty:
  4741. description: 数量
  4742. type: number
  4743. remark:
  4744. description: 备注
  4745. type: string
  4746. saleuserid:
  4747. description: 业务员id
  4748. type: integer
  4749. saleuserlogincode:
  4750. description: 业务员登录代码
  4751. type: string
  4752. saleusername:
  4753. description: 业务员名称
  4754. type: string
  4755. sellnickname:
  4756. description: 采购方昵称
  4757. type: string
  4758. selluserid:
  4759. description: 销售方ID
  4760. type: integer
  4761. sellusername:
  4762. description: 销售方名称
  4763. type: string
  4764. spotcontractid:
  4765. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  4766. type: string
  4767. spotgoodsbrandid:
  4768. description: 现货品牌ID(DGFactoryItem表的ID)
  4769. type: integer
  4770. spotgoodsdesc:
  4771. description: 商品型号
  4772. type: string
  4773. startdate:
  4774. description: 点价开始日期 [2:点价 3:暂定价]
  4775. type: string
  4776. subjectid:
  4777. description: 交易主体ID
  4778. type: integer
  4779. subjectname:
  4780. description: 交易主体名称
  4781. type: string
  4782. tradeuserid:
  4783. description: 交易员id
  4784. type: integer
  4785. tradeuserlogincode:
  4786. description: 交易员登录代码
  4787. type: string
  4788. tradeusername:
  4789. description: 交易员名称
  4790. type: string
  4791. unitid:
  4792. description: 单位id(取品类上的单位id)
  4793. type: integer
  4794. updatetime:
  4795. description: 更新时间
  4796. type: string
  4797. userid:
  4798. description: 所属机构ID
  4799. type: integer
  4800. vatrate:
  4801. description: 增值税率
  4802. type: number
  4803. wrstandardcode:
  4804. description: 品类代码
  4805. type: string
  4806. wrstandardid:
  4807. description: 品类ID
  4808. type: integer
  4809. wrstandardname:
  4810. description: 品类名称
  4811. type: string
  4812. type: object
  4813. models.Ermcp3ContractMiddleGoodsCfg:
  4814. properties:
  4815. agreeunit:
  4816. description: 合约乘数
  4817. type: number
  4818. convertratio:
  4819. description: 期货品种系数
  4820. type: number
  4821. covertqty:
  4822. description: 折算手数 =【待点价量 / (合约乘数*期货品种系数) 】
  4823. type: integer
  4824. middlegoodsid:
  4825. description: 套保品种ID
  4826. type: integer
  4827. middlegoodspricedqty3:
  4828. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  4829. example: "0"
  4830. type: string
  4831. pendingpricedqty:
  4832. description: 待点价量
  4833. example: "0"
  4834. type: string
  4835. relatedmiddlegoodsqty:
  4836. description: 已关联量(套保品种-期货)
  4837. example: "0"
  4838. type: string
  4839. spotcontractid:
  4840. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  4841. type: string
  4842. type: object
  4843. models.Ermcp3ExposureContractDetail:
  4844. properties:
  4845. biztype:
  4846. description: 业务类型 1-套保 2-套利
  4847. type: integer
  4848. brandname:
  4849. description: 品牌名称
  4850. type: string
  4851. buyuserid:
  4852. description: 采购方id
  4853. type: integer
  4854. buyusername:
  4855. description: 采购方名称
  4856. type: string
  4857. contractno:
  4858. description: 合同编号
  4859. type: string
  4860. contracttype:
  4861. description: 现货合同类型 - 1:采购 -1:销售
  4862. type: integer
  4863. convertfactor:
  4864. description: 标仓系数
  4865. type: number
  4866. convertratio:
  4867. description: 折算系数(套保品种)
  4868. type: number
  4869. curqty:
  4870. description: 今定价量
  4871. type: number
  4872. deliverygoodscode:
  4873. description: 现货品种代码
  4874. type: string
  4875. deliverygoodsid:
  4876. description: 现货品种id
  4877. type: integer
  4878. deliverygoodsname:
  4879. description: 现货品种名称
  4880. type: string
  4881. diffhedgeqty:
  4882. description: 套保变动量
  4883. type: number
  4884. diffneedhedgeqty:
  4885. description: 应套保变动量
  4886. type: number
  4887. diffqty:
  4888. description: 套保品种今变动量
  4889. type: number
  4890. enumdicname:
  4891. description: 单位名称
  4892. type: string
  4893. mgunitname:
  4894. description: 套保品种单位名称
  4895. type: string
  4896. middlegoodscode:
  4897. description: 套保品种代码
  4898. type: string
  4899. middlegoodsid:
  4900. description: 套保品种id
  4901. type: integer
  4902. middlegoodsname:
  4903. description: 套保品种名称
  4904. type: string
  4905. needarbitrageratio:
  4906. description: 应套利比例
  4907. type: number
  4908. needhedgeratio:
  4909. description: 应套保比例
  4910. type: number
  4911. pricedqty:
  4912. description: 已定价量
  4913. type: number
  4914. qty:
  4915. description: 合同量
  4916. type: number
  4917. reckondate:
  4918. description: 交易日(reckondate)
  4919. type: string
  4920. selluserid:
  4921. description: 销售方id
  4922. type: integer
  4923. sellusername:
  4924. description: 销售方名称
  4925. type: string
  4926. spotcontractid:
  4927. description: 合同id
  4928. type: string
  4929. todaypricedqty:
  4930. description: 今定价量
  4931. type: number
  4932. tradedate:
  4933. description: 交易日
  4934. type: string
  4935. unitid:
  4936. description: 品类单位id
  4937. type: integer
  4938. userid:
  4939. description: 机构id
  4940. type: integer
  4941. username:
  4942. description: 交易用户
  4943. type: string
  4944. wrstandardcode:
  4945. description: 现货商品代码
  4946. type: string
  4947. wrstandardid:
  4948. description: 现货商品id
  4949. type: integer
  4950. wrstandardname:
  4951. description: 现货商品名称
  4952. type: string
  4953. type: object
  4954. models.Ermcp3ExposureDetail:
  4955. properties:
  4956. areauserid:
  4957. description: 机构ID
  4958. type: integer
  4959. changeQty:
  4960. description: 套保变动量
  4961. type: number
  4962. contracttype:
  4963. description: 现货合同类型 - 1:采购 -1:销售
  4964. type: integer
  4965. convertfactor:
  4966. description: 标仓系数
  4967. type: number
  4968. convertratio:
  4969. description: 折算系数
  4970. type: number
  4971. createtime:
  4972. description: 时间
  4973. type: string
  4974. enumdicname:
  4975. description: 现货商品单位名称
  4976. type: string
  4977. logtype:
  4978. description: 类型 - 1:套保计划 2:现货合同
  4979. type: integer
  4980. mgunitid:
  4981. description: 套保品种单位id
  4982. type: integer
  4983. mgunitidname:
  4984. description: 套保品种单位名称
  4985. type: string
  4986. middlegoodsId:
  4987. description: 套保商品id
  4988. type: integer
  4989. middlegoodscode:
  4990. description: 套保商品代码
  4991. type: string
  4992. middlegoodsname:
  4993. description: 套保商品名称
  4994. type: string
  4995. qty:
  4996. description: 数量
  4997. type: number
  4998. relateNo:
  4999. description: 现货合同/套保计划编号
  5000. type: string
  5001. unitid:
  5002. description: 现货商品单位id
  5003. type: integer
  5004. wrstandardcode:
  5005. description: 现货商品代码
  5006. type: string
  5007. wrstandardid:
  5008. description: 现货商品ID(SEQ_WRSTANDARD)
  5009. type: integer
  5010. wrstandardname:
  5011. description: 现货商品名称
  5012. type: string
  5013. type: object
  5014. models.Ermcp3ExposureFutuDetail:
  5015. properties:
  5016. accountid:
  5017. description: 交易账户id
  5018. type: integer
  5019. accountname:
  5020. description: 交易账户
  5021. type: string
  5022. begindate:
  5023. description: 开始交易日
  5024. type: string
  5025. buyorsell:
  5026. description: 方向 0-买 1-卖
  5027. type: integer
  5028. diffmgqty:
  5029. description: 套保品种今变化量
  5030. type: number
  5031. diffneedqty:
  5032. description: 应套保总量变化量
  5033. type: number
  5034. difftradeqty:
  5035. description: 交易品种今变化量
  5036. type: number
  5037. enddate:
  5038. description: 结束交易日
  5039. type: string
  5040. enumdicname:
  5041. description: 单位名称
  5042. type: string
  5043. goodscode:
  5044. description: 商品代码
  5045. type: string
  5046. goodsid:
  5047. description: 商品id
  5048. type: integer
  5049. goodsname:
  5050. description: 商品名称
  5051. type: string
  5052. holdqty:
  5053. description: 期末持仓量
  5054. type: number
  5055. middlegoodscode:
  5056. description: 套保商品代码
  5057. type: string
  5058. middlegoodsid:
  5059. description: 套保商品id
  5060. type: integer
  5061. middlegoodsname:
  5062. description: 套保商品名称
  5063. type: string
  5064. oriholdqty:
  5065. description: 期初持仓量
  5066. type: number
  5067. reckondate:
  5068. description: 交易日(RECKONDATE)
  5069. type: string
  5070. todaycloseqty:
  5071. description: 今平仓量
  5072. type: number
  5073. todayopenqty:
  5074. description: 今开仓量
  5075. type: number
  5076. tradedate:
  5077. description: 交易日(RECKONDATE)
  5078. type: string
  5079. username:
  5080. description: 用户名称(交易用户)
  5081. type: string
  5082. type: object
  5083. models.Ermcp3ExposureHedgeplanDetail:
  5084. properties:
  5085. biztype:
  5086. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5087. type: integer
  5088. changqty:
  5089. description: 应套保总量变化量
  5090. type: number
  5091. contracttype:
  5092. description: 计划类型 - 1:采购 -1:销售
  5093. type: integer
  5094. convertratio:
  5095. description: 折算系数(套保品种)
  5096. type: number
  5097. deliverygoodscode:
  5098. description: 现货商品代码
  5099. type: string
  5100. deliverygoodsid:
  5101. description: 现货商品id
  5102. type: integer
  5103. deliverygoodsname:
  5104. description: 现货商吕名称
  5105. type: string
  5106. dgunitid:
  5107. description: 现货商品单位id
  5108. type: integer
  5109. dgunitidname:
  5110. description: 单位名称(现货商品)
  5111. type: string
  5112. diffqty:
  5113. description: 套保品种今变动量
  5114. type: number
  5115. enumdicname:
  5116. description: 单位名称(品类)
  5117. type: string
  5118. hedgeplanid:
  5119. description: 套保计划id
  5120. type: string
  5121. hedgeplanno:
  5122. description: 套保计划名称
  5123. type: string
  5124. hedgeplanstatus:
  5125. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5126. type: integer
  5127. mgunitidname:
  5128. description: 单位名称(套保商品)
  5129. type: string
  5130. middlegoodscode:
  5131. description: 套保品种代码
  5132. type: string
  5133. middlegoodsid:
  5134. description: 套保品种id
  5135. type: integer
  5136. middlegoodsname:
  5137. description: 套保品种名称
  5138. type: string
  5139. needarbitrageratio:
  5140. description: 应套利比例
  5141. type: number
  5142. needhedgeratio:
  5143. description: 应套保比例
  5144. type: number
  5145. pricedqty:
  5146. description: 已定价量
  5147. type: number
  5148. qty:
  5149. description: 合同量
  5150. type: number
  5151. reckondate:
  5152. description: 交易日(reckondate)
  5153. type: string
  5154. tradedate:
  5155. description: 交易日(登记日)
  5156. type: string
  5157. unitid:
  5158. description: 品类单位id
  5159. type: integer
  5160. userid:
  5161. description: 机构id
  5162. type: integer
  5163. wrstandardcode:
  5164. description: 品类代码
  5165. type: string
  5166. wrstandardid:
  5167. description: 品类id
  5168. type: integer
  5169. wrstandardname:
  5170. description: 品类名称
  5171. type: string
  5172. type: object
  5173. models.Ermcp3ExposureParamChLog:
  5174. properties:
  5175. accountid:
  5176. description: 期货账户ID (作废, 默认为0)
  5177. type: integer
  5178. aftervalue:
  5179. description: 应套保\套利量变更后(调整后应套保总量)
  5180. type: number
  5181. areauserid:
  5182. description: 所属机构\交易用户ID
  5183. type: integer
  5184. beforevalue:
  5185. description: 应套保\套利量变更前(调整前应套保总量)
  5186. type: number
  5187. begindate:
  5188. description: 开始交易日
  5189. type: string
  5190. changelogtype:
  5191. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5192. type: integer
  5193. curvalue:
  5194. description: 当前套保\套利量(套保总量|套利总量)
  5195. type: number
  5196. diffvalue:
  5197. description: 应套保总量变化量
  5198. type: number
  5199. enddate:
  5200. description: 结束交易日
  5201. type: string
  5202. logdatetime:
  5203. description: 流水日期
  5204. type: string
  5205. logid:
  5206. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5207. type: string
  5208. middlegoodscode:
  5209. description: 套保品种代码
  5210. type: string
  5211. middlegoodsid:
  5212. description: 套保品种
  5213. type: integer
  5214. middlegoodsname:
  5215. description: 套保品种名称
  5216. type: string
  5217. paramaftervalue:
  5218. description: 参数变更后(调整后参数值)
  5219. type: number
  5220. parambeforevalue:
  5221. description: 参数变更前(调整前参数值)
  5222. type: number
  5223. reckondate:
  5224. description: 交易日(reckondate)
  5225. type: string
  5226. tradedate:
  5227. description: 交易日(yyyyMMdd)
  5228. type: string
  5229. type: object
  5230. models.Ermcp3ExpourseReport:
  5231. properties:
  5232. accountid:
  5233. description: 期货账户ID (作废, 默认为0)
  5234. type: integer
  5235. accountname:
  5236. description: 机构名称
  5237. type: string
  5238. arbitrageqty:
  5239. description: 套利量
  5240. type: number
  5241. areauserid:
  5242. description: 所属机构\交易用户ID
  5243. type: integer
  5244. begindate:
  5245. description: 开始交易日
  5246. type: string
  5247. buyfutureqty:
  5248. description: 买入期货数量
  5249. type: number
  5250. buyplanqty:
  5251. description: 采购计划数量
  5252. type: number
  5253. buypricedqty:
  5254. description: 采购合同已定价数量
  5255. type: number
  5256. cycletime:
  5257. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5258. type: string
  5259. cycletype:
  5260. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5261. type: integer
  5262. diffexposure:
  5263. description: 变动量(套保敞口)
  5264. type: number
  5265. difffutuqty:
  5266. description: 变动量(期货)
  5267. type: number
  5268. diffhedgeqty:
  5269. description: 变动量(现货应套保总量)
  5270. type: number
  5271. diffmgqtya:
  5272. description: 套保变动量
  5273. type: number
  5274. diffmgqtyb:
  5275. description: 套利变动量
  5276. type: number
  5277. diffqty:
  5278. description: 变动量(总敞口)
  5279. type: number
  5280. diffspotqty:
  5281. description: 变动量(现货)
  5282. type: number
  5283. enddate:
  5284. description: 结束交易日
  5285. type: string
  5286. enumdicname:
  5287. description: 单位名称
  5288. type: string
  5289. hedgeqty:
  5290. description: 套保量
  5291. type: number
  5292. mgneedhedgeratio:
  5293. description: 套保比例(套保品的)
  5294. type: number
  5295. middlegoodsid:
  5296. description: 套保品种ID
  5297. type: integer
  5298. middlegoodsname:
  5299. description: 套保商品名称
  5300. type: string
  5301. middlgoodscode:
  5302. description: 套保商品代码
  5303. type: string
  5304. needarbitrageqty:
  5305. description: 应套利量
  5306. type: number
  5307. needarbitrageratio:
  5308. description: 套利比例(套保品的)
  5309. type: number
  5310. needhedgeexposoure:
  5311. description: 应套保敞口(套保敞口)
  5312. type: number
  5313. needhedgeqty:
  5314. description: 应套保量
  5315. type: number
  5316. needhedgeratio:
  5317. description: 应套保敞口比例
  5318. type: number
  5319. oriarbitrageqty:
  5320. description: 期初套利量
  5321. type: number
  5322. oribuyfutureqty:
  5323. description: 期初买入期货数量
  5324. type: number
  5325. oribuyplanqty:
  5326. description: 期初采购计划数量
  5327. type: number
  5328. oribuypricedqty:
  5329. description: 期初采购合同已定价数量
  5330. type: number
  5331. orihedgeqty:
  5332. description: 期初套保量
  5333. type: number
  5334. orineedarbitrageqty:
  5335. description: 期初应套利量
  5336. type: number
  5337. orineedhedgeexposoure:
  5338. description: 期初应套保敞口
  5339. type: number
  5340. orineedhedgeqty:
  5341. description: 期初应套保量
  5342. type: number
  5343. orisellfutureqty:
  5344. description: 期初卖出期货数量
  5345. type: number
  5346. orisellplanqty:
  5347. description: 期初销售计划数量
  5348. type: number
  5349. orisellpricedqty:
  5350. description: 期初销售合同已定价数量
  5351. type: number
  5352. oritotalexposure:
  5353. description: 期初实时总敞口
  5354. type: number
  5355. oritotalfutureqty:
  5356. description: 期初期货头寸总量
  5357. type: number
  5358. oritotalneedhedgeqty:
  5359. description: 期初应套保总量
  5360. type: number
  5361. oritotalspotqty:
  5362. description: 期初现货头寸总量
  5363. type: number
  5364. reckondate:
  5365. description: 日照时期(yyyyMMdd)
  5366. type: string
  5367. sellfutureqty:
  5368. description: 卖出期货数量
  5369. type: number
  5370. sellplanqty:
  5371. description: 销售计划数量
  5372. type: number
  5373. sellpricedqty:
  5374. description: 销售合同已定价数量
  5375. type: number
  5376. totalexposure:
  5377. description: 实时总敞口(总敞口)
  5378. type: number
  5379. totalfutureqty:
  5380. description: 期货头寸总量(期货总量)
  5381. type: number
  5382. totalhedgeratio:
  5383. description: 敞口比例
  5384. type: number
  5385. totalneedhedgeqty:
  5386. description: 应套保总量(现货应套保总量)
  5387. type: number
  5388. totalspotqty:
  5389. description: 现货头寸总量
  5390. type: number
  5391. unitid:
  5392. description: 单位id
  5393. type: integer
  5394. updatetime:
  5395. description: 更新时间
  5396. type: string
  5397. type: object
  5398. models.Ermcp3FinanceReport:
  5399. properties:
  5400. accountname:
  5401. description: 机构名称
  5402. type: string
  5403. areauserid:
  5404. description: 所属机构\交易用户ID
  5405. type: integer
  5406. begindate:
  5407. description: 开始交易日
  5408. type: string
  5409. biztype:
  5410. description: 业务类型 - 1:套保 2:套利
  5411. type: integer
  5412. brandname:
  5413. description: 品牌名称
  5414. type: string
  5415. buypreinvoicedamount:
  5416. description: 采购预收票额(预收票额)
  5417. type: number
  5418. buyprepaidamount:
  5419. description: 采购预付款额(预付货款额)
  5420. type: number
  5421. buytodayinvoiceamount:
  5422. description: 采购今收票额(今收票额)
  5423. type: number
  5424. buytodayrefundamount:
  5425. description: 采购今收退款额(今收退款额)
  5426. type: number
  5427. buytodaysettleamount:
  5428. description: 采购今付款额(今付货款额)
  5429. type: number
  5430. buyuninvoicedamount:
  5431. description: 采购应收票额(应收票额)
  5432. type: number
  5433. buyunpaidamount:
  5434. description: 采购应付款额(应付货款额)
  5435. type: number
  5436. currencyid:
  5437. description: 结算币种ID
  5438. type: integer
  5439. currencyname:
  5440. description: 币种名称
  5441. type: string
  5442. cycletime:
  5443. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5444. type: string
  5445. cycletype:
  5446. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5447. type: integer
  5448. deliverygoodscode:
  5449. description: 现货品种代码
  5450. type: string
  5451. deliverygoodsid:
  5452. description: 现货品种ID
  5453. type: integer
  5454. deliverygoodsname:
  5455. description: 现货品种名称
  5456. type: string
  5457. enddate:
  5458. description: 结束交易日
  5459. type: string
  5460. reckondate:
  5461. description: 日照时期(yyyyMMdd)
  5462. type: string
  5463. sellpreinvoicedamount:
  5464. description: 销售预开票额(预开票额)
  5465. type: number
  5466. sellprepaidamount:
  5467. description: 销售预收款额(预收货款额)
  5468. type: number
  5469. selltodayinvoiceamount:
  5470. description: 销售今开票额(今开票额)
  5471. type: number
  5472. selltodayrefundamount:
  5473. description: 销售今付退款额(今付退款额)
  5474. type: number
  5475. selltodaysettleamount:
  5476. description: 销售今收款额(今收货款额)
  5477. type: number
  5478. selluninvoicedamount:
  5479. description: 销售应开票额(应开票额)
  5480. type: number
  5481. sellunpaidamount:
  5482. description: 销售应收款额(应收货款额)
  5483. type: number
  5484. spotgoodsbrandid:
  5485. description: 现货品牌ID
  5486. type: integer
  5487. todaypaysum:
  5488. description: 今付款合计
  5489. type: number
  5490. todayreceivesum:
  5491. description: 今收款合计
  5492. type: number
  5493. updatetime:
  5494. description: 更新时间
  5495. type: string
  5496. wrfactortypeid:
  5497. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  5498. type: integer
  5499. wrstandardcode:
  5500. description: 品类代码
  5501. type: string
  5502. wrstandardid:
  5503. description: 现货商品ID
  5504. type: integer
  5505. wrstandardname:
  5506. description: 品类名称
  5507. type: string
  5508. type: object
  5509. models.Ermcp3GoodsGroup:
  5510. properties:
  5511. agreeunit:
  5512. description: 合约单位
  5513. type: number
  5514. areauserid:
  5515. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  5516. type: integer
  5517. canshort:
  5518. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  5519. type: integer
  5520. closepricemode:
  5521. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5522. type: integer
  5523. createtime:
  5524. description: 创建时间
  5525. type: string
  5526. creatorid:
  5527. description: 创建人
  5528. type: integer
  5529. currencyid:
  5530. description: 报价货币ID
  5531. type: integer
  5532. decimalplace:
  5533. description: 报价小数位
  5534. type: integer
  5535. enumdicname:
  5536. description: 单位名称
  5537. type: string
  5538. exchangefullname:
  5539. description: 交易所全称
  5540. type: string
  5541. excludecfg:
  5542. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  5543. type: integer
  5544. exexchangecode:
  5545. description: 交易所代码
  5546. type: string
  5547. exexchangeid:
  5548. description: 外部交易所ID[通道交易]
  5549. type: integer
  5550. exexchangename:
  5551. description: 交易所名称
  5552. type: string
  5553. goodsgroupid:
  5554. description: 商品组ID(自增ID)
  5555. type: integer
  5556. goodsgroupname:
  5557. description: 商品组名称
  5558. type: string
  5559. goodsgroupstatus:
  5560. description: 商品组状态 - 1:正常 2:注销
  5561. type: integer
  5562. goodunitid:
  5563. description: 报价单位ID
  5564. type: integer
  5565. groupcategroyid:
  5566. description: 品种分类ID
  5567. type: integer
  5568. innerdealmode:
  5569. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5570. type: integer
  5571. marketid:
  5572. description: 所属市场ID
  5573. type: integer
  5574. modifierid:
  5575. description: 修改人
  5576. type: integer
  5577. modifytime:
  5578. description: 修改时间
  5579. type: string
  5580. outerdealmode:
  5581. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5582. type: integer
  5583. outergroupcode:
  5584. description: 外部商品组代码[通道交易]
  5585. type: string
  5586. quoteminunit:
  5587. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5588. type: integer
  5589. quotesourcegroupid:
  5590. description: 所属行情源分组ID[参考行情市场用\通道交易]
  5591. type: integer
  5592. syncgoodsqty:
  5593. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  5594. type: integer
  5595. required:
  5596. - areauserid
  5597. type: object
  5598. models.Ermcp3HedgePlan:
  5599. properties:
  5600. accountid:
  5601. description: 资金账号
  5602. type: integer
  5603. areauserid:
  5604. description: 用户ID
  5605. type: integer
  5606. auditid:
  5607. description: 审核id
  5608. type: integer
  5609. auditname:
  5610. description: 审核人名称
  5611. type: string
  5612. auditremark:
  5613. description: 审核备注
  5614. type: string
  5615. auditsrc:
  5616. description: 审核来源 1-管理端 2-终端
  5617. type: integer
  5618. audittime:
  5619. description: 审核时间
  5620. type: string
  5621. contracttype:
  5622. description: 计划类型 - 1:采购 -1:销售
  5623. type: integer
  5624. convertfactor:
  5625. description: 标仓系数
  5626. type: number
  5627. createtime:
  5628. description: 创建时间
  5629. type: string
  5630. currencyid:
  5631. description: 币种id
  5632. type: integer
  5633. currencyname:
  5634. description: 币种名称
  5635. type: string
  5636. deliverygoodscode:
  5637. description: 现货品种代码
  5638. type: string
  5639. deliverygoodsid:
  5640. description: 现货品种ID
  5641. type: integer
  5642. deliverygoodsname:
  5643. description: 现货品种名称
  5644. type: string
  5645. enumdicname:
  5646. description: 单位名称(现货商品)
  5647. type: string
  5648. hedgeplanid:
  5649. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  5650. type: string
  5651. hedgeplanno:
  5652. description: 套保计划编号(名称)
  5653. type: string
  5654. hedgeplanstatus:
  5655. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5656. type: integer
  5657. planqty:
  5658. description: 计划数量
  5659. type: number
  5660. plantime:
  5661. description: 计划时间
  5662. type: string
  5663. producttype:
  5664. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5665. type: integer
  5666. remark:
  5667. description: 备注
  5668. type: string
  5669. spotgoodsdesc:
  5670. description: 商品型号
  5671. type: string
  5672. taaccountname:
  5673. description: 资金账号名称
  5674. type: string
  5675. tradeuserid:
  5676. description: 交易用户id
  5677. type: integer
  5678. tradeusername:
  5679. description: 交易用户名称
  5680. type: string
  5681. unitid:
  5682. description: 单位id(现货商品)
  5683. type: integer
  5684. updatetime:
  5685. description: 更新时间
  5686. type: string
  5687. vatrate:
  5688. description: 增值税率
  5689. type: number
  5690. wrstandardcode:
  5691. description: 品类代码
  5692. type: string
  5693. wrstandardid:
  5694. description: 品类id
  5695. type: integer
  5696. wrstandardname:
  5697. description: 品类名称
  5698. type: string
  5699. wrunitid:
  5700. description: 品类单位id
  5701. type: integer
  5702. wrunitidame:
  5703. description: 品类单位名称
  5704. type: string
  5705. type: object
  5706. models.Ermcp3InnerTradeLink:
  5707. properties:
  5708. accountid:
  5709. description: 期货账号代码 | 资金账号ID
  5710. type: integer
  5711. buyorsell:
  5712. description: 方向 - 0:买 1:卖
  5713. type: integer
  5714. channelbuildtype:
  5715. description: 委托单据类型 0:无 1:建仓 2:平仓
  5716. type: integer
  5717. currencyid:
  5718. description: 币种id
  5719. type: integer
  5720. currencyname:
  5721. description: 结算币种 名称
  5722. type: string
  5723. goodscode:
  5724. description: 商品代码
  5725. type: string
  5726. goodsid:
  5727. description: 商品ID
  5728. type: integer
  5729. goodsname:
  5730. description: 商品名称
  5731. type: string
  5732. outtradeid:
  5733. description: 外部成交单号
  5734. type: string
  5735. taname:
  5736. description: 期货账户名称
  5737. type: string
  5738. tradeid:
  5739. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5740. type: string
  5741. tradeprice:
  5742. description: 成交价格
  5743. type: number
  5744. tradeqty:
  5745. description: 期货成交数量
  5746. type: integer
  5747. tradetime:
  5748. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  5749. type: string
  5750. username:
  5751. description: 用户名称
  5752. type: string
  5753. type: object
  5754. models.Ermcp3OutTradeLink:
  5755. properties:
  5756. buyorsell:
  5757. description: 买卖方向 - 0:买 1:卖
  5758. type: integer
  5759. channelbuildtype:
  5760. description: 开平标志- 0:无 1:建仓 2:平仓
  5761. type: integer
  5762. currencyname:
  5763. description: 币种名称
  5764. type: string
  5765. exexchangecode:
  5766. description: 交易所代码
  5767. type: string
  5768. exexchangename:
  5769. description: 交易所名称
  5770. type: string
  5771. goodscode:
  5772. description: 合约代码
  5773. type: string
  5774. goodsid:
  5775. description: 合约id
  5776. type: integer
  5777. goodsname:
  5778. description: 合约名称
  5779. type: string
  5780. hasinnerorder:
  5781. description: 是否有内部单关联 - 0:无 1:有
  5782. type: integer
  5783. hedgeaccountcode:
  5784. description: 外部账号 | 对冲账号
  5785. type: string
  5786. outtradeid:
  5787. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5788. type: string
  5789. tradeprice:
  5790. description: 成交价格
  5791. type: number
  5792. tradeqty:
  5793. description: 成交数量
  5794. type: integer
  5795. tradetime:
  5796. description: 成交时间
  5797. type: string
  5798. type: object
  5799. models.Ermcp3PaAreaAuditCfg:
  5800. properties:
  5801. areauserid:
  5802. description: 用户ID
  5803. type: integer
  5804. buyinauditflag:
  5805. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  5806. type: integer
  5807. costratioauditflag:
  5808. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  5809. type: integer
  5810. customerauditflag:
  5811. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  5812. type: integer
  5813. deliveryauditflag:
  5814. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  5815. type: integer
  5816. invoiceauditflag:
  5817. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  5818. type: integer
  5819. mgneedhedgeratioauditflag:
  5820. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  5821. type: integer
  5822. moneyauditflag:
  5823. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  5824. type: integer
  5825. operatorid:
  5826. description: 操作人
  5827. type: integer
  5828. operatorsrc:
  5829. description: 操作来源 - 1:管理端 2:终端
  5830. type: integer
  5831. pointpriceauditflag:
  5832. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  5833. type: integer
  5834. produceinauditflag:
  5835. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  5836. type: integer
  5837. produceoutauditflag:
  5838. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  5839. type: integer
  5840. selloutauditflag:
  5841. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  5842. type: integer
  5843. sgconvertratioauditflag:
  5844. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  5845. type: integer
  5846. sgvtaratioauditflag:
  5847. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  5848. type: integer
  5849. spotcontractauditflag:
  5850. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  5851. type: integer
  5852. updatetime:
  5853. description: 更新时间
  5854. type: string
  5855. type: object
  5856. models.Ermcp3PaAreaSubject:
  5857. properties:
  5858. areauserid:
  5859. description: 所属机构
  5860. type: integer
  5861. canmodify:
  5862. description: 是否可修改 - 0:否 1:是
  5863. type: integer
  5864. createtime:
  5865. description: 创建时间
  5866. type: string
  5867. creatorid:
  5868. description: 创建人ID
  5869. type: string
  5870. creatorsrc:
  5871. description: 创建人来源 - 1:管理端 2:终端 3:交易
  5872. type: integer
  5873. modifierid:
  5874. description: 修改人
  5875. type: string
  5876. modifiersrc:
  5877. description: 修改人来源 - 1:管理端 2:终端
  5878. type: integer
  5879. modifytime:
  5880. description: 修改时间
  5881. type: string
  5882. parentsubjectid:
  5883. description: 上级主体ID
  5884. type: string
  5885. remark:
  5886. description: 备注
  5887. type: string
  5888. subjectid:
  5889. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  5890. type: integer
  5891. subjectname:
  5892. description: 主体名称
  5893. type: string
  5894. subjectstatus:
  5895. description: '主体状态 - 1:正常 2: 停用'
  5896. type: integer
  5897. subjecttype:
  5898. description: 主体类型 - 1:交易主体 2:业务部门
  5899. type: integer
  5900. type: object
  5901. models.Ermcp3PaTradeLink:
  5902. properties:
  5903. accountid:
  5904. description: 期货账户代码 | 账号ID
  5905. type: integer
  5906. agreeunit:
  5907. description: 合约乘数
  5908. type: number
  5909. buyorsell:
  5910. description: 方向 - 0:买 1:卖
  5911. type: integer
  5912. channelbuildtype:
  5913. description: 委托单据类型 0:无 1:建仓 2:平仓
  5914. type: integer
  5915. charge:
  5916. description: 手续费
  5917. type: number
  5918. closepl:
  5919. description: 平仓盈亏
  5920. type: number
  5921. closetype:
  5922. description: 平仓方式 - 0:无 1:平今 2:平昨
  5923. type: integer
  5924. convertratio:
  5925. description: 折算系数
  5926. type: number
  5927. enumdicname:
  5928. description: 单位名称
  5929. type: string
  5930. executeprice:
  5931. description: 执行价 [期权]
  5932. type: integer
  5933. goodscode:
  5934. description: 合约代码
  5935. type: string
  5936. goodsgroupid:
  5937. description: 对冲品种ID[期货合约商品组ID]
  5938. type: integer
  5939. goodsid:
  5940. description: 商品ID
  5941. type: integer
  5942. goodsname:
  5943. description: 合约名称
  5944. type: string
  5945. goodunitid:
  5946. description: 单位id
  5947. type: integer
  5948. hedgeflag:
  5949. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  5950. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  5951. type: integer
  5952. marketid:
  5953. description: 市场ID
  5954. type: integer
  5955. middlegoodsid:
  5956. description: 套保品种ID
  5957. type: integer
  5958. middlegoodsqty:
  5959. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  5960. type: number
  5961. optioncode:
  5962. description: 期权代码 [期权]
  5963. type: string
  5964. ordertype:
  5965. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  5966. type: integer
  5967. ordertypename:
  5968. description: 订单类型
  5969. type: string
  5970. parentaccountid:
  5971. description: 所属母账户
  5972. type: integer
  5973. premium:
  5974. description: 权利金 [期权]
  5975. type: number
  5976. relatedlot:
  5977. description: 已关联数量(已关联数量手) | db:关联手数
  5978. type: number
  5979. relatedouttradeid:
  5980. description: 关联外部成交单ID
  5981. type: string
  5982. relatedqty:
  5983. description: 关联数量
  5984. type: number
  5985. spotcontractid:
  5986. description: 现货合同ID [4:套期保值\10\11]
  5987. type: string
  5988. taname:
  5989. description: 期货账户名称
  5990. type: string
  5991. tradeamount:
  5992. description: 成交金额(账户)
  5993. type: number
  5994. tradedate:
  5995. description: 交易日(yyyyMMdd)
  5996. type: string
  5997. tradeid:
  5998. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5999. type: string
  6000. tradelot:
  6001. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  6002. type: integer
  6003. tradeprice:
  6004. description: 成交价格
  6005. type: number
  6006. tradetime:
  6007. description: 时间 | db:成交时间
  6008. type: string
  6009. tradetype:
  6010. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  6011. type: integer
  6012. userid:
  6013. description: 所属机构 - 所属母账户的UserID
  6014. type: string
  6015. username:
  6016. description: 用户名称
  6017. type: string
  6018. type: object
  6019. models.Ermcp3ParamChangeApp:
  6020. properties:
  6021. aftervalue:
  6022. description: 变更后
  6023. type: number
  6024. applicationid:
  6025. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  6026. type: string
  6027. applyid:
  6028. description: 申请人
  6029. type: string
  6030. applyname:
  6031. description: 申请人名称(代码)
  6032. type: string
  6033. applyremark:
  6034. description: 申请备注
  6035. type: string
  6036. applysrc:
  6037. description: 申请来源 - 1:管理端 2:终端
  6038. type: integer
  6039. applystatus:
  6040. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  6041. type: integer
  6042. applytime:
  6043. description: 申请时间
  6044. type: string
  6045. areauserid:
  6046. description: 所属机构用户ID
  6047. type: integer
  6048. auditid:
  6049. description: 审核人
  6050. type: string
  6051. auditname:
  6052. description: 审核人名称(代码)
  6053. type: string
  6054. auditremark:
  6055. description: 审核备注
  6056. type: string
  6057. auditsrc:
  6058. description: 审核来源 - 1:管理端 2:终端
  6059. type: integer
  6060. audittime:
  6061. description: 审核时间
  6062. type: string
  6063. audittradedate:
  6064. description: 审核交易日(yyyyMMdd)
  6065. type: string
  6066. beforevalue:
  6067. description: 变更前
  6068. type: number
  6069. deliverygoodscode:
  6070. description: 品种代码
  6071. type: string
  6072. deliverygoodsid:
  6073. description: 品种id
  6074. type: integer
  6075. deliverygoodsname:
  6076. description: 品种名称
  6077. type: string
  6078. middlegoodscode:
  6079. description: 套保品种代码
  6080. type: string
  6081. middlegoodsid:
  6082. description: 套保品种ID [ParamChangeType = 2,3,4]
  6083. type: integer
  6084. middlegoodsname:
  6085. description: 套保品种名称
  6086. type: string
  6087. operatetype:
  6088. description: 操作类型 - 1:新增 2:修改
  6089. type: integer
  6090. paramchangetype:
  6091. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6092. type: integer
  6093. wrstandardcode:
  6094. description: 现货商品代码
  6095. type: string
  6096. wrstandardid:
  6097. description: 现货商品ID [ParamChangeType = 1,2,3]
  6098. type: integer
  6099. wrstandardname:
  6100. description: 现货商品名称
  6101. type: string
  6102. type: object
  6103. models.Ermcp3RootUserAccount:
  6104. properties:
  6105. accountname:
  6106. description: 账户名称(机构名称)
  6107. type: string
  6108. accountstatus:
  6109. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6110. type: integer
  6111. applysrc:
  6112. description: 申请来源 - 1:管理端 2:终端
  6113. type: integer
  6114. auditremark:
  6115. description: 审核备注
  6116. type: string
  6117. auditsrc:
  6118. description: 审核来源 - 1:管理端 2:终端
  6119. type: integer
  6120. audittime:
  6121. description: 审核时间
  6122. type: string
  6123. audituserid:
  6124. description: 审核人
  6125. type: integer
  6126. broker:
  6127. description: 所属经纪人ID
  6128. type: integer
  6129. canceltime:
  6130. description: 销户时间
  6131. type: string
  6132. canceluserid:
  6133. description: 销户人
  6134. type: integer
  6135. canrecommend:
  6136. description: 是否可推荐 - 0:不可 1;可
  6137. type: integer
  6138. createtime:
  6139. description: 创建时间
  6140. type: string
  6141. creatorid:
  6142. description: 创建人
  6143. type: integer
  6144. hasauth:
  6145. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6146. type: integer
  6147. isanonymous:
  6148. description: 是否匿名下单 - 0:否 1:是
  6149. type: integer
  6150. maxinvestornum:
  6151. description: 最大用户数(经纪会员下投资者个数)
  6152. type: integer
  6153. memberuserid:
  6154. description: 所属会员ID
  6155. type: integer
  6156. modifierid:
  6157. description: 修改人
  6158. type: integer
  6159. modifyremark:
  6160. description: 变更备注
  6161. type: string
  6162. modifystatus:
  6163. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6164. type: integer
  6165. modifytime:
  6166. description: 修改时间
  6167. type: string
  6168. nickname:
  6169. description: 昵称
  6170. type: string
  6171. parenttopuser:
  6172. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  6173. type: string
  6174. parentuserid:
  6175. description: 所属机构ID
  6176. type: integer
  6177. reckonaccountid:
  6178. description: 默认结算资金账号ID(机构分润使用) 作废
  6179. type: integer
  6180. refercount:
  6181. description: 推荐总人数
  6182. type: integer
  6183. refereeuserid:
  6184. description: 推荐人ID
  6185. type: integer
  6186. refernum:
  6187. description: 推荐码
  6188. type: string
  6189. rootuserid:
  6190. description: 根用户ID
  6191. type: integer
  6192. subaccountlevel:
  6193. description: 子账户层数
  6194. type: integer
  6195. subarealevelpath:
  6196. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6197. type: string
  6198. userid:
  6199. description: 用户ID
  6200. type: integer
  6201. usertype:
  6202. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6203. type: integer
  6204. type: object
  6205. models.Ermcp3SCMiddleGoods:
  6206. properties:
  6207. biztype:
  6208. description: 业务类型 1:套保 2:套利
  6209. type: integer
  6210. contractno:
  6211. description: 合同编号
  6212. type: string
  6213. contracttype:
  6214. description: 合同类型 1:采购 -1:销售
  6215. type: integer
  6216. convertratio:
  6217. description: 折算系数
  6218. type: number
  6219. customername:
  6220. description: 对手手名称
  6221. type: string
  6222. customeruserid:
  6223. description: 对手id
  6224. type: integer
  6225. deliverygoodscode:
  6226. description: 现货品种代码
  6227. type: string
  6228. deliverygoodsid:
  6229. description: 现货品种ID
  6230. type: integer
  6231. deliverygoodsname:
  6232. description: 现货品种名称
  6233. type: string
  6234. enumdicname:
  6235. description: 现货单位名称
  6236. type: string
  6237. middlegoodsid:
  6238. description: 套保品种ID
  6239. type: integer
  6240. middlegoodspricedqty3:
  6241. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  6242. type: number
  6243. needhedgeratio:
  6244. description: 套保比例
  6245. type: number
  6246. pricedqty:
  6247. description: 已定价量
  6248. type: number
  6249. relatedmiddlegoodsqty:
  6250. description: 已关联量(套保品种)(期货)
  6251. type: number
  6252. spotcontractid:
  6253. description: 合同编号
  6254. type: string
  6255. unitid:
  6256. description: 现货单位id
  6257. type: integer
  6258. userid:
  6259. description: 用户id
  6260. type: integer
  6261. vatrate:
  6262. description: 增值税率
  6263. type: number
  6264. wrstandardcode:
  6265. description: 现货商品代码
  6266. type: string
  6267. wrstandardid:
  6268. description: 现货商品id
  6269. type: integer
  6270. wrstandardname:
  6271. description: 现货商品名称
  6272. type: string
  6273. type: object
  6274. models.Ermcp3SCMiddleGoodsReport:
  6275. properties:
  6276. begindate:
  6277. description: 开始交易日
  6278. type: string
  6279. contractno:
  6280. description: 合同编号
  6281. type: string
  6282. contracttype:
  6283. description: 合同类型 1:采购 -1:销售
  6284. type: integer
  6285. convertratio:
  6286. description: 折算系数
  6287. type: number
  6288. cycletime:
  6289. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6290. type: string
  6291. cycletype:
  6292. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6293. type: integer
  6294. deliverygoodscode:
  6295. description: 品种代码
  6296. type: string
  6297. deliverygoodsid:
  6298. description: 现货品种ID
  6299. type: integer
  6300. deliverygoodsname:
  6301. description: 品种名称
  6302. type: string
  6303. diffprice:
  6304. description: 现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价
  6305. type: number
  6306. diffqty:
  6307. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  6308. type: number
  6309. enddate:
  6310. description: 结束交易日
  6311. type: string
  6312. hedgeplanqty:
  6313. description: 套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例
  6314. type: number
  6315. matchname:
  6316. description: 交易对手方(个人:用户名称 企业:简称)
  6317. type: string
  6318. matchnickname:
  6319. description: 交易对手方昵称
  6320. type: string
  6321. middlegoodscode:
  6322. description: 套保品种代码
  6323. type: string
  6324. middlegoodsid:
  6325. description: 套保品种ID
  6326. type: integer
  6327. middlegoodsname:
  6328. description: 套保品种名称
  6329. type: string
  6330. middlegoodspricedqty:
  6331. description: 已定价量(套保品种 - 税前) = PricedQty * 折算系数
  6332. type: number
  6333. middlegoodspricedqty2:
  6334. description: 已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))
  6335. type: number
  6336. middlegoodspricedqty3:
  6337. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  6338. type: number
  6339. needhedgeratio:
  6340. description: 套保系数
  6341. type: number
  6342. pricedamount:
  6343. description: 已定价额(现货)
  6344. type: number
  6345. pricedamount2:
  6346. description: 已定价额(现货-基价额)
  6347. type: number
  6348. pricedqty:
  6349. description: 已定价量(现货)
  6350. type: number
  6351. reckondate:
  6352. description: 日照时期(yyyyMMdd)
  6353. type: string
  6354. relatedmiddlegoodsamount:
  6355. description: 已关联额(期货)
  6356. type: number
  6357. relatedmiddlegoodsqty:
  6358. description: 已关联量(套保品种)(期货)
  6359. type: number
  6360. spotcontractid:
  6361. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  6362. type: string
  6363. todayavgfutuprice:
  6364. description: 今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty
  6365. type: number
  6366. todayavgprice:
  6367. description: 今日定价均价 = TodayPricedAmount / TodayPricedQty
  6368. type: number
  6369. todayavgprice2:
  6370. description: 今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty
  6371. type: number
  6372. todaypricedamount:
  6373. description: 今日定价额(现货)
  6374. type: number
  6375. todaypricedamount2:
  6376. description: 今日定价额(现货-基价额)
  6377. type: number
  6378. todaypricedqty:
  6379. description: 今日定价量(现货)
  6380. type: number
  6381. todayrelatedfutureqty:
  6382. description: 今日关联量(期货)
  6383. type: number
  6384. todayrelatedmiddlegoodsamount:
  6385. description: 今日关联额(期货)
  6386. type: number
  6387. todayrelatedmiddlegoodsqty:
  6388. description: 今日关联量(套保品-期货)
  6389. type: number
  6390. updatetime:
  6391. description: 更新时间
  6392. type: string
  6393. userid:
  6394. description: 合同所属用户id
  6395. type: integer
  6396. vatrate:
  6397. description: 增值税率
  6398. type: number
  6399. wrstandardcode:
  6400. description: 商品(品类) 代码
  6401. type: string
  6402. wrstandardid:
  6403. description: 现货商品ID
  6404. type: integer
  6405. wrstandardname:
  6406. description: 商品(品类) 名称
  6407. type: string
  6408. type: object
  6409. models.Ermcp3SellBuyContract:
  6410. properties:
  6411. accountid:
  6412. description: 期货账户id
  6413. type: string
  6414. accountname:
  6415. description: 账户名称
  6416. type: string
  6417. attachment:
  6418. description: 附件
  6419. type: string
  6420. audittime:
  6421. description: 审核时间
  6422. type: string
  6423. bizsubjectid:
  6424. description: 归属业务部门ID - SubjectID
  6425. type: integer
  6426. biztype:
  6427. description: 业务类型 1-套保 2-套利
  6428. type: integer
  6429. brandname:
  6430. description: 品牌名称
  6431. type: string
  6432. contracctstatus:
  6433. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6434. type: integer
  6435. contractmargin:
  6436. description: 合同保证金
  6437. type: number
  6438. contractno:
  6439. description: 合同编号
  6440. type: string
  6441. contracttype:
  6442. description: 合同类型 1-采购, -1-销售
  6443. type: integer
  6444. convertfactor:
  6445. description: 标仓系数(品类)
  6446. type: number
  6447. createtime:
  6448. description: 创建时间
  6449. type: string
  6450. currencyid:
  6451. description: 币种id
  6452. type: integer
  6453. currencyname:
  6454. description: 币种名称
  6455. type: string
  6456. daikaiamount:
  6457. description: 应收(开)票额
  6458. type: number
  6459. deliveryenddate:
  6460. description: 交割结束日
  6461. type: string
  6462. deliverygoodscode:
  6463. description: 现货品种代码
  6464. type: string
  6465. deliverygoodsid:
  6466. description: 现货商品ID
  6467. type: integer
  6468. deliverygoodsname:
  6469. description: 现货品种名称
  6470. type: string
  6471. deliverystartdate:
  6472. description: 交割开始日
  6473. type: string
  6474. enddate:
  6475. description: 点价结束日
  6476. type: string
  6477. enumdicname:
  6478. description: 单位名称
  6479. type: string
  6480. goodscode:
  6481. description: 点价商品代码
  6482. type: string
  6483. goodsgroupid:
  6484. description: 点价商品组id
  6485. type: integer
  6486. goodsid:
  6487. description: 点价商品ID
  6488. type: integer
  6489. goodsname:
  6490. description: 点价商品名称
  6491. type: string
  6492. invoiceamount:
  6493. description: 已开票额
  6494. type: number
  6495. loanamount:
  6496. description: 贷款总额=已定价额+调整金额
  6497. type: number
  6498. margin:
  6499. description: 保证金
  6500. type: number
  6501. meruserid:
  6502. description: 跟单员id
  6503. type: integer
  6504. meruserlogincode:
  6505. description: 跟单员登录代码
  6506. type: string
  6507. merusername:
  6508. description: 跟单员名称
  6509. type: string
  6510. nickname:
  6511. description: 账户昵称
  6512. type: string
  6513. orireckonrealqty:
  6514. description: 应交收量
  6515. type: number
  6516. payamount:
  6517. description: 已收付额(收款或付款)
  6518. type: number
  6519. preinvoiceamount:
  6520. description: 预收(开)票额
  6521. type: number
  6522. prepayamount:
  6523. description: 预收付额
  6524. type: number
  6525. price:
  6526. description: 价格
  6527. type: number
  6528. pricedamount:
  6529. description: 已定价额
  6530. type: number
  6531. pricedavg:
  6532. description: 已点均价
  6533. type: number
  6534. pricedqty:
  6535. description: 已定价量
  6536. type: number
  6537. pricemove:
  6538. description: 升贴水
  6539. type: number
  6540. pricetype:
  6541. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  6542. type: integer
  6543. producttype:
  6544. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6545. type: integer
  6546. qty:
  6547. description: 合同量
  6548. type: number
  6549. reckonadjustamount:
  6550. description: 调整金额
  6551. type: number
  6552. reckonedamount:
  6553. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  6554. type: number
  6555. reckonotheramount:
  6556. description: 其它费用
  6557. type: number
  6558. reckonrealqty:
  6559. description: 已交收量
  6560. type: number
  6561. remark:
  6562. description: 备注
  6563. type: string
  6564. saleuserid:
  6565. description: 业务员id
  6566. type: integer
  6567. saleuserlogincode:
  6568. description: 业务员登录代码
  6569. type: string
  6570. saleusername:
  6571. description: 业务员名称
  6572. type: string
  6573. spotcontractid:
  6574. description: 合同ID
  6575. type: string
  6576. spotgoodsbrandid:
  6577. description: 现货品牌ID(DGFactoryItem表的ID)
  6578. type: integer
  6579. spotgoodsdesc:
  6580. description: 商品型号(商品规格)
  6581. type: string
  6582. startdate:
  6583. description: 点价开始日
  6584. type: string
  6585. subjectid:
  6586. description: 交易主体ID
  6587. type: integer
  6588. subjectname:
  6589. description: 交易主体名称
  6590. type: string
  6591. totalamount:
  6592. description: 合计总额
  6593. type: number
  6594. tradeuserid:
  6595. description: 交易员id
  6596. type: integer
  6597. tradeuserlogincode:
  6598. description: 交易员登录代码
  6599. type: string
  6600. tradeusername:
  6601. description: 交易员名称
  6602. type: string
  6603. unpayamount:
  6604. description: 应收付款额(应支付或应收款)
  6605. type: number
  6606. unpricedqty:
  6607. description: 未定价量
  6608. type: number
  6609. unsureqty:
  6610. description: 未确定量
  6611. type: number
  6612. userid:
  6613. description: 机构ID
  6614. type: integer
  6615. vatrate:
  6616. description: 增值税率
  6617. type: number
  6618. wrstandardcode:
  6619. description: 品类代码
  6620. type: string
  6621. wrstandardid:
  6622. description: 品类ID
  6623. type: integer
  6624. wrstandardname:
  6625. description: 品类名称
  6626. type: string
  6627. type: object
  6628. models.Ermcp3SpotGoodsPrice:
  6629. properties:
  6630. areauserid:
  6631. description: 所属机构id
  6632. type: integer
  6633. brandname:
  6634. description: 品牌名称
  6635. type: string
  6636. currencyid:
  6637. description: 报价货币ID
  6638. type: integer
  6639. currencyname:
  6640. description: 币种名称
  6641. type: string
  6642. deliverygoodscode:
  6643. description: 现货商品代码
  6644. type: string
  6645. deliverygoodsid:
  6646. description: 现货商品id
  6647. type: integer
  6648. deliverygoodsname:
  6649. description: 现货商品名称
  6650. type: string
  6651. enumdicname:
  6652. description: 现货商品单位名称
  6653. type: string
  6654. gbenumdicname:
  6655. description: 品类单位名称
  6656. type: string
  6657. gmunitid:
  6658. description: 品类单位id
  6659. type: integer
  6660. isvalid:
  6661. description: 是否有效 - 0:无效 1:有效
  6662. type: integer
  6663. operateid:
  6664. description: 最后操作人
  6665. type: integer
  6666. operatesrc:
  6667. description: 最后操作来源 - 1:管理端 2:终端
  6668. type: integer
  6669. operatetime:
  6670. description: 最后操作时间
  6671. type: string
  6672. operatorname:
  6673. description: 操作人名称
  6674. type: string
  6675. spotgoodsbrandid:
  6676. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6677. type: integer
  6678. spotgoodsprice:
  6679. description: 现货价格
  6680. type: number
  6681. tradedate:
  6682. description: 交易日(yyyyMMdd)
  6683. type: string
  6684. unitid:
  6685. description: 现货商品单位id
  6686. type: integer
  6687. wrstandardcode:
  6688. description: 品类代码
  6689. type: string
  6690. wrstandardid:
  6691. description: 现货品类ID(通用则为0)
  6692. type: integer
  6693. wrstandardname:
  6694. description: 品类名称
  6695. type: string
  6696. type: object
  6697. models.Ermcp3SpotGoodsPriceLog:
  6698. properties:
  6699. areauserid:
  6700. description: 所属机构id
  6701. type: integer
  6702. brandname:
  6703. description: 品牌名称
  6704. type: string
  6705. currencyid:
  6706. description: 报价货币ID
  6707. type: integer
  6708. deliverygoodscode:
  6709. description: 现货商品代码
  6710. type: string
  6711. deliverygoodsid:
  6712. description: 现货商品id
  6713. type: integer
  6714. deliverygoodsname:
  6715. description: 现货商品名称
  6716. type: string
  6717. enumdicname:
  6718. description: 现货商品单位名称
  6719. type: string
  6720. gbenumdicname:
  6721. description: 品类单位名称
  6722. type: string
  6723. gmunitid:
  6724. description: 品类单位id
  6725. type: integer
  6726. logid:
  6727. description: 日志id
  6728. type: integer
  6729. operateid:
  6730. description: 最后操作人
  6731. type: integer
  6732. operatesrc:
  6733. description: 最后操作来源 - 1:管理端 2:终端
  6734. type: integer
  6735. operatetime:
  6736. description: 最后操作时间
  6737. type: string
  6738. operatorname:
  6739. description: 操作人名称
  6740. type: string
  6741. spotgoodsbrandid:
  6742. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6743. type: integer
  6744. spotgoodsprice:
  6745. description: 现货价格
  6746. type: number
  6747. tradedate:
  6748. description: 交易日(yyyyMMdd)
  6749. type: string
  6750. unitid:
  6751. description: 现货商品单位id
  6752. type: integer
  6753. wrstandardcode:
  6754. description: 品类代码
  6755. type: string
  6756. wrstandardid:
  6757. description: 现货品类ID(通用则为0)
  6758. type: integer
  6759. wrstandardname:
  6760. description: 品类名称
  6761. type: string
  6762. type: object
  6763. models.Ermcp3SubTaaccount:
  6764. properties:
  6765. accountid:
  6766. description: 资金账户ID
  6767. type: integer
  6768. parentaccountcode:
  6769. description: 所属根账号代码(母账号代码)
  6770. type: string
  6771. parentaccountid:
  6772. description: 所属根账号(母账号)
  6773. type: integer
  6774. taname:
  6775. description: 资金账号名称
  6776. type: string
  6777. tradestatus:
  6778. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  6779. type: integer
  6780. username:
  6781. description: 交易用户
  6782. type: string
  6783. type: object
  6784. models.Ermcp3TaFutuReDataReport:
  6785. properties:
  6786. accountid:
  6787. description: 交易账户
  6788. type: integer
  6789. accountname:
  6790. description: 交易账号名称
  6791. type: string
  6792. agreeunit:
  6793. description: 商品合约单位
  6794. type: number
  6795. begindate:
  6796. description: 开始交易日
  6797. type: string
  6798. buyorsell:
  6799. description: 持仓方向
  6800. type: integer
  6801. charge:
  6802. description: 手续费
  6803. type: number
  6804. closeavgprice:
  6805. description: 平仓均价
  6806. type: number
  6807. closepl:
  6808. description: 平仓损益
  6809. type: number
  6810. currencyid:
  6811. description: 结算币种ID
  6812. type: integer
  6813. currencyname:
  6814. description: 币种名称
  6815. type: string
  6816. cycletime:
  6817. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6818. type: string
  6819. cycletype:
  6820. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6821. type: integer
  6822. enddate:
  6823. description: 结束交易日
  6824. type: string
  6825. enumdicname:
  6826. description: 单位名称
  6827. type: string
  6828. floatpl:
  6829. description: 浮动损益
  6830. type: number
  6831. goodscode:
  6832. description: 交易合约代码
  6833. type: string
  6834. goodsgroupid:
  6835. description: 交易品种
  6836. type: integer
  6837. goodsgroupname:
  6838. description: 交易品种名称
  6839. type: string
  6840. goodsgroupspotqty:
  6841. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  6842. type: number
  6843. goodsid:
  6844. description: 交易合约
  6845. type: integer
  6846. goodsname:
  6847. description: 交易合约名称
  6848. type: string
  6849. goodunitid:
  6850. description: 交易合约单位id
  6851. type: integer
  6852. holdamount:
  6853. description: 期末持仓额
  6854. type: number
  6855. holdqty:
  6856. description: 期末持仓量
  6857. type: number
  6858. lastholdamount:
  6859. description: 当前持仓额
  6860. type: number
  6861. lastprice:
  6862. description: 最新价
  6863. type: number
  6864. middlegoodsid:
  6865. description: 套保品种id
  6866. type: integer
  6867. middlegoodsname:
  6868. description: 套保商品名称
  6869. type: string
  6870. middlegoodsqty:
  6871. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  6872. type: number
  6873. middlgoodscode:
  6874. description: 套保商品代码
  6875. type: string
  6876. openamount:
  6877. description: 期末开仓额
  6878. type: number
  6879. openavgprice:
  6880. description: 开仓均价
  6881. type: number
  6882. oriholdamount:
  6883. description: 期初持仓额
  6884. type: number
  6885. oriholdqty:
  6886. description: 期初持仓量
  6887. type: number
  6888. oriopenamount:
  6889. description: 期初开仓额
  6890. type: number
  6891. outergroupcode:
  6892. description: 交易品种代码
  6893. type: string
  6894. qtydecimalplace:
  6895. description: 成交量小数位
  6896. type: integer
  6897. reckondate:
  6898. description: 日照时期(yyyyMMdd)
  6899. type: string
  6900. reckonholdamount:
  6901. description: 结算持仓额
  6902. type: number
  6903. reckonpl:
  6904. description: 结算损益
  6905. type: number
  6906. reckonpl2:
  6907. description: 结算逐笔盈亏
  6908. type: number
  6909. reckonprice:
  6910. description: 结算价
  6911. type: number
  6912. relateduserid:
  6913. description: 账户关联用户ID
  6914. type: integer
  6915. todaycloseamount:
  6916. description: 今平仓额
  6917. type: number
  6918. todaycloseqty:
  6919. description: 今平仓量
  6920. type: number
  6921. todaygoodsgroupspotqty:
  6922. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  6923. type: number
  6924. todaymiddlegoodsqty:
  6925. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  6926. type: number
  6927. todayopenamount:
  6928. description: 今开仓额
  6929. type: number
  6930. todayopenqty:
  6931. description: 今开仓量
  6932. type: number
  6933. userid:
  6934. description: 账户所属用户ID
  6935. type: integer
  6936. type: object
  6937. models.Ermcp3TradeLinkDetail:
  6938. properties:
  6939. accountid:
  6940. description: 资金账号
  6941. type: integer
  6942. agreeunit:
  6943. description: 合约乘数
  6944. type: number
  6945. areauserid:
  6946. description: 所属机构
  6947. type: string
  6948. bizsubjectid:
  6949. description: 归属业务部门ID - SubjectID
  6950. type: string
  6951. buyorsell:
  6952. description: 方向 - 0:买 1:卖
  6953. type: integer
  6954. channelbuildtype:
  6955. description: 委托单据类型 0:无 1:建仓 2:平仓
  6956. type: integer
  6957. contractno:
  6958. description: 现货编号 (合同编号)
  6959. type: string
  6960. convertratio:
  6961. description: 折算系数
  6962. type: number
  6963. createtime:
  6964. description: 关联时间 | 创建时间
  6965. type: string
  6966. creatorid:
  6967. description: 创建人ID
  6968. type: string
  6969. creatorsrc:
  6970. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6971. type: integer
  6972. enumdicname:
  6973. description: 单位名称
  6974. type: string
  6975. goodscode:
  6976. description: 合约代码
  6977. type: string
  6978. goodsgroupid:
  6979. description: 对冲品种ID[期货合约商品组ID]
  6980. type: integer
  6981. goodsid:
  6982. description: 商品ID
  6983. type: integer
  6984. goodsname:
  6985. description: 合约名称
  6986. type: string
  6987. hedgeflag:
  6988. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安)
  6989. 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6990. type: integer
  6991. linkdetailid:
  6992. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  6993. type: string
  6994. linkstatus:
  6995. description: 关联状态 - 1:成功 2:失败 3:解绑
  6996. type: integer
  6997. middlegoodscode:
  6998. description: 套保品种代码
  6999. type: string
  7000. middlegoodsid:
  7001. description: 套保品种ID
  7002. type: integer
  7003. middlegoodsname:
  7004. description: 套保品种名称
  7005. type: string
  7006. relatedlot:
  7007. description: 关联手数
  7008. type: number
  7009. relatedmode:
  7010. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  7011. type: integer
  7012. relatedqty:
  7013. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  7014. type: number
  7015. retcode:
  7016. description: 返回码
  7017. type: integer
  7018. saleuserid:
  7019. description: 业务员ID
  7020. type: string
  7021. spotcontractid:
  7022. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  7023. type: string
  7024. taname:
  7025. description: 期货账户
  7026. type: string
  7027. tradedate:
  7028. description: 关联交易日(yyyyMMdd)
  7029. type: string
  7030. tradeid:
  7031. description: 期货订单号 | 内部成交单ID
  7032. type: string
  7033. tradelot:
  7034. description: 成交数量 | 成交手数
  7035. type: integer
  7036. tradeprice:
  7037. description: 成交价格
  7038. type: number
  7039. tradetime:
  7040. description: 期货成交时间
  7041. type: string
  7042. tradetradedate:
  7043. description: 成交交易日(yyyyMMdd)
  7044. type: string
  7045. username:
  7046. description: 用户名称
  7047. type: string
  7048. type: object
  7049. models.Ermcp3Wrstandard:
  7050. properties:
  7051. areauserid:
  7052. description: 所属机构
  7053. type: integer
  7054. cantrade:
  7055. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  7056. type: integer
  7057. convertfactor:
  7058. description: 标仓系数
  7059. type: number
  7060. createtime:
  7061. description: 创建时间
  7062. type: string
  7063. creatorid:
  7064. description: 创建人
  7065. type: integer
  7066. deliverygoodsid:
  7067. description: 现货品种ID
  7068. type: integer
  7069. enumdicname:
  7070. description: 品类单位名称
  7071. type: string
  7072. isvalid:
  7073. description: 是否有效 0-无效(停用) 1-有效(正常)
  7074. type: integer
  7075. minivalue:
  7076. description: 最小变动值
  7077. type: integer
  7078. minivaluedp:
  7079. description: 最小变动值小数位
  7080. type: integer
  7081. realminivalue:
  7082. description: 实际最小变动值
  7083. type: integer
  7084. realminivaluedp:
  7085. description: 实际最小变动值小数位
  7086. type: integer
  7087. remark:
  7088. description: 备注
  7089. type: string
  7090. unitid:
  7091. description: 品类单位ID
  7092. type: integer
  7093. updatetime:
  7094. description: 更新时间
  7095. type: string
  7096. wrstandardcode:
  7097. description: 品类代码
  7098. type: string
  7099. wrstandardid:
  7100. description: 品类ID(SEQ_WRSTANDARD)
  7101. type: integer
  7102. wrstandardname:
  7103. description: 品类名称
  7104. type: string
  7105. type: object
  7106. models.ErmcpBizGroupEx:
  7107. properties:
  7108. acclist:
  7109. description: 账号列表
  7110. items:
  7111. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  7112. type: array
  7113. bizgroupid:
  7114. description: 业务分组id
  7115. type: integer
  7116. biztype:
  7117. description: 业务类型 1-套保 2-套利
  7118. type: integer
  7119. wrlist:
  7120. description: 现货商品表
  7121. items:
  7122. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  7123. type: array
  7124. type: object
  7125. models.ErmcpBizGroupSpotGoods:
  7126. properties:
  7127. areauserid:
  7128. description: 所属机构id
  7129. type: integer
  7130. bizgroupid:
  7131. description: 分组id
  7132. type: integer
  7133. biztype:
  7134. description: 业务类型 1-套保 2-套利
  7135. type: integer
  7136. deliverygoodscode:
  7137. description: 现货商品代码
  7138. type: string
  7139. deliverygoodsid:
  7140. description: 现货商品id
  7141. type: integer
  7142. deliverygoodsname:
  7143. description: 现货商品名称
  7144. type: string
  7145. unitid:
  7146. description: 现货商品单位id
  7147. type: integer
  7148. type: object
  7149. models.ErmcpBizGroupTaAccount:
  7150. properties:
  7151. accountid:
  7152. description: 账号id
  7153. type: integer
  7154. accountname:
  7155. description: 账号名称
  7156. type: string
  7157. areauserid:
  7158. description: 所属机构id
  7159. type: integer
  7160. bizgroupid:
  7161. description: 业务分组id
  7162. type: integer
  7163. ismain:
  7164. description: 是否主账号 1-是 0-否
  7165. type: integer
  7166. type: object
  7167. models.ErmcpDGFactoryItem:
  7168. properties:
  7169. areauserid:
  7170. description: 用户id
  7171. type: integer
  7172. deliverygoodsid:
  7173. description: 现货品种ID
  7174. type: integer
  7175. dgfactoryitemid:
  7176. description: 选择项ID(SEQ_DGFACTORYITEM)
  7177. type: integer
  7178. dgfactoryitemtypeid:
  7179. description: 要素项类型
  7180. type: integer
  7181. dgfactoryitemvalue:
  7182. description: 要素项值(类型为仓库时填写仓库名称)
  7183. type: string
  7184. isvalid:
  7185. description: 是否有效 - 0:无效 1:有效
  7186. type: integer
  7187. orderindex:
  7188. description: 顺序
  7189. type: integer
  7190. warehouseid:
  7191. description: 仓库ID(类型为仓库时填写)
  7192. type: integer
  7193. type: object
  7194. models.ErmcpDeliveryGoods:
  7195. properties:
  7196. agreeunit:
  7197. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  7198. type: integer
  7199. areauserid:
  7200. description: 所属机构
  7201. type: integer
  7202. auditflag:
  7203. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  7204. type: integer
  7205. categoryid:
  7206. description: 类别ID(SEQ_WRCATEGORY)
  7207. type: integer
  7208. deliverygoodscode:
  7209. description: 现货品种代码
  7210. type: string
  7211. deliverygoodsid:
  7212. description: 现货品种ID(SEQ_DELIVERYGOODS)
  7213. type: integer
  7214. deliverygoodsname:
  7215. description: 现货品种名称
  7216. type: string
  7217. deliverygoodstype:
  7218. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  7219. type: integer
  7220. dgstatus:
  7221. description: 品种状态 - 作废 - 0:未激活 1:正常
  7222. type: integer
  7223. enumdicname:
  7224. description: 现货品种单位名称
  7225. type: string
  7226. goodsunitid:
  7227. description: 现货品种单位ID
  7228. type: integer
  7229. isvalid:
  7230. description: 是否有效 - 0:无效 1:有效
  7231. type: integer
  7232. qtydecimalplace:
  7233. description: 成交量小数位
  7234. type: integer
  7235. remark:
  7236. description: 备注
  7237. type: string
  7238. standardqty:
  7239. description: 标准数量(库位数量) [标准品特有]
  7240. type: integer
  7241. standardqtyrange:
  7242. description: 标准数量偏差范围 [标准品特有]
  7243. type: integer
  7244. type: object
  7245. models.ErmcpFuturesCompany:
  7246. properties:
  7247. brokerid:
  7248. description: 经纪公司代码
  7249. type: string
  7250. channeladdress:
  7251. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  7252. type: string
  7253. channelid:
  7254. description: 对冲渠道ID
  7255. type: string
  7256. createtime:
  7257. description: 创建时间
  7258. type: string
  7259. creatorid:
  7260. description: 创建人
  7261. type: string
  7262. fcid:
  7263. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  7264. type: integer
  7265. fcname:
  7266. description: 期货公司名称
  7267. type: string
  7268. isvalid:
  7269. description: 是否有效 - 0:无效 1:有效
  7270. type: integer
  7271. mhpaddress:
  7272. description: MHP服务地址(IP:Port)
  7273. type: string
  7274. riskrulegroupid:
  7275. description: 风控规则组ID
  7276. type: string
  7277. tradefeetmpid:
  7278. description: 手续费模板ID[TradeConfigTmpType为2]
  7279. type: string
  7280. trademargintmpid:
  7281. description: 保证金模板ID [TradeConfigTmpType为1]
  7282. type: string
  7283. traderatetmpid:
  7284. description: 汇率模板ID[TradeConfigTmpType为3]
  7285. type: string
  7286. updatetime:
  7287. description: 更新时间
  7288. type: string
  7289. updatorid:
  7290. description: 更新人
  7291. type: string
  7292. type: object
  7293. models.ErmcpGGConvertCfg:
  7294. properties:
  7295. convertratio:
  7296. description: 折算系数
  7297. type: number
  7298. destgoodsgroupid:
  7299. description: 目标品种ID
  7300. type: integer
  7301. dstcode:
  7302. description: 目录品种代码
  7303. type: string
  7304. dstexchangecode:
  7305. description: 目标期货交易所
  7306. type: string
  7307. dstname:
  7308. description: 目标品种名称
  7309. type: string
  7310. dstunitid:
  7311. description: 目标品种单位ID
  7312. type: integer
  7313. dstunitidname:
  7314. description: 目标品种单位名称
  7315. type: string
  7316. modifytime:
  7317. description: 修改时间
  7318. type: string
  7319. srccode:
  7320. description: 源品种代码
  7321. type: string
  7322. srcexchangecode:
  7323. description: 源期货交易所
  7324. type: string
  7325. srcgoodsgroupid:
  7326. description: 源品种ID
  7327. type: integer
  7328. srcname:
  7329. description: 源品种名称
  7330. type: string
  7331. srcunitid:
  7332. description: 源品种单位ID
  7333. type: integer
  7334. srcunitidname:
  7335. description: 源品种单位名称
  7336. type: string
  7337. type: object
  7338. models.ErmcpGoods:
  7339. properties:
  7340. agreeunit:
  7341. description: 合约单位
  7342. type: number
  7343. areauserid:
  7344. description: 所属机构
  7345. type: integer
  7346. auditaccountid:
  7347. description: 审核操作员账号
  7348. type: integer
  7349. audittime:
  7350. description: 审核时间
  7351. type: string
  7352. cancelaccountid:
  7353. description: 注销操作员账号
  7354. type: integer
  7355. canceltime:
  7356. description: 注销时间
  7357. type: string
  7358. closepricemode:
  7359. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7360. type: integer
  7361. closepriceparam:
  7362. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7363. type: number
  7364. createtime:
  7365. description: 创建时间
  7366. type: string
  7367. creatorid:
  7368. description: 创建人
  7369. type: integer
  7370. currencyid:
  7371. description: 报价货币ID
  7372. type: integer
  7373. cutmode:
  7374. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7375. type: integer
  7376. decimalplace:
  7377. description: 报价小数位
  7378. type: integer
  7379. delistingdate:
  7380. description: 商品退市时间(状态:退市) -- 已作废
  7381. type: string
  7382. delistingmode:
  7383. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7384. type: integer
  7385. deliveryflag:
  7386. description: 交割标志 - 0:不可交割 1:可交割
  7387. type: integer
  7388. enumdicname:
  7389. description: 单位名称
  7390. type: string
  7391. forceclosemode:
  7392. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7393. type: integer
  7394. forceclosevalue:
  7395. description: 定期强平参数 [收益权]
  7396. type: integer
  7397. goodscode:
  7398. description: 商品代码(内部)
  7399. type: string
  7400. goodscurrencyid:
  7401. description: 合约货币ID
  7402. type: integer
  7403. goodsgroupid:
  7404. description: 所属商品组ID
  7405. type: integer
  7406. goodsid:
  7407. description: 商品ID(自增ID SEQ_GOODS)
  7408. type: integer
  7409. goodsname:
  7410. description: 商品名称
  7411. type: string
  7412. goodsquotetype:
  7413. description: '合约报价类型: 1-直接报价 2-间接报价'
  7414. type: integer
  7415. goodsstatus:
  7416. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7417. type: integer
  7418. goodstradetype:
  7419. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7420. type: integer
  7421. goodunitid:
  7422. description: 报价单位ID
  7423. type: integer
  7424. hasquoter:
  7425. description: 是否有报价商 - 0:无报价商 1:有报价商
  7426. type: integer
  7427. hqprotecttime:
  7428. description: 行情保护时间(秒)
  7429. type: integer
  7430. innerdealmode:
  7431. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7432. type: integer
  7433. isbuylimited:
  7434. description: 是否限制建仓量 - 0:不限制 1:限制
  7435. type: integer
  7436. isvisible:
  7437. description: 游客是否可见 - 0:不可见 1:可见
  7438. type: integer
  7439. lasttradedate:
  7440. description: 最后交易日期(状态:待退市)
  7441. type: string
  7442. listingdate:
  7443. description: 交易开始日期
  7444. type: string
  7445. marketid:
  7446. description: 所属市场ID
  7447. type: integer
  7448. modifierid:
  7449. description: 修改人
  7450. type: integer
  7451. modifystatus:
  7452. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7453. type: integer
  7454. modifytime:
  7455. description: 修改时间
  7456. type: string
  7457. outerdealmode:
  7458. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7459. type: integer
  7460. outgoodscode:
  7461. description: 商品代码(外部)
  7462. type: string
  7463. pictureurl:
  7464. description: 商品图片
  7465. type: string
  7466. qtydecimalplace:
  7467. description: 成交量小数位
  7468. type: integer
  7469. quotegear:
  7470. description: 行情档位(1-10)
  7471. type: integer
  7472. quoteminunit:
  7473. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7474. type: integer
  7475. quoteshowtype:
  7476. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7477. type: integer
  7478. quoteshowtypeinterval:
  7479. description: 行情报价间隔时间(秒)(成交价时为0)
  7480. type: integer
  7481. relatedgoodsid:
  7482. description: 关联参考商品ID
  7483. type: integer
  7484. remark:
  7485. description: 备注
  7486. type: string
  7487. trademode:
  7488. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7489. 21:竞拍-大宗式 22:受托竞价
  7490. type: integer
  7491. required:
  7492. - goodscode
  7493. - goodsid
  7494. - goodsname
  7495. - marketid
  7496. type: object
  7497. models.ErmcpGoodsBrand:
  7498. properties:
  7499. areauserid:
  7500. description: 所属机构
  7501. type: integer
  7502. brandid:
  7503. description: BrandID(SEQ_SPOTGOODSBRAND)
  7504. type: integer
  7505. brandname:
  7506. description: 品牌名称
  7507. type: string
  7508. createtime:
  7509. description: 创建时间
  7510. type: string
  7511. creatorid:
  7512. description: 创建人
  7513. type: integer
  7514. creatorsrc:
  7515. description: 创建人来源 - 1:管理端 2:终端
  7516. type: integer
  7517. deliverygoodsid:
  7518. description: 现货品种ID
  7519. type: integer
  7520. isvalid:
  7521. description: 是否有效 - 0:无效 1:有效
  7522. type: integer
  7523. updatetime:
  7524. description: 更新时间
  7525. type: string
  7526. updatorid:
  7527. description: 更新人
  7528. type: integer
  7529. updatorsrc:
  7530. description: 更新人来源 - 1:管理端 2:终端
  7531. type: integer
  7532. wrstandardid:
  7533. description: 现货商品ID
  7534. type: integer
  7535. type: object
  7536. models.ErmcpGoodsModel:
  7537. properties:
  7538. areauserid:
  7539. description: 所属机构
  7540. type: integer
  7541. convertfactor:
  7542. description: 标仓系数
  7543. type: number
  7544. createtime:
  7545. description: 创建时间
  7546. type: string
  7547. creatorid:
  7548. description: 创建人
  7549. type: integer
  7550. creatorsrc:
  7551. description: 创建人来源 - 1:管理端 2:终端
  7552. type: integer
  7553. deliverygoodsid:
  7554. description: 现货品种ID
  7555. type: integer
  7556. isvalid:
  7557. description: 是否有效 - 0:无效 1:有效
  7558. type: integer
  7559. modelid:
  7560. description: ModelID(SEQ_SPOTGOODSMODEL)
  7561. type: integer
  7562. modelname:
  7563. description: 型号名称
  7564. type: string
  7565. updatetime:
  7566. description: 更新时间
  7567. type: string
  7568. updatorid:
  7569. description: 更新人
  7570. type: integer
  7571. updatorsrc:
  7572. description: 更新人来源 - 1:管理端 2:终端
  7573. type: integer
  7574. wrstandardid:
  7575. description: 现货商品ID
  7576. type: integer
  7577. type: object
  7578. models.ErmcpHisExposure:
  7579. properties:
  7580. needhedgeexposoure:
  7581. description: 应套保敞口
  7582. type: number
  7583. reckondate:
  7584. description: 日照时期(yyyyMMdd)
  7585. type: string
  7586. totalexposure:
  7587. description: 总敞口
  7588. type: number
  7589. type: object
  7590. models.ErmcpLoginTaAccount:
  7591. properties:
  7592. accountid:
  7593. description: 账号id
  7594. type: integer
  7595. accountname:
  7596. description: 账号名称
  7597. type: string
  7598. type: object
  7599. models.ErmcpLoginUser:
  7600. properties:
  7601. acclist:
  7602. description: 关联资金账号
  7603. items:
  7604. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  7605. type: array
  7606. accountname:
  7607. description: 用户名称
  7608. type: string
  7609. clientroleid:
  7610. description: 角色id(usertype=2)
  7611. type: integer
  7612. createtime:
  7613. description: 创建时间
  7614. type: string
  7615. logincode:
  7616. description: 登录代码
  7617. type: string
  7618. loginid:
  7619. description: 登录id(LOGINID)
  7620. type: integer
  7621. loginname:
  7622. description: 登录名称(loginaccount表中的accountname字段)
  7623. type: string
  7624. loginstatus:
  7625. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  7626. type: integer
  7627. memberuserid:
  7628. description: 所属会员id
  7629. type: integer
  7630. mobile:
  7631. description: 手机号
  7632. type: string
  7633. modifytime:
  7634. description: 修改时间
  7635. type: string
  7636. password:
  7637. description: 密码(不可解密)
  7638. type: string
  7639. rolename:
  7640. description: 角色名称
  7641. type: string
  7642. rolestatus:
  7643. description: 角色状态 1-启用 2-停用
  7644. type: integer
  7645. roletype:
  7646. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  7647. type: string
  7648. userid:
  7649. description: 用户id
  7650. type: integer
  7651. usertype:
  7652. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  7653. type: integer
  7654. type: object
  7655. models.ErmcpLoginUserEx:
  7656. properties:
  7657. accountstatus:
  7658. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  7659. type: integer
  7660. mobile:
  7661. description: 手机号
  7662. type: string
  7663. querytype:
  7664. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  7665. type: integer
  7666. roleid:
  7667. description: 角色id(交易账户->用户id)
  7668. type: integer
  7669. rolename:
  7670. description: 角色名称(交易账户->用户名称)
  7671. type: string
  7672. userlist:
  7673. description: 用户列表
  7674. items:
  7675. $ref: '#/definitions/models.ErmcpLoginUser'
  7676. type: array
  7677. usertype:
  7678. description: 用户类型 2-机构 7-企业成员(云平台)
  7679. type: integer
  7680. type: object
  7681. models.ErmcpMiddleGoodsModel:
  7682. properties:
  7683. areauserid:
  7684. description: 机构用户ID
  7685. type: integer
  7686. createtime:
  7687. description: 修改时间
  7688. type: string
  7689. enumdicname:
  7690. description: 单位名称
  7691. type: string
  7692. evaluateratio:
  7693. description: 估价系数
  7694. type: number
  7695. goodsgroupid:
  7696. description: 关联期货品种ID
  7697. type: integer
  7698. goodsunitid:
  7699. description: 单位ID
  7700. type: integer
  7701. isvalid:
  7702. description: 状态 0-无效(停用) 1-有效(正常)
  7703. type: integer
  7704. middlegoodscode:
  7705. description: 套保品种代码
  7706. type: string
  7707. middlegoodsid:
  7708. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  7709. type: integer
  7710. middlegoodsname:
  7711. description: 套保品种名称
  7712. type: string
  7713. modifytime:
  7714. description: 修改时间
  7715. type: string
  7716. needarbitrageratio:
  7717. description: 套利比例
  7718. type: number
  7719. needhedgeratio:
  7720. description: 套保比率
  7721. type: number
  7722. qtydecimalplace:
  7723. description: 数量小数位
  7724. type: integer
  7725. relatedgoodsid:
  7726. description: 关联交易商品ID
  7727. type: integer
  7728. relatedgoodstype:
  7729. description: 关联商品类型 - 1:期货合约 2:现货品种
  7730. type: integer
  7731. remark:
  7732. description: 备注
  7733. type: string
  7734. type: object
  7735. models.ErmcpMiddlegoodsRelateGoods:
  7736. properties:
  7737. agreeunit:
  7738. description: 合约乘数
  7739. type: number
  7740. convertratio:
  7741. description: 折算系数
  7742. type: number
  7743. enumdicname:
  7744. description: 单位名称(交易商品)
  7745. type: string
  7746. goodscode:
  7747. description: 交易商品代码
  7748. type: string
  7749. goodsgroupid:
  7750. description: 交易品种id
  7751. type: integer
  7752. goodsid:
  7753. description: 商品Id
  7754. type: integer
  7755. goodsname:
  7756. description: 交易商品名称
  7757. type: string
  7758. goodunitid:
  7759. description: 交易商品单位id
  7760. type: integer
  7761. middlegoodsid:
  7762. description: 套保商品id
  7763. type: integer
  7764. middlegoodsname:
  7765. description: 套保商品名称
  7766. type: string
  7767. middlegoodsswcode:
  7768. description: 套保商品代码
  7769. type: string
  7770. needarbitrageratio:
  7771. description: 应套利比例
  7772. type: number
  7773. needhedgeratio:
  7774. description: 应套保比例
  7775. type: number
  7776. type: object
  7777. models.ErmcpRole:
  7778. properties:
  7779. areauserid:
  7780. description: 所属机构
  7781. type: integer
  7782. autoid:
  7783. description: 角色ID(自增ID)
  7784. type: integer
  7785. modifierid:
  7786. description: 修改人(创建人)
  7787. type: integer
  7788. modifiername:
  7789. description: 修改人名称
  7790. type: string
  7791. modifytime:
  7792. description: 修改时间(创建时间)
  7793. type: string
  7794. rolename:
  7795. description: 角色名称
  7796. type: string
  7797. rolestatus:
  7798. description: 角色状态 - 1:启用 2:停用
  7799. type: integer
  7800. roletype:
  7801. description: 角色类型 - 1- 管理端 2- 交易端
  7802. type: integer
  7803. type: object
  7804. models.ErmcpRoleMenu:
  7805. properties:
  7806. iconame:
  7807. description: 菜单图标
  7808. type: string
  7809. ishadrole:
  7810. description: 是否有权限
  7811. type: boolean
  7812. menutype:
  7813. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  7814. type: integer
  7815. parentcode:
  7816. description: 上级资源代码
  7817. type: string
  7818. remark:
  7819. description: 菜单备注
  7820. type: string
  7821. resourcecode:
  7822. description: 菜单代码
  7823. type: string
  7824. resourcelevel:
  7825. description: 级别
  7826. type: integer
  7827. resourcename:
  7828. description: 菜单名称
  7829. type: string
  7830. roleid:
  7831. description: 角色id
  7832. type: integer
  7833. sort:
  7834. description: 排序
  7835. type: integer
  7836. url:
  7837. description: URL
  7838. type: string
  7839. userid:
  7840. description: 用户id
  7841. type: integer
  7842. type: object
  7843. models.ErmcpRoleMenuEx:
  7844. properties:
  7845. menu:
  7846. $ref: '#/definitions/models.ErmcpRoleMenu'
  7847. description: 父级菜单
  7848. subMenu:
  7849. description: 子级菜单
  7850. items:
  7851. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  7852. type: array
  7853. type: object
  7854. models.ErmcpTaAccount:
  7855. properties:
  7856. accountid:
  7857. description: 账户id
  7858. type: integer
  7859. accountname:
  7860. description: 账户名称
  7861. type: string
  7862. currencyid:
  7863. description: 币种id
  7864. type: integer
  7865. hedgeaccountcode:
  7866. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7867. type: string
  7868. ismain:
  7869. description: 是否主账户 0-否 1-是
  7870. type: integer
  7871. parentaccountid:
  7872. description: 父账户id
  7873. type: integer
  7874. relateduserid:
  7875. description: 关联userid
  7876. type: integer
  7877. tradefeetmpid:
  7878. description: 手续费模板id
  7879. type: integer
  7880. tradefeetmpname:
  7881. description: 手续费模板名称
  7882. type: string
  7883. trademargintmpid:
  7884. description: 保证金模板id
  7885. type: integer
  7886. trademargintmpname:
  7887. description: 保证金模板名称
  7888. type: string
  7889. traderatetmpid:
  7890. description: 汇率模板id
  7891. type: integer
  7892. traderatetmpname:
  7893. description: 汇率模板名称
  7894. type: string
  7895. tradestatus:
  7896. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7897. type: integer
  7898. userid:
  7899. description: 用户id
  7900. type: integer
  7901. type: object
  7902. models.ErmcpTaAccountEx:
  7903. properties:
  7904. mainAcc:
  7905. $ref: '#/definitions/models.ErmcpTaAccountM'
  7906. description: 主账号
  7907. subacclist:
  7908. description: 子账号列表
  7909. items:
  7910. $ref: '#/definitions/models.ErmcpTaAccount'
  7911. type: array
  7912. type: object
  7913. models.ErmcpTaAccountInfo:
  7914. properties:
  7915. accountid:
  7916. description: 资金账户ID
  7917. type: integer
  7918. accountname:
  7919. description: 账户名称
  7920. type: string
  7921. balance:
  7922. description: 期初余额
  7923. type: number
  7924. capitalbalance:
  7925. description: 本金余额[外部子账户实际出入金余额]
  7926. type: number
  7927. closepl:
  7928. description: 今日平仓盈亏
  7929. type: number
  7930. creditdecrease:
  7931. description: 今日授信减少
  7932. type: number
  7933. creditincrease:
  7934. description: 今日授信增加
  7935. type: number
  7936. curdebt:
  7937. description: 期末欠款
  7938. type: number
  7939. currencyid:
  7940. description: 货币ID
  7941. type: integer
  7942. currentbalance:
  7943. description: 期末余额
  7944. type: number
  7945. freezecharge:
  7946. description: 手续费冻结
  7947. type: number
  7948. freezemargin:
  7949. description: 冻结保证金
  7950. type: number
  7951. fromaccountid:
  7952. description: 所属上级账户
  7953. type: integer
  7954. inamount:
  7955. description: 今日入金金额(包括三方入金)
  7956. type: number
  7957. ismain:
  7958. description: 是否母账号 0:不是母账户 1:是母账户
  7959. type: integer
  7960. mortgagecredit:
  7961. description: 授信金额
  7962. type: number
  7963. oridebt:
  7964. description: 期初欠款
  7965. type: number
  7966. orifreezecharge:
  7967. description: 期初手续费冻结
  7968. type: number
  7969. orifreezemargin:
  7970. description: 期初冻结保证金
  7971. type: number
  7972. orimortgagecredit:
  7973. description: 期初授信金额
  7974. type: number
  7975. oriothercredit:
  7976. description: 期初其它授信金额
  7977. type: number
  7978. oriotherfreezemargin:
  7979. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  7980. type: number
  7981. orioutamountfreeze:
  7982. description: 期初出金冻结
  7983. type: number
  7984. oriusedmargin:
  7985. description: 期初占用保证金
  7986. type: number
  7987. othercredit:
  7988. description: 其它授信金额
  7989. type: number
  7990. othercreditdecrease:
  7991. description: 今日其它授信减少
  7992. type: number
  7993. othercreditincrease:
  7994. description: 今日其它授信增加
  7995. type: number
  7996. otherfreezemargin:
  7997. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  7998. type: number
  7999. outamount:
  8000. description: 今日出金金额(包括三方出金)
  8001. type: number
  8002. outamountfreeze:
  8003. description: 出金冻结
  8004. type: number
  8005. outthreshold:
  8006. description: 出金阈值
  8007. type: number
  8008. parentaccountid:
  8009. description: 所属根账号
  8010. type: integer
  8011. paycharge:
  8012. description: 今日手续费支出
  8013. type: number
  8014. relateduserid:
  8015. description: 关联用户
  8016. type: integer
  8017. signstatus:
  8018. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  8019. type: integer
  8020. sublevelpath:
  8021. description: 账号层级路径(逗号分隔,首尾加逗号)
  8022. type: string
  8023. taaccounttype:
  8024. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  8025. type: integer
  8026. thirdinamount:
  8027. description: 今日三方入金
  8028. type: number
  8029. thirdoutamount:
  8030. description: 今日三方出金
  8031. type: number
  8032. tradestatus:
  8033. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  8034. type: integer
  8035. transferamount:
  8036. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  8037. type: number
  8038. usedmargin:
  8039. description: 占用保证金
  8040. type: number
  8041. userid:
  8042. description: 用户ID
  8043. type: integer
  8044. type: object
  8045. models.ErmcpTaAccountM:
  8046. properties:
  8047. accountid:
  8048. description: 账户id
  8049. type: integer
  8050. accountname:
  8051. description: 账户名称
  8052. type: string
  8053. currencyid:
  8054. description: 币种id
  8055. type: integer
  8056. fcid:
  8057. description: 期货公司id
  8058. type: integer
  8059. fcname:
  8060. description: 期货公司代码
  8061. type: string
  8062. hedgeaccountcode:
  8063. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  8064. type: string
  8065. ismain:
  8066. description: 是否主账户 0-否 1-是
  8067. type: integer
  8068. parentaccountid:
  8069. description: 父账户id
  8070. type: integer
  8071. relateduserid:
  8072. description: 关联userid
  8073. type: integer
  8074. tradefeetmpid:
  8075. description: 手续费模板id
  8076. type: integer
  8077. tradefeetmpname:
  8078. description: 手续费模板名称
  8079. type: string
  8080. trademargintmpid:
  8081. description: 保证金模板id
  8082. type: integer
  8083. trademargintmpname:
  8084. description: 保证金模板名称
  8085. type: string
  8086. traderatetmpid:
  8087. description: 汇率模板id
  8088. type: integer
  8089. traderatetmpname:
  8090. description: 汇率模板名称
  8091. type: string
  8092. tradestatus:
  8093. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  8094. type: integer
  8095. userid:
  8096. description: 用户id
  8097. type: integer
  8098. type: object
  8099. models.ErmcpTradeConfigTMP:
  8100. properties:
  8101. areauserid:
  8102. description: 所属机构
  8103. type: integer
  8104. basiccurrencyid:
  8105. description: 基本币种ID[汇率] - 目标币种
  8106. type: integer
  8107. mainaccountid:
  8108. description: 主账户ID
  8109. type: integer
  8110. modifierid:
  8111. description: 修改人
  8112. type: integer
  8113. remark:
  8114. description: 备注
  8115. type: string
  8116. tradeconfigtmpid:
  8117. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  8118. type: integer
  8119. tradeconfigtmpname:
  8120. description: 交易配置模板名称
  8121. type: string
  8122. tradeconfigtmptype:
  8123. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  8124. type: integer
  8125. updatetime:
  8126. description: 更新时间
  8127. type: string
  8128. type: object
  8129. models.Externalexchange:
  8130. properties:
  8131. autoid:
  8132. description: AutoID - SEQ_EXTERNALEXCHANGE
  8133. type: integer
  8134. exchangefullname:
  8135. description: 外部交易所全称
  8136. type: string
  8137. exexchangecode:
  8138. description: 外部交易所代码
  8139. type: string
  8140. exexchangename:
  8141. description: 外部交易所名称(简称)
  8142. type: string
  8143. ismarketprice:
  8144. description: 是否支持市价 - 0:不支持 1:支持
  8145. type: integer
  8146. quotegear:
  8147. description: 行情档位(1-10)
  8148. type: integer
  8149. showbrokerflag:
  8150. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  8151. type: integer
  8152. updatetime:
  8153. description: 更新时间
  8154. type: string
  8155. required:
  8156. - autoid
  8157. type: object
  8158. models.Funcmenulist:
  8159. properties:
  8160. iconame:
  8161. description: 菜单图标
  8162. type: string
  8163. menutype:
  8164. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  8165. type: integer
  8166. parentcode:
  8167. description: 上级资源代码
  8168. type: string
  8169. remark:
  8170. description: 备注
  8171. type: string
  8172. resourcecode:
  8173. description: 资源代码
  8174. type: string
  8175. resourcelevel:
  8176. description: 级别 1-一级 2-二级 3-三级 4-四级
  8177. type: integer
  8178. resourcename:
  8179. description: 资源名
  8180. type: string
  8181. sort:
  8182. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  8183. type: integer
  8184. url:
  8185. description: URL
  8186. type: string
  8187. required:
  8188. - resourcecode
  8189. type: object
  8190. models.Goods:
  8191. properties:
  8192. agreeunit:
  8193. description: 合约单位
  8194. type: number
  8195. areauserid:
  8196. description: 所属机构
  8197. type: integer
  8198. auditaccountid:
  8199. description: 审核操作员账号
  8200. type: integer
  8201. audittime:
  8202. description: 审核时间
  8203. type: string
  8204. cancelaccountid:
  8205. description: 注销操作员账号
  8206. type: integer
  8207. canceltime:
  8208. description: 注销时间
  8209. type: string
  8210. closepricemode:
  8211. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8212. type: integer
  8213. closepriceparam:
  8214. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8215. type: number
  8216. createtime:
  8217. description: 创建时间
  8218. type: string
  8219. creatorid:
  8220. description: 创建人
  8221. type: integer
  8222. currencyid:
  8223. description: 报价货币ID
  8224. type: integer
  8225. cutmode:
  8226. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8227. type: integer
  8228. decimalplace:
  8229. description: 报价小数位
  8230. type: integer
  8231. delistingdate:
  8232. description: 商品退市时间(状态:退市) -- 已作废
  8233. type: string
  8234. delistingmode:
  8235. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8236. type: integer
  8237. deliveryflag:
  8238. description: 交割标志 - 0:不可交割 1:可交割
  8239. type: integer
  8240. forceclosemode:
  8241. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8242. type: integer
  8243. forceclosevalue:
  8244. description: 定期强平参数 [收益权]
  8245. type: integer
  8246. goodscode:
  8247. description: 商品代码(内部)
  8248. type: string
  8249. goodscurrencyid:
  8250. description: 合约货币ID
  8251. type: integer
  8252. goodsgroupid:
  8253. description: 所属商品组ID
  8254. type: integer
  8255. goodsid:
  8256. description: 商品ID(自增ID SEQ_GOODS)
  8257. type: integer
  8258. goodsname:
  8259. description: 商品名称
  8260. type: string
  8261. goodsquotetype:
  8262. description: '合约报价类型: 1-直接报价 2-间接报价'
  8263. type: integer
  8264. goodsstatus:
  8265. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8266. type: integer
  8267. goodstradetype:
  8268. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8269. type: integer
  8270. goodunitid:
  8271. description: 报价单位ID
  8272. type: integer
  8273. hasquoter:
  8274. description: 是否有报价商 - 0:无报价商 1:有报价商
  8275. type: integer
  8276. hqprotecttime:
  8277. description: 行情保护时间(秒)
  8278. type: integer
  8279. innerdealmode:
  8280. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8281. type: integer
  8282. isbuylimited:
  8283. description: 是否限制建仓量 - 0:不限制 1:限制
  8284. type: integer
  8285. isvisible:
  8286. description: 游客是否可见 - 0:不可见 1:可见
  8287. type: integer
  8288. lasttradedate:
  8289. description: 最后交易日期(状态:待退市)
  8290. type: string
  8291. listingdate:
  8292. description: 交易开始日期
  8293. type: string
  8294. marketid:
  8295. description: 所属市场ID
  8296. type: integer
  8297. modifierid:
  8298. description: 修改人
  8299. type: integer
  8300. modifystatus:
  8301. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8302. type: integer
  8303. modifytime:
  8304. description: 修改时间
  8305. type: string
  8306. outerdealmode:
  8307. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8308. type: integer
  8309. outgoodscode:
  8310. description: 商品代码(外部)
  8311. type: string
  8312. pictureurl:
  8313. description: 商品图片
  8314. type: string
  8315. qtydecimalplace:
  8316. description: 成交量小数位
  8317. type: integer
  8318. quotegear:
  8319. description: 行情档位(1-10)
  8320. type: integer
  8321. quoteminunit:
  8322. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8323. type: integer
  8324. quoteshowtype:
  8325. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8326. type: integer
  8327. quoteshowtypeinterval:
  8328. description: 行情报价间隔时间(秒)(成交价时为0)
  8329. type: integer
  8330. remark:
  8331. description: 备注
  8332. type: string
  8333. required:
  8334. - goodscode
  8335. - goodsid
  8336. - goodsname
  8337. - marketid
  8338. type: object
  8339. models.GoodsIDAndName:
  8340. properties:
  8341. goodscode:
  8342. description: 商品代码(内部)
  8343. type: string
  8344. goodsid:
  8345. description: 商品ID(自增ID SEQ_GOODS)
  8346. type: integer
  8347. goodsname:
  8348. description: 商品名称
  8349. type: string
  8350. marketid:
  8351. description: 所属市场ID
  8352. type: integer
  8353. required:
  8354. - goodscode
  8355. - goodsid
  8356. - goodsname
  8357. - marketid
  8358. type: object
  8359. models.Goodsgroup:
  8360. properties:
  8361. agreeunit:
  8362. description: 合约单位
  8363. type: number
  8364. canshort:
  8365. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  8366. type: integer
  8367. closepricemode:
  8368. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8369. type: integer
  8370. closepriceparam:
  8371. description: 强平最新价浮动比例 - 方式为2时使用
  8372. type: number
  8373. createtime:
  8374. description: 创建时间
  8375. type: string
  8376. creatorid:
  8377. description: 创建人
  8378. type: integer
  8379. currencyid:
  8380. description: 报价货币ID
  8381. type: integer
  8382. decimalplace:
  8383. description: 报价小数位
  8384. type: integer
  8385. exercisetype:
  8386. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  8387. type: integer
  8388. exexchangeid:
  8389. description: 外部交易所ID[通道交易]
  8390. type: integer
  8391. goodsgroupid:
  8392. description: 商品组ID(自增ID)
  8393. type: integer
  8394. goodsgroupname:
  8395. description: 商品组名称
  8396. type: string
  8397. goodsgroupstatus:
  8398. description: 商品组状态 - 1:正常 2:注销
  8399. type: integer
  8400. goodunitid:
  8401. description: 报价单位ID
  8402. type: integer
  8403. innerdealmode:
  8404. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8405. type: integer
  8406. isbuylimited:
  8407. description: 是否限制建仓量 - 0:不限制 1:限制
  8408. type: integer
  8409. marketid:
  8410. description: 所属市场ID
  8411. type: integer
  8412. modifierid:
  8413. description: 修改人
  8414. type: integer
  8415. modifytime:
  8416. description: 修改时间
  8417. type: string
  8418. outerdealmode:
  8419. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8420. type: integer
  8421. outergroupcode:
  8422. description: 外部商品组代码[通道交易]
  8423. type: string
  8424. premiumdecimalplace:
  8425. description: 权利金小数位[场外期权]
  8426. type: integer
  8427. premiumspreadalgorithm:
  8428. description: 权利金点差方式[场外期权] 1:比率 2:固定
  8429. type: integer
  8430. premiumspreadvalue:
  8431. description: 权利金点差值[场外期权]
  8432. type: number
  8433. qtydecimalplace:
  8434. description: 成交量小数位
  8435. type: integer
  8436. quotegear:
  8437. description: 行情档位(1-10)
  8438. type: integer
  8439. quoteminunit:
  8440. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8441. type: integer
  8442. quoterid:
  8443. description: 报价商ID[场外期权]
  8444. type: integer
  8445. quotesourcegroupid:
  8446. description: 所属行情源分组ID[参考行情市场用\通道交易]
  8447. type: integer
  8448. syncgoodsqty:
  8449. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  8450. type: integer
  8451. required:
  8452. - goodsgroupid
  8453. - goodsgroupname
  8454. - goodsgroupstatus
  8455. - marketid
  8456. type: object
  8457. models.Goodssortbypreposition:
  8458. properties:
  8459. goodscode:
  8460. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  8461. type: string
  8462. goodsgroupcode:
  8463. description: 品种代码
  8464. type: string
  8465. prepositionqty:
  8466. description: 昨持仓量
  8467. type: integer
  8468. sortindex:
  8469. description: 排序
  8470. type: integer
  8471. tradedate:
  8472. description: 交易日
  8473. type: string
  8474. updatetime:
  8475. description: 更新时间
  8476. type: string
  8477. required:
  8478. - goodscode
  8479. - tradedate
  8480. type: object
  8481. models.Hedgeinnerholderdetail:
  8482. properties:
  8483. accountid:
  8484. description: 账号ID
  8485. type: integer
  8486. buyorsell:
  8487. description: 方向 - 0:买 1:卖
  8488. type: integer
  8489. freezeqty:
  8490. description: 冻结数量 - 按单平使用
  8491. type: integer
  8492. goodsid:
  8493. description: 商品ID
  8494. type: integer
  8495. holderamount:
  8496. description: 持仓金额 [商品币种]
  8497. type: number
  8498. holderdays:
  8499. description: 剩余冻结天数
  8500. type: integer
  8501. holderprice:
  8502. description: 持仓价格
  8503. type: number
  8504. holderqty:
  8505. description: 持仓数量
  8506. type: integer
  8507. marketid:
  8508. description: 市场ID
  8509. type: integer
  8510. openprice:
  8511. description: 建仓价格
  8512. type: number
  8513. openqty:
  8514. description: 建仓数量
  8515. type: integer
  8516. parentaccountid:
  8517. description: 所属母账户
  8518. type: integer
  8519. releaseamount:
  8520. description: 释放持仓金额[商品币种]
  8521. type: number
  8522. tradeamount:
  8523. description: 成交金额[账户]
  8524. type: number
  8525. tradedate:
  8526. description: 交易日(yyyyMMdd)
  8527. type: string
  8528. tradeid:
  8529. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8530. type: string
  8531. tradetime:
  8532. description: 交易时间
  8533. type: string
  8534. required:
  8535. - buyorsell
  8536. - tradeid
  8537. type: object
  8538. models.Hedgemarketopenlog:
  8539. properties:
  8540. accountid:
  8541. description: 资金账号[外部母账户]
  8542. type: integer
  8543. fcname:
  8544. description: 期货公司名称
  8545. type: string
  8546. handlestatus:
  8547. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  8548. type: integer
  8549. marketid:
  8550. description: 市场ID
  8551. type: integer
  8552. status:
  8553. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  8554. type: integer
  8555. tradedate:
  8556. description: 交易日(yyyyMMdd)
  8557. type: string
  8558. updatetime:
  8559. description: 更新时间
  8560. type: string
  8561. required:
  8562. - accountid
  8563. type: object
  8564. models.HsbyBuyMyPayOrder:
  8565. properties:
  8566. agreeunit:
  8567. description: 合约单位
  8568. type: number
  8569. buyaccountid:
  8570. description: 买方账号ID[报价币种]
  8571. type: integer
  8572. buyorderid:
  8573. description: 买方委托单号
  8574. type: string
  8575. createtime:
  8576. description: 创建时间
  8577. type: string
  8578. currencysign:
  8579. description: 货币符号
  8580. type: string
  8581. decimalplace:
  8582. description: 报价小数位
  8583. type: integer
  8584. goodscode:
  8585. description: 商品代码(内部)
  8586. type: string
  8587. goodsid:
  8588. description: 商品ID
  8589. type: integer
  8590. goodsname:
  8591. description: 商品名称
  8592. type: string
  8593. marketid:
  8594. description: 市场ID
  8595. type: integer
  8596. offamount:
  8597. description: 优惠金额
  8598. type: number
  8599. originalamount:
  8600. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  8601. type: number
  8602. payamount:
  8603. description: 支付金额 = TradeAmount + TradeCharge
  8604. type: number
  8605. payflag:
  8606. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8607. type: integer
  8608. paylimitedtime:
  8609. description: 支付期限
  8610. type: string
  8611. paytime:
  8612. description: 付款时间
  8613. type: string
  8614. picurls1:
  8615. description: 预售商品介绍图片[多张用逗号分隔]
  8616. type: string
  8617. picurls2:
  8618. description: 挂牌商品介绍图片[多张用逗号分隔]
  8619. type: string
  8620. sellaccountid:
  8621. description: 卖方账号ID[报价币种]
  8622. type: integer
  8623. sellorderid:
  8624. description: 卖方委托单号
  8625. type: string
  8626. tradeamount:
  8627. description: 成交金额
  8628. type: number
  8629. tradecharge:
  8630. description: 成交手续费(买方)
  8631. type: number
  8632. tradedate:
  8633. description: 交易日(yyyyMMdd)
  8634. type: string
  8635. tradeid:
  8636. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8637. type: string
  8638. trademode:
  8639. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8640. 21:竞拍-大宗式 22:受托竞价
  8641. type: integer
  8642. tradeprice:
  8643. description: 成交价格
  8644. type: number
  8645. tradeqty:
  8646. description: 成交数量
  8647. type: integer
  8648. vendorname1:
  8649. description: 预售商品供应商名称
  8650. type: string
  8651. vendorname2:
  8652. description: 挂牌商品供应商名称
  8653. type: string
  8654. required:
  8655. - goodscode
  8656. - goodsname
  8657. - tradeid
  8658. - trademode
  8659. type: object
  8660. models.HsbyBuyMyTradeDetail:
  8661. properties:
  8662. accountid:
  8663. description: 账户ID[报价币种]
  8664. type: integer
  8665. agreeunit:
  8666. description: 合约单位
  8667. type: number
  8668. amount:
  8669. description: 金额 = 价格 * 数量 * 合约单位
  8670. type: number
  8671. buyorsell:
  8672. description: 买卖 - 0:买 1:卖
  8673. type: integer
  8674. currencysign:
  8675. description: 货币符号
  8676. type: string
  8677. decimalplace:
  8678. description: 报价小数位
  8679. type: integer
  8680. goodscode:
  8681. description: 商品代码(内部)
  8682. type: string
  8683. goodsid:
  8684. description: 商品ID
  8685. type: integer
  8686. goodsname:
  8687. description: 商品名称
  8688. type: string
  8689. marketid:
  8690. description: 市场ID
  8691. type: integer
  8692. orderamount:
  8693. description: 委托金额
  8694. type: number
  8695. orderid:
  8696. description: 单号(成交单号)
  8697. type: string
  8698. picurls1:
  8699. description: 预售商品介绍图片[多张用逗号分隔]
  8700. type: string
  8701. picurls2:
  8702. description: 挂牌商品介绍图片[多张用逗号分隔]
  8703. type: string
  8704. price:
  8705. description: 价格
  8706. type: number
  8707. qty:
  8708. description: 数量
  8709. type: integer
  8710. time:
  8711. description: 时间
  8712. type: string
  8713. trademode:
  8714. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8715. 21:竞拍-大宗式 22:受托竞价
  8716. type: integer
  8717. vendorname1:
  8718. description: 预售商品供应商名称
  8719. type: string
  8720. vendorname2:
  8721. description: 挂牌商品供应商名称
  8722. type: string
  8723. required:
  8724. - accountid
  8725. - buyorsell
  8726. - goodscode
  8727. - goodsid
  8728. - goodsname
  8729. - marketid
  8730. - orderid
  8731. - qty
  8732. - time
  8733. - trademode
  8734. type: object
  8735. models.HsbyGoodsOrderDetail:
  8736. properties:
  8737. buyorsell:
  8738. description: 买卖 - 0:买 1:卖
  8739. type: integer
  8740. currencysign:
  8741. description: 货币符号
  8742. type: string
  8743. customername:
  8744. description: 客户名称(企业名称),已脱敏
  8745. type: string
  8746. enableqty:
  8747. description: 可用数量
  8748. type: integer
  8749. goodunit:
  8750. description: 报价单位
  8751. type: string
  8752. orderid:
  8753. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8754. type: string
  8755. orderprice:
  8756. description: 委托价格
  8757. type: number
  8758. ordertime:
  8759. description: 委托时间
  8760. type: string
  8761. required:
  8762. - buyorsell
  8763. - orderid
  8764. - ordertime
  8765. type: object
  8766. models.HsbyListingGoodsDetail:
  8767. properties:
  8768. agreeunit:
  8769. description: 合约单位
  8770. type: number
  8771. buymaxqty:
  8772. description: 购买上限 [71] - 0为不限
  8773. type: integer
  8774. currency:
  8775. description: 货币
  8776. type: string
  8777. currencysign:
  8778. description: 货币符号
  8779. type: string
  8780. decimalplace:
  8781. description: 报价小数位
  8782. type: integer
  8783. desccityid:
  8784. description: 目的地(市)ID
  8785. type: integer
  8786. descprovinceid:
  8787. description: 目的地(省)ID
  8788. type: integer
  8789. goodscode:
  8790. description: 商品代码(内部)
  8791. type: string
  8792. goodsdesc:
  8793. description: 商品详情
  8794. type: string
  8795. goodsid:
  8796. description: 商品ID(自增ID SEQ_GOODS)
  8797. type: integer
  8798. goodsname:
  8799. description: 商品名称
  8800. type: string
  8801. goodsprice:
  8802. description: 商品价格
  8803. type: number
  8804. hotindex:
  8805. description: 景点热度
  8806. type: integer
  8807. last:
  8808. description: 现价
  8809. type: number
  8810. limitdown:
  8811. description: 跌停价
  8812. type: number
  8813. limitup:
  8814. description: 涨停价
  8815. type: number
  8816. lotsize:
  8817. description: 手数最小变动单位
  8818. type: integer
  8819. marketid:
  8820. description: 所属市场ID
  8821. type: integer
  8822. picurls:
  8823. description: 介绍图片[多张用逗号分隔]
  8824. type: string
  8825. quoteminunit:
  8826. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8827. type: integer
  8828. stepvalue:
  8829. description: 价格最小变动单位
  8830. type: number
  8831. trademode:
  8832. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8833. 21:竞拍-大宗式 22:受托竞价
  8834. type: integer
  8835. vendorattr:
  8836. description: 供应商附件(多张,逗号分隔)
  8837. type: string
  8838. vendorname:
  8839. description: 供应商名称
  8840. type: string
  8841. vendorphone:
  8842. description: 供应商客服电话
  8843. type: string
  8844. videourls:
  8845. description: 介绍视频[多张用逗号分隔]
  8846. type: string
  8847. required:
  8848. - goodscode
  8849. - goodsid
  8850. - goodsname
  8851. - marketid
  8852. - trademode
  8853. type: object
  8854. models.HsbyMarketGoods:
  8855. properties:
  8856. accountid:
  8857. description: 账户ID[报价币种]
  8858. type: integer
  8859. agreeunit:
  8860. description: 合约单位
  8861. type: number
  8862. buyorsell:
  8863. description: 买卖 - 0:买 1:卖
  8864. type: integer
  8865. categoryid:
  8866. description: 类别ID(WRCATEGORY)
  8867. type: integer
  8868. currency:
  8869. description: 货币
  8870. type: string
  8871. currencysign:
  8872. description: 货币符号
  8873. type: string
  8874. customername:
  8875. description: 卖家名称
  8876. type: string
  8877. decimalplace:
  8878. description: 报价小数位
  8879. type: integer
  8880. goodscode:
  8881. description: 商品代码(内部)
  8882. type: string
  8883. goodsid:
  8884. description: 商品ID
  8885. type: integer
  8886. goodsname:
  8887. description: 商品名称
  8888. type: string
  8889. goodsprice:
  8890. description: 商品价格
  8891. type: number
  8892. hascoupon:
  8893. description: 是否可用优惠卷
  8894. type: boolean
  8895. hotindex:
  8896. description: 景点热度
  8897. type: integer
  8898. marketid:
  8899. description: 市场ID
  8900. type: integer
  8901. orderid:
  8902. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8903. type: string
  8904. orderprice:
  8905. description: 委托价格
  8906. type: number
  8907. orderstatus:
  8908. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8909. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8910. 16:成交失败违约(荷兰式竞拍专用)
  8911. type: integer
  8912. picurls:
  8913. description: 介绍图片[多张用逗号分隔]
  8914. type: string
  8915. quoteminunit:
  8916. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8917. type: integer
  8918. sellUserID:
  8919. description: 卖方UserID
  8920. type: integer
  8921. trademode:
  8922. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8923. 21:竞拍-大宗式 22:受托竞价
  8924. type: integer
  8925. videourls:
  8926. description: 介绍视频[多张用逗号分隔]
  8927. type: string
  8928. required:
  8929. - accountid
  8930. - buyorsell
  8931. - goodscode
  8932. - goodsid
  8933. - goodsname
  8934. - marketid
  8935. - orderid
  8936. - trademode
  8937. type: object
  8938. models.HsbyMarketGoodsDetail:
  8939. properties:
  8940. accountid:
  8941. description: 账户ID[报价币种]
  8942. type: integer
  8943. agreeunit:
  8944. description: 合约单位
  8945. type: number
  8946. buymaxqty:
  8947. description: 购买上限 [71] - 0为不限
  8948. type: integer
  8949. buyorsell:
  8950. description: 买卖 - 0:买 1:卖
  8951. type: integer
  8952. cancelqty:
  8953. description: 撤单数量
  8954. type: integer
  8955. categoryid:
  8956. description: 类别ID(WRCATEGORY)
  8957. type: integer
  8958. currency:
  8959. description: 货币
  8960. type: string
  8961. currencysign:
  8962. description: 货币符号
  8963. type: string
  8964. customername:
  8965. description: 卖家名称
  8966. type: string
  8967. decimalplace:
  8968. description: 报价小数位
  8969. type: integer
  8970. goodscode:
  8971. description: 商品代码(内部)
  8972. type: string
  8973. goodsdesc:
  8974. description: 商品详情
  8975. type: string
  8976. goodsid:
  8977. description: 商品ID
  8978. type: integer
  8979. goodsname:
  8980. description: 商品名称
  8981. type: string
  8982. goodsprice:
  8983. description: 商品价格
  8984. type: number
  8985. hotindex:
  8986. description: 景点热度
  8987. type: integer
  8988. lotsize:
  8989. description: 手数最小变动单位
  8990. type: integer
  8991. marketid:
  8992. description: 市场ID
  8993. type: integer
  8994. orderid:
  8995. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8996. type: string
  8997. orderprice:
  8998. description: 委托价格
  8999. type: number
  9000. orderqty:
  9001. description: 委托数量
  9002. type: integer
  9003. orderstatus:
  9004. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  9005. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  9006. 16:成交失败违约(荷兰式竞拍专用)
  9007. type: integer
  9008. picurls:
  9009. description: 介绍图片[多张用逗号分隔]
  9010. type: string
  9011. quoteminunit:
  9012. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9013. type: integer
  9014. sellUserID:
  9015. description: 卖方UserID
  9016. type: integer
  9017. trademode:
  9018. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9019. 21:竞拍-大宗式 22:受托竞价
  9020. type: integer
  9021. tradeqty:
  9022. description: 成交数量
  9023. type: integer
  9024. vendorattr:
  9025. description: 供应商附件(多张,逗号分隔)
  9026. type: string
  9027. vendorname:
  9028. description: 供应商名称
  9029. type: string
  9030. vendorphone:
  9031. description: 供应商客服电话
  9032. type: string
  9033. videourls:
  9034. description: 介绍视频[多张用逗号分隔]
  9035. type: string
  9036. required:
  9037. - accountid
  9038. - buyorsell
  9039. - goodscode
  9040. - goodsid
  9041. - goodsname
  9042. - marketid
  9043. - orderid
  9044. - orderqty
  9045. - trademode
  9046. type: object
  9047. models.HsbyMarketInfo:
  9048. properties:
  9049. marketid:
  9050. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  9051. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9052. type: integer
  9053. marketname:
  9054. description: 市场名称
  9055. type: string
  9056. marketstatus:
  9057. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9058. type: integer
  9059. trademode:
  9060. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9061. 21:竞拍-大宗式 22:受托竞价
  9062. type: integer
  9063. required:
  9064. - marketid
  9065. - marketstatus
  9066. - trademode
  9067. type: object
  9068. models.HsbyMyGoods:
  9069. properties:
  9070. accountid:
  9071. description: 账号Id
  9072. type: integer
  9073. agreeunit:
  9074. description: 合约单位
  9075. type: number
  9076. buyaverageprice:
  9077. description: 持仓均价
  9078. type: number
  9079. buycurholderamount:
  9080. description: 买当前持仓总金额[商品币种]
  9081. type: number
  9082. buycurpositionqty:
  9083. description: 买当前持仓总数量
  9084. type: integer
  9085. buymaxqty:
  9086. description: 购买上限 [71] - 0为不限
  9087. type: integer
  9088. currencysign:
  9089. description: 货币符号
  9090. type: string
  9091. decimalplace:
  9092. description: 报价小数位
  9093. type: integer
  9094. enableqty:
  9095. description: 可用数量
  9096. type: integer
  9097. goodscode:
  9098. description: 商品代码(内部)
  9099. type: string
  9100. goodsid:
  9101. description: 商品Id
  9102. type: integer
  9103. goodsname:
  9104. description: 商品名称
  9105. type: string
  9106. goodsprice:
  9107. description: 商品价格
  9108. type: number
  9109. goodsstatus:
  9110. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  9111. type: integer
  9112. last:
  9113. description: 现价(仅使用于挂牌点选)
  9114. type: number
  9115. limitdown:
  9116. description: 跌停价(仅使用于挂牌点选)
  9117. type: number
  9118. limitup:
  9119. description: 涨停价(仅使用于挂牌点选)
  9120. type: number
  9121. lotsize:
  9122. description: 手数最小变动单位
  9123. type: integer
  9124. marketid:
  9125. description: 所属市场ID
  9126. type: integer
  9127. picurls:
  9128. description: 介绍图片[多张用逗号分隔]
  9129. type: string
  9130. quoteminunit:
  9131. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9132. type: integer
  9133. stepvalue:
  9134. description: 价格最小变动单位
  9135. type: number
  9136. trademode:
  9137. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9138. 21:竞拍-大宗式 22:受托竞价
  9139. type: integer
  9140. required:
  9141. - accountid
  9142. - goodscode
  9143. - goodsid
  9144. - goodsname
  9145. - marketid
  9146. - trademode
  9147. type: object
  9148. models.HsbyMyPackage:
  9149. properties:
  9150. accountid:
  9151. description: 账户ID
  9152. type: integer
  9153. address:
  9154. description: 提货人详细地址
  9155. type: string
  9156. agreeunit:
  9157. description: 合约单位
  9158. type: number
  9159. amount:
  9160. description: 提货金额
  9161. type: number
  9162. auditer:
  9163. description: 审核人
  9164. type: integer
  9165. audittime:
  9166. description: 审核时间
  9167. type: string
  9168. averageprice:
  9169. description: 均价
  9170. type: number
  9171. cardnum:
  9172. description: 提货人证件号码
  9173. type: string
  9174. cardtypeid:
  9175. description: 提货人证件类型
  9176. type: integer
  9177. checkremark:
  9178. description: 审核备注
  9179. type: string
  9180. currencysign:
  9181. description: 货币符号
  9182. type: string
  9183. decimalplace:
  9184. description: 报价小数位
  9185. type: integer
  9186. goodscode:
  9187. description: 商品代码(内部)
  9188. type: string
  9189. goodsid:
  9190. description: 商品ID
  9191. type: integer
  9192. goodsname:
  9193. description: 商品名称
  9194. type: string
  9195. handlestatus:
  9196. description: 处理状态
  9197. type: integer
  9198. marketid:
  9199. description: 市场ID
  9200. type: integer
  9201. phonenum:
  9202. description: 提货人联系方式
  9203. type: string
  9204. picurls:
  9205. description: 介绍图片[多张用逗号分隔]
  9206. type: string
  9207. qty:
  9208. description: 提货数量
  9209. type: number
  9210. recivername:
  9211. description: 提货人姓名
  9212. type: string
  9213. reqtime:
  9214. description: 更新时间
  9215. type: string
  9216. takemode:
  9217. description: 提货方式 - 2:自提 3:配送
  9218. type: integer
  9219. takeorderid:
  9220. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  9221. type: string
  9222. takeorderstatus:
  9223. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  9224. type: integer
  9225. takeremark:
  9226. description: 提货备注
  9227. type: string
  9228. tradedate:
  9229. description: 交易日(yyyyMMdd)
  9230. type: string
  9231. trademode:
  9232. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9233. 21:竞拍-大宗式 22:受托竞价
  9234. type: integer
  9235. userid:
  9236. description: 用户ID
  9237. type: integer
  9238. vendorname:
  9239. description: 供应商名称
  9240. type: string
  9241. required:
  9242. - goodscode
  9243. - goodsname
  9244. - takeorderid
  9245. - trademode
  9246. type: object
  9247. models.HsbyPreGoods:
  9248. properties:
  9249. agreeunit:
  9250. description: 合约单位
  9251. type: number
  9252. currency:
  9253. description: 货币
  9254. type: string
  9255. currencysign:
  9256. description: 货币符号
  9257. type: string
  9258. decimalplace:
  9259. description: 报价小数位
  9260. type: integer
  9261. desccityid:
  9262. description: 目的地(市)
  9263. type: integer
  9264. descprovinceid:
  9265. description: 目的地(省)
  9266. type: integer
  9267. enableqty:
  9268. description: 剩余数量
  9269. type: integer
  9270. goodscode:
  9271. description: 商品代码(内部)
  9272. type: string
  9273. goodsid:
  9274. description: 商品ID(自增ID SEQ_GOODS)
  9275. type: integer
  9276. goodsname:
  9277. description: 商品名称
  9278. type: string
  9279. goodsstatus:
  9280. description: 商品状态- 2:未上市 3:上市
  9281. type: integer
  9282. lasttradedate:
  9283. description: 最后交易日期(状态:待退市)
  9284. type: string
  9285. listingdate:
  9286. description: 交易开始日期
  9287. type: string
  9288. marketid:
  9289. description: 所属市场ID
  9290. type: integer
  9291. picurls:
  9292. description: 介绍图片[多张用逗号分隔]
  9293. type: string
  9294. presaledqty:
  9295. description: 已预售量(预售结束时更新)
  9296. type: integer
  9297. presaleqty:
  9298. description: 预售数量
  9299. type: integer
  9300. quoteminunit:
  9301. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9302. type: integer
  9303. refprice:
  9304. description: 参考价格[一口价]
  9305. type: number
  9306. relatedgoodsid:
  9307. description: 关联交易合约ID
  9308. type: integer
  9309. trademode:
  9310. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9311. 21:竞拍-大宗式 22:受托竞价
  9312. type: integer
  9313. videourls:
  9314. description: 介绍视频[多张用逗号分隔]
  9315. type: string
  9316. required:
  9317. - goodscode
  9318. - goodsid
  9319. - goodsname
  9320. - marketid
  9321. - trademode
  9322. type: object
  9323. models.HsbyPreGoodsDetail:
  9324. properties:
  9325. agreeunit:
  9326. description: 合约单位
  9327. type: number
  9328. buymaxqty:
  9329. description: 购买上限 [71] - 0为不限
  9330. type: integer
  9331. currency:
  9332. description: 货币
  9333. type: string
  9334. currencysign:
  9335. description: 货币符号
  9336. type: string
  9337. customername:
  9338. description: 发行单位
  9339. type: string
  9340. decimalplace:
  9341. description: 报价小数位
  9342. type: integer
  9343. desccityid:
  9344. description: 目的地(市)ID
  9345. type: integer
  9346. descprovinceid:
  9347. description: 目的地(省)ID
  9348. type: integer
  9349. enableqty:
  9350. description: 剩余数量
  9351. type: integer
  9352. goodscode:
  9353. description: 商品代码(内部)
  9354. type: string
  9355. goodsdesc:
  9356. description: 商品详情
  9357. type: string
  9358. goodsid:
  9359. description: 商品ID(自增ID SEQ_GOODS)
  9360. type: integer
  9361. goodsname:
  9362. description: 商品名称
  9363. type: string
  9364. goodsstatus:
  9365. description: 商品状态- 2:未上市 3:上市
  9366. type: integer
  9367. goodunit:
  9368. description: 报价单位
  9369. type: string
  9370. lasttradedate:
  9371. description: 最后交易日期(状态:待退市)
  9372. type: string
  9373. listingdate:
  9374. description: 交易开始日期
  9375. type: string
  9376. lotsize:
  9377. description: 手数最小变动单位
  9378. type: integer
  9379. marketid:
  9380. description: 所属市场ID
  9381. type: integer
  9382. picurls:
  9383. description: 介绍图片[多张用逗号分隔]
  9384. type: string
  9385. presaledqty:
  9386. description: 已预售量(预售结束时更新)
  9387. type: integer
  9388. presaleqty:
  9389. description: 预售数量
  9390. type: integer
  9391. quoteminunit:
  9392. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9393. type: integer
  9394. refprice:
  9395. description: 参考价格[一口价]
  9396. type: number
  9397. relatedgoodsid:
  9398. description: 关联交易合约ID
  9399. type: integer
  9400. stepvalue:
  9401. description: 价格最小变动单位
  9402. type: number
  9403. trademode:
  9404. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9405. 21:竞拍-大宗式 22:受托竞价
  9406. type: integer
  9407. vendorattr:
  9408. description: 供应商附件(多张,逗号分隔)
  9409. type: string
  9410. vendorname:
  9411. description: 供应商名称
  9412. type: string
  9413. vendorphone:
  9414. description: 供应商客服电话
  9415. type: string
  9416. videourls:
  9417. description: 介绍视频[多张用逗号分隔]
  9418. type: string
  9419. required:
  9420. - goodscode
  9421. - goodsid
  9422. - goodsname
  9423. - marketid
  9424. - trademode
  9425. type: object
  9426. models.HsbySellCollectionOrder:
  9427. properties:
  9428. agreeunit:
  9429. description: 合约单位
  9430. type: number
  9431. buyaccountid:
  9432. description: 买方账号ID[报价币种]
  9433. type: integer
  9434. buyorderid:
  9435. description: 买方委托单号
  9436. type: string
  9437. createtime:
  9438. description: 创建时间
  9439. type: string
  9440. currencysign:
  9441. description: 货币符号
  9442. type: string
  9443. decimalplace:
  9444. description: 报价小数位
  9445. type: integer
  9446. goodscode:
  9447. description: 商品代码(内部)
  9448. type: string
  9449. goodsid:
  9450. description: 商品ID
  9451. type: integer
  9452. goodsname:
  9453. description: 商品名称
  9454. type: string
  9455. marketid:
  9456. description: 市场ID
  9457. type: integer
  9458. offamount:
  9459. description: 优惠金额
  9460. type: number
  9461. payamount:
  9462. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  9463. type: number
  9464. payflag:
  9465. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  9466. type: integer
  9467. paylimitedtime:
  9468. description: 支付期限
  9469. type: string
  9470. paytime:
  9471. description: 付款时间
  9472. type: string
  9473. picurls:
  9474. description: 商品介绍图片[多张用逗号分隔]
  9475. type: string
  9476. sellaccountid:
  9477. description: 卖方账号ID[报价币种]
  9478. type: integer
  9479. sellorderid:
  9480. description: 卖方委托单号
  9481. type: string
  9482. tradeamount:
  9483. description: 成交金额
  9484. type: number
  9485. tradecharge:
  9486. description: 成交手续费(买方)
  9487. type: number
  9488. tradedate:
  9489. description: 交易日(yyyyMMdd)
  9490. type: string
  9491. tradeid:
  9492. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9493. type: string
  9494. trademode:
  9495. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9496. 21:竞拍-大宗式 22:受托竞价
  9497. type: integer
  9498. tradeprice:
  9499. description: 成交价格
  9500. type: number
  9501. tradeqty:
  9502. description: 成交数量
  9503. type: integer
  9504. required:
  9505. - goodscode
  9506. - goodsname
  9507. - tradeid
  9508. - trademode
  9509. type: object
  9510. models.HsbySellMyDetail:
  9511. properties:
  9512. accountid:
  9513. description: 账户ID[报价币种]
  9514. type: integer
  9515. agreeunit:
  9516. description: 合约单位
  9517. type: number
  9518. buyorsell:
  9519. description: 买卖 - 0:买 1:卖
  9520. type: integer
  9521. currencysign:
  9522. description: 货币符号
  9523. type: string
  9524. decimalplace:
  9525. description: 报价小数位
  9526. type: integer
  9527. goodscode:
  9528. description: 商品代码(内部)
  9529. type: string
  9530. goodsid:
  9531. description: 商品ID
  9532. type: integer
  9533. goodsname:
  9534. description: 商品名称
  9535. type: string
  9536. marketid:
  9537. description: 市场ID
  9538. type: integer
  9539. orderid:
  9540. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  9541. type: string
  9542. ordertype:
  9543. description: 单据类型:0 - 发布中, 1 - 已完成
  9544. type: integer
  9545. picurls:
  9546. description: 介绍图片[多张用逗号分隔]
  9547. type: string
  9548. price:
  9549. description: 价格
  9550. type: number
  9551. qty:
  9552. description: 数量
  9553. type: integer
  9554. time:
  9555. description: 时间
  9556. type: string
  9557. trademode:
  9558. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9559. 21:竞拍-大宗式 22:受托竞价
  9560. type: integer
  9561. vendorname:
  9562. description: 供应商名称
  9563. type: string
  9564. required:
  9565. - accountid
  9566. - buyorsell
  9567. - goodscode
  9568. - goodsid
  9569. - goodsname
  9570. - marketid
  9571. - orderid
  9572. - time
  9573. - trademode
  9574. type: object
  9575. models.HsbyTopGoods:
  9576. properties:
  9577. agreeunit:
  9578. description: 合约单位
  9579. type: number
  9580. currency:
  9581. description: 货币
  9582. type: string
  9583. currencysign:
  9584. description: 货币符号
  9585. type: string
  9586. decimalplace:
  9587. description: 报价小数位
  9588. type: integer
  9589. desccityid:
  9590. description: 目的地(市)
  9591. type: integer
  9592. descprovinceid:
  9593. description: 目的地(省)
  9594. type: integer
  9595. goodscode:
  9596. description: 商品代码(内部)
  9597. type: string
  9598. goodsid:
  9599. description: 商品ID(自增ID SEQ_GOODS)
  9600. type: integer
  9601. goodsname:
  9602. description: 商品名称
  9603. type: string
  9604. hotindex:
  9605. description: 景点热度
  9606. type: integer
  9607. last:
  9608. description: 现价
  9609. type: number
  9610. marketid:
  9611. description: 所属市场ID
  9612. type: integer
  9613. picurls:
  9614. description: 介绍图片[多张用逗号分隔]
  9615. type: string
  9616. quoteminunit:
  9617. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9618. type: integer
  9619. trademode:
  9620. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9621. 21:竞拍-大宗式 22:受托竞价
  9622. type: integer
  9623. videourls:
  9624. description: 介绍视频[多张用逗号分隔]
  9625. type: string
  9626. required:
  9627. - goodscode
  9628. - goodsid
  9629. - goodsname
  9630. - marketid
  9631. - trademode
  9632. type: object
  9633. models.HybsMyBuyOrderDetail:
  9634. properties:
  9635. accountid:
  9636. description: 账户ID[报价币种]
  9637. type: integer
  9638. agreeunit:
  9639. description: 合约单位
  9640. type: number
  9641. buyorsell:
  9642. description: 买卖 - 0:买 1:卖
  9643. type: integer
  9644. cancelqty:
  9645. description: 撤单数量
  9646. type: integer
  9647. currencysign:
  9648. description: 货币符号
  9649. type: string
  9650. decimalplace:
  9651. description: 报价小数位
  9652. type: integer
  9653. goodscode:
  9654. description: 商品代码(内部)
  9655. type: string
  9656. goodsid:
  9657. description: 商品ID
  9658. type: integer
  9659. goodsname:
  9660. description: 商品名称
  9661. type: string
  9662. listingselecttype:
  9663. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9664. type: integer
  9665. marketid:
  9666. description: 市场ID
  9667. type: integer
  9668. mybuystatus:
  9669. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  9670. type: integer
  9671. orderamount:
  9672. description: 委托金额
  9673. type: number
  9674. orderid:
  9675. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9676. type: string
  9677. orderprice:
  9678. description: 委托价格
  9679. type: number
  9680. orderqty:
  9681. description: 委托数量
  9682. type: integer
  9683. orderstatus:
  9684. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  9685. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  9686. 16:成交失败违约(荷兰式竞拍专用)
  9687. type: integer
  9688. ordertime:
  9689. description: 委托时间
  9690. type: string
  9691. picurls1:
  9692. description: 预售商品介绍图片[多张用逗号分隔]
  9693. type: string
  9694. picurls2:
  9695. description: 挂牌商品介绍图片[多张用逗号分隔]
  9696. type: string
  9697. trademode:
  9698. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9699. 21:竞拍-大宗式 22:受托竞价
  9700. type: integer
  9701. tradeqty:
  9702. description: 成交数量
  9703. type: integer
  9704. vendorname1:
  9705. description: 预售商品供应商名称
  9706. type: string
  9707. vendorname2:
  9708. description: 挂牌商品供应商名称
  9709. type: string
  9710. required:
  9711. - accountid
  9712. - buyorsell
  9713. - goodscode
  9714. - goodsid
  9715. - goodsname
  9716. - marketid
  9717. - orderid
  9718. - orderqty
  9719. - ordertime
  9720. - trademode
  9721. type: object
  9722. models.Loginaccount:
  9723. properties:
  9724. accountname:
  9725. description: 账户名称
  9726. type: string
  9727. canoutin:
  9728. description: 是否可出入金 - 0:不可 1:可
  9729. type: integer
  9730. clientroleid:
  9731. description: 终端角色ID
  9732. type: integer
  9733. haslogined:
  9734. description: 是否已登录 - 0:未登录 1:已登录
  9735. type: integer
  9736. hasupdatedpwd:
  9737. description: 是否已更改密码 - 0:未修改 1:已修改
  9738. type: integer
  9739. lastloginip:
  9740. description: 最新登录地址
  9741. type: string
  9742. lastloginmode:
  9743. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  9744. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9745. type: integer
  9746. lastloginremark:
  9747. description: 最新登录描述
  9748. type: string
  9749. lastlogintime:
  9750. description: 最新登录时间
  9751. type: string
  9752. logincode:
  9753. description: 登录代码
  9754. type: string
  9755. loginfailnum:
  9756. description: 连续登录失败次数(登录成功时清零)
  9757. type: integer
  9758. loginid:
  9759. description: 登陆账号
  9760. type: integer
  9761. loginport:
  9762. description: 最新登录端口
  9763. type: integer
  9764. loginstatus:
  9765. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  9766. type: integer
  9767. loginusertype:
  9768. description: 登录账号类型 - 1:投资者 2:机构交易员
  9769. type: integer
  9770. mobile:
  9771. description: 手机号码(加密存储)
  9772. type: string
  9773. modifierid:
  9774. description: 修改人
  9775. type: integer
  9776. modifysrc:
  9777. description: 审核来源 - 1:管理端 2:终端
  9778. type: integer
  9779. modifytime:
  9780. description: 修改时间
  9781. type: string
  9782. password:
  9783. description: 登陆密码
  9784. type: string
  9785. pwdwrongcount:
  9786. description: 密码错误次数
  9787. type: integer
  9788. relateduserid:
  9789. description: 关联用户ID(机构)
  9790. type: integer
  9791. taaccountrighttype:
  9792. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  9793. type: integer
  9794. unfreezetime:
  9795. description: 账户解冻时间
  9796. type: string
  9797. userid:
  9798. description: 用户ID
  9799. type: integer
  9800. required:
  9801. - loginid
  9802. type: object
  9803. models.MainAccountInfo:
  9804. properties:
  9805. accountid:
  9806. description: 账号id
  9807. type: integer
  9808. accountname:
  9809. description: 账号名称(taaccount表中的名称)
  9810. type: string
  9811. appid:
  9812. description: AppID
  9813. type: string
  9814. authcode:
  9815. description: 授权码
  9816. type: string
  9817. brokerid:
  9818. description: 经纪商id
  9819. type: string
  9820. fcid:
  9821. description: 期货公司id
  9822. type: integer
  9823. fcname:
  9824. description: 期货公司代码
  9825. type: string
  9826. hedgeaccountcode:
  9827. description: 外部账号代码(主账号登录代码)
  9828. type: string
  9829. hedgeaccountpwd:
  9830. description: 密码
  9831. type: string
  9832. ismain:
  9833. description: 是否主账号
  9834. type: integer
  9835. relateduserid:
  9836. description: 关联用户id
  9837. type: integer
  9838. userid:
  9839. description: 关联用户id
  9840. type: integer
  9841. type: object
  9842. models.Market:
  9843. properties:
  9844. auctionwrtype:
  9845. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  9846. type: integer
  9847. canacceptquote:
  9848. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  9849. type: integer
  9850. cangoodsexercise:
  9851. description: '[期权]是否可现货行权- 0:否 1:是'
  9852. type: integer
  9853. cangoodsexercisetype:
  9854. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  9855. type: integer
  9856. canmanualquotestrike:
  9857. description: 是否可手动报行权价- 0:否 1:是 [期权]
  9858. type: integer
  9859. canmutistage:
  9860. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  9861. type: integer
  9862. canpreexercise:
  9863. description: '[期权]是否可预申报- 0:否 1:是'
  9864. type: integer
  9865. clearinterval:
  9866. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  9867. type: integer
  9868. contracttmp:
  9869. description: 合同模板[荷兰式][竞价式][仓单贸易]
  9870. type: string
  9871. exchareaid:
  9872. description: 所属交易所,可以没有
  9873. type: integer
  9874. goodstype:
  9875. description: 商品类型 - 1:交易商品 2:仓单商品
  9876. type: integer
  9877. hasrebate:
  9878. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  9879. type: integer
  9880. hastradecredit:
  9881. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  9882. type: integer
  9883. haswr:
  9884. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  9885. type: integer
  9886. isdeductmargin:
  9887. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  9888. type: integer
  9889. isrecordsource:
  9890. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  9891. type: integer
  9892. isreleasemargin:
  9893. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  9894. type: integer
  9895. marginformula:
  9896. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9897. type: integer
  9898. marginformula2:
  9899. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9900. type: integer
  9901. marketid:
  9902. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  9903. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9904. type: integer
  9905. marketname:
  9906. description: 市场名称
  9907. type: string
  9908. marketserviceid:
  9909. description: 市场服务ID
  9910. type: integer
  9911. marketstatus:
  9912. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9913. type: integer
  9914. markettype:
  9915. description: 市场类型- 1:非交易服务 2:交易服务
  9916. type: integer
  9917. matchermode:
  9918. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9919. type: integer
  9920. openmethod:
  9921. description: 开盘模式 - 0 自动 1手动
  9922. type: integer
  9923. otcuserid:
  9924. description: 场外期权做市商[场外期权]
  9925. type: integer
  9926. outersynctime:
  9927. description: 外部同步时间点(h24:mi:ss)[场外期权]
  9928. type: string
  9929. pendingflag:
  9930. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  9931. type: integer
  9932. pendingtime:
  9933. description: 待开市时间[通道交易-对冲](HH:mm)
  9934. type: string
  9935. performancetempid:
  9936. description: 履约计划模板ID - 作废
  9937. type: integer
  9938. premiumquotemode:
  9939. description: 权利金报价方式 - 1:自动 2:手动
  9940. type: integer
  9941. rebateratio:
  9942. description: 返利比率[竞价式]
  9943. type: number
  9944. reckonorder:
  9945. description: 结算顺序
  9946. type: integer
  9947. reckonpricealgorithm:
  9948. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  9949. 6.卖一价 7.买一卖一均价 8.外部结算价'
  9950. type: integer
  9951. reckonpriceparam:
  9952. description: 结算价参数
  9953. type: integer
  9954. reckontime:
  9955. description: 结算时间[通道交易-对冲](HH:mm)
  9956. type: string
  9957. roleprioritytype:
  9958. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  9959. type: integer
  9960. selllistingauditflag:
  9961. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  9962. type: integer
  9963. trademarkettype:
  9964. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9965. type: integer
  9966. trademode:
  9967. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9968. 21:竞拍-大宗式 22:受托竞价
  9969. type: integer
  9970. tradeproperty:
  9971. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  9972. 8:场外期权
  9973. type: integer
  9974. tradetype:
  9975. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9976. type: integer
  9977. required:
  9978. - marketid
  9979. - marketstatus
  9980. - openmethod
  9981. - reckonpricealgorithm
  9982. - trademode
  9983. - tradeproperty
  9984. type: object
  9985. models.Marketrun:
  9986. properties:
  9987. afternexttradedate:
  9988. description: 下下交易日
  9989. type: string
  9990. clearquoteflag:
  9991. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9992. type: integer
  9993. lastreckondate:
  9994. description: 最新交易日(结算成功)
  9995. type: string
  9996. machinedate:
  9997. description: 机器时间
  9998. type: string
  9999. manualflag:
  10000. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  10001. type: integer
  10002. marketid:
  10003. description: 市场ID
  10004. type: integer
  10005. nexttradedate:
  10006. description: 下一交易日
  10007. type: string
  10008. pretradedate:
  10009. description: 上一交易日
  10010. type: string
  10011. reckonflag:
  10012. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  10013. type: integer
  10014. runstatus:
  10015. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  10016. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  10017. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  10018. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  10019. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  10020. 62.今日免清算
  10021. type: integer
  10022. sectionid:
  10023. description: 时间段号[多时段时用]
  10024. type: integer
  10025. tradedate:
  10026. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  10027. type: string
  10028. tradedate2:
  10029. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  10030. type: string
  10031. updatetime:
  10032. description: 更新时间
  10033. type: string
  10034. required:
  10035. - marketid
  10036. - nexttradedate
  10037. - reckonflag
  10038. - runstatus
  10039. - tradedate
  10040. - tradedate2
  10041. type: object
  10042. models.Messageboard:
  10043. properties:
  10044. contactnum:
  10045. description: 联系电话
  10046. type: string
  10047. createtime:
  10048. description: 创建时间
  10049. type: string
  10050. message:
  10051. description: 留言信息
  10052. type: string
  10053. messageboardid:
  10054. description: 留言簿ID(SEQ_MessageBoard)
  10055. type: integer
  10056. userid:
  10057. description: 用户ID
  10058. type: integer
  10059. required:
  10060. - messageboardid
  10061. type: object
  10062. models.MyCoupon:
  10063. properties:
  10064. accountid:
  10065. description: 资金账户ID
  10066. type: integer
  10067. areauserid:
  10068. description: 所属机构
  10069. type: integer
  10070. conditionvalue:
  10071. description: 条件阈值(可为0)
  10072. type: number
  10073. couponcategroy:
  10074. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  10075. type: integer
  10076. couponname:
  10077. description: 优惠券名称
  10078. type: string
  10079. coupontypeid:
  10080. description: 优惠券类型ID
  10081. type: string
  10082. couponvalue:
  10083. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  10084. type: number
  10085. curfreezeqty:
  10086. description: 期末冻结数量
  10087. type: integer
  10088. curqty:
  10089. description: 期末数量
  10090. type: integer
  10091. isgeneral:
  10092. description: 是否通用券 - 0:否 1:是
  10093. type: integer
  10094. isunusable:
  10095. description: 是否不可用
  10096. type: boolean
  10097. limitedflag:
  10098. description: 是否指定商品 - 0:不限 1:限制
  10099. type: integer
  10100. limitedgoodsids:
  10101. description: 指定商品IDs[逗号分隔,前后加逗号]
  10102. type: string
  10103. orifreezeqty:
  10104. description: 期初冻结数量
  10105. type: integer
  10106. oriqty:
  10107. description: 期初数量
  10108. type: integer
  10109. reasontype:
  10110. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  10111. type: integer
  10112. todaydecrease:
  10113. description: 今日减少
  10114. type: integer
  10115. todayincrease:
  10116. description: 今日增加
  10117. type: integer
  10118. userid:
  10119. description: 用户ID
  10120. type: integer
  10121. userscope:
  10122. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  10123. type: string
  10124. required:
  10125. - accountid
  10126. - coupontypeid
  10127. type: object
  10128. models.MyCouponHold:
  10129. properties:
  10130. accountid:
  10131. description: 资金账户ID
  10132. type: integer
  10133. conditionvalue:
  10134. description: 条件阈值(可为0)
  10135. type: number
  10136. couponcategroy:
  10137. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  10138. type: integer
  10139. couponholdid:
  10140. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  10141. type: string
  10142. couponname:
  10143. description: 优惠券名称
  10144. type: string
  10145. coupontypeid:
  10146. description: 优惠券类型ID - SEQ_COUPONTYPE
  10147. type: string
  10148. couponvalue:
  10149. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  10150. type: number
  10151. createtime:
  10152. description: 创建时间
  10153. type: string
  10154. enddate:
  10155. description: 结束日期
  10156. type: string
  10157. giveapplyid:
  10158. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  10159. type: integer
  10160. holdstatus:
  10161. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  10162. type: integer
  10163. isgeneral:
  10164. description: 是否通用券 - 0:否 1:是
  10165. type: integer
  10166. limitedflag:
  10167. description: 是否指定商品 - 0:不限 1:限制
  10168. type: integer
  10169. limitedgoodsids:
  10170. description: 指定商品IDs[逗号分隔]
  10171. type: string
  10172. qty:
  10173. description: 数量(按1平铺)
  10174. type: integer
  10175. startdate:
  10176. description: 开始日期
  10177. type: string
  10178. userid:
  10179. description: 用户ID
  10180. type: integer
  10181. userscope:
  10182. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  10183. type: string
  10184. required:
  10185. - couponholdid
  10186. type: object
  10187. models.MyUsedCoupon:
  10188. properties:
  10189. accountid:
  10190. description: 资金账户ID(买方)
  10191. type: integer
  10192. conditionvalue:
  10193. description: 条件阈值(可为0)
  10194. type: number
  10195. couponcategroy:
  10196. description: 种类 - 1:现金券 2:折扣券
  10197. type: integer
  10198. couponname:
  10199. description: 优惠券名称
  10200. type: string
  10201. coupontypeid:
  10202. description: 优惠券类型ID(买方)
  10203. type: string
  10204. couponvalue:
  10205. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  10206. type: number
  10207. createtime:
  10208. description: 创建时间
  10209. type: string
  10210. goodsid:
  10211. description: 商品ID
  10212. type: integer
  10213. handlestatus:
  10214. description: 处理状态
  10215. type: integer
  10216. marketid:
  10217. description: 市场ID
  10218. type: integer
  10219. offamount:
  10220. description: 优惠金额
  10221. type: number
  10222. orderid:
  10223. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10224. type: string
  10225. sellaccountid:
  10226. description: 资金账户ID(卖方)
  10227. type: integer
  10228. tradeamount:
  10229. description: 成交金额
  10230. type: number
  10231. tradeid:
  10232. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10233. type: string
  10234. usedqty:
  10235. description: 使用数量
  10236. type: integer
  10237. required:
  10238. - coupontypeid
  10239. - orderid
  10240. type: object
  10241. models.OperationPrimaryMenu:
  10242. properties:
  10243. Children:
  10244. description: 二级功能菜单
  10245. items:
  10246. $ref: '#/definitions/models.OperationSecondaryMenu'
  10247. type: array
  10248. Key:
  10249. description: 菜单KEY
  10250. type: string
  10251. Label:
  10252. description: 菜单标题
  10253. type: string
  10254. type: object
  10255. models.OperationSecondaryMenu:
  10256. properties:
  10257. Key:
  10258. description: 菜单KEY
  10259. type: string
  10260. Label:
  10261. description: 菜单标题
  10262. type: string
  10263. TabList:
  10264. description: 三级功能菜单
  10265. items:
  10266. $ref: '#/definitions/models.OperationTabMenu'
  10267. type: array
  10268. type: object
  10269. models.OperationTabMenu:
  10270. properties:
  10271. Key:
  10272. description: 菜单KEY
  10273. type: string
  10274. Label:
  10275. description: 菜单标题
  10276. type: string
  10277. type: object
  10278. models.QhjAccountOutInApply:
  10279. properties:
  10280. accountcode:
  10281. description: 资金账号
  10282. type: string
  10283. accountname:
  10284. description: 用户名称(名称)
  10285. type: string
  10286. accountpwd:
  10287. description: 资金密码
  10288. type: string
  10289. accountticket:
  10290. description: 最新账户服务流水号
  10291. type: string
  10292. amount:
  10293. description: 金额
  10294. type: number
  10295. applyremark:
  10296. description: 申请备注
  10297. type: string
  10298. applystatus:
  10299. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  10300. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  10301. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  10302. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  10303. type: integer
  10304. auditid:
  10305. description: 审核人
  10306. type: integer
  10307. audittime:
  10308. description: 审核时间
  10309. type: string
  10310. bank_apply_ticket:
  10311. description: 银行申请流水
  10312. type: string
  10313. bankaccountname:
  10314. description: 银行账户名
  10315. type: string
  10316. bankaccountno:
  10317. description: 银行卡号
  10318. type: string
  10319. bankid:
  10320. description: 银行编号
  10321. type: string
  10322. bankticket:
  10323. description: 银行流水
  10324. type: string
  10325. branchbankid:
  10326. description: 银行支行号
  10327. type: string
  10328. branchbankname:
  10329. description: 银行支行名称
  10330. type: string
  10331. capamountout:
  10332. description: 出金(劣后本金) - 外部子账户
  10333. type: number
  10334. certificatephotourl:
  10335. description: 凭证地址
  10336. type: string
  10337. charge:
  10338. description: 手续费
  10339. type: number
  10340. checkerrorflag:
  10341. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10342. type: integer
  10343. currency:
  10344. description: 币种
  10345. type: string
  10346. cusbankid:
  10347. description: 托管银行编号
  10348. type: string
  10349. exchticket:
  10350. description: 银行服务流水号
  10351. type: string
  10352. executetype:
  10353. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  10354. 7:外部子账户:入金 8:外部子账户:出金'
  10355. type: integer
  10356. extendinfo:
  10357. description: 扩展信息
  10358. type: string
  10359. extoperateid:
  10360. description: 交易服务流水号
  10361. type: integer
  10362. infamount:
  10363. description: 劣后金额(自有)
  10364. type: number
  10365. logincode:
  10366. description: 登录账号(账号)
  10367. type: string
  10368. netaddr:
  10369. description: 调转网址
  10370. type: string
  10371. priamount:
  10372. description: 优先金额(授信)
  10373. type: number
  10374. reauditid:
  10375. description: 复审人
  10376. type: integer
  10377. reauditremark:
  10378. description: 复审备注
  10379. type: string
  10380. reaudittime:
  10381. description: 复审时间
  10382. type: string
  10383. relatedorderid:
  10384. description: 三方关联ID
  10385. type: string
  10386. remark:
  10387. description: 备注
  10388. type: string
  10389. remark2:
  10390. description: 备注(失败原因)
  10391. type: string
  10392. soucreamount:
  10393. description: 原始出入金金额
  10394. type: number
  10395. soucrecurrencyid:
  10396. description: 原始出入金币种
  10397. type: integer
  10398. tradedate:
  10399. description: 交易日(yyyyMMdd)
  10400. type: string
  10401. updatetime:
  10402. description: 更新时间(申请时间)
  10403. type: string
  10404. userid:
  10405. description: 用户id
  10406. type: integer
  10407. userinfotype:
  10408. description: 账户类型 1-个人 2-企业
  10409. type: integer
  10410. type: object
  10411. models.QhjAgreementChangeLog:
  10412. properties:
  10413. agreementcontent:
  10414. description: 协议内容
  10415. type: string
  10416. agreementfrequency:
  10417. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10418. type: integer
  10419. agreementid:
  10420. description: 协议ID
  10421. type: integer
  10422. agreementname:
  10423. description: 协议名称
  10424. type: string
  10425. agreementno:
  10426. description: 协议编号
  10427. type: string
  10428. agreementtype:
  10429. description: 协议类型 - 1:注册 2:登录 3:交易
  10430. type: integer
  10431. agreementversion:
  10432. description: 协议版本号
  10433. type: integer
  10434. logid:
  10435. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  10436. type: integer
  10437. reviserid:
  10438. description: 修改人
  10439. type: integer
  10440. revisersrc:
  10441. description: 修改来源 - 1:管理端 2:终端
  10442. type: integer
  10443. updatetime:
  10444. description: 更新时间
  10445. type: string
  10446. type: object
  10447. models.QhjAgreementConfig:
  10448. properties:
  10449. agreementcontent:
  10450. description: 协议内容
  10451. type: string
  10452. agreementfrequency:
  10453. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10454. type: integer
  10455. agreementid:
  10456. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  10457. type: integer
  10458. agreementname:
  10459. description: 协议名称
  10460. type: string
  10461. agreementno:
  10462. description: 协议编号
  10463. type: string
  10464. agreementtype:
  10465. description: 协议类型 - 1:注册 2:登录 3:交易
  10466. type: integer
  10467. agreementversion:
  10468. description: 协议版本号(从1开始每次修改加1)
  10469. type: integer
  10470. createtime:
  10471. description: 创建时间
  10472. type: string
  10473. creatorid:
  10474. description: 创建人
  10475. type: integer
  10476. creatorsrc:
  10477. description: 创建来源 - 1:管理端 2:终端
  10478. type: integer
  10479. isvalid:
  10480. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  10481. type: integer
  10482. reviserid:
  10483. description: 修改人
  10484. type: integer
  10485. revisersrc:
  10486. description: 修改来源 - 1:管理端 2:终端
  10487. type: integer
  10488. updatetime:
  10489. description: 更新时间
  10490. type: string
  10491. type: object
  10492. models.QhjAreaFinanceConfig:
  10493. properties:
  10494. additionalratio:
  10495. description: 追加款比例
  10496. type: number
  10497. advanceratio:
  10498. description: 预付款比例
  10499. type: number
  10500. alarmratio:
  10501. description: 告警比例
  10502. type: number
  10503. consumptiondirectreward:
  10504. description: 消费直推奖励值
  10505. type: number
  10506. consumptionenabled:
  10507. description: 是否启用消费奖励 - 0:不启用 1:启用
  10508. type: integer
  10509. consumptionindirectreward:
  10510. description: 消费间推奖励值
  10511. type: number
  10512. consumptionmodel:
  10513. description: 消费奖励方式 - 1:比率 2:固定
  10514. type: integer
  10515. customerservicenum:
  10516. description: 客服电话
  10517. type: string
  10518. dayinterestrate:
  10519. description: 日利率
  10520. type: number
  10521. disableconsumptiontips:
  10522. description: 关闭消费奖励提示
  10523. type: string
  10524. modifierid:
  10525. description: 修改人ID
  10526. type: integer
  10527. modifysrc:
  10528. description: 审核来源 - 1:管理端 2:终端
  10529. type: integer
  10530. modifytime:
  10531. description: 修改时间
  10532. type: string
  10533. promotionvalue:
  10534. description: 推广奖励值(固定)
  10535. type: number
  10536. scoreconfigvalue1:
  10537. description: 提货积分配置1
  10538. type: integer
  10539. scoreconfigvalue2:
  10540. description: 提货积分配置2
  10541. type: integer
  10542. userid:
  10543. description: 机构用户ID其他做市关系,都设置为 1
  10544. type: integer
  10545. username:
  10546. description: 用户名称
  10547. type: string
  10548. type: object
  10549. models.QhjBankAccountSign:
  10550. properties:
  10551. accountcode:
  10552. description: 资金账号
  10553. type: string
  10554. accountname:
  10555. description: 资金账号对应的账号名(UserName)
  10556. type: string
  10557. accountname2:
  10558. description: 资金账号对应的账号名(UserName) - 密文
  10559. type: string
  10560. accounttype:
  10561. description: 账户类型(UserType)
  10562. type: integer
  10563. applicationtime:
  10564. description: 最后一次更新的时间
  10565. type: string
  10566. applyexchticket:
  10567. description: 申请流水
  10568. type: string
  10569. auditid:
  10570. description: 审核人
  10571. type: integer
  10572. audittime:
  10573. description: 审核时间
  10574. type: string
  10575. bankaccountname:
  10576. description: 签约银行卡账号名
  10577. type: string
  10578. bankaccountname2:
  10579. description: 签约银行卡账号名 - 密文
  10580. type: string
  10581. bankaccountno:
  10582. description: 银行卡号
  10583. type: string
  10584. bankaccountno2:
  10585. description: 银行卡号 - 密文
  10586. type: string
  10587. bankaccounttype:
  10588. description: 银行账户类型 - 1-对私; 2-对公
  10589. type: integer
  10590. bankcardtype:
  10591. description: 银行卡类型
  10592. type: integer
  10593. bankchildaccount:
  10594. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  10595. type: string
  10596. bankcity:
  10597. description: 开户行城市
  10598. type: string
  10599. bankid:
  10600. description: 签约银行ID
  10601. type: string
  10602. bankname:
  10603. description: 签约银行名称
  10604. type: string
  10605. bankprovince:
  10606. description: 开户行省份
  10607. type: string
  10608. branchbankid:
  10609. description: 签约银行支行号
  10610. type: string
  10611. branchbankname:
  10612. description: 签约银行支行名称
  10613. type: string
  10614. cardno:
  10615. description: 证件号码
  10616. type: string
  10617. cardno2:
  10618. description: 证件号码 - 密文
  10619. type: string
  10620. cardtype:
  10621. description: 证件类型
  10622. type: string
  10623. currency:
  10624. description: 币种
  10625. type: string
  10626. cusbankid:
  10627. description: 托管银行编号
  10628. type: string
  10629. direct:
  10630. description: 方向(可以判断那方先发起的签约)
  10631. type: integer
  10632. exchticket:
  10633. description: 最后一次签约成功的流水号
  10634. type: string
  10635. extendinfo:
  10636. description: 扩展信息(JSON字符串)
  10637. type: string
  10638. mobilephone:
  10639. description: 手机号
  10640. type: string
  10641. mobilephone2:
  10642. description: 手机号 - 密文
  10643. type: string
  10644. netaddr:
  10645. description: 调转网址
  10646. type: string
  10647. relateduserid:
  10648. description: 关联使用者userid
  10649. type: integer
  10650. signstatus:
  10651. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  10652. 10:审核拒绝 11:换签待审核
  10653. type: integer
  10654. updatetime:
  10655. description: 更新时间(签解约更新时间)
  10656. type: string
  10657. type: object
  10658. models.QhjBankInfo:
  10659. properties:
  10660. bankid:
  10661. description: 银行ID
  10662. type: string
  10663. bankname:
  10664. description: 银行名称
  10665. type: string
  10666. clearbankno:
  10667. description: 清算系统银行编号
  10668. type: string
  10669. orderindex:
  10670. description: 排序顺序
  10671. type: integer
  10672. status:
  10673. description: 状态 - 0:正常 1:注销
  10674. type: integer
  10675. type: object
  10676. models.QhjBrokerApply:
  10677. properties:
  10678. applicantid:
  10679. description: 申请人
  10680. type: integer
  10681. applysrc:
  10682. description: 申请来源 - 1:管理端 2:终端
  10683. type: integer
  10684. applystatus:
  10685. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10686. type: integer
  10687. applytime:
  10688. description: 申请时间
  10689. type: string
  10690. auditorid:
  10691. description: 审核人
  10692. type: integer
  10693. auditremark:
  10694. description: 审核备注
  10695. type: string
  10696. auditsrc:
  10697. description: 审核来源 - 1:管理端 2:终端
  10698. type: integer
  10699. audittime:
  10700. description: 审核时间
  10701. type: string
  10702. audittradedate:
  10703. description: 审核交易日(yyyyMMdd)
  10704. type: string
  10705. brokerapplyid:
  10706. description: 申请ID(SEQ_BROKERAPPLY)
  10707. type: integer
  10708. cardbackphotourl:
  10709. description: 证件背面图片地址
  10710. type: string
  10711. cardfrontphotourl:
  10712. description: 证件正面图片地址
  10713. type: string
  10714. cardnum:
  10715. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  10716. type: string
  10717. customername:
  10718. description: 姓名
  10719. type: string
  10720. logincode:
  10721. description: 登录代码
  10722. type: string
  10723. mobile:
  10724. description: 手机号码
  10725. type: string
  10726. parentuserid:
  10727. description: 所属机构id
  10728. type: integer
  10729. parentusername:
  10730. description: 所属机构名称
  10731. type: string
  10732. refereeuserid:
  10733. description: 推荐人id(经纪人)
  10734. type: integer
  10735. refernum:
  10736. description: 推荐码
  10737. type: string
  10738. remark:
  10739. description: 备注
  10740. type: string
  10741. subarealevelpath:
  10742. description: 层级路径
  10743. type: string
  10744. tradedate:
  10745. description: 交易日(yyyyMMdd)
  10746. type: string
  10747. userid:
  10748. description: 申请人用户ID
  10749. type: integer
  10750. userinfotype:
  10751. description: 用户类型 1-个人 2-企业
  10752. type: integer
  10753. username:
  10754. description: 用户名称
  10755. type: string
  10756. type: object
  10757. models.QhjBrokerApplyEx:
  10758. properties:
  10759. applylist:
  10760. description: 经纪人申请记录(只返回最新一条)
  10761. items:
  10762. $ref: '#/definitions/models.QhjBrokerApply'
  10763. type: array
  10764. canrecommend:
  10765. description: 是否经纪人 0-不是 1-是
  10766. type: integer
  10767. refernum:
  10768. description: 推荐码
  10769. type: string
  10770. userid:
  10771. description: 用户id
  10772. type: integer
  10773. userinfotype:
  10774. description: 用户类型 1-个人 2-企业
  10775. type: integer
  10776. type: object
  10777. models.QhjBrokerRewardLog:
  10778. properties:
  10779. accountid:
  10780. description: 资金账号ID
  10781. type: integer
  10782. createtime:
  10783. description: 创建时间(时间)
  10784. type: string
  10785. handlestatus:
  10786. description: 处理状态
  10787. type: integer
  10788. logid:
  10789. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10790. type: string
  10791. marketid:
  10792. description: 市场ID
  10793. type: integer
  10794. mmaccountid:
  10795. description: 做市商资金账号ID
  10796. type: string
  10797. mmuserid:
  10798. description: 做市商用户ID
  10799. type: string
  10800. rewardamount:
  10801. description: 奖励金额
  10802. type: number
  10803. rewardmodel:
  10804. description: 消费奖励方式 - 1:比率 2:固定
  10805. type: integer
  10806. rewardtype:
  10807. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  10808. type: integer
  10809. rewardvalue:
  10810. description: 配置奖励值
  10811. type: number
  10812. srcamount:
  10813. description: 成交金额 [消费奖励] (金额)
  10814. type: number
  10815. srcgoodsid:
  10816. description: 来源商品ID [消费奖励]
  10817. type: string
  10818. srctime:
  10819. description: 来源时间 (成交时间) [消费奖励]
  10820. type: string
  10821. srctradeid:
  10822. description: 来源成交单ID [消费奖励] - 排除提货成交
  10823. type: string
  10824. srcuserid:
  10825. description: 来源用户ID(推广账户)
  10826. type: string
  10827. srcusername:
  10828. description: 推广账户名称
  10829. type: string
  10830. tradedate:
  10831. description: 交易日(yyyyMMdd)
  10832. type: string
  10833. userid:
  10834. description: 经纪人用户ID
  10835. type: integer
  10836. type: object
  10837. models.QhjContract:
  10838. properties:
  10839. contractconfirmtime:
  10840. description: 合同确认时间(时间)
  10841. type: string
  10842. currisklevel:
  10843. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10844. type: integer
  10845. decimalplace:
  10846. description: 商品报价小数位
  10847. type: integer
  10848. enumdicname:
  10849. description: 单位名称
  10850. type: string
  10851. goodscode:
  10852. description: 商品代码
  10853. type: string
  10854. goodsid:
  10855. description: 商品ID [5:融资单]
  10856. type: integer
  10857. goodsname:
  10858. description: 商品名称
  10859. type: string
  10860. goodunitid:
  10861. description: 商品单位id
  10862. type: integer
  10863. initmargin:
  10864. description: 初始保证金(首付款)
  10865. type: number
  10866. lenderamount:
  10867. description: 贷款金额(总额|订单总额)
  10868. type: number
  10869. marginratio:
  10870. description: 保证金比率(首付比例)
  10871. type: number
  10872. payamount:
  10873. description: 已付(已付货款)
  10874. type: number
  10875. reckonrecovermargin:
  10876. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10877. type: number
  10878. recoveredmargin:
  10879. description: 已追缴保证金
  10880. type: number
  10881. remainamount:
  10882. description: 合同剩余金额(融资额)
  10883. type: number
  10884. scfcontractid:
  10885. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10886. type: string
  10887. scfcontractstatus:
  10888. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  10889. 9:违约结束 10:已注销 11:已关闭 99:未提交
  10890. type: integer
  10891. scfcontracttype:
  10892. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10893. type: integer
  10894. totalinterest:
  10895. description: 已计总利息(利息)
  10896. type: number
  10897. tradeprice:
  10898. description: 成交价格(成本价格)
  10899. type: number
  10900. userid:
  10901. description: 用户ID
  10902. type: integer
  10903. username:
  10904. description: 用户名称
  10905. type: string
  10906. wrqty:
  10907. description: 仓单数量(数量)
  10908. type: number
  10909. type: object
  10910. models.QhjContractLog:
  10911. properties:
  10912. amount:
  10913. description: 支付金额
  10914. type: number
  10915. amounttype:
  10916. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  10917. type: integer
  10918. logid:
  10919. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10920. type: string
  10921. remainamount:
  10922. description: 剩余货款
  10923. type: number
  10924. scfcontractid:
  10925. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10926. type: integer
  10927. updatetime:
  10928. description: 更新时间
  10929. type: string
  10930. type: object
  10931. models.QhjCusBankSignBankEx:
  10932. properties:
  10933. banklst:
  10934. description: 银行列表
  10935. items:
  10936. $ref: '#/definitions/models.QhjBankInfo'
  10937. type: array
  10938. canallot:
  10939. description: 是否支持跨行调拨 - 0:不支持 1:支持
  10940. type: integer
  10941. canallotquery:
  10942. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  10943. type: integer
  10944. canbindcard:
  10945. description: 是否可绑卡与解卡 - 0:不可 1:可以
  10946. type: integer
  10947. caninamount:
  10948. description: 是否可入金 - 0:不可 1:可以
  10949. type: integer
  10950. caninamount2:
  10951. description: 是否可入金(网银端) - 0:不可 1:可以
  10952. type: integer
  10953. canmodifybankcard:
  10954. description: 是否可修改银行卡号 - 0:不可 1:可以
  10955. type: integer
  10956. canmodifyphone:
  10957. description: 是否可修改手机号 - 0:不可 1:可以
  10958. type: integer
  10959. canmodifysigninfo:
  10960. description: 是否可修改签约信息 - 0:不可 1:可以
  10961. type: integer
  10962. canoutamount:
  10963. description: 是否可出金 - 0:不可 1:可以
  10964. type: integer
  10965. canoutamount2:
  10966. description: 是否可出金(网银端) - 0:不可 1:可以
  10967. type: integer
  10968. canrelease:
  10969. description: 是否可解约 - 0:不可 1:可以
  10970. type: integer
  10971. canrelease2:
  10972. description: 是否可解约(网银端) - 0:不可 1:可以
  10973. type: integer
  10974. cansign:
  10975. description: 是否可签约 - 0:不可 1:可以
  10976. type: integer
  10977. cansign2:
  10978. description: 是否可签约(网银端) - 0:不可 1:可以
  10979. type: integer
  10980. currency:
  10981. description: 币种
  10982. type: string
  10983. cusbankid:
  10984. description: 托管银行编号(对应清算中心TRAN_NO)
  10985. type: string
  10986. cusbankname:
  10987. description: 银行业务名称
  10988. type: string
  10989. cusbankshortname:
  10990. description: 银行业务简称
  10991. type: string
  10992. exchbankid:
  10993. description: 交易所开户银行ID
  10994. type: string
  10995. exchpaybankaccname:
  10996. description: 交易所支出结算账户户名
  10997. type: string
  10998. exchpaybankaccno:
  10999. description: 交易所支出结算账户
  11000. type: string
  11001. isneedcheck:
  11002. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  11003. type: integer
  11004. isneedclear:
  11005. description: 是否需要清算 - 0:不需要 1:需要
  11006. type: integer
  11007. lastcheckstatus:
  11008. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  11009. type: integer
  11010. lastchecktime:
  11011. description: 最后对账时间
  11012. type: string
  11013. lastclearstatus:
  11014. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  11015. type: integer
  11016. lastcleartime:
  11017. description: 最后清算时间
  11018. type: string
  11019. lastsignintime:
  11020. description: 最后签到时间
  11021. type: string
  11022. lastsignouttime:
  11023. description: 最后签退时间
  11024. type: string
  11025. riskinfo:
  11026. description: 签约风险提示书
  11027. type: string
  11028. signstatus:
  11029. description: 当前签到/签退状态 - 1:签到 2:签退
  11030. type: integer
  11031. tradedate:
  11032. description: 交易日(yyyyMMdd)
  11033. type: string
  11034. updatetime:
  11035. description: 当前签到/签退更新时间
  11036. type: string
  11037. type: object
  11038. models.QhjCustomer:
  11039. properties:
  11040. address:
  11041. description: 通讯地址
  11042. type: string
  11043. attachment1:
  11044. description: 附件1
  11045. type: string
  11046. attachment2:
  11047. description: 附件2
  11048. type: string
  11049. audittime:
  11050. description: 审核时间
  11051. type: string
  11052. cardbackphotourl:
  11053. description: 证件反面图片地址
  11054. type: string
  11055. cardfrontphotourl:
  11056. description: 证件正面图片地址
  11057. type: string
  11058. cardnum:
  11059. description: 证件号码
  11060. type: string
  11061. cardtype:
  11062. description: 证件类型
  11063. type: integer
  11064. cardtypename:
  11065. description: 证件类型名称
  11066. type: string
  11067. cityid:
  11068. description: 市
  11069. type: integer
  11070. cityname:
  11071. description: 城市名称
  11072. type: string
  11073. contactname:
  11074. description: 联系人
  11075. type: string
  11076. countryid:
  11077. description: 国家
  11078. type: integer
  11079. countryname:
  11080. description: 国家名称
  11081. type: string
  11082. createtime:
  11083. description: 创建时间
  11084. type: string
  11085. customername:
  11086. description: 客户名称
  11087. type: string
  11088. districtid:
  11089. description: 区域
  11090. type: integer
  11091. districtname:
  11092. description: 地区名称
  11093. type: string
  11094. email:
  11095. description: 邮件
  11096. type: string
  11097. legalpersonname:
  11098. description: 法人姓名(企业)
  11099. type: string
  11100. logincode:
  11101. description: 登录账号(代码)
  11102. type: string
  11103. memberuserid:
  11104. description: 所属机构ID(所属会员)
  11105. type: integer
  11106. memberusername:
  11107. description: 所属会员名称
  11108. type: string
  11109. mobile:
  11110. description: 手机号码
  11111. type: string
  11112. modifytime:
  11113. description: 修改时间
  11114. type: string
  11115. nickname:
  11116. description: 昵称
  11117. type: string
  11118. parentuserid:
  11119. description: 上级机构(所属机构)
  11120. type: integer
  11121. parentusername:
  11122. description: 所属机构名称
  11123. type: string
  11124. provinceid:
  11125. description: 省
  11126. type: integer
  11127. provincename:
  11128. description: 省名称
  11129. type: string
  11130. proxystatementurl:
  11131. description: 授权委托书
  11132. type: string
  11133. remark:
  11134. description: 备注
  11135. type: string
  11136. status:
  11137. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  11138. type: integer
  11139. statusdesc:
  11140. description: 账户状态中文描述
  11141. type: string
  11142. taxpayernum:
  11143. description: 纳税人识别号
  11144. type: string
  11145. telphone:
  11146. description: 联系电话
  11147. type: string
  11148. userid:
  11149. description: 用户ID
  11150. type: integer
  11151. userinfotype:
  11152. description: 客户类型 1-个人 2-企业
  11153. type: integer
  11154. username:
  11155. description: 用户名称
  11156. type: string
  11157. type: object
  11158. models.QhjCustomerSignLog:
  11159. properties:
  11160. agreementcontent:
  11161. description: 协议内容
  11162. type: string
  11163. agreementid:
  11164. description: 协议ID
  11165. type: integer
  11166. agreementname:
  11167. description: 协议名称
  11168. type: string
  11169. agreementno:
  11170. description: 协议编号
  11171. type: string
  11172. agreementtype:
  11173. description: 协议类型 - 1:注册 2:登录 3:交易
  11174. type: integer
  11175. agreementversion:
  11176. description: 协议版本号
  11177. type: integer
  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. logid:
  11191. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  11192. type: integer
  11193. nodetype:
  11194. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11195. type: integer
  11196. signadressurl:
  11197. description: 签约文件地址
  11198. type: string
  11199. signtimestamp:
  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.QhjCustomerSignStatus:
  11210. properties:
  11211. createtime:
  11212. description: 创建时间
  11213. type: string
  11214. goodscode:
  11215. description: 商品代码
  11216. type: string
  11217. goodsid:
  11218. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11219. type: integer
  11220. goodsname:
  11221. description: 商品名称
  11222. type: string
  11223. nodetype:
  11224. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  11225. type: integer
  11226. signtimestamp:
  11227. description: 签约状态时间戳
  11228. type: string
  11229. tradedate:
  11230. description: 创建交易日(yyyyMMdd)
  11231. type: string
  11232. updatetime:
  11233. description: 更新时间
  11234. type: string
  11235. userid:
  11236. description: 客户ID
  11237. type: integer
  11238. username:
  11239. description: 客户名称
  11240. type: string
  11241. type: object
  11242. models.QhjMgrAccountOutInApply:
  11243. properties:
  11244. accountcode:
  11245. description: 资金账号
  11246. type: string
  11247. accountname:
  11248. description: 用户名称(名称)
  11249. type: string
  11250. accountpwd:
  11251. description: 资金密码
  11252. type: string
  11253. accountticket:
  11254. description: 最新账户服务流水号
  11255. type: string
  11256. amount:
  11257. description: 金额
  11258. type: number
  11259. applyremark:
  11260. description: 申请备注
  11261. type: string
  11262. applystatus:
  11263. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  11264. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  11265. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  11266. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  11267. type: integer
  11268. auditid:
  11269. description: 审核人
  11270. type: integer
  11271. audittime:
  11272. description: 审核时间
  11273. type: string
  11274. bank_apply_ticket:
  11275. description: 银行申请流水
  11276. type: string
  11277. bankaccountname:
  11278. description: 银行账户名
  11279. type: string
  11280. bankaccountno:
  11281. description: 银行卡号
  11282. type: string
  11283. bankid:
  11284. description: 银行编号
  11285. type: string
  11286. bankname:
  11287. description: 银行名称
  11288. type: string
  11289. bankticket:
  11290. description: 银行流水
  11291. type: string
  11292. branchbankid:
  11293. description: 银行支行号
  11294. type: string
  11295. branchbankname:
  11296. description: 银行支行名称
  11297. type: string
  11298. capamountout:
  11299. description: 出金(劣后本金) - 外部子账户
  11300. type: number
  11301. certificatephotourl:
  11302. description: 凭证地址
  11303. type: string
  11304. charge:
  11305. description: 手续费
  11306. type: number
  11307. checkerrorflag:
  11308. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  11309. type: integer
  11310. currency:
  11311. description: 币种
  11312. type: string
  11313. cusbankid:
  11314. description: 托管银行编号
  11315. type: string
  11316. exchticket:
  11317. description: 银行服务流水号
  11318. type: string
  11319. executetype:
  11320. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  11321. 7:外部子账户:入金 8:外部子账户:出金'
  11322. type: integer
  11323. extendinfo:
  11324. description: 扩展信息
  11325. type: string
  11326. extoperateid:
  11327. description: 交易服务流水号
  11328. type: integer
  11329. infamount:
  11330. description: 劣后金额(自有)
  11331. type: number
  11332. logincode:
  11333. description: 登录账号(账号)
  11334. type: string
  11335. netaddr:
  11336. description: 调转网址
  11337. type: string
  11338. priamount:
  11339. description: 优先金额(授信)
  11340. type: number
  11341. reauditid:
  11342. description: 复审人
  11343. type: integer
  11344. reauditremark:
  11345. description: 复审备注
  11346. type: string
  11347. reaudittime:
  11348. description: 复审时间
  11349. type: string
  11350. relatedorderid:
  11351. description: 三方关联ID
  11352. type: string
  11353. remark:
  11354. description: 备注
  11355. type: string
  11356. remark2:
  11357. description: 备注(失败原因)
  11358. type: string
  11359. soucreamount:
  11360. description: 原始出入金金额
  11361. type: number
  11362. soucrecurrencyid:
  11363. description: 原始出入金币种
  11364. type: integer
  11365. tradedate:
  11366. description: 交易日(yyyyMMdd)
  11367. type: string
  11368. updatetime:
  11369. description: 更新时间(申请时间)
  11370. type: string
  11371. userid:
  11372. description: 用户id
  11373. type: integer
  11374. userinfotype:
  11375. description: 账户类型 1-个人 2-企业
  11376. type: integer
  11377. type: object
  11378. models.QhjMgrBrokerApply:
  11379. properties:
  11380. applicantid:
  11381. description: 申请人
  11382. type: integer
  11383. applysrc:
  11384. description: 申请来源 - 1:管理端 2:终端
  11385. type: integer
  11386. applystatus:
  11387. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  11388. type: integer
  11389. applytime:
  11390. description: 申请时间
  11391. type: string
  11392. auditorid:
  11393. description: 审核人
  11394. type: integer
  11395. auditremark:
  11396. description: 审核备注
  11397. type: string
  11398. auditsrc:
  11399. description: 审核来源 - 1:管理端 2:终端
  11400. type: integer
  11401. audittime:
  11402. description: 审核时间
  11403. type: string
  11404. audittradedate:
  11405. description: 审核交易日(yyyyMMdd)
  11406. type: string
  11407. brokerapplyid:
  11408. description: 申请ID(SEQ_BROKERAPPLY)
  11409. type: integer
  11410. cardbackphotourl:
  11411. description: 证件背面图片地址
  11412. type: string
  11413. cardfrontphotourl:
  11414. description: 证件正面图片地址
  11415. type: string
  11416. cardnum:
  11417. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  11418. type: string
  11419. customername:
  11420. description: 姓名
  11421. type: string
  11422. filterstatus:
  11423. description: 筛选条件
  11424. type: string
  11425. logincode:
  11426. description: 登录代码
  11427. type: string
  11428. mobile:
  11429. description: 手机号码
  11430. type: string
  11431. parentuserid:
  11432. description: 所属机构id
  11433. type: integer
  11434. parentusername:
  11435. description: 所属机构名称
  11436. type: string
  11437. refereeuserid:
  11438. description: 推荐人id(经纪人)
  11439. type: integer
  11440. refernum:
  11441. description: 推荐码
  11442. type: string
  11443. remark:
  11444. description: 备注
  11445. type: string
  11446. subarealevelpath:
  11447. description: 层级路径
  11448. type: string
  11449. tradedate:
  11450. description: 交易日(yyyyMMdd)
  11451. type: string
  11452. userid:
  11453. description: 申请人用户ID
  11454. type: integer
  11455. userinfotype:
  11456. description: 用户类型 1-个人 2-企业
  11457. type: integer
  11458. username:
  11459. description: 用户名称
  11460. type: string
  11461. type: object
  11462. models.QhjMgrBrokerRewardReport:
  11463. properties:
  11464. createtime:
  11465. description: 创建时间(注册时间)
  11466. type: string
  11467. cycletime:
  11468. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  11469. type: string
  11470. cycletype:
  11471. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  11472. type: integer
  11473. directtotalnum:
  11474. description: 直推总人数【期末】
  11475. type: integer
  11476. indirecttotalnum:
  11477. description: 间推总人数【期末】
  11478. type: integer
  11479. mobile:
  11480. description: 电话号码
  11481. type: string
  11482. refereeuserid:
  11483. description: 推荐人id(经纪人id)
  11484. type: integer
  11485. refereeusername:
  11486. description: 推荐人名称(经纪人) 上级经纪人名称
  11487. type: string
  11488. refernum:
  11489. description: 推荐码
  11490. type: string
  11491. subarealevelpath:
  11492. description: 用户层级路径
  11493. type: string
  11494. todayrewardamount:
  11495. description: 奖励总金额【汇总】
  11496. type: number
  11497. updatetime:
  11498. description: 更新时间
  11499. type: string
  11500. userid:
  11501. description: 经纪人用户ID
  11502. type: integer
  11503. userinfotype:
  11504. description: 用户类型 1-个人 2-企业
  11505. type: integer
  11506. username:
  11507. description: 用户名称
  11508. type: string
  11509. type: object
  11510. models.QhjMgrContract:
  11511. properties:
  11512. contractconfirmtime:
  11513. description: 合同确认时间(时间)
  11514. type: string
  11515. currisklevel:
  11516. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  11517. type: integer
  11518. decimalplace:
  11519. description: 商品报价小数位
  11520. type: integer
  11521. enumdicname:
  11522. description: 单位名称
  11523. type: string
  11524. goodscode:
  11525. description: 商品代码
  11526. type: string
  11527. goodsid:
  11528. description: 商品ID [5:融资单]
  11529. type: integer
  11530. goodsname:
  11531. description: 商品名称
  11532. type: string
  11533. goodunitid:
  11534. description: 商品单位id
  11535. type: integer
  11536. initmargin:
  11537. description: 初始保证金(首付款)
  11538. type: number
  11539. lenderamount:
  11540. description: 贷款金额(总额|订单总额)
  11541. type: number
  11542. logincode:
  11543. description: 账号(登录代码)
  11544. type: string
  11545. marginratio:
  11546. description: 保证金比率(首付比例)
  11547. type: number
  11548. mobile:
  11549. description: 电话号码(用户资料里的电话)
  11550. type: string
  11551. payamount:
  11552. description: 已付(已付货款)
  11553. type: number
  11554. reckonrecovermargin:
  11555. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  11556. type: number
  11557. recoveredmargin:
  11558. description: 已追缴保证金
  11559. type: number
  11560. remainamount:
  11561. description: 合同剩余金额(融资额)
  11562. type: number
  11563. scfcontractid:
  11564. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  11565. type: string
  11566. scfcontractstatus:
  11567. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  11568. 9:违约结束 10:已注销 11:已关闭 99:未提交
  11569. type: integer
  11570. scfcontracttype:
  11571. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  11572. type: integer
  11573. totalinterest:
  11574. description: 已计总利息(利息)
  11575. type: number
  11576. tradedate:
  11577. description: 交易日
  11578. type: string
  11579. tradeprice:
  11580. description: 成交价格(成本价格)
  11581. type: number
  11582. userid:
  11583. description: 用户ID
  11584. type: integer
  11585. userinfotype:
  11586. description: 用户类型 1-个人 2-企业
  11587. type: integer
  11588. username:
  11589. description: 用户名称
  11590. type: string
  11591. wrqty:
  11592. description: 仓单数量(数量)
  11593. type: number
  11594. type: object
  11595. models.QhjMgrCustomer:
  11596. properties:
  11597. address:
  11598. description: 通讯地址
  11599. type: string
  11600. attachment1:
  11601. description: 附件1
  11602. type: string
  11603. audittime:
  11604. description: 审核时间
  11605. type: string
  11606. birthday:
  11607. description: 生日
  11608. type: string
  11609. brokerid:
  11610. description: 所属客户经理id
  11611. type: integer
  11612. brokername:
  11613. description: 所属客户经理名称
  11614. type: string
  11615. cardbackphotourl:
  11616. description: 证件反面图片地址
  11617. type: string
  11618. cardfrontphotourl:
  11619. description: 证件正面图片地址
  11620. type: string
  11621. cardnum:
  11622. description: 证件号码
  11623. type: string
  11624. cardtype:
  11625. description: 证件类型
  11626. type: integer
  11627. cardtypename:
  11628. description: 证件类型名称
  11629. type: string
  11630. cityid:
  11631. description: 市
  11632. type: integer
  11633. cityname:
  11634. description: 城市名称
  11635. type: string
  11636. contactname:
  11637. description: 联系人
  11638. type: string
  11639. countryid:
  11640. description: 国家
  11641. type: integer
  11642. countryname:
  11643. description: 国家名称
  11644. type: string
  11645. createtime:
  11646. description: 创建时间
  11647. type: string
  11648. customername:
  11649. description: 客户名称
  11650. type: string
  11651. districtid:
  11652. description: 区域
  11653. type: integer
  11654. districtname:
  11655. description: 地区名称
  11656. type: string
  11657. email:
  11658. description: 邮件
  11659. type: string
  11660. legalpersonname:
  11661. description: 法人姓名(企业)
  11662. type: string
  11663. logincode:
  11664. description: 登录账号(代码)
  11665. type: string
  11666. memberuserid:
  11667. description: 所属机构ID(所属会员)
  11668. type: integer
  11669. memberusername:
  11670. description: 所属会员名称
  11671. type: string
  11672. mobile:
  11673. description: 手机号码
  11674. type: string
  11675. modifytime:
  11676. description: 修改时间
  11677. type: string
  11678. nickname:
  11679. description: 昵称
  11680. type: string
  11681. parentuserid:
  11682. description: 上级机构(所属机构)
  11683. type: integer
  11684. parentusername:
  11685. description: 所属机构名称
  11686. type: string
  11687. provinceid:
  11688. description: 省
  11689. type: integer
  11690. provincename:
  11691. description: 省名称
  11692. type: string
  11693. proxystatementurl:
  11694. description: 授权委托书
  11695. type: string
  11696. querytype:
  11697. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  11698. type: integer
  11699. remark:
  11700. description: 备注
  11701. type: string
  11702. sex:
  11703. description: 性别 0-女 1-男
  11704. type: integer
  11705. status:
  11706. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  11707. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  11708. type: integer
  11709. statusdesc:
  11710. description: 账户状态中文描述
  11711. type: string
  11712. taxpayernum:
  11713. description: 纳税人识别号
  11714. type: string
  11715. telphone:
  11716. description: 联系电话
  11717. type: string
  11718. userid:
  11719. description: 用户ID
  11720. type: integer
  11721. userinfotype:
  11722. description: 客户类型 1-个人 2-企业
  11723. type: integer
  11724. username:
  11725. description: 用户名称
  11726. type: string
  11727. type: object
  11728. models.QhjMgrPickGoods:
  11729. properties:
  11730. enumdicname:
  11731. description: 单位名称(提货商品)
  11732. type: string
  11733. goodsid:
  11734. description: 商品id
  11735. type: integer
  11736. imageaddress:
  11737. description: 图片
  11738. type: string
  11739. modifierid:
  11740. description: 修改人
  11741. type: integer
  11742. modifiername:
  11743. description: 修改人名称
  11744. type: string
  11745. modifysrc:
  11746. description: 修改来源 - 1:管理端 2:终端
  11747. type: integer
  11748. pickupgoodsagreeunit:
  11749. description: 合约乘数
  11750. type: number
  11751. pickupgoodsdesc:
  11752. description: 描述
  11753. type: string
  11754. pickupgoodsid:
  11755. description: 提货商品ID
  11756. type: string
  11757. pickupgoodsname:
  11758. description: 提货商品名称
  11759. type: string
  11760. pickupgoodsstatus:
  11761. description: 状态 - 1:正常 2:停用 3:注销
  11762. type: integer
  11763. pickupgoodsunitid:
  11764. description: 单位ID
  11765. type: integer
  11766. pickupratio:
  11767. description: 提货系数
  11768. type: number
  11769. preparedays:
  11770. description: 备货期(天)
  11771. type: integer
  11772. remark:
  11773. description: 备注
  11774. type: string
  11775. updatetime:
  11776. description: 更新时间
  11777. type: string
  11778. type: object
  11779. models.QhjMgrPositionRsp:
  11780. properties:
  11781. accountid:
  11782. description: 账号Id
  11783. type: integer
  11784. accountname:
  11785. description: 用户名称
  11786. type: string
  11787. agreeunit:
  11788. description: 合约乘数
  11789. type: number
  11790. averageprice:
  11791. description: 均价
  11792. type: number
  11793. avialqty:
  11794. description: 可用数量
  11795. type: number
  11796. decimalplace:
  11797. description: 报价小数位
  11798. type: integer
  11799. enumdicname:
  11800. description: 单位名称(商品)
  11801. type: string
  11802. frozenqty:
  11803. description: 冻结数量
  11804. type: number
  11805. goodscode:
  11806. description: 商品代码(内部)
  11807. type: string
  11808. goodsid:
  11809. description: 商品Id
  11810. type: integer
  11811. goodsname:
  11812. description: 商品名称
  11813. type: string
  11814. goodunitid:
  11815. description: 报价单位ID
  11816. type: integer
  11817. holderamount:
  11818. description: 金额
  11819. type: number
  11820. holderqty:
  11821. description: 持有数量
  11822. type: number
  11823. holdertype:
  11824. description: 持仓类别 - 1:单边持仓 2:双边持仓
  11825. type: integer
  11826. logincode:
  11827. description: 登录代码(账户)
  11828. type: string
  11829. marketid:
  11830. description: 市场id
  11831. type: integer
  11832. qtydecimalplace:
  11833. description: 成交量小数位
  11834. type: integer
  11835. trademode:
  11836. description: 交易模式
  11837. type: integer
  11838. userid:
  11839. description: 用户id
  11840. type: integer
  11841. userinfotype:
  11842. description: 账户类型 1-个人 2-企业
  11843. type: integer
  11844. type: object
  11845. models.QhjMgrSubArea:
  11846. properties:
  11847. accountname:
  11848. description: 账户名称(机构名称)
  11849. type: string
  11850. memberuserid:
  11851. description: 所属会员ID
  11852. type: integer
  11853. parenttopuser:
  11854. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  11855. type: string
  11856. parentuserid:
  11857. description: 所属机构ID
  11858. type: integer
  11859. rootuserid:
  11860. description: 根用户ID
  11861. type: string
  11862. subaccountlevel:
  11863. description: 子账户层数
  11864. type: integer
  11865. subarealevelpath:
  11866. description: 子机构层级路径(逗号分隔,首尾加逗号)
  11867. type: string
  11868. userid:
  11869. description: 用户ID
  11870. type: integer
  11871. usertype:
  11872. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11873. type: integer
  11874. type: object
  11875. models.QhjMgrTradeDetailRsp:
  11876. properties:
  11877. accountid:
  11878. description: 资金账号
  11879. type: integer
  11880. accountname:
  11881. description: 用户名称
  11882. type: string
  11883. agreeunit:
  11884. description: 合约乘数
  11885. type: number
  11886. buyorsell:
  11887. description: 成交类型(方向) 0:买 1:卖
  11888. type: integer
  11889. decimalplace:
  11890. description: 报价小数位
  11891. type: integer
  11892. enumdicname:
  11893. description: 单位名称(商品)
  11894. type: string
  11895. goodscode:
  11896. description: 商品代码(内部)
  11897. type: string
  11898. goodsid:
  11899. description: 商品id
  11900. type: integer
  11901. goodsname:
  11902. description: 商品名称
  11903. type: string
  11904. goodunitid:
  11905. description: 报价单位ID
  11906. type: integer
  11907. logincode:
  11908. description: 登录代码(账户)
  11909. type: string
  11910. marketid:
  11911. description: 市场id
  11912. type: integer
  11913. orderid:
  11914. description: 关联委托单号
  11915. type: string
  11916. qtydecimalplace:
  11917. description: 成交量小数位
  11918. type: integer
  11919. tradeamount:
  11920. description: 金额
  11921. type: number
  11922. tradedate:
  11923. description: 交易日
  11924. type: string
  11925. tradeid:
  11926. description: 成交单号
  11927. type: string
  11928. trademode:
  11929. description: 交易模式
  11930. type: integer
  11931. tradeprice:
  11932. description: 价格
  11933. type: number
  11934. tradeqty:
  11935. description: 数量
  11936. type: number
  11937. tradetime:
  11938. description: 成交时间
  11939. type: string
  11940. userid:
  11941. description: 用户id
  11942. type: integer
  11943. userinfotype:
  11944. description: 账户类型 1-个人 2-企业
  11945. type: integer
  11946. type: object
  11947. models.QhjMgrTradeOrderDetailRsp:
  11948. properties:
  11949. accountid:
  11950. description: 资金账号
  11951. type: integer
  11952. accountname:
  11953. description: 用户名称
  11954. type: string
  11955. agreeunit:
  11956. description: 合约乘数
  11957. type: number
  11958. amount:
  11959. description: 金额
  11960. type: number
  11961. decimalplace:
  11962. description: 报价小数位
  11963. type: integer
  11964. enumdicname:
  11965. description: 单位名称(商品)
  11966. type: string
  11967. goodscode:
  11968. description: 商品代码(内部)
  11969. type: string
  11970. goodsid:
  11971. description: 商品id
  11972. type: integer
  11973. goodsname:
  11974. description: 商品名称
  11975. type: string
  11976. goodunitid:
  11977. description: 报价单位ID
  11978. type: integer
  11979. logincode:
  11980. description: 登录代码(账户)
  11981. type: string
  11982. marketid:
  11983. description: 市场id
  11984. type: integer
  11985. orderid:
  11986. description: 关联委托单号
  11987. type: string
  11988. orderprice:
  11989. description: 价格
  11990. type: number
  11991. orderqty:
  11992. description: 数量
  11993. type: number
  11994. orderstatus:
  11995. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11996. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11997. 16:成交失败违约(荷兰式竞拍专用)
  11998. type: integer
  11999. ordertime:
  12000. description: 委托时间
  12001. type: string
  12002. qtydecimalplace:
  12003. description: 成交量小数位
  12004. type: integer
  12005. tradedate:
  12006. description: 交易日
  12007. type: string
  12008. trademode:
  12009. description: 交易模式
  12010. type: integer
  12011. userid:
  12012. description: 用户id
  12013. type: integer
  12014. userinfotype:
  12015. description: 账户类型 1-个人 2-企业
  12016. type: integer
  12017. type: object
  12018. models.QhjMgrTradePayOrder:
  12019. properties:
  12020. accountname:
  12021. description: 用户名称
  12022. type: string
  12023. advanceratio:
  12024. description: 首付比率
  12025. type: number
  12026. agreeunit:
  12027. description: 合约乘数
  12028. type: number
  12029. buyaccountid:
  12030. description: 买方账号ID[报价币种]
  12031. type: integer
  12032. buyorderid:
  12033. description: 买方委托单号(关联单号)
  12034. type: string
  12035. createtime:
  12036. description: 创建时间
  12037. type: string
  12038. decimalplace:
  12039. description: 报价小数位
  12040. type: integer
  12041. enumdicname:
  12042. description: 单位名称(商品)
  12043. type: string
  12044. goodscode:
  12045. description: 商品代码(内部)
  12046. type: string
  12047. goodsid:
  12048. description: 商品ID
  12049. type: integer
  12050. goodsname:
  12051. description: 商品名称
  12052. type: string
  12053. goodunitid:
  12054. description: 报价单位ID
  12055. type: integer
  12056. logincode:
  12057. description: 登录代码(账户)
  12058. type: string
  12059. marketid:
  12060. description: 市场id
  12061. type: integer
  12062. offamount:
  12063. description: 优惠金额
  12064. type: number
  12065. operatetype:
  12066. description: 买委托操作类型 - 1:正常下单 16:融资买入
  12067. type: integer
  12068. payamount:
  12069. description: 支付金额(金额)
  12070. type: number
  12071. payflag:
  12072. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12073. type: integer
  12074. paylimitedtime:
  12075. description: 支付期限
  12076. type: string
  12077. paytime:
  12078. description: 付款时间
  12079. type: string
  12080. qtydecimalplace:
  12081. description: 成交量小数位
  12082. type: integer
  12083. sellaccountid:
  12084. description: 卖方账号ID[报价币种]
  12085. type: integer
  12086. sellorderid:
  12087. description: 卖方委托单号
  12088. type: string
  12089. tradeamount:
  12090. description: 成交金额(优惠后金额)
  12091. type: number
  12092. tradecharge:
  12093. description: 成交手续费(买方)
  12094. type: number
  12095. tradedate:
  12096. description: 交易日(yyyyMMdd)
  12097. type: string
  12098. tradeid:
  12099. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12100. type: string
  12101. trademode:
  12102. description: 交易模式
  12103. type: integer
  12104. tradeprice:
  12105. description: 成交价格(价格)
  12106. type: number
  12107. tradeqty:
  12108. description: 成交数量(数量)
  12109. type: number
  12110. tradetime:
  12111. description: 成交时间
  12112. type: string
  12113. userid:
  12114. description: 用户id
  12115. type: integer
  12116. userinfotype:
  12117. description: 账户类型 1-个人 2-企业
  12118. type: integer
  12119. type: object
  12120. models.QhjMyTeamEx:
  12121. properties:
  12122. accountname:
  12123. description: 用户名称
  12124. type: string
  12125. accountstatus:
  12126. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  12127. type: integer
  12128. createtime:
  12129. description: 创建时间
  12130. type: string
  12131. mobile:
  12132. description: 手机号码
  12133. type: string
  12134. refereeuserid:
  12135. description: 推荐人id
  12136. type: integer
  12137. refernum:
  12138. description: 推荐码
  12139. type: string
  12140. subList:
  12141. items:
  12142. $ref: '#/definitions/models.QhjMyTeamEx'
  12143. type: array
  12144. userid:
  12145. description: 用户id
  12146. type: integer
  12147. userinfotype:
  12148. description: 用户类型 1-个人 2-企业
  12149. type: integer
  12150. type: object
  12151. models.QhjNodeAgreementConfig:
  12152. properties:
  12153. agreementcontent:
  12154. description: 协议内容
  12155. type: string
  12156. agreementid:
  12157. description: 协议ID
  12158. type: integer
  12159. agreementname:
  12160. description: 协议名称
  12161. type: string
  12162. agreementno:
  12163. description: 协议编号
  12164. type: string
  12165. agreementtype:
  12166. description: 协议类型 - 1:注册 2:登录 3:交易
  12167. type: integer
  12168. agreementversion:
  12169. description: 协议版本号
  12170. type: integer
  12171. configid:
  12172. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12173. type: integer
  12174. createtime:
  12175. description: 创建时间
  12176. type: string
  12177. goodsid:
  12178. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12179. type: integer
  12180. nodetype:
  12181. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12182. type: integer
  12183. type: object
  12184. models.QhjParentAreaList:
  12185. properties:
  12186. accountname:
  12187. description: 账户名称(机构名称)
  12188. type: string
  12189. userid:
  12190. description: 用户ID
  12191. type: integer
  12192. usertype:
  12193. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12194. type: integer
  12195. type: object
  12196. models.QhjPayOrder:
  12197. properties:
  12198. advanceratio:
  12199. description: 首付比率
  12200. type: number
  12201. buyaccountid:
  12202. description: 买方账号ID[报价币种]
  12203. type: integer
  12204. buyorderid:
  12205. description: 买方委托单号
  12206. type: string
  12207. createtime:
  12208. description: 创建时间
  12209. type: string
  12210. decimalplace:
  12211. description: 商品报价小数位
  12212. type: integer
  12213. enumdicname:
  12214. description: 单位名称
  12215. type: string
  12216. goodscode:
  12217. description: 商品代码
  12218. type: string
  12219. goodsid:
  12220. description: 商品ID
  12221. type: integer
  12222. goodsname:
  12223. description: 商品名称
  12224. type: string
  12225. goodunitid:
  12226. description: 商品单位id
  12227. type: integer
  12228. marketid:
  12229. description: 市场ID
  12230. type: integer
  12231. offamount:
  12232. description: 优惠金额
  12233. type: number
  12234. operatetype:
  12235. description: 买委托操作类型 - 1:正常下单 16:融资买入
  12236. type: integer
  12237. payamount:
  12238. description: 支付金额
  12239. type: number
  12240. payflag:
  12241. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12242. type: integer
  12243. paylimitedtime:
  12244. description: 支付期限
  12245. type: string
  12246. paytime:
  12247. description: 付款时间
  12248. type: string
  12249. qtydecimalplace:
  12250. description: 成交量小数位
  12251. type: integer
  12252. sellaccountid:
  12253. description: 卖方账号ID[报价币种]
  12254. type: integer
  12255. sellorderid:
  12256. description: 卖方委托单号
  12257. type: string
  12258. tradeamount:
  12259. description: 成交金额(优惠后金额)
  12260. type: number
  12261. tradecharge:
  12262. description: 成交手续费(买方)
  12263. type: number
  12264. tradedate:
  12265. description: 交易日(yyyyMMdd)
  12266. type: string
  12267. tradeid:
  12268. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12269. type: string
  12270. tradeprice:
  12271. description: 成交价格
  12272. type: number
  12273. tradeqty:
  12274. description: 成交数量
  12275. type: number
  12276. type: object
  12277. models.QhjPickArea:
  12278. properties:
  12279. address:
  12280. description: 详细地址
  12281. type: string
  12282. cityid:
  12283. description: 市
  12284. type: integer
  12285. cityname:
  12286. description: 城市名称
  12287. type: string
  12288. countryid:
  12289. description: 国家
  12290. type: integer
  12291. countryname:
  12292. description: 国家名称
  12293. type: string
  12294. districtid:
  12295. description: 地区
  12296. type: integer
  12297. districtname:
  12298. description: 地区名称
  12299. type: string
  12300. fromuserid:
  12301. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  12302. type: integer
  12303. fromusername:
  12304. description: 所属机构名称
  12305. type: string
  12306. provinceid:
  12307. description: 省
  12308. type: integer
  12309. provincename:
  12310. description: 省名称
  12311. type: string
  12312. suborgtype:
  12313. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  12314. type: integer
  12315. userid:
  12316. description: 机构用户ID 其他做市关系,都设置为 1
  12317. type: integer
  12318. username:
  12319. description: 机构用户名称(门店门称)
  12320. type: string
  12321. type: object
  12322. models.QhjPickGoods:
  12323. properties:
  12324. enumdicname:
  12325. description: 单位名称(提货商品)
  12326. type: string
  12327. goodsid:
  12328. description: 商品id
  12329. type: integer
  12330. imageaddress:
  12331. description: 图片
  12332. type: string
  12333. modifierid:
  12334. description: 修改人
  12335. type: integer
  12336. modifiername:
  12337. description: 修改人名称
  12338. type: string
  12339. modifysrc:
  12340. description: 修改来源 - 1:管理端 2:终端
  12341. type: integer
  12342. pickupgoodsagreeunit:
  12343. description: 合约乘数
  12344. type: number
  12345. pickupgoodsdesc:
  12346. description: 描述
  12347. type: string
  12348. pickupgoodsid:
  12349. description: 提货商品ID
  12350. type: string
  12351. pickupgoodsname:
  12352. description: 提货商品名称
  12353. type: string
  12354. pickupgoodsstatus:
  12355. description: 状态 - 1:正常 2:停用 3:注销
  12356. type: integer
  12357. pickupgoodsunitid:
  12358. description: 单位ID
  12359. type: integer
  12360. pickupratio:
  12361. description: 提货系数
  12362. type: number
  12363. preparedays:
  12364. description: 备货期(天)
  12365. type: integer
  12366. remark:
  12367. description: 备注
  12368. type: string
  12369. updatetime:
  12370. description: 更新时间
  12371. type: string
  12372. type: object
  12373. models.QhjRSTriggerLog:
  12374. properties:
  12375. accountid:
  12376. description: 用户资金账户
  12377. type: integer
  12378. accountname:
  12379. description: 账号名称(ACCOUNTID对应的名称)
  12380. type: string
  12381. currencyid:
  12382. description: 币种id
  12383. type: integer
  12384. currencyname:
  12385. description: 币种名称
  12386. type: string
  12387. decimalplace:
  12388. description: 商品报价小数位
  12389. type: integer
  12390. enumdicname:
  12391. description: 单位名称
  12392. type: string
  12393. goodscode:
  12394. description: 定投商品代码
  12395. type: string
  12396. goodsid:
  12397. description: 定投商品ID
  12398. type: integer
  12399. goodsname:
  12400. description: 定投商品名称
  12401. type: string
  12402. goodunitid:
  12403. description: 定投商品单位id
  12404. type: integer
  12405. logid:
  12406. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  12407. type: string
  12408. logincode:
  12409. description: 账号(登录代码)
  12410. type: string
  12411. qtydecimalplace:
  12412. description: 成交量小数位
  12413. type: integer
  12414. regularlycycle:
  12415. description: 定投频率 - 1:每周 2:每月
  12416. type: integer
  12417. regularlycyclevalue:
  12418. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12419. type: string
  12420. regularlymode:
  12421. description: 定投方式 - 1:按数量 2:按金额
  12422. type: integer
  12423. regularlymodevalue:
  12424. description: 定投方式值 - 数量或金额
  12425. type: number
  12426. regularlystrategyid:
  12427. description: 定投策略ID
  12428. type: integer
  12429. retcode:
  12430. description: 错误码
  12431. type: string
  12432. tradeid:
  12433. description: 成交单ID
  12434. type: string
  12435. triggeramount:
  12436. description: 触发金额
  12437. type: number
  12438. triggerqty:
  12439. description: 触发数量
  12440. type: number
  12441. triggerstatus:
  12442. description: 触发状态 - 1:成功 2:失败
  12443. type: integer
  12444. triggertime:
  12445. description: 触发时间
  12446. type: string
  12447. triggertradedate:
  12448. description: 触发交易日
  12449. type: string
  12450. userid:
  12451. description: 所属用户ID
  12452. type: integer
  12453. userinfotype:
  12454. description: 用户类型 1-个人 2-企业
  12455. type: integer
  12456. username:
  12457. description: 用户名称(userid对应的名称)
  12458. type: string
  12459. type: object
  12460. models.QhjRStrategy:
  12461. properties:
  12462. accountid:
  12463. description: 用户资金账户
  12464. type: integer
  12465. accountname:
  12466. description: 账号名称(ACCOUNTID对应的名称)
  12467. type: string
  12468. currencyid:
  12469. description: 币种id
  12470. type: integer
  12471. currencyname:
  12472. description: 币种名称
  12473. type: string
  12474. decimalplace:
  12475. description: 商品报价小数位
  12476. type: integer
  12477. enumdicname:
  12478. description: 单位名称
  12479. type: string
  12480. goodscode:
  12481. description: 定投商品代码
  12482. type: string
  12483. goodsid:
  12484. description: 定投商品ID
  12485. type: integer
  12486. goodsname:
  12487. description: 定投商品名称
  12488. type: string
  12489. goodunitid:
  12490. description: 定投商品单位id
  12491. type: integer
  12492. lasteffecttradedate:
  12493. description: 最新生效交易日
  12494. type: string
  12495. laststoptradedate:
  12496. description: 最新暂停交易日
  12497. type: string
  12498. lasttriggertradedate:
  12499. description: 最新触发交易日
  12500. type: string
  12501. logincode:
  12502. description: 账号(登录代码)
  12503. type: string
  12504. nexttriggeramount:
  12505. description: 下次触发金额
  12506. type: number
  12507. nexttriggerdate:
  12508. description: 下次触发日期
  12509. type: string
  12510. nexttriggerqty:
  12511. description: 下次触发数量 [按小数位放大值]
  12512. type: number
  12513. qtydecimalplace:
  12514. description: 成交量小数位
  12515. type: integer
  12516. regularlycycle:
  12517. description: 定投频率 - 1:每周 2:每月
  12518. type: integer
  12519. regularlycyclevalue:
  12520. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12521. type: string
  12522. regularlymode:
  12523. description: 定投方式 - 1:按数量 2:按金额
  12524. type: integer
  12525. regularlymodevalue:
  12526. description: 定投方式值 - 数量或金额
  12527. type: number
  12528. regularlystrategyid:
  12529. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  12530. type: integer
  12531. regularlystrategystatus:
  12532. description: 策略状态 - 1:正常 2:暂停 3:终止
  12533. type: integer
  12534. remark:
  12535. description: 备注
  12536. type: string
  12537. triggersuccesstimes:
  12538. description: 累计定投成功次数
  12539. type: string
  12540. triggertotalamount:
  12541. description: 累计定投金额(成功)
  12542. type: number
  12543. triggertotalqty:
  12544. description: 累计定投数量(成功) [按小数位放大值]
  12545. type: number
  12546. triggertotaltimes:
  12547. description: 累计定投总次数
  12548. type: string
  12549. updatesrc:
  12550. description: 更新来源 - 1:管理端 2:终端
  12551. type: integer
  12552. updatetime:
  12553. description: 更新时间
  12554. type: string
  12555. updatorid:
  12556. description: 更新人
  12557. type: string
  12558. userid:
  12559. description: 所属用户ID
  12560. type: integer
  12561. userinfotype:
  12562. description: 用户类型 1-个人 2-企业
  12563. type: integer
  12564. username:
  12565. description: 用户名称(userid对应的名称)
  12566. type: string
  12567. type: object
  12568. models.QhjReckonPriceLog:
  12569. properties:
  12570. decimalplace:
  12571. description: 商品报价小数位
  12572. type: integer
  12573. goodscode:
  12574. description: 商品代码
  12575. type: string
  12576. goodsid:
  12577. description: 商品ID
  12578. type: integer
  12579. goodsname:
  12580. description: 商品名称
  12581. type: string
  12582. lastreckonprice:
  12583. description: 上日结算价
  12584. type: number
  12585. nextdnlimitprice:
  12586. description: 下个交易日跌停价
  12587. type: number
  12588. nexttrade:
  12589. description: 下个交易日
  12590. type: string
  12591. nextuplimitprice:
  12592. description: 下个交易日涨停价
  12593. type: number
  12594. reckonprice:
  12595. description: 今日结算价(定投价)
  12596. type: number
  12597. reckontime:
  12598. description: 结算时间
  12599. type: string
  12600. totalholderqty:
  12601. description: 总持仓数
  12602. type: integer
  12603. totalstock:
  12604. description: 总库存
  12605. type: integer
  12606. tradedate:
  12607. description: 交易日
  12608. type: string
  12609. updowncount:
  12610. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  12611. type: integer
  12612. updownflag:
  12613. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  12614. type: integer
  12615. updownrate:
  12616. description: 今日涨跌幅
  12617. type: number
  12618. updownrate_2d:
  12619. description: 连续两日涨跌幅
  12620. type: number
  12621. updownrate_3d:
  12622. description: 连续三日涨跌幅
  12623. type: number
  12624. type: object
  12625. models.QhjScoreLog:
  12626. properties:
  12627. accountid:
  12628. description: 账户ID
  12629. type: integer
  12630. createtime:
  12631. description: 创建时间(时间)
  12632. type: string
  12633. goodsid:
  12634. description: 商品ID
  12635. type: integer
  12636. hasuploaded:
  12637. description: 是否已同步(千海金) 0:未同步 1;已同步
  12638. type: integer
  12639. logid:
  12640. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12641. type: string
  12642. marketid:
  12643. description: 市场ID
  12644. type: integer
  12645. relatedamount:
  12646. description: 关联金额
  12647. type: number
  12648. relatedorderid:
  12649. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  12650. type: string
  12651. scoreconfigvalue1:
  12652. description: 积分配置1
  12653. type: integer
  12654. scoreconfigvalue2:
  12655. description: 积分配置1
  12656. type: integer
  12657. scoretype:
  12658. description: 积分类型 - 1:提货积分
  12659. type: integer
  12660. scorevalue:
  12661. description: 积分
  12662. type: number
  12663. tradedate:
  12664. description: 交易日(yyyyMMdd)
  12665. type: string
  12666. uploadedtime:
  12667. description: 同步时间
  12668. type: string
  12669. userid:
  12670. description: 用户ID
  12671. type: integer
  12672. type: object
  12673. models.QhjSiteColumnDetail:
  12674. properties:
  12675. author:
  12676. description: 作者
  12677. type: string
  12678. brief:
  12679. description: 简介
  12680. type: string
  12681. columnid:
  12682. description: 所属栏目
  12683. type: integer
  12684. context:
  12685. description: 内容
  12686. type: string
  12687. coverimage:
  12688. description: 封面图片
  12689. type: string
  12690. creaedate:
  12691. description: 创建时间
  12692. type: string
  12693. creatorid:
  12694. description: 创建人
  12695. type: integer
  12696. hits:
  12697. description: 点击数
  12698. type: integer
  12699. id:
  12700. description: ID(SEQ_SITE_COLUMNDETAIL)
  12701. type: integer
  12702. isshow:
  12703. description: 是否展示 - 0:不展示 1:展示
  12704. type: integer
  12705. istop:
  12706. description: 是否置顶 - 0:不置 1:置顶
  12707. type: integer
  12708. modifierid:
  12709. description: 操作人
  12710. type: integer
  12711. publishdate:
  12712. description: 发布日期
  12713. type: string
  12714. status:
  12715. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  12716. type: integer
  12717. title:
  12718. description: 标题
  12719. type: string
  12720. updatedate:
  12721. description: 修改时间
  12722. type: string
  12723. userid:
  12724. description: 用户ID(默认为0, 核心为为机构用户ID)
  12725. type: integer
  12726. username:
  12727. description: 用户名称
  12728. type: string
  12729. type: object
  12730. models.QhjTeamOrder:
  12731. properties:
  12732. accountid:
  12733. description: 账户ID[报价币种]
  12734. type: integer
  12735. accountname:
  12736. description: 账户名称
  12737. type: string
  12738. agreeunit:
  12739. description: 合约乘数
  12740. type: number
  12741. buyorsell:
  12742. description: 方向 - 0:买 1:卖
  12743. type: integer
  12744. decimalplace:
  12745. description: 报价小数位
  12746. type: integer
  12747. enumdicname:
  12748. description: 单位名称
  12749. type: string
  12750. goodscode:
  12751. description: 商品代码(内部)
  12752. type: string
  12753. goodsid:
  12754. description: 商品ID
  12755. type: integer
  12756. goodsname:
  12757. description: 商品名称
  12758. type: string
  12759. goodunitid:
  12760. description: 报价单位ID
  12761. type: integer
  12762. marketid:
  12763. description: 市场ID
  12764. type: integer
  12765. marketname:
  12766. description: 市场名称
  12767. type: string
  12768. qtydecimalplace:
  12769. description: 成交量小数位
  12770. type: integer
  12771. refereeuserid:
  12772. description: 推荐人ID
  12773. type: integer
  12774. tradeamount:
  12775. description: 成交金额[账户币种,用于所有权]
  12776. type: number
  12777. tradedate:
  12778. description: 交易日(yyyyMMdd)
  12779. type: string
  12780. trademode:
  12781. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12782. 21:竞拍-大宗式 22:受托竞价
  12783. type: integer
  12784. tradeprice:
  12785. description: 成交价格
  12786. type: number
  12787. tradeqty:
  12788. description: 成交数量
  12789. type: number
  12790. tradetime:
  12791. description: 成交时间
  12792. type: string
  12793. userid:
  12794. description: 用户ID
  12795. type: integer
  12796. type: object
  12797. models.QhjTradeGoodsPickup:
  12798. properties:
  12799. accountid:
  12800. description: 账户ID
  12801. type: integer
  12802. address:
  12803. description: 提货人详细地址
  12804. type: string
  12805. amount:
  12806. description: 提货金额
  12807. type: number
  12808. artradedate:
  12809. description: 自动收货交易日(yyyyMMdd)
  12810. type: string
  12811. auditer:
  12812. description: 审核人
  12813. type: integer
  12814. auditsrc:
  12815. description: 更新来源 - 1:管理端 2:终端
  12816. type: integer
  12817. audittime:
  12818. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  12819. type: string
  12820. audittradedate:
  12821. description: 审核交易日(yyyyMMdd)
  12822. type: string
  12823. cardnum:
  12824. description: 提货人证件号码
  12825. type: string
  12826. cardtypeid:
  12827. description: 提货人证件类型
  12828. type: integer
  12829. checkremark:
  12830. description: 审核备注
  12831. type: string
  12832. cityid:
  12833. description: 市
  12834. type: integer
  12835. cityname:
  12836. description: 城市名称
  12837. type: string
  12838. confirmtime:
  12839. description: 取货时间 或 收货时间
  12840. type: string
  12841. countryid:
  12842. description: 国家
  12843. type: integer
  12844. countryname:
  12845. description: 国家名称
  12846. type: string
  12847. decimalplace:
  12848. description: 商品报价小数位
  12849. type: integer
  12850. districtid:
  12851. description: 地区
  12852. type: integer
  12853. districtname:
  12854. description: 地区名称
  12855. type: string
  12856. enumdicname:
  12857. description: 单位名称(提货商品)
  12858. type: string
  12859. expresscompany:
  12860. description: 物流公司
  12861. type: string
  12862. expressnum:
  12863. description: 物流单号
  12864. type: string
  12865. goodsagreeunit:
  12866. description: 交易商品乘数
  12867. type: number
  12868. goodscode:
  12869. description: 商品代码
  12870. type: string
  12871. goodsid:
  12872. description: 商品ID
  12873. type: integer
  12874. goodsname:
  12875. description: 商品名称
  12876. type: string
  12877. goodsqty:
  12878. description: 交易商品手数(69模式按成交量小数位放大取整)
  12879. type: number
  12880. handlestatus:
  12881. description: 处理状态
  12882. type: integer
  12883. logincode:
  12884. description: 账号(登录代码, 有可能为空)
  12885. type: string
  12886. marketid:
  12887. description: 市场ID
  12888. type: integer
  12889. phonenum:
  12890. description: 提货人联系方式
  12891. type: string
  12892. pickupgoodsagreeunit:
  12893. description: 提货商品合约乘数
  12894. type: number
  12895. pickupgoodsid:
  12896. description: 提货商品ID
  12897. type: string
  12898. pickupgoodsname:
  12899. description: 提货商品名称
  12900. type: string
  12901. pickupgoodsqty:
  12902. description: 提货商品手数(数量)
  12903. type: number
  12904. pickupgoodsunitid:
  12905. description: 单位ID(提货商品)
  12906. type: integer
  12907. pickupratio:
  12908. description: 提货系数
  12909. type: number
  12910. preparedays:
  12911. description: 备货期(天)-提货单明细表
  12912. type: integer
  12913. provinceid:
  12914. description: 省
  12915. type: integer
  12916. provincename:
  12917. description: 省名称
  12918. type: string
  12919. qty:
  12920. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  12921. type: number
  12922. qtydecimalplace:
  12923. description: 商品数量小数位
  12924. type: integer
  12925. recivername:
  12926. description: 提货人姓名
  12927. type: string
  12928. reqtime:
  12929. description: 提货申请时间
  12930. type: string
  12931. storeuserid:
  12932. description: 门店用户ID (千海金)
  12933. type: integer
  12934. storeusername:
  12935. description: 门店用户名称
  12936. type: string
  12937. takemode:
  12938. description: 提货方式 - 2:自提 3:配送(邮寄)
  12939. type: integer
  12940. takeorderid:
  12941. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12942. type: string
  12943. takeorderstatus:
  12944. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  12945. 7:已拒绝 8:已撤销
  12946. type: integer
  12947. takeremark:
  12948. description: 提货备注
  12949. type: string
  12950. tradedate:
  12951. description: 交易日(yyyyMMdd)
  12952. type: string
  12953. updatetime:
  12954. description: 更新时间
  12955. type: string
  12956. userid:
  12957. description: 用户ID
  12958. type: integer
  12959. userinfotype:
  12960. description: 客户类型 1-个人 2-企业
  12961. type: integer
  12962. username:
  12963. description: 用户名称
  12964. type: string
  12965. type: object
  12966. models.QhjUserNodeCfgAndStatus:
  12967. properties:
  12968. agreementcontent:
  12969. description: 协议内容
  12970. type: string
  12971. agreementid:
  12972. description: 协议ID
  12973. type: integer
  12974. agreementname:
  12975. description: 协议名称
  12976. type: string
  12977. agreementno:
  12978. description: 协议编号
  12979. type: string
  12980. agreementtype:
  12981. description: 协议类型 - 1:注册 2:登录 3:交易
  12982. type: integer
  12983. agreementversion:
  12984. description: 协议版本号
  12985. type: integer
  12986. configid:
  12987. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12988. type: integer
  12989. createtime:
  12990. description: 创建时间
  12991. type: string
  12992. goodsid:
  12993. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12994. type: integer
  12995. nodetype:
  12996. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12997. type: integer
  12998. signtimestamp:
  12999. description: 签约状态时间戳(最近一次)
  13000. type: string
  13001. tradedate:
  13002. description: 签约交易日(yyyyMMdd)
  13003. type: string
  13004. userid:
  13005. description: 客户ID
  13006. type: integer
  13007. type: object
  13008. models.Qhjgoodsex:
  13009. properties:
  13010. canfinance:
  13011. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  13012. type: integer
  13013. canregularlybuy:
  13014. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  13015. type: integer
  13016. defaulttradeuserid:
  13017. description: 默认交易用户ID
  13018. type: integer
  13019. deliverygoodsid:
  13020. description: 现货品种ID
  13021. type: integer
  13022. goodsid:
  13023. description: 商品ID(自增ID SEQ_GOODS)
  13024. type: integer
  13025. minamount:
  13026. description: 最小购买金额
  13027. type: number
  13028. regularlybuyminamount:
  13029. description: 定投最小金额
  13030. type: number
  13031. regularlybuyminqty:
  13032. description: 定投最小数量
  13033. type: number
  13034. spotgoodsbrandid:
  13035. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  13036. type: integer
  13037. visibilityforenterprise:
  13038. description: 企业客户是否可见 - 0:不可见 1:可见
  13039. type: integer
  13040. visibilityforpersonal:
  13041. description: 个人客户是否可见 - 0:不可见 1:可见
  13042. type: integer
  13043. wrstandardid:
  13044. description: 现货商品ID
  13045. type: integer
  13046. type: object
  13047. models.QueryErrorInfosRsp:
  13048. properties:
  13049. description:
  13050. description: 异常描述
  13051. type: string
  13052. errorcode:
  13053. description: 异常代码
  13054. type: string
  13055. errorid:
  13056. description: 异常ID
  13057. type: integer
  13058. modulecode:
  13059. description: 所属模块
  13060. type: string
  13061. operatecode:
  13062. description: 所属操作
  13063. type: string
  13064. rownumber:
  13065. description: 行号
  13066. type: string
  13067. required:
  13068. - errorid
  13069. type: object
  13070. models.QueryHedgeOrderDetailRsp:
  13071. properties:
  13072. accountid:
  13073. description: 账户ID
  13074. type: integer
  13075. buyorsell:
  13076. description: 买卖 - 0:买 1:卖
  13077. type: integer
  13078. cancellogincode:
  13079. description: 撤单人
  13080. type: string
  13081. channelbuildtype:
  13082. description: 开平标志 - 0:无 1:建仓 2:平仓
  13083. type: integer
  13084. channelinnerorderstatus:
  13085. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  13086. 9:全部成交
  13087. type: integer
  13088. channeloperatetype:
  13089. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  13090. type: integer
  13091. closetype:
  13092. description: 平仓方式 - 0:无 1:平今 2:平昨
  13093. type: integer
  13094. curexchangerate:
  13095. description: 当前汇率
  13096. type: number
  13097. decimalplace:
  13098. description: 商品报价小数位
  13099. type: integer
  13100. exchangefullname:
  13101. description: 外部交易所全称
  13102. type: string
  13103. goodscode:
  13104. description: 商品代码(内部)
  13105. type: string
  13106. goodsid:
  13107. description: 商品ID
  13108. type: integer
  13109. goodsname:
  13110. description: 商品名称
  13111. type: string
  13112. marketid:
  13113. description: 市场ID
  13114. type: integer
  13115. openfreezemargin:
  13116. description: 冻结保证金(冻结交易金额)
  13117. type: number
  13118. orderid:
  13119. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13120. type: string
  13121. orderlogincode:
  13122. description: 委托人
  13123. type: string
  13124. orderprice:
  13125. description: 委托价格(账户)
  13126. type: number
  13127. orderqty:
  13128. description: 委托数量
  13129. type: integer
  13130. ordertime:
  13131. description: 委托时间
  13132. type: string
  13133. pricemode:
  13134. description: '取价方式 - 1:市价 2: 限价'
  13135. type: integer
  13136. tradedate:
  13137. description: 交易日(yyyyMMdd)
  13138. type: string
  13139. tradeqty:
  13140. description: 成交数量
  13141. type: integer
  13142. type: object
  13143. models.QueryHedgeTradeDetailRsp:
  13144. properties:
  13145. accountid:
  13146. description: 账号ID
  13147. type: integer
  13148. buyorsell:
  13149. description: 方向 - 0:买 1:卖
  13150. type: integer
  13151. channelbuildtype:
  13152. description: 委托单据类型 0:无 1:建仓 2:平仓
  13153. type: integer
  13154. closecharge:
  13155. description: 平仓手续费(账户)
  13156. type: number
  13157. closecharge2:
  13158. description: 平仓手续费(商品)
  13159. type: number
  13160. closepl:
  13161. description: 平仓盈亏(账户)
  13162. type: number
  13163. closepl2:
  13164. description: 平仓盈亏(商品)
  13165. type: number
  13166. closepl3:
  13167. description: 平仓盈亏(账户)(逐笔)
  13168. type: number
  13169. closepl4:
  13170. description: 平仓盈亏(商品)(逐笔)
  13171. type: number
  13172. closetype:
  13173. description: 平仓方式 - 0:无 1:平今 2:平昨
  13174. type: integer
  13175. curexchangerate:
  13176. description: 当前汇率
  13177. type: number
  13178. decimalplace:
  13179. description: 商品报价小数位
  13180. type: integer
  13181. exchangefullname:
  13182. description: 外部交易所全称
  13183. type: string
  13184. goodscode:
  13185. description: 商品代码(内部)
  13186. type: string
  13187. goodsid:
  13188. description: 商品ID
  13189. type: integer
  13190. goodsname:
  13191. description: 商品名称
  13192. type: string
  13193. marketid:
  13194. description: 市场ID
  13195. type: integer
  13196. opencharge:
  13197. description: 建仓手续费(账户)
  13198. type: number
  13199. opencharge2:
  13200. description: 建仓手续费(商品)
  13201. type: number
  13202. orderid:
  13203. description: 委托单号
  13204. type: string
  13205. orderlogincode:
  13206. description: 委托人
  13207. type: string
  13208. tradeamount:
  13209. description: 成交金额(账户)
  13210. type: number
  13211. tradedate:
  13212. description: 交易日(yyyyMMdd)
  13213. type: string
  13214. tradeid:
  13215. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13216. type: string
  13217. tradeprice:
  13218. description: 成交价格
  13219. type: number
  13220. tradeqty:
  13221. description: 成交数量
  13222. type: integer
  13223. tradetime:
  13224. description: 成交时间
  13225. type: string
  13226. tradetype:
  13227. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  13228. type: integer
  13229. type: object
  13230. models.QuotePrimaryMenu:
  13231. properties:
  13232. Index:
  13233. description: 序号
  13234. type: integer
  13235. Key:
  13236. description: 键名
  13237. type: string
  13238. Name:
  13239. description: 菜单名称
  13240. type: string
  13241. SubMenus:
  13242. description: 子菜单
  13243. items:
  13244. $ref: '#/definitions/models.QuoteSecondaryMenu'
  13245. type: array
  13246. SubTitleType:
  13247. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  13248. type: integer
  13249. TradeModes:
  13250. description: 包含市场交易类型
  13251. type: string
  13252. type: object
  13253. models.QuoteSecondaryMenu:
  13254. properties:
  13255. ExExchangeCode:
  13256. description: 外部交易所代码
  13257. type: string
  13258. ExExchangeID:
  13259. description: 外部交易所ID
  13260. type: integer
  13261. GoodsGroupIDs:
  13262. description: 商品组ID列表
  13263. items:
  13264. type: integer
  13265. type: array
  13266. Index:
  13267. description: 序号
  13268. type: integer
  13269. MarketID:
  13270. description: 市场ID
  13271. type: integer
  13272. MenuTitle:
  13273. description: 菜单标题(市场名称或外部交易所名称)
  13274. type: string
  13275. TradeMode:
  13276. description: 交易模式
  13277. type: integer
  13278. type: object
  13279. models.RoleMenu:
  13280. properties:
  13281. hasright:
  13282. description: 是否有权限 0-没有权限 1-有权限
  13283. type: integer
  13284. iconame:
  13285. description: 菜单图标
  13286. type: string
  13287. menutype:
  13288. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  13289. type: integer
  13290. parentcode:
  13291. description: 上级资源代码
  13292. type: string
  13293. remark:
  13294. description: 菜单备注
  13295. type: string
  13296. resourcecode:
  13297. description: 菜单代码
  13298. type: string
  13299. resourcelevel:
  13300. description: 级别
  13301. type: integer
  13302. resourcename:
  13303. description: 菜单名称
  13304. type: string
  13305. roleid:
  13306. description: 角色id
  13307. type: integer
  13308. sort:
  13309. description: 排序
  13310. type: integer
  13311. subMenu:
  13312. description: 子级菜单(结构同上层一样, swag解析不出来)
  13313. items:
  13314. $ref: '#/definitions/models.RoleMenu'
  13315. type: array
  13316. url:
  13317. description: URL
  13318. type: string
  13319. userid:
  13320. description: 用户id
  13321. type: integer
  13322. type: object
  13323. models.SearchGoods:
  13324. properties:
  13325. goodscode:
  13326. description: 商品代码(内部)
  13327. type: string
  13328. goodsid:
  13329. description: 商品ID(自增ID SEQ_GOODS)
  13330. type: integer
  13331. goodsname:
  13332. description: 商品名称
  13333. type: string
  13334. marketid:
  13335. description: 所属市场ID
  13336. type: integer
  13337. marketname:
  13338. description: 市场名称
  13339. type: string
  13340. trademode:
  13341. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  13342. 21:竞拍-大宗式 22:受托竞价
  13343. type: integer
  13344. required:
  13345. - goodscode
  13346. - goodsid
  13347. - goodsname
  13348. - marketid
  13349. - trademode
  13350. type: object
  13351. models.Systemparam:
  13352. properties:
  13353. loginid:
  13354. description: 更新用户账号,登录账号
  13355. type: string
  13356. modifyflag:
  13357. description: 修改标志0 不允许修改 1 允许修改
  13358. type: integer
  13359. paramcode:
  13360. description: 参数代码
  13361. type: string
  13362. paramname:
  13363. description: 参数名
  13364. type: string
  13365. paramtype:
  13366. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  13367. type: integer
  13368. paramvalue:
  13369. description: 参数值
  13370. type: string
  13371. paramvalue2:
  13372. description: 参数值(CLOB)
  13373. type: string
  13374. regexpress:
  13375. description: 正则表达式
  13376. type: string
  13377. remark:
  13378. description: 备注
  13379. type: string
  13380. serverip:
  13381. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  13382. type: string
  13383. showflag:
  13384. description: 是否显示0 不显示 1 显示
  13385. type: integer
  13386. updatetime:
  13387. description: 更新时间
  13388. type: string
  13389. userid:
  13390. description: 更新用户ID
  13391. type: integer
  13392. required:
  13393. - paramcode
  13394. type: object
  13395. models.Szdz3convertconfig:
  13396. properties:
  13397. canin:
  13398. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  13399. type: integer
  13400. canout:
  13401. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  13402. type: integer
  13403. converttype:
  13404. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  13405. 6:交易转花生米(不设置)
  13406. type: integer
  13407. createtime:
  13408. description: 创建时间
  13409. type: string
  13410. creatorid:
  13411. description: 创建人
  13412. type: integer
  13413. daymaxvalue:
  13414. description: 当日最大转入限制
  13415. type: number
  13416. freezedays:
  13417. description: 冻结天数 [5:花生米转交易]
  13418. type: integer
  13419. innergoodsid:
  13420. description: 内部商品ID[交易]
  13421. type: integer
  13422. inratio:
  13423. description: 目标值
  13424. type: integer
  13425. modifierid:
  13426. description: 修改人
  13427. type: integer
  13428. modifytime:
  13429. description: 修改时间
  13430. type: string
  13431. outergoodscode:
  13432. description: 外部商品代码[JD\PD]
  13433. type: string
  13434. outratio:
  13435. description: 源值
  13436. type: integer
  13437. pddecimalplace:
  13438. description: PD小数位
  13439. type: integer
  13440. timemaxvalue:
  13441. description: 单次最大转入限制
  13442. type: number
  13443. timeminvalue:
  13444. description: 单次最小转入限制
  13445. type: number
  13446. required:
  13447. - converttype
  13448. - innergoodsid
  13449. - outergoodscode
  13450. type: object
  13451. models.Szdz3searchwhitelist:
  13452. properties:
  13453. createtime:
  13454. description: 创建时间
  13455. type: string
  13456. creatorid:
  13457. description: 创建人
  13458. type: integer
  13459. modifierid:
  13460. description: 修改人
  13461. type: integer
  13462. modifytime:
  13463. description: 修改时间
  13464. type: string
  13465. userid:
  13466. description: 用户ID
  13467. type: integer
  13468. required:
  13469. - userid
  13470. type: object
  13471. models.TBGoods:
  13472. properties:
  13473. agreeunit:
  13474. description: 合约乘数
  13475. type: number
  13476. enumdicname:
  13477. description: 单位名称
  13478. type: string
  13479. goodscode:
  13480. description: 商品代码(内部)
  13481. type: string
  13482. goodsid:
  13483. description: 商品ID(自增ID SEQ_GOODS)
  13484. type: integer
  13485. goodsname:
  13486. description: 商品名称
  13487. type: string
  13488. type: object
  13489. models.TBGoodsGroup:
  13490. properties:
  13491. GDLST:
  13492. description: 商品列表
  13493. items:
  13494. $ref: '#/definitions/models.TBGoods'
  13495. type: array
  13496. convertratio:
  13497. description: 折算系数
  13498. type: number
  13499. enumdicname:
  13500. description: 单位名称
  13501. type: string
  13502. exexchangecode:
  13503. description: 交易所代码
  13504. type: string
  13505. exexchangename:
  13506. description: 交易所名称
  13507. type: string
  13508. goodsgroupid:
  13509. description: 商品组ID(自增ID)
  13510. type: integer
  13511. goodsgroupname:
  13512. description: 商品组名称
  13513. type: string
  13514. goodunitid:
  13515. description: 报价单位ID
  13516. type: integer
  13517. type: object
  13518. models.TBMiddleGoods:
  13519. properties:
  13520. GPLST:
  13521. description: 期货品种列表
  13522. items:
  13523. $ref: '#/definitions/models.TBGoodsGroup'
  13524. type: array
  13525. WDLST:
  13526. description: 商品信息列表(现货品类)
  13527. items:
  13528. $ref: '#/definitions/models.TBWrstandard'
  13529. type: array
  13530. areauserid:
  13531. description: 机构用户ID
  13532. type: integer
  13533. enumdicname:
  13534. description: 单位名称
  13535. type: string
  13536. goodsunitid:
  13537. description: 套保品种单位id
  13538. type: integer
  13539. middlegoodscode:
  13540. description: 套保品种代码
  13541. type: string
  13542. middlegoodsid:
  13543. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  13544. type: integer
  13545. middlegoodsname:
  13546. description: 套保品种名称
  13547. type: string
  13548. needarbitrageratio:
  13549. description: 套利比率
  13550. type: number
  13551. needhedgeratio:
  13552. description: 套保比率
  13553. type: number
  13554. type: object
  13555. models.TBWrstandard:
  13556. properties:
  13557. convertratio:
  13558. description: 折算系数
  13559. type: number
  13560. deliverygoodsname:
  13561. description: 品种名称
  13562. type: string
  13563. enumdicname:
  13564. description: 单位名称
  13565. type: string
  13566. vatrate:
  13567. description: 增值税率
  13568. type: number
  13569. wrstandardcode:
  13570. description: 现货商品代码
  13571. type: string
  13572. wrstandardid:
  13573. description: 现货商品ID(SEQ_WRSTANDARD)
  13574. type: integer
  13575. wrstandardname:
  13576. description: 现货商品名称
  13577. type: string
  13578. type: object
  13579. models.Taaccount:
  13580. properties:
  13581. accountflag:
  13582. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  13583. type: integer
  13584. accountid:
  13585. description: 资金账户ID
  13586. type: integer
  13587. accountname:
  13588. description: 账户名称
  13589. type: string
  13590. balance:
  13591. description: 期初余额
  13592. type: number
  13593. capitalbalance:
  13594. description: 本金余额[外部子账户实际出入金余额]
  13595. type: number
  13596. changeflag:
  13597. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  13598. type: integer
  13599. changetime:
  13600. description: 账户状态变更时间
  13601. type: string
  13602. closepl:
  13603. description: 今日平仓盈亏
  13604. type: number
  13605. creditdecrease:
  13606. description: 今日授信减少
  13607. type: number
  13608. creditincrease:
  13609. description: 今日授信增加
  13610. type: number
  13611. curamount:
  13612. description: 总市值(从持仓中统计)
  13613. type: number
  13614. currencyid:
  13615. description: 货币ID
  13616. type: integer
  13617. currentbalance:
  13618. description: 期末余额
  13619. type: number
  13620. freezecharge:
  13621. description: 手续费冻结
  13622. type: number
  13623. freezemargin:
  13624. description: 冻结保证金
  13625. type: number
  13626. fromaccountid:
  13627. description: 所属上级账户
  13628. type: integer
  13629. inamount:
  13630. description: 今日入金金额(包括三方入金)
  13631. type: number
  13632. ismain:
  13633. description: 是否母账号 0:不是母账户 1:是母账户
  13634. type: integer
  13635. ismarketaccount:
  13636. description: 是否机构接单账号 0:不是 1:是
  13637. type: integer
  13638. isreckonaccount:
  13639. description: 是否机构分润账号 0:不是 1:是
  13640. type: integer
  13641. mortgagecredit:
  13642. description: 授信金额
  13643. type: number
  13644. orifreezecharge:
  13645. description: 期初手续费冻结
  13646. type: number
  13647. orifreezemargin:
  13648. description: 期初冻结保证金
  13649. type: number
  13650. orimortgagecredit:
  13651. description: 期初授信金额
  13652. type: number
  13653. oriothercredit:
  13654. description: 期初其它授信金额
  13655. type: number
  13656. oriotherfreezemargin:
  13657. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  13658. type: number
  13659. orioutamountfreeze:
  13660. description: 期初出金冻结
  13661. type: number
  13662. oriusedmargin:
  13663. description: 期初占用保证金
  13664. type: number
  13665. othercredit:
  13666. description: 其它授信金额
  13667. type: number
  13668. othercreditdecrease:
  13669. description: 今日其它授信减少
  13670. type: number
  13671. othercreditincrease:
  13672. description: 今日其它授信增加
  13673. type: number
  13674. otherfreezemargin:
  13675. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  13676. type: number
  13677. otherincome:
  13678. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  13679. type: number
  13680. otherpay:
  13681. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  13682. type: number
  13683. outamount:
  13684. description: 今日出金金额(包括三方出金)
  13685. type: number
  13686. outamountfreeze:
  13687. description: 出金冻结
  13688. type: number
  13689. outthreshold:
  13690. description: 出金阈值
  13691. type: number
  13692. parentaccountid:
  13693. description: 所属根账号
  13694. type: integer
  13695. paycharge:
  13696. description: 今日手续费支出
  13697. type: number
  13698. relatedaccountstatus:
  13699. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  13700. type: integer
  13701. relateduserid:
  13702. description: 关联用户
  13703. type: integer
  13704. remainamount:
  13705. description: 融资额(从融资合同中统计)
  13706. type: number
  13707. serivcegroup:
  13708. description: 服务分组
  13709. type: integer
  13710. signstatus:
  13711. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  13712. type: integer
  13713. sublevelpath:
  13714. description: 账号层级路径(逗号分隔,首尾加逗号)
  13715. type: string
  13716. taaccounttype:
  13717. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  13718. type: integer
  13719. thirdinamount:
  13720. description: 今日三方入金
  13721. type: number
  13722. thirdoutamount:
  13723. description: 今日三方出金
  13724. type: number
  13725. tradestatus:
  13726. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  13727. type: integer
  13728. tradestatuschangetime:
  13729. description: 激活时间
  13730. type: string
  13731. transferamount:
  13732. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  13733. type: number
  13734. usedmargin:
  13735. description: 占用保证金
  13736. type: number
  13737. userid:
  13738. description: 用户ID
  13739. type: integer
  13740. required:
  13741. - accountid
  13742. - userid
  13743. type: object
  13744. models.Tablecolumnconfig:
  13745. properties:
  13746. aligntype:
  13747. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  13748. type: integer
  13749. autoid:
  13750. description: AutoID
  13751. type: integer
  13752. columnfield:
  13753. description: 列字段
  13754. type: string
  13755. columntitle:
  13756. description: 列Title
  13757. type: string
  13758. columnwidth:
  13759. description: 列宽
  13760. type: string
  13761. formatterstring:
  13762. description: 格式化字符
  13763. type: string
  13764. formattertype:
  13765. description: 格式化类型
  13766. type: string
  13767. groupname:
  13768. description: 表头分组名称
  13769. type: string
  13770. isshow:
  13771. description: 是否显示 - 0:不显示 1:显示
  13772. type: integer
  13773. needsummary:
  13774. description: 是否需要汇总 - 0:不需要 1:需要
  13775. type: integer
  13776. orderindex:
  13777. description: 顺序
  13778. type: integer
  13779. remark:
  13780. description: 备注
  13781. type: string
  13782. summarytype:
  13783. description: 汇总类型 - 1:加总 2:最后一个
  13784. type: integer
  13785. tablekey:
  13786. description: 列表Key
  13787. type: string
  13788. required:
  13789. - autoid
  13790. type: object
  13791. models.TjmdHolderDetailTradeInfo:
  13792. properties:
  13793. agreeunit:
  13794. description: 合约乘数
  13795. type: number
  13796. buyaccountid:
  13797. description: 买方账户
  13798. type: string
  13799. buyusername:
  13800. description: 买方
  13801. type: string
  13802. delistingdate:
  13803. description: 最后结算日
  13804. type: string
  13805. expiredate:
  13806. description: 到期结算价定价日
  13807. type: string
  13808. exprieprice:
  13809. description: 到期清算价格
  13810. type: string
  13811. goodscode:
  13812. description: 商品代码
  13813. type: string
  13814. goodsid:
  13815. description: 商品ID
  13816. type: integer
  13817. goodsname:
  13818. description: 商品名称(交易标的)
  13819. type: string
  13820. lasttradedate:
  13821. description: 最后交易日
  13822. type: string
  13823. listingdate:
  13824. description: 开始交易日
  13825. type: string
  13826. openprice:
  13827. description: 成交价
  13828. type: number
  13829. openqty:
  13830. description: 交易数量
  13831. type: integer
  13832. sellaccountid:
  13833. description: 卖方账户
  13834. type: string
  13835. sellusername:
  13836. description: 卖方
  13837. type: string
  13838. tradeamount:
  13839. description: 初始名义价值
  13840. type: number
  13841. tradedate:
  13842. description: 成交日期
  13843. type: string
  13844. tradeid:
  13845. description: 成交编号
  13846. type: string
  13847. type: object
  13848. models.TjmdMarketSection:
  13849. properties:
  13850. marketsectionid:
  13851. description: 市场版块ID(SEQ_MARKETSECTION)
  13852. type: integer
  13853. marketsectionname:
  13854. description: 市场版块名称
  13855. type: string
  13856. mlist:
  13857. description: 市场列表(板块下面有多少个市场)
  13858. items:
  13859. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  13860. type: array
  13861. orderindex:
  13862. description: 排序
  13863. type: integer
  13864. pictureurl:
  13865. description: 图片url, 规格(90*90)
  13866. type: string
  13867. remark:
  13868. description: 备注
  13869. type: string
  13870. type: object
  13871. models.TjmdMarketSectionConfig:
  13872. properties:
  13873. auctionwrtype:
  13874. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  13875. type: integer
  13876. canacceptquote:
  13877. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  13878. type: integer
  13879. cangoodsexercise:
  13880. description: '[期权]是否可现货行权- 0:否 1:是'
  13881. type: integer
  13882. cangoodsexercisetype:
  13883. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  13884. type: integer
  13885. canmanualquotestrike:
  13886. description: 是否可手动报行权价- 0:否 1:是 [期权]
  13887. type: integer
  13888. canmutistage:
  13889. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  13890. type: integer
  13891. canpreexercise:
  13892. description: '[期权]是否可预申报- 0:否 1:是'
  13893. type: integer
  13894. clearinterval:
  13895. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  13896. type: integer
  13897. contracttmp:
  13898. description: 合同模板[荷兰式][竞价式][仓单贸易]
  13899. type: string
  13900. exchareaid:
  13901. description: 所属交易所,可以没有
  13902. type: integer
  13903. financemarketid:
  13904. description: 融资回购市场ID [仓单贸易]
  13905. type: integer
  13906. goodstype:
  13907. description: 商品类型 - 1:交易商品 2:仓单商品
  13908. type: integer
  13909. hasrebate:
  13910. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  13911. type: integer
  13912. hastradecredit:
  13913. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  13914. type: integer
  13915. haswr:
  13916. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  13917. type: integer
  13918. isdeductmargin:
  13919. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  13920. type: integer
  13921. isrecordsource:
  13922. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  13923. type: integer
  13924. isreleasemargin:
  13925. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  13926. type: integer
  13927. isupdatereckonprice:
  13928. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  13929. type: integer
  13930. listingmode:
  13931. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  13932. type: integer
  13933. marginformula:
  13934. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  13935. type: integer
  13936. marginformula2:
  13937. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  13938. type: integer
  13939. marketid:
  13940. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  13941. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  13942. type: integer
  13943. marketname:
  13944. description: 市场名称
  13945. type: string
  13946. marketsectionid:
  13947. description: 市场版块ID(SEQ_MARKETSECTION)
  13948. type: integer
  13949. marketserviceid:
  13950. description: 市场服务ID
  13951. type: integer
  13952. marketstatus:
  13953. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  13954. type: integer
  13955. markettype:
  13956. description: 市场类型- 1:非交易服务 2:交易服务
  13957. type: integer
  13958. matchermode:
  13959. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  13960. type: integer
  13961. nowrquotaflag:
  13962. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  13963. type: integer
  13964. openmethod:
  13965. description: 开盘模式 - 0 自动 1手动
  13966. type: integer
  13967. orderindex:
  13968. description: 排序
  13969. type: integer
  13970. otcuserid:
  13971. description: 场外期权做市商[场外期权]
  13972. type: integer
  13973. outersynctime:
  13974. description: 外部同步时间点(h24:mi:ss)[场外期权]
  13975. type: string
  13976. paylaterflag:
  13977. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  13978. type: integer
  13979. pendingflag:
  13980. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  13981. type: integer
  13982. pendingtime:
  13983. description: 待开市时间[通道交易-对冲](HH:mm)
  13984. type: string
  13985. performancetempid:
  13986. description: 履约计划模板ID - 作废
  13987. type: integer
  13988. premiumquotemode:
  13989. description: 权利金报价方式 - 1:自动 2:手动
  13990. type: integer
  13991. rebateratio:
  13992. description: 返利比率[竞价式]
  13993. type: number
  13994. reckonorder:
  13995. description: 结算顺序
  13996. type: integer
  13997. reckonpricealgorithm:
  13998. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  13999. 6.卖一价 7.买一卖一均价 8.外部结算价'
  14000. type: integer
  14001. reckonpriceparam:
  14002. description: 结算价参数
  14003. type: integer
  14004. reckontime:
  14005. description: 结算时间[通道交易-对冲](HH:mm)
  14006. type: string
  14007. roleprioritytype:
  14008. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  14009. type: integer
  14010. selllistingauditflag:
  14011. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  14012. type: integer
  14013. trademarkettype:
  14014. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  14015. type: integer
  14016. trademode:
  14017. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  14018. 21:竞拍-大宗式 22:受托竞价
  14019. type: integer
  14020. tradeproperty:
  14021. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  14022. 8:场外期权
  14023. type: integer
  14024. tradetype:
  14025. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  14026. type: integer
  14027. updatereckonpriceinterval:
  14028. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  14029. type: integer
  14030. type: object
  14031. models.TjmdQuoteGoods:
  14032. properties:
  14033. buyqty:
  14034. description: 买量(暂不做, 无值, 保留字段)
  14035. type: number
  14036. decimalplace:
  14037. description: 报价小数位
  14038. type: integer
  14039. goodscode:
  14040. description: 合约代码
  14041. type: string
  14042. goodsgroupid:
  14043. description: 商品组ID(自增ID)
  14044. type: integer
  14045. goodsgroupname:
  14046. description: 商品组名称
  14047. type: string
  14048. goodsid:
  14049. description: 合约id
  14050. type: integer
  14051. goodsname:
  14052. description: 合约名称
  14053. type: string
  14054. refgoodscode:
  14055. description: 标的合约代码
  14056. type: string
  14057. refgoodsid:
  14058. description: 标的合约id
  14059. type: integer
  14060. refgoodsname:
  14061. description: 标的合约名称
  14062. type: string
  14063. sellqty:
  14064. description: 卖量(暂不做, 无值, 保留字段)
  14065. type: number
  14066. type: object
  14067. models.TjmdTodayAccountMargin:
  14068. properties:
  14069. accountid:
  14070. description: 账号ID
  14071. type: integer
  14072. goodsid:
  14073. description: 商品ID
  14074. type: integer
  14075. infoc:
  14076. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  14077. description: 配置参数
  14078. marketid:
  14079. description: 市场ID
  14080. type: integer
  14081. type: object
  14082. models.TjmdTradeOrderDetail:
  14083. properties:
  14084. buyorsell:
  14085. description: 买卖方向 0-买 1-卖
  14086. type: integer
  14087. goodsid:
  14088. description: 商品id
  14089. type: integer
  14090. marketmaxsub:
  14091. description: 市价最大偏移范围 [浮动价 - 点差]
  14092. type: number
  14093. orderid:
  14094. description: 委托单号
  14095. type: string
  14096. orderprice:
  14097. description: 委托价格
  14098. type: number
  14099. orderqty:
  14100. description: 委托数量
  14101. type: integer
  14102. pricemode:
  14103. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  14104. type: integer
  14105. userid:
  14106. description: 用户id
  14107. type: integer
  14108. username:
  14109. description: 用户名称(已脱敏)
  14110. type: string
  14111. type: object
  14112. models.TjmdTransferApply:
  14113. properties:
  14114. applyid:
  14115. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  14116. type: integer
  14117. applystatus:
  14118. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  14119. type: integer
  14120. applytime:
  14121. description: 申请时间(时间)
  14122. type: string
  14123. auditremark:
  14124. description: 审核备注(拒绝原因?)
  14125. type: string
  14126. begindate:
  14127. description: 开始交易日(yyyymmdd)
  14128. type: string
  14129. buyorsell:
  14130. description: 买卖 - 0:买 1:卖
  14131. type: integer
  14132. enddate:
  14133. description: 结束交易日(yyyymmdd)
  14134. type: string
  14135. goodscode:
  14136. description: 商品代码
  14137. type: string
  14138. goodsid:
  14139. description: 商品ID
  14140. type: integer
  14141. goodsname:
  14142. description: 商品名称
  14143. type: string
  14144. marketid:
  14145. description: 市场ID
  14146. type: integer
  14147. qty:
  14148. description: 转让数量(数量)
  14149. type: number
  14150. tradeid:
  14151. description: 成交单号(关联持仓)
  14152. type: string
  14153. transferamount:
  14154. description: 转让总金额(金额)
  14155. type: number
  14156. transferprice:
  14157. description: 转让价格(协议价格)
  14158. type: number
  14159. type: object
  14160. models.TradeHolderDetail:
  14161. properties:
  14162. accountid:
  14163. description: 账号ID
  14164. type: integer
  14165. agreeunit:
  14166. description: 合约乘数
  14167. type: number
  14168. buyorsell:
  14169. description: 方向 - 0:买 1:卖
  14170. type: integer
  14171. currencyid:
  14172. description: 商品币种id
  14173. type: integer
  14174. currencyname:
  14175. description: 币种名称
  14176. type: string
  14177. decimalplace:
  14178. description: 商品价格小数位
  14179. type: integer
  14180. enumdicname:
  14181. description: 商品单位名称
  14182. type: string
  14183. expirecycle:
  14184. description: 行权周期(天) - 1:滚动行权时填写
  14185. type: integer
  14186. expiredate:
  14187. description: 行权日(yyyyMMdd) - 到期日
  14188. type: string
  14189. expiretype:
  14190. description: 行权日类型 - 1:滚动行权 2:固定日行权
  14191. type: integer
  14192. freezeqty:
  14193. description: 冻结数量
  14194. type: number
  14195. goodscode:
  14196. description: 商品代码
  14197. type: string
  14198. goodsid:
  14199. description: 商品ID
  14200. type: integer
  14201. goodsname:
  14202. description: 商品名称
  14203. type: string
  14204. goodunitid:
  14205. description: 商品单位id
  14206. type: integer
  14207. holderamount:
  14208. description: 持仓金额
  14209. type: number
  14210. holdercredit:
  14211. description: 持仓授信金额
  14212. type: number
  14213. holderdays:
  14214. description: 剩余冻结天数
  14215. type: integer
  14216. holderprice:
  14217. description: 持仓价格
  14218. type: number
  14219. holderqty:
  14220. description: 持仓数量
  14221. type: number
  14222. isconfirmexercise:
  14223. description: 是否确认行权- 0:否 1:是
  14224. type: integer
  14225. ispreexercise:
  14226. description: 是否预申报- 0:否 1:是 2:不可行权
  14227. type: integer
  14228. marketid:
  14229. description: 市场id
  14230. type: integer
  14231. marketname:
  14232. description: 市场名称
  14233. type: string
  14234. openprice:
  14235. description: 建仓价格
  14236. type: number
  14237. openqty:
  14238. description: 建仓数量
  14239. type: number
  14240. optiontype:
  14241. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  14242. type: integer
  14243. preexerciseprice:
  14244. description: 预申报价格
  14245. type: number
  14246. premium:
  14247. description: 权利金
  14248. type: number
  14249. qtydecimalplace:
  14250. description: 商品成交量小数位
  14251. type: integer
  14252. refgoodscode:
  14253. description: 标的合约代码
  14254. type: string
  14255. refgoodsid:
  14256. description: 标的合约id
  14257. type: integer
  14258. releaseamount:
  14259. description: 释放持仓金额
  14260. type: number
  14261. releaseholdercredit:
  14262. description: 释放持仓授信金额
  14263. type: number
  14264. taname:
  14265. description: 资金账号名称
  14266. type: string
  14267. tradeamount:
  14268. description: 成交金额
  14269. type: number
  14270. tradedate:
  14271. description: 交易日(yyyyMMdd)
  14272. type: string
  14273. tradeid:
  14274. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14275. type: string
  14276. trademode:
  14277. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  14278. 21:竞拍-大宗式 22:受托竞价 46:掉期
  14279. type: integer
  14280. tradeproperty:
  14281. description: 交易属性
  14282. type: integer
  14283. tradetime:
  14284. description: 交易时间
  14285. type: string
  14286. userid:
  14287. description: 用户id
  14288. type: integer
  14289. username:
  14290. description: 用户名称
  14291. type: string
  14292. type: object
  14293. models.UserCollectConfig:
  14294. properties:
  14295. accountstatus:
  14296. description: 账户状态 - 1:正常 2:停用 3:注销
  14297. type: integer
  14298. collectaccountname:
  14299. description: 收款人账户名称
  14300. type: string
  14301. collectaccountno:
  14302. description: 收款人账户
  14303. type: string
  14304. collectbankname:
  14305. description: 收款人开户行
  14306. type: string
  14307. collectbranchbankname:
  14308. description: 收款人开户支行
  14309. type: string
  14310. collectconfigid:
  14311. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  14312. type: string
  14313. remark:
  14314. description: 备注
  14315. type: string
  14316. userid:
  14317. description: 收款人用户ID
  14318. type: integer
  14319. type: object
  14320. models.UserReceiveInfo:
  14321. properties:
  14322. address:
  14323. description: 提货人详细地址
  14324. type: string
  14325. autoid:
  14326. description: AutoID
  14327. type: integer
  14328. cardnum:
  14329. description: 证件号码(加密存储)
  14330. type: string
  14331. cardtypeid:
  14332. description: 证件类型
  14333. type: integer
  14334. cityid:
  14335. description: 市
  14336. type: integer
  14337. cityname:
  14338. description: 城市名称
  14339. type: string
  14340. countryid:
  14341. description: 国家
  14342. type: integer
  14343. countryname:
  14344. description: 国家名称
  14345. type: string
  14346. districtid:
  14347. description: 地区
  14348. type: integer
  14349. districtname:
  14350. description: 地区名称
  14351. type: string
  14352. hasencrypt:
  14353. description: 数据是否已加密 - 0:未加密 1:已加密
  14354. type: integer
  14355. isdefault:
  14356. description: 是否默认地址 - 0:否 1:是
  14357. type: integer
  14358. phonenum:
  14359. description: 提货人联系方式(加密存储)
  14360. type: string
  14361. provinceid:
  14362. description: 省
  14363. type: integer
  14364. provincename:
  14365. description: 省名称
  14366. type: string
  14367. receivername:
  14368. description: 提货人姓名
  14369. type: string
  14370. takeremark:
  14371. description: 提货备注
  14372. type: string
  14373. userid:
  14374. description: 用户ID
  14375. type: integer
  14376. type: object
  14377. models.Useraccount:
  14378. properties:
  14379. accountname:
  14380. description: 账户名称(机构名称)
  14381. type: string
  14382. accountstatus:
  14383. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  14384. type: integer
  14385. applysrc:
  14386. description: 申请来源 - 1:管理端 2:终端
  14387. type: integer
  14388. auditremark:
  14389. description: 审核备注
  14390. type: string
  14391. auditsrc:
  14392. description: 审核来源 - 1:管理端 2:终端
  14393. type: integer
  14394. audittime:
  14395. description: 审核时间
  14396. type: string
  14397. audituserid:
  14398. description: 审核人
  14399. type: integer
  14400. broker:
  14401. description: 所属经纪人ID
  14402. type: integer
  14403. canceltime:
  14404. description: 销户时间
  14405. type: string
  14406. canceluserid:
  14407. description: 销户人
  14408. type: integer
  14409. canrecommend:
  14410. description: 是否可推荐 - 0:不可 1;可
  14411. type: integer
  14412. createtime:
  14413. description: 创建时间
  14414. type: string
  14415. creatorid:
  14416. description: 创建人
  14417. type: integer
  14418. hasauth:
  14419. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  14420. type: integer
  14421. isanonymous:
  14422. description: 是否匿名下单 - 0:否 1:是
  14423. type: integer
  14424. maxinvestornum:
  14425. description: 最大用户数(经纪会员下投资者个数)
  14426. type: integer
  14427. memberuserid:
  14428. description: 所属会员ID
  14429. type: integer
  14430. modifierid:
  14431. description: 修改人
  14432. type: integer
  14433. modifyremark:
  14434. description: 变更备注
  14435. type: string
  14436. modifystatus:
  14437. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  14438. type: integer
  14439. modifytime:
  14440. description: 修改时间
  14441. type: string
  14442. parenttopuser:
  14443. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  14444. type: string
  14445. parentuserid:
  14446. description: 所属机构ID
  14447. type: integer
  14448. reckonaccountid:
  14449. description: 默认结算资金账号ID(机构分润使用) 作废
  14450. type: integer
  14451. refercount:
  14452. description: 推荐总人数
  14453. type: integer
  14454. refereeuserid:
  14455. description: 推荐人ID
  14456. type: integer
  14457. refernum:
  14458. description: 推荐码
  14459. type: string
  14460. rootuserid:
  14461. description: 根用户ID
  14462. type: integer
  14463. subaccountlevel:
  14464. description: 子账户层数
  14465. type: integer
  14466. subarealevelpath:
  14467. description: 子机构层级路径(逗号分隔,首尾加逗号)
  14468. type: string
  14469. userid:
  14470. description: 用户ID
  14471. type: integer
  14472. usertype:
  14473. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14474. type: integer
  14475. required:
  14476. - userid
  14477. type: object
  14478. models.Userfavoritegoods:
  14479. properties:
  14480. goodsid:
  14481. description: 商品ID
  14482. type: integer
  14483. required:
  14484. - goodsid
  14485. type: object
  14486. models.Userinfo:
  14487. properties:
  14488. address:
  14489. description: 地址
  14490. type: string
  14491. attachment1:
  14492. description: 附件1
  14493. type: string
  14494. attachment2:
  14495. description: 附件2
  14496. type: string
  14497. bankaccount:
  14498. description: 银行帐号 (加密存储)
  14499. type: string
  14500. bankaccountname:
  14501. description: 收款人名称
  14502. type: string
  14503. bankcardfrontphotourl:
  14504. description: 银行卡正面照地址
  14505. type: string
  14506. bankid:
  14507. description: 银行编码
  14508. type: string
  14509. bankname:
  14510. description: 银行名称
  14511. type: string
  14512. biznature:
  14513. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  14514. type: integer
  14515. bizscope:
  14516. description: 企业经营范围(企业)
  14517. type: string
  14518. cardbackphotourl:
  14519. description: 证件背面图片地址
  14520. type: string
  14521. cardfrontphotourl:
  14522. description: 证件正面图片地址
  14523. type: string
  14524. cardnum:
  14525. description: 证件号码(加密存储)
  14526. type: string
  14527. cardtypeid:
  14528. description: 证件类型ID
  14529. type: integer
  14530. cityid:
  14531. description: 市
  14532. type: integer
  14533. company:
  14534. description: 公司(个人)
  14535. type: string
  14536. contactname:
  14537. description: 联系人
  14538. type: string
  14539. countryid:
  14540. description: 国家
  14541. type: integer
  14542. createtime:
  14543. description: 创建时间
  14544. type: string
  14545. creatorid:
  14546. description: 创建人
  14547. type: integer
  14548. customername:
  14549. description: 客户名称(企业名称)
  14550. type: string
  14551. districtid:
  14552. description: 地区
  14553. type: integer
  14554. email:
  14555. description: 邮件(加密存储)
  14556. type: string
  14557. fax:
  14558. description: 传真(加密存储)
  14559. type: string
  14560. halfbodyphotourl:
  14561. description: 半身照地址
  14562. type: string
  14563. hasencrypt:
  14564. description: 数据是否已加密 - 0:未加密 1:已加密
  14565. type: integer
  14566. headurl:
  14567. description: 头像地址
  14568. type: string
  14569. legalcardbackphotourl:
  14570. description: 法人身份证背面照地址
  14571. type: string
  14572. legalcardfrontphotourl:
  14573. description: 法人身份证正面照地址
  14574. type: string
  14575. legalpersonname:
  14576. description: 法人姓名(企业)
  14577. type: string
  14578. mobile:
  14579. description: 手机号码(加密存储)
  14580. type: string
  14581. mobile2:
  14582. description: 手机号码[明文-尚志]
  14583. type: string
  14584. modifierid:
  14585. description: 修改人
  14586. type: integer
  14587. modifiertime:
  14588. description: 修改时间
  14589. type: string
  14590. needinvoice:
  14591. description: 是否需要发票 - 0:不需要 1:需要
  14592. type: integer
  14593. nickname:
  14594. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  14595. type: string
  14596. openmode:
  14597. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  14598. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  14599. type: integer
  14600. otherurl:
  14601. description: 其它图片地址[使用分号分隔]
  14602. type: string
  14603. postalcode:
  14604. description: 邮政编码
  14605. type: string
  14606. provinceid:
  14607. description: 省
  14608. type: integer
  14609. qq:
  14610. description: QQ(加密存储
  14611. type: string
  14612. remark:
  14613. description: 备注
  14614. type: string
  14615. sex:
  14616. description: '用户性别 0: 女 1: 男'
  14617. type: integer
  14618. signpdfurl:
  14619. description: 签约pdf文件
  14620. type: string
  14621. telphone:
  14622. description: 联系电话(加密存储)
  14623. type: string
  14624. userid:
  14625. description: 用户ID
  14626. type: integer
  14627. userinfotype:
  14628. description: 用户信息类型 - 1:个人 2:企业
  14629. type: integer
  14630. userstatus:
  14631. description: 用户状态 - 1:正常 2:注销
  14632. type: integer
  14633. usertype:
  14634. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  14635. type: integer
  14636. wechat:
  14637. description: 微信(加密存储)
  14638. type: string
  14639. wskhinfo:
  14640. description: 开户申请信息(JSON)
  14641. type: string
  14642. required:
  14643. - userid
  14644. type: object
  14645. models.WRSConverTDetail:
  14646. properties:
  14647. convertratio:
  14648. description: 套保系数
  14649. type: number
  14650. deliverygoodscode:
  14651. description: 现货商品代码
  14652. type: string
  14653. deliverygoodsid:
  14654. description: 现货品种ID
  14655. type: integer
  14656. deliverygoodsname:
  14657. description: 现货商品名称
  14658. type: string
  14659. enumdicname:
  14660. description: 单位名称
  14661. type: string
  14662. goodsunitid:
  14663. description: 套保品种单位id
  14664. type: integer
  14665. middlegoodscode:
  14666. description: 套保品种代码
  14667. type: string
  14668. middlegoodsid:
  14669. description: 套保品种ID
  14670. type: integer
  14671. middlegoodsname:
  14672. description: 套保品种名称
  14673. type: string
  14674. modifytime:
  14675. description: 修改时间
  14676. type: string
  14677. wrstandardid:
  14678. description: 品类ID
  14679. type: integer
  14680. type: object
  14681. models.WRStandardInfo:
  14682. properties:
  14683. areauserid:
  14684. description: 所属机构
  14685. type: integer
  14686. convertfactor:
  14687. description: 标仓系数
  14688. type: number
  14689. createtime:
  14690. description: 创建时间
  14691. type: string
  14692. creatorid:
  14693. description: 创建人
  14694. type: integer
  14695. deliverygoodsid:
  14696. description: 品种ID
  14697. type: integer
  14698. deliverygoodsname:
  14699. description: 交割商品名称
  14700. type: string
  14701. factoryitemjson:
  14702. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  14703. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  14704. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  14705. 逗号分隔'
  14706. type: string
  14707. isvalid:
  14708. description: 是否有效 - 0:无效 1:有效
  14709. type: integer
  14710. minivalue:
  14711. description: 最小变动值
  14712. type: integer
  14713. minivaluedp:
  14714. description: 最小变动值小数位
  14715. type: integer
  14716. realminivalue:
  14717. description: 实际最小变动值
  14718. type: integer
  14719. realminivaluedp:
  14720. description: 实际最小变动值小数位
  14721. type: integer
  14722. remark:
  14723. description: 备注
  14724. type: string
  14725. unitid:
  14726. description: 单位ID
  14727. type: integer
  14728. unitname:
  14729. description: 单位
  14730. type: string
  14731. updatetime:
  14732. description: 更新时间
  14733. type: string
  14734. updatorid:
  14735. description: 更新人
  14736. type: integer
  14737. wrsstatus:
  14738. description: 状态 - 作废 - 0:未激活 1:正常
  14739. type: integer
  14740. wrstandardcode:
  14741. description: 现货品类代码
  14742. type: string
  14743. wrstandardid:
  14744. description: 现货品类ID(SEQ_WRSTANDARD)
  14745. type: integer
  14746. wrstandardname:
  14747. description: 现货品类名称
  14748. type: string
  14749. required:
  14750. - wrstandardid
  14751. type: object
  14752. models.WRTradeBargainApply:
  14753. properties:
  14754. accountid:
  14755. description: 摘牌资金账号
  14756. type: integer
  14757. applyprice:
  14758. description: 申请价格(议价价格)
  14759. type: string
  14760. applyqty:
  14761. description: 摘牌数量(议价数量)
  14762. type: number
  14763. applyremark:
  14764. description: 申请备注
  14765. type: string
  14766. applystatus:
  14767. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  14768. type: integer
  14769. applytime:
  14770. description: 申请时间(议价时间)
  14771. type: string
  14772. begindate:
  14773. description: 开始交易日(yyyymmdd)
  14774. type: string
  14775. buyorsell:
  14776. description: 买卖(挂牌类型) - 0:买 1:卖
  14777. type: integer
  14778. confirmremark:
  14779. description: 确认备注
  14780. type: string
  14781. confirmtime:
  14782. description: 确认时间
  14783. type: string
  14784. confirmuserid:
  14785. description: 确认人
  14786. type: integer
  14787. deliverygoodscode:
  14788. description: 品种代码
  14789. type: string
  14790. deliverygoodsid:
  14791. description: 品种ID
  14792. type: integer
  14793. deliverygoodsname:
  14794. description: 品种名称
  14795. type: string
  14796. deliverymonth:
  14797. description: 交收月
  14798. type: string
  14799. enddate:
  14800. description: 结束交易日(yyyymmdd)
  14801. type: string
  14802. enumdicname:
  14803. description: 单位名称
  14804. type: string
  14805. fixedprice:
  14806. description: 挂牌价格
  14807. type: number
  14808. handlestatus:
  14809. description: 处理状态
  14810. type: integer
  14811. marginvalue:
  14812. description: 履约保证金比例
  14813. type: number
  14814. marketid:
  14815. description: 市场ID
  14816. type: integer
  14817. matchaccountid:
  14818. description: 挂牌方资金账号
  14819. type: integer
  14820. matchuserid:
  14821. description: 挂牌方用户id
  14822. type: integer
  14823. matchusername:
  14824. description: 挂牌方用户名称(已脱敏)
  14825. type: string
  14826. minivalue:
  14827. description: 现货商品最小变动值
  14828. type: integer
  14829. optioncompare:
  14830. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14831. type: string
  14832. orderqty:
  14833. description: 挂牌数量
  14834. type: integer
  14835. refprice:
  14836. description: 参考价格
  14837. type: string
  14838. retcode:
  14839. description: 委托返回代码
  14840. type: integer
  14841. templatename:
  14842. description: 履约方式(履约模板名称)
  14843. type: string
  14844. tradedate:
  14845. description: 交易日(yyyyMMdd)
  14846. type: string
  14847. userid:
  14848. description: 摘牌人用户ID(议价人ID)
  14849. type: integer
  14850. username:
  14851. description: 议价人名字(已脱敏)
  14852. type: string
  14853. validtime:
  14854. description: 有效期限
  14855. type: string
  14856. warehouseid:
  14857. description: 仓库ID
  14858. type: integer
  14859. warehousename:
  14860. description: 仓库名称
  14861. type: string
  14862. wrbargainid:
  14863. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  14864. type: string
  14865. wrfactortypeid:
  14866. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14867. type: string
  14868. wrfactortypename:
  14869. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14870. type: string
  14871. wrstandardcode:
  14872. description: 现货商品代码
  14873. type: string
  14874. wrstandardid:
  14875. description: 现货商品ID
  14876. type: integer
  14877. wrstandardname:
  14878. description: 商品名称
  14879. type: string
  14880. wrtradeorderid:
  14881. description: 关联委托单ID
  14882. type: string
  14883. wrtypename:
  14884. description: 商品
  14885. type: string
  14886. type: object
  14887. models.Warehouseinfo:
  14888. properties:
  14889. address:
  14890. description: 详细地址
  14891. type: string
  14892. areauserid:
  14893. description: 所属机构
  14894. type: integer
  14895. autoid:
  14896. description: 自增ID
  14897. type: integer
  14898. cityid:
  14899. description: 市
  14900. type: integer
  14901. contactname:
  14902. description: 联系人
  14903. type: string
  14904. contactnum:
  14905. description: 联系电话
  14906. type: string
  14907. countryid:
  14908. description: 国家
  14909. type: integer
  14910. createtime:
  14911. description: 创建时间
  14912. type: string
  14913. districtid:
  14914. description: 区
  14915. type: integer
  14916. hasvideo:
  14917. description: 是否有视频 - 0:无 1:有
  14918. type: integer
  14919. provinceid:
  14920. description: 省
  14921. type: integer
  14922. remark:
  14923. description: 审核备注
  14924. type: string
  14925. videourl:
  14926. description: 视频地址
  14927. type: string
  14928. warehousecode:
  14929. description: 仓库代码
  14930. type: string
  14931. warehousename:
  14932. description: 仓库名称
  14933. type: string
  14934. warehousestatus:
  14935. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  14936. type: integer
  14937. warehousetype:
  14938. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  14939. type: integer
  14940. required:
  14941. - autoid
  14942. - warehousecode
  14943. type: object
  14944. models.WrAverageTradePrice:
  14945. properties:
  14946. averageprice:
  14947. description: 成交均价
  14948. type: number
  14949. tradedate:
  14950. description: 交易日yyyymm
  14951. type: string
  14952. type: object
  14953. models.WrBrandAndYears:
  14954. properties:
  14955. brandlst:
  14956. description: 品牌列表
  14957. items:
  14958. $ref: '#/definitions/models.DgFactoryItem'
  14959. type: array
  14960. yearslst:
  14961. description: 年份列表
  14962. items:
  14963. $ref: '#/definitions/models.DgFactoryItem'
  14964. type: array
  14965. type: object
  14966. models.WrBsGoodsInfo:
  14967. properties:
  14968. buyorsell:
  14969. description: 买卖方向 0-买 1-卖
  14970. type: integer
  14971. goodsid:
  14972. description: 交易合约ID
  14973. type: integer
  14974. lstitem:
  14975. description: 商品信息项
  14976. items:
  14977. $ref: '#/definitions/models.WrTypeItem'
  14978. type: array
  14979. lststep:
  14980. description: 履约规则
  14981. items:
  14982. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14983. type: array
  14984. type: object
  14985. models.WrBuybackDetail:
  14986. properties:
  14987. buybackamount:
  14988. description: 回购金额
  14989. type: number
  14990. buybackqty:
  14991. description: 回购数量
  14992. type: number
  14993. buybackreleasemargin:
  14994. description: 回购释放保证金
  14995. type: number
  14996. buybacktime:
  14997. description: 回购时间
  14998. type: string
  14999. errordesc:
  15000. description: 错误描述
  15001. type: string
  15002. handlestatus:
  15003. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  15004. type: integer
  15005. relatedwrid:
  15006. description: 关联仓单ID
  15007. type: integer
  15008. scfcontractid:
  15009. description: SCF合同ID
  15010. type: string
  15011. scfwrbuybackid:
  15012. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  15013. type: integer
  15014. tradedate:
  15015. description: 交易日(yyyyMMdd)
  15016. type: string
  15017. type: object
  15018. models.WrClientAdSpaceConfig:
  15019. properties:
  15020. adspaceid:
  15021. description: 广告位ID
  15022. type: integer
  15023. adspacename:
  15024. description: 广告位名称
  15025. type: string
  15026. adspacetype:
  15027. description: 广告位类型 - 1:固定广告位
  15028. type: integer
  15029. areauserid:
  15030. description: 所属机构ID
  15031. type: integer
  15032. createdate:
  15033. description: 创建时间
  15034. type: string
  15035. imagepath:
  15036. description: 图片
  15037. type: string
  15038. modifierid:
  15039. description: 操作人
  15040. type: integer
  15041. recsize:
  15042. description: 推荐尺寸
  15043. type: string
  15044. title:
  15045. description: 标题
  15046. type: string
  15047. updatedate:
  15048. description: 更新时间
  15049. type: string
  15050. urlcontent:
  15051. description: 链接(地址\商品ID\功能菜单Key\appid)
  15052. type: string
  15053. urltype:
  15054. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  15055. type: integer
  15056. type: object
  15057. models.WrDeliveryAvalidHoldLB:
  15058. properties:
  15059. accountid:
  15060. description: 资金账号
  15061. type: integer
  15062. avalidqty:
  15063. description: 数量(可点选数量)
  15064. type: number
  15065. deliverygoodsid:
  15066. description: 品种id
  15067. type: integer
  15068. enumdicname:
  15069. description: 单位名称
  15070. type: string
  15071. goodsid:
  15072. description: x合约商品id
  15073. type: integer
  15074. ladingbillid:
  15075. description: 提单id
  15076. type: string
  15077. pgoodscode:
  15078. description: p商品代码(点价合约)
  15079. type: string
  15080. pgoodsid:
  15081. description: p商品id(点价合约)
  15082. type: integer
  15083. pgoodsname:
  15084. description: p商品名称(点价合约)
  15085. type: string
  15086. pricemove:
  15087. description: 升贴水
  15088. type: number
  15089. subnum:
  15090. description: 提单子id
  15091. type: integer
  15092. userid:
  15093. description: 用户id
  15094. type: integer
  15095. username:
  15096. description: 仓单持有人
  15097. type: string
  15098. warehousecode:
  15099. description: 仓库代码
  15100. type: string
  15101. warehouseid:
  15102. description: 仓库id
  15103. type: integer
  15104. warehousename:
  15105. description: 仓库名称
  15106. type: string
  15107. wrfactortypeid:
  15108. description: 仓单要素id
  15109. type: string
  15110. wrstandardcode:
  15111. description: 品代码
  15112. type: string
  15113. wrstandardid:
  15114. description: 品类d
  15115. type: integer
  15116. wrstandardname:
  15117. description: 品类名称
  15118. type: string
  15119. wrtypename:
  15120. description: 商品
  15121. type: string
  15122. xgoodscode:
  15123. description: x合约代码
  15124. type: string
  15125. xgoodsname:
  15126. description: x合约名称
  15127. type: string
  15128. type: object
  15129. models.WrDeliveryDetail:
  15130. properties:
  15131. accountid:
  15132. description: 账号ID
  15133. type: integer
  15134. averageprice:
  15135. description: 交割均价 = 交割金额 / 交割数量
  15136. type: number
  15137. begindate:
  15138. description: 开始交易日(yyyymmdd)
  15139. type: string
  15140. buyorsell:
  15141. description: 方向 - 0:买 1:卖
  15142. type: integer
  15143. deliveryamount:
  15144. description: 货款金额(X总货款+P总货款)
  15145. type: number
  15146. deliveryid:
  15147. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  15148. type: string
  15149. deliveryorderid:
  15150. description: 申报单号
  15151. type: string
  15152. deliverypricemove:
  15153. description: 升贴水(升贴水总额)
  15154. type: number
  15155. deliveryqty:
  15156. description: 交收数量(点选数量)
  15157. type: number
  15158. deliverystatus:
  15159. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  15160. type: integer
  15161. deliverytime:
  15162. description: 交割时间
  15163. type: string
  15164. deliverytotalamount:
  15165. description: 交收金额
  15166. type: number
  15167. enddate:
  15168. description: 结束交易日(yyyymmdd)
  15169. type: string
  15170. enumdicname:
  15171. description: 单位名称
  15172. type: string
  15173. matchaccountid:
  15174. description: 对手账号ID
  15175. type: integer
  15176. matchusername:
  15177. description: 对手方名称(仓单持有人)
  15178. type: string
  15179. p1goodsremainamount:
  15180. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  15181. type: number
  15182. pdeliverycloseqty:
  15183. description: p合约平仓数量
  15184. type: number
  15185. pdeliveryprice:
  15186. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  15187. type: number
  15188. pgoodscode:
  15189. description: 商品代码
  15190. type: string
  15191. pgoodsid:
  15192. description: p点选合约id
  15193. type: integer
  15194. pgoodsname:
  15195. description: 商品名称
  15196. type: string
  15197. ppricemode:
  15198. description: 点价价格方式 - 1:商品价 2:固定值
  15199. type: integer
  15200. tradedate:
  15201. description: 交易日(yyyymmdd)
  15202. type: string
  15203. userid:
  15204. description: 用户id
  15205. type: integer
  15206. username:
  15207. description: 用户名称
  15208. type: string
  15209. warehousename:
  15210. description: 仓库名称
  15211. type: string
  15212. wrfactortypeid:
  15213. description: 仓单要素类型ID
  15214. type: string
  15215. wrtypename:
  15216. description: 商品
  15217. type: string
  15218. xdeliverycloseqty:
  15219. description: 合约数量
  15220. type: number
  15221. xgoodsamount:
  15222. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  15223. type: number
  15224. xgoodscode:
  15225. description: 商品代码
  15226. type: string
  15227. xgoodsid:
  15228. description: x交易合约ID
  15229. type: integer
  15230. xgoodsname:
  15231. description: 商品名称
  15232. type: string
  15233. type: object
  15234. models.WrDeliveryGoodsSection:
  15235. properties:
  15236. dglst:
  15237. description: 板块商品列表
  15238. items:
  15239. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  15240. type: array
  15241. imagepath:
  15242. description: 图片地址
  15243. type: string
  15244. orderindex:
  15245. description: 排序
  15246. type: integer
  15247. sectionid:
  15248. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  15249. = 1的版块1 - 云融指数
  15250. type: integer
  15251. sectionname:
  15252. description: 版块名称
  15253. type: string
  15254. sectiontype:
  15255. description: 版块类型 - 1:指数版块 2:普通版块
  15256. type: integer
  15257. type: object
  15258. models.WrDeliveryGoodsSectionConfig:
  15259. properties:
  15260. deliverygoodscode:
  15261. description: 现货商品代码
  15262. type: string
  15263. deliverygoodsid:
  15264. description: 现货品种ID(SEQ_DELIVERYGOODS)
  15265. type: integer
  15266. deliverygoodsname:
  15267. description: 现货商品名称
  15268. type: string
  15269. orderindex:
  15270. description: 排序
  15271. type: integer
  15272. type: object
  15273. models.WrDraftUserInfo:
  15274. properties:
  15275. address:
  15276. description: 地址
  15277. type: string
  15278. attachment1:
  15279. description: 附件1
  15280. type: string
  15281. attachment2:
  15282. description: 附件2
  15283. type: string
  15284. attachment3:
  15285. description: 附件3
  15286. type: string
  15287. attachment4:
  15288. description: 附件4
  15289. type: string
  15290. attachment5:
  15291. description: 附件5
  15292. type: string
  15293. bankaccount:
  15294. description: 银行帐号 (加密存储)
  15295. type: string
  15296. bankaccountname:
  15297. description: 收款人名称
  15298. type: string
  15299. bankcardfrontphotourl:
  15300. description: 银行卡正面照地址
  15301. type: string
  15302. bankid:
  15303. description: 银行编码
  15304. type: string
  15305. bankname:
  15306. description: 银行名称
  15307. type: string
  15308. birthday:
  15309. description: 生日(个人:年月日)
  15310. type: string
  15311. biznature:
  15312. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  15313. type: integer
  15314. bizscope:
  15315. description: 企业经营范围(企业)
  15316. type: string
  15317. biztype:
  15318. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  15319. type: integer
  15320. cardbackphotourl:
  15321. description: 证件背面图片地址
  15322. type: string
  15323. cardfrontphotourl:
  15324. description: 证件正面图片地址
  15325. type: string
  15326. cardnum:
  15327. description: 证件号码(加密存储)
  15328. type: string
  15329. cardtypeid:
  15330. description: 证件类型ID
  15331. type: integer
  15332. cityid:
  15333. description: 市
  15334. type: integer
  15335. company:
  15336. description: 公司(个人)
  15337. type: string
  15338. contactcardbackphotourl:
  15339. description: 联系人证件背面图片地址
  15340. type: string
  15341. contactcardfrontphotourl:
  15342. description: 联系人证件正面图片地址
  15343. type: string
  15344. contactname:
  15345. description: 联系人
  15346. type: string
  15347. countryid:
  15348. description: 国家
  15349. type: integer
  15350. createtime:
  15351. description: 创建时间
  15352. type: string
  15353. creatorid:
  15354. description: 创建人
  15355. type: integer
  15356. creditquota:
  15357. description: 授信额度(金瑞)
  15358. type: number
  15359. customername:
  15360. description: 客户名称(企业名称)
  15361. type: string
  15362. districtid:
  15363. description: 地区
  15364. type: integer
  15365. email:
  15366. description: 邮件(加密存储)
  15367. type: string
  15368. fax:
  15369. description: 传真(加密存储)
  15370. type: string
  15371. halfbodyphotourl:
  15372. description: 半身照地址
  15373. type: string
  15374. hasencrypt:
  15375. description: 数据是否已加密 - 0:未加密 1:已加密
  15376. type: integer
  15377. headurl:
  15378. description: 头像地址
  15379. type: string
  15380. legalcardbackphotourl:
  15381. description: 法人身份证背面照地址
  15382. type: string
  15383. legalcardfrontphotourl:
  15384. description: 法人身份证正面照地址
  15385. type: string
  15386. legalpersonname:
  15387. description: 法人姓名(企业)
  15388. type: string
  15389. mobile:
  15390. description: 手机号码(加密存储)
  15391. type: string
  15392. mobile2:
  15393. description: 手机号码[明文-尚志]
  15394. type: string
  15395. modifierid:
  15396. description: 修改人
  15397. type: integer
  15398. modifiertime:
  15399. description: 修改时间
  15400. type: string
  15401. needinvoice:
  15402. description: 是否需要发票 - 0:不需要 1:需要
  15403. type: integer
  15404. nickname:
  15405. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  15406. type: string
  15407. openmode:
  15408. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  15409. 6:苹果手机端注册 7:PC交易端注册"
  15410. type: integer
  15411. otherurl:
  15412. description: 其它图片地址[使用分号分隔]
  15413. type: string
  15414. postalcode:
  15415. description: 邮政编码
  15416. type: string
  15417. provinceid:
  15418. description: 省
  15419. type: integer
  15420. proxystatementurl:
  15421. description: 授权委托书
  15422. type: string
  15423. qq:
  15424. description: QQ(加密存储
  15425. type: string
  15426. remark:
  15427. description: 备注
  15428. type: string
  15429. sex:
  15430. description: '用户性别 0: 女 1: 男'
  15431. type: integer
  15432. signpdfurl:
  15433. description: 签约pdf文件
  15434. type: string
  15435. taxpayernum:
  15436. description: 纳税人识别号
  15437. type: string
  15438. telphone:
  15439. description: 联系电话(加密存储)
  15440. type: string
  15441. userid:
  15442. description: 用户ID
  15443. type: integer
  15444. userinfotype:
  15445. description: 用户信息类型 - 1:个人 2:企业
  15446. type: integer
  15447. userstatus:
  15448. description: 用户状态 - 1:正常 2:注销
  15449. type: integer
  15450. usertype:
  15451. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  15452. type: integer
  15453. wechat:
  15454. description: 微信(加密存储)
  15455. type: string
  15456. wskhinfo:
  15457. description: 开户申请信息(JSON)
  15458. type: string
  15459. type: object
  15460. models.WrFAProductDetail:
  15461. properties:
  15462. accountid:
  15463. description: 资金账号
  15464. type: integer
  15465. areauserid:
  15466. description: 金融机构ID
  15467. type: integer
  15468. financingdays:
  15469. description: 天数(天)
  15470. type: integer
  15471. interestminlen:
  15472. description: 最小起息天数
  15473. type: integer
  15474. interestrate:
  15475. description: 利率
  15476. type: number
  15477. interestratemode:
  15478. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15479. type: integer
  15480. interestsettlemode:
  15481. description: 结息方式 - 1:按日结息 3:按月结息
  15482. type: integer
  15483. interestsettlevalue:
  15484. description: 结息方式值
  15485. type: integer
  15486. isautoloan:
  15487. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  15488. type: integer
  15489. loantag:
  15490. description: '放款标识: "放款快" 或者为空'
  15491. type: string
  15492. marginratio:
  15493. description: 保证金比率质押率 - [仓单质押]
  15494. type: number
  15495. productdetailid:
  15496. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  15497. type: integer
  15498. productid:
  15499. description: 金融产品ID
  15500. type: integer
  15501. productname:
  15502. description: 产品名称
  15503. type: string
  15504. updatetime:
  15505. description: 更新时间
  15506. type: string
  15507. username:
  15508. description: 融出方
  15509. type: string
  15510. type: object
  15511. models.WrFactorTypeInfo:
  15512. properties:
  15513. deliverygoodscode:
  15514. description: 品种代码
  15515. type: string
  15516. deliverygoodsname:
  15517. description: 品种名称
  15518. type: string
  15519. dgfactoryitemid:
  15520. description: 选择项id
  15521. type: integer
  15522. dgfactoryitemtypeid:
  15523. description: 要素选择项ID (1-仓库 2-品牌)
  15524. type: integer
  15525. dgfactoryitemvalue:
  15526. description: 要素项值
  15527. type: string
  15528. itemtypename:
  15529. description: 要素项名称
  15530. type: string
  15531. optioncompare:
  15532. description: 选择比较串
  15533. type: string
  15534. warehouseid:
  15535. description: 仓库id
  15536. type: integer
  15537. wrfactortypeid:
  15538. description: 仓单要素ID
  15539. type: string
  15540. wrfactortypename:
  15541. description: 要素名称
  15542. type: string
  15543. wrfactortypename2:
  15544. description: 要素名称(不含仓库)
  15545. type: string
  15546. wrstandardcode:
  15547. description: 品类代码
  15548. type: string
  15549. wrstandardid:
  15550. description: 品类id
  15551. type: integer
  15552. wrstandardname:
  15553. description: 品类名称
  15554. type: string
  15555. type: object
  15556. models.WrFilterItem:
  15557. properties:
  15558. itemcode:
  15559. description: 代码
  15560. type: string
  15561. itemid:
  15562. description: 项id
  15563. type: integer
  15564. itemname:
  15565. description: 名称
  15566. type: string
  15567. itemtype:
  15568. description: 类型 1-品种 2-品类(商品) 3-仓库
  15569. type: integer
  15570. type: object
  15571. models.WrFinanceBuyApply:
  15572. properties:
  15573. applydate:
  15574. description: 申请时间
  15575. type: string
  15576. applystatus:
  15577. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  15578. type: integer
  15579. applyuserid:
  15580. description: 申请人
  15581. type: integer
  15582. auditdate:
  15583. description: 审核时间
  15584. type: string
  15585. auditremark:
  15586. description: 审核备注
  15587. type: string
  15588. audituserid:
  15589. description: 审核人
  15590. type: integer
  15591. buyaccountid:
  15592. description: 买方资金账号
  15593. type: integer
  15594. buyorsell:
  15595. description: 买卖 - 0:买 1:卖
  15596. type: integer
  15597. buyuserid:
  15598. description: 买方用户ID
  15599. type: integer
  15600. buyusername:
  15601. description: 买方名称
  15602. type: string
  15603. buywrtradeorderid:
  15604. description: 融资方买委托单ID
  15605. type: string
  15606. deliverygoodscode:
  15607. description: 品种代码
  15608. type: string
  15609. deliverygoodsid:
  15610. description: 品种ID
  15611. type: integer
  15612. deliverygoodsname:
  15613. description: 品种名称
  15614. type: string
  15615. deliverymonth:
  15616. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  15617. type: string
  15618. enumdicname:
  15619. description: 单位名称
  15620. type: string
  15621. financeaccountid:
  15622. description: 融资方资金帐户ID
  15623. type: integer
  15624. financeapplyid:
  15625. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15626. type: string
  15627. financeareauserid:
  15628. description: 融资方用户ID
  15629. type: string
  15630. financename:
  15631. description: 融出方名称
  15632. type: string
  15633. financetype:
  15634. description: 融资类型 1-融资回购
  15635. type: integer
  15636. financingdays:
  15637. description: 天数(天)
  15638. type: integer
  15639. freezebuymargin:
  15640. description: 冻结融资保证金(买方)
  15641. type: number
  15642. handleremark:
  15643. description: 处理备注
  15644. type: string
  15645. handlestatus:
  15646. description: 处理状态
  15647. type: integer
  15648. interestminlen:
  15649. description: 最小起息天数
  15650. type: integer
  15651. interestrate:
  15652. description: 利率
  15653. type: number
  15654. interestratemode:
  15655. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15656. type: integer
  15657. interestsettlemode:
  15658. description: 结息方式 - 1:按日结息 3:按月结息
  15659. type: integer
  15660. interestsettlevalue:
  15661. description: 结息方式值
  15662. type: integer
  15663. isautoloan:
  15664. description: 是否自动放款 - 0:手动 1:自动
  15665. type: integer
  15666. marginratio:
  15667. description: 保证金比率质押率 - [仓单质押]
  15668. type: number
  15669. marketid:
  15670. description: 市场ID
  15671. type: integer
  15672. minivalue:
  15673. description: 现货商品最小变动值
  15674. type: integer
  15675. optioncompare:
  15676. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15677. type: string
  15678. orderqty:
  15679. description: 委托数量(商品数量)
  15680. type: number
  15681. productdetailid:
  15682. description: 产品组合ID
  15683. type: integer
  15684. productid:
  15685. description: 金融产品ID
  15686. type: integer
  15687. productname:
  15688. description: 产品名称
  15689. type: string
  15690. remark:
  15691. description: 备注
  15692. type: string
  15693. scfcontractid:
  15694. description: 仓单回购合同ID
  15695. type: string
  15696. sellaccountid:
  15697. description: 卖方资金账号
  15698. type: integer
  15699. selluserid:
  15700. description: 卖方用户ID
  15701. type: integer
  15702. sellwrtradeorderid:
  15703. description: 卖方委托单ID
  15704. type: string
  15705. tradeamount:
  15706. description: 成交金额(借款金额)
  15707. type: number
  15708. tradedate:
  15709. description: 交易日(yyyyMMdd)
  15710. type: string
  15711. tradeprice:
  15712. description: 成交价格
  15713. type: number
  15714. warehouseid:
  15715. description: 仓库ID
  15716. type: integer
  15717. warehousename:
  15718. description: 仓库名称
  15719. type: string
  15720. wrfactortypeid:
  15721. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15722. type: string
  15723. wrfactortypename:
  15724. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15725. type: string
  15726. wrpricetype:
  15727. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  15728. type: integer
  15729. wrstandardcode:
  15730. description: 现货商品代码
  15731. type: string
  15732. wrstandardid:
  15733. description: 现货商品ID
  15734. type: integer
  15735. wrstandardname:
  15736. description: 商品名称
  15737. type: string
  15738. wrtypename:
  15739. description: 商品
  15740. type: string
  15741. type: object
  15742. models.WrFriendApply:
  15743. properties:
  15744. applicantid:
  15745. description: 申请人
  15746. type: integer
  15747. applyname:
  15748. description: 申请人名称
  15749. type: string
  15750. applysrc:
  15751. description: 申请来源 - 1:管理端 2:终端
  15752. type: integer
  15753. applystatus:
  15754. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15755. type: integer
  15756. applytime:
  15757. description: 申请时间
  15758. type: string
  15759. auditname:
  15760. description: 审核人名称
  15761. type: string
  15762. auditorid:
  15763. description: 审核人
  15764. type: integer
  15765. auditremark:
  15766. description: 审核备注
  15767. type: string
  15768. auditsrc:
  15769. description: 审核来源 - 1:管理端 2:终端
  15770. type: integer
  15771. audittime:
  15772. description: 审核时间
  15773. type: string
  15774. friendapplyid:
  15775. description: 申请ID(SEQ_FRIENDAPPLY)
  15776. type: string
  15777. friendname:
  15778. description: 好友名字(已脱敏)
  15779. type: string
  15780. frienduserid:
  15781. description: 好友用户ID
  15782. type: string
  15783. remark:
  15784. description: 备注
  15785. type: string
  15786. userid:
  15787. description: 申请人用户ID
  15788. type: integer
  15789. type: object
  15790. models.WrFtDeliveryGoods:
  15791. properties:
  15792. deliverygoodscode:
  15793. description: 品种代码
  15794. type: string
  15795. deliverygoodsid:
  15796. description: 品种ID
  15797. type: integer
  15798. deliverygoodsname:
  15799. description: 品种名称
  15800. type: string
  15801. wdlst:
  15802. description: 商品列表
  15803. items:
  15804. $ref: '#/definitions/models.WrFtWrstandard'
  15805. type: array
  15806. type: object
  15807. models.WrFtWrstandard:
  15808. properties:
  15809. enumdicname:
  15810. description: 单位名称
  15811. type: string
  15812. minivalue:
  15813. description: 最小变动值
  15814. type: integer
  15815. wrstandardcode:
  15816. description: 现货商品代码
  15817. type: string
  15818. wrstandardid:
  15819. description: 现货商品ID
  15820. type: integer
  15821. wrstandardname:
  15822. description: 商品名称
  15823. type: string
  15824. type: object
  15825. models.WrGoodsInfo:
  15826. properties:
  15827. haswr:
  15828. description: 0:仓单预售 1:仓单贸易
  15829. type: integer
  15830. lstitem:
  15831. description: 商品信息项
  15832. items:
  15833. $ref: '#/definitions/models.WrTypeItem'
  15834. type: array
  15835. lststep:
  15836. description: 履约规则
  15837. items:
  15838. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15839. type: array
  15840. marketid:
  15841. description: 市场id
  15842. type: integer
  15843. type: object
  15844. models.WrGoodsPerformanceStep:
  15845. properties:
  15846. autoid:
  15847. description: AutoID
  15848. type: integer
  15849. isauto:
  15850. description: 是否自动 - 0:不自动 1:自动
  15851. type: integer
  15852. remark:
  15853. description: 备注
  15854. type: string
  15855. stepdate:
  15856. description: 天数信息(T+N)
  15857. type: string
  15858. stepdays:
  15859. description: 距离上一步天数
  15860. type: integer
  15861. stepindex:
  15862. description: 步骤序号
  15863. type: integer
  15864. stepinfo:
  15865. description: 步骤信息(步骤名称+步骤值)
  15866. type: string
  15867. steptypeid:
  15868. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  15869. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15870. type: integer
  15871. steptypename:
  15872. description: 步骤名称
  15873. type: string
  15874. stepvalue:
  15875. description: 步骤值
  15876. type: number
  15877. templateid:
  15878. description: 履约计划模板ID
  15879. type: integer
  15880. type: object
  15881. models.WrHoldLB:
  15882. properties:
  15883. accountid:
  15884. description: 持有人帐户ID
  15885. type: integer
  15886. bannerpicurl:
  15887. description: Banner图
  15888. type: string
  15889. createtime:
  15890. description: 创建时间(过户时间)
  15891. type: string
  15892. deliverygoodscode:
  15893. description: 品种代码
  15894. type: string
  15895. deliverygoodsid:
  15896. description: 品种ID
  15897. type: integer
  15898. deliverygoodsname:
  15899. description: 品种名称
  15900. type: string
  15901. enableqty:
  15902. description: 可用数量
  15903. type: number
  15904. enumdicname:
  15905. description: 单位名称
  15906. type: string
  15907. freezerqty:
  15908. description: 冻结数量
  15909. type: number
  15910. ladingbillid:
  15911. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15912. type: string
  15913. minivalue:
  15914. description: 现货商品最小变动值
  15915. type: integer
  15916. optioncompare:
  15917. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15918. type: string
  15919. parentsubnum:
  15920. description: 拆分父子单号
  15921. type: integer
  15922. pledgeqty:
  15923. description: 质押数量
  15924. type: number
  15925. qty:
  15926. description: 数量
  15927. type: number
  15928. subnum:
  15929. description: 提单子单号
  15930. type: integer
  15931. tradedate:
  15932. description: 交易日(yyyyMMdd)
  15933. type: string
  15934. userid:
  15935. description: 持有人ID
  15936. type: integer
  15937. warehouseid:
  15938. description: 仓库ID
  15939. type: integer
  15940. warehousename:
  15941. description: 仓库名称
  15942. type: string
  15943. wrfactortypeid:
  15944. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15945. type: string
  15946. wrfactortypename:
  15947. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15948. type: string
  15949. wrholdeno:
  15950. description: 仓单编号
  15951. type: string
  15952. wrid:
  15953. description: 仓单变更ID
  15954. type: string
  15955. wrstandardcode:
  15956. description: 现货商品代码
  15957. type: string
  15958. wrstandardid:
  15959. description: 现货商品ID
  15960. type: integer
  15961. wrstandardname:
  15962. description: 商品名称
  15963. type: string
  15964. wrtypename:
  15965. description: 商品
  15966. type: string
  15967. type: object
  15968. models.WrMarketTradeConfig:
  15969. properties:
  15970. basisdownratio:
  15971. description: 浮动价基差下限比例(仓单贸易)
  15972. type: number
  15973. basisupratio:
  15974. description: 浮动价基差上限比例(仓单贸易)
  15975. type: number
  15976. buychargealgorithm:
  15977. description: 买方手续费收取方式 1:比率 2:固定
  15978. type: integer
  15979. buychargealgorithm2:
  15980. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  15981. type: integer
  15982. buychargealgorithmvalue:
  15983. description: 买方手续费设置值(交易所部分)
  15984. type: number
  15985. buychargealgorithmvalue2:
  15986. description: 买方手续费设置值(会员部分)
  15987. type: number
  15988. buychargealgorithmvalue3:
  15989. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  15990. type: number
  15991. buychargealgorithmvalue4:
  15992. description: 回购买方手续费设置值(会员部分) --77:现货商城
  15993. type: number
  15994. buyfirstmarginalgorithm:
  15995. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  15996. type: integer
  15997. buyfirstmarginvalue:
  15998. description: 买方出价保证金设置值 - [竞拍]
  15999. type: number
  16000. buymarginalgorithm:
  16001. description: 买方保证金方式 - 1:比率 2:固定
  16002. type: integer
  16003. buymarginvalue:
  16004. description: 买方保证金设置值
  16005. type: number
  16006. buyreleaseratio:
  16007. description: 买方释放比率[2:分步履约]
  16008. type: number
  16009. executemode:
  16010. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  16011. type: integer
  16012. executeside:
  16013. description: 执行方[2:分步履约] - 1:买方 2:卖方
  16014. type: integer
  16015. failedchargealgorithm:
  16016. description: 流拍手续费收取方式 1:比率 2:固定
  16017. type: integer
  16018. failedchargevalue:
  16019. description: 流拍手续费设置值
  16020. type: number
  16021. failedchargevalue2:
  16022. description: 流拍卖方手续费设置值
  16023. type: number
  16024. holddays:
  16025. description: 合同期限[2:分步履约]
  16026. type: integer
  16027. marketid:
  16028. description: 市场ID-仓单贸易、竞拍、预售
  16029. type: integer
  16030. minqty:
  16031. description: 最小执行量[2:分步履约]
  16032. type: number
  16033. modifierid:
  16034. description: 修改人
  16035. type: integer
  16036. performancetempid:
  16037. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  16038. 立即执行(-1)
  16039. type: integer
  16040. performancetempid2:
  16041. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  16042. 立即执行
  16043. type: integer
  16044. performancetempid2s:
  16045. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  16046. - 履约方式: 立即执行
  16047. type: string
  16048. performancetempids:
  16049. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  16050. - 履约方式: 立即执行(-1)
  16051. type: string
  16052. performanceway:
  16053. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  16054. type: integer
  16055. sellchargealgorithm:
  16056. description: 卖方手续费收取方式 1:比率 2:固定
  16057. type: integer
  16058. sellchargealgorithm2:
  16059. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  16060. type: integer
  16061. sellchargealgorithmvalue:
  16062. description: 卖方手续费设置值(交易所部分)
  16063. type: number
  16064. sellchargealgorithmvalue2:
  16065. description: 卖方手续费设置值(会员部分)
  16066. type: number
  16067. sellchargealgorithmvalue3:
  16068. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  16069. type: number
  16070. sellchargealgorithmvalue4:
  16071. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  16072. type: number
  16073. sellmarginalgorithm:
  16074. description: 卖方保证金方式 - 1:比率 2:固定
  16075. type: integer
  16076. sellmarginvalue:
  16077. description: 卖方保证金设置值
  16078. type: number
  16079. sellmarginvalue2:
  16080. description: 卖方保证金设置值(无仓单)
  16081. type: number
  16082. sellreleaseratio:
  16083. description: 卖方释放比率[2:分步履约]
  16084. type: number
  16085. updatetime:
  16086. description: 更新时间
  16087. type: string
  16088. type: object
  16089. models.WrOrderDetail:
  16090. properties:
  16091. accountid:
  16092. description: 交易账号(资金账号)
  16093. type: integer
  16094. allfriendsflag:
  16095. description: 是否全好友可见 - 0:否 1:是
  16096. type: integer
  16097. amount:
  16098. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  16099. type: number
  16100. bannerpicurl:
  16101. description: Banner图
  16102. type: string
  16103. begindate:
  16104. description: 开始交易日(yyyymmdd)
  16105. type: string
  16106. buyorsell:
  16107. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16108. type: integer
  16109. canbargain:
  16110. description: 是否可议价 - 0:不可 1:可
  16111. type: integer
  16112. cancelqty:
  16113. description: 撤销数量
  16114. type: number
  16115. canpart:
  16116. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  16117. type: integer
  16118. delistminqty:
  16119. description: 起摘数量
  16120. type: integer
  16121. deliverygoodscode:
  16122. description: 品种代码
  16123. type: string
  16124. deliverygoodsid:
  16125. description: 品种ID
  16126. type: integer
  16127. deliverygoodsname:
  16128. description: 品种名称
  16129. type: string
  16130. deliverymonth:
  16131. description: 交收月
  16132. type: string
  16133. enddate:
  16134. description: 结束交易日(yyyymmdd)
  16135. type: string
  16136. enumdicname:
  16137. description: 单位名称
  16138. type: string
  16139. fixedprice:
  16140. description: 固定价格 - [挂牌]
  16141. type: number
  16142. freezecharge:
  16143. description: 冻结手续费
  16144. type: number
  16145. freezemargin:
  16146. description: 冻结保证金(保证金)
  16147. type: number
  16148. futupricemove:
  16149. description: 期货升贴水
  16150. type: number
  16151. futushow:
  16152. description: 期货合约/升贴水
  16153. type: string
  16154. goodscode:
  16155. description: 期货合约
  16156. type: string
  16157. goodsid:
  16158. description: 期货商品id
  16159. type: integer
  16160. goodsname:
  16161. description: 商品名称
  16162. type: string
  16163. haswr:
  16164. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16165. type: integer
  16166. isspecified:
  16167. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  16168. type: integer
  16169. ladingbillid:
  16170. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  16171. type: string
  16172. marginvalue:
  16173. description: 保证金设置值(履约保证金)
  16174. type: number
  16175. marketid:
  16176. description: 市场ID
  16177. type: integer
  16178. matchusername:
  16179. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  16180. type: string
  16181. minivalue:
  16182. description: 现货商品最小变动值
  16183. type: integer
  16184. optioncompare:
  16185. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16186. type: string
  16187. orderqty:
  16188. description: 委托数量
  16189. type: number
  16190. ordertime:
  16191. description: 委托时间(挂牌时间)
  16192. type: string
  16193. performancetemplateid:
  16194. description: 履约模板id
  16195. type: integer
  16196. pricemove:
  16197. description: 升贴水(浮动价时填写) - [挂牌]
  16198. type: number
  16199. taname:
  16200. description: 交易用户名称(资金账号名称)
  16201. type: string
  16202. tradedate:
  16203. description: 交易日(yyyyMMdd)
  16204. type: string
  16205. tradeprice:
  16206. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  16207. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  16208. type: number
  16209. tradeqty:
  16210. description: 成交数量
  16211. type: number
  16212. userid:
  16213. description: 用户ID
  16214. type: integer
  16215. validtime:
  16216. description: 挂牌有效期
  16217. type: string
  16218. validtype:
  16219. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  16220. type: integer
  16221. warehouseid:
  16222. description: 仓库ID
  16223. type: integer
  16224. warehousename:
  16225. description: 仓库名称
  16226. type: string
  16227. wrfactortypeid:
  16228. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16229. type: string
  16230. wrfactortypename:
  16231. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16232. type: string
  16233. wrpricetype:
  16234. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  16235. type: integer
  16236. wrstandardcode:
  16237. description: 现货商品代码
  16238. type: string
  16239. wrstandardid:
  16240. description: 现货商品ID
  16241. type: integer
  16242. wrstandardname:
  16243. description: 商品名称
  16244. type: string
  16245. wrtradeorderid:
  16246. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16247. type: string
  16248. wrtradeorderstatus:
  16249. 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:撤单解冻贷款失败
  16250. type: integer
  16251. wrtradetype:
  16252. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16253. type: integer
  16254. wrtypename:
  16255. description: 商品
  16256. type: string
  16257. type: object
  16258. models.WrOrderQuote:
  16259. properties:
  16260. bannerpicurl:
  16261. description: Banner图
  16262. type: string
  16263. buyprice:
  16264. description: 买价
  16265. type: number
  16266. buypricemove:
  16267. description: 买升贴水(基差)
  16268. type: number
  16269. buyqty:
  16270. description: 买量
  16271. type: number
  16272. deliverygoodscode:
  16273. description: 品种代码
  16274. type: string
  16275. deliverygoodsid:
  16276. description: 品种id
  16277. type: integer
  16278. deliverygoodsname:
  16279. description: 品种名称
  16280. type: string
  16281. deliverymonth:
  16282. description: 交收月
  16283. type: string
  16284. enumdicname:
  16285. description: 单位名称
  16286. type: string
  16287. goodscode:
  16288. description: 商品合约(浮动价列表才有)
  16289. type: string
  16290. goodsid:
  16291. description: 商品id(浮动价列表才有)
  16292. type: integer
  16293. minivalue:
  16294. description: 现货商品最小变动值
  16295. type: integer
  16296. pictureurls:
  16297. description: 详情图片(逗号分隔)
  16298. type: string
  16299. sellprice:
  16300. description: 卖价
  16301. type: number
  16302. sellpricemove:
  16303. description: 卖升贴水(基差)
  16304. type: number
  16305. sellqty:
  16306. description: 卖量
  16307. type: number
  16308. thumurls:
  16309. description: 缩略图片(1:1)(逗号分隔)
  16310. type: string
  16311. warehousecode:
  16312. description: 仓库代码
  16313. type: string
  16314. warehouseid:
  16315. description: 仓库id
  16316. type: integer
  16317. warehousename:
  16318. description: 仓库名称
  16319. type: string
  16320. wrfactortypeid:
  16321. description: 仓单要素id
  16322. type: string
  16323. wrfactortypename:
  16324. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16325. type: string
  16326. wrgoodsname:
  16327. description: 商品(商品名称+仓库要素名称 拼接)
  16328. type: string
  16329. wrstandardcode:
  16330. description: 商品代码
  16331. type: string
  16332. wrstandardid:
  16333. description: 商品id
  16334. type: integer
  16335. wrstandardname:
  16336. description: 商品名称
  16337. type: string
  16338. type: object
  16339. models.WrOrderQuoteDetail:
  16340. properties:
  16341. buyorsell:
  16342. description: 买卖 - 0:买 1:卖
  16343. type: integer
  16344. delistminqty:
  16345. description: 起摘数量
  16346. type: number
  16347. deliverymonth:
  16348. description: 交收月
  16349. type: string
  16350. enumdicname:
  16351. description: 单位名称
  16352. type: string
  16353. fixedprice:
  16354. description: 买(卖)价
  16355. type: number
  16356. marketid:
  16357. description: 市场id
  16358. type: integer
  16359. minivalue:
  16360. description: 现货商品最小变动值
  16361. type: integer
  16362. orderqty:
  16363. description: 买(卖)量(=委托量-成交量)
  16364. type: number
  16365. ordertime:
  16366. description: 委托时间
  16367. type: string
  16368. pricemove:
  16369. description: 买(卖)升贴水- 基差
  16370. type: number
  16371. userid:
  16372. description: 购买方(销售方)用户ID
  16373. type: integer
  16374. username:
  16375. description: 购买方(销售方)
  16376. type: string
  16377. wrtradeorderid:
  16378. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16379. type: string
  16380. type: object
  16381. models.WrOutInApply:
  16382. properties:
  16383. applyid:
  16384. description: 申请单id
  16385. type: string
  16386. applystatus:
  16387. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  16388. 8:已撤销
  16389. type: integer
  16390. applytime:
  16391. description: 申请时间
  16392. type: string
  16393. applytype:
  16394. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  16395. type: integer
  16396. bannerpicurl:
  16397. description: Banner图
  16398. type: string
  16399. begindate:
  16400. description: 开始交易日(yyyymmdd)
  16401. type: string
  16402. deliverygoodscode:
  16403. description: 品种代码
  16404. type: string
  16405. deliverygoodsid:
  16406. description: 品种ID
  16407. type: integer
  16408. deliverygoodsname:
  16409. description: 品种名称
  16410. type: string
  16411. enddate:
  16412. description: 结束交易日(yyyymmdd)
  16413. type: string
  16414. enumdicname:
  16415. description: 单位名称
  16416. type: string
  16417. expresscompany:
  16418. description: 物流公司
  16419. type: string
  16420. expressnum:
  16421. description: 物流单号
  16422. type: string
  16423. minivalue:
  16424. description: 现货商品最小变动值
  16425. type: integer
  16426. optioncompare:
  16427. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16428. type: string
  16429. qty:
  16430. description: 数量
  16431. type: integer
  16432. userid:
  16433. description: 用户id
  16434. type: integer
  16435. warehouseid:
  16436. description: 仓库ID
  16437. type: integer
  16438. warehousename:
  16439. description: 仓库名称
  16440. type: string
  16441. wrfactortypeid:
  16442. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16443. type: string
  16444. wrfactortypename:
  16445. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16446. type: string
  16447. wrstandardcode:
  16448. description: 现货商品代码
  16449. type: string
  16450. wrstandardid:
  16451. description: 现货商品ID
  16452. type: integer
  16453. wrstandardname:
  16454. description: 商品名称
  16455. type: string
  16456. wrtypename:
  16457. description: 商品
  16458. type: string
  16459. type: object
  16460. models.WrPerformancePlan:
  16461. properties:
  16462. activatemonth:
  16463. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  16464. type: string
  16465. amount:
  16466. description: 履约金额(总金额)
  16467. type: number
  16468. begindate:
  16469. description: 开始交易日(yyyymmdd)
  16470. type: string
  16471. buyaccountid:
  16472. description: 买方账号
  16473. type: integer
  16474. buyerfreezeamount:
  16475. description: 履约冻结(买履约)
  16476. type: number
  16477. buyerfreezeamountremain:
  16478. description: 履约冻结剩余(买履约)
  16479. type: number
  16480. buyorsell:
  16481. description: 买卖方向 0-买 1-卖
  16482. type: integer
  16483. buypaidamount:
  16484. description: 买方已冻/已扣金额 (已付金额)
  16485. type: number
  16486. buyusername:
  16487. description: 买方名字
  16488. type: string
  16489. contractid:
  16490. description: 合同ID
  16491. type: integer
  16492. createtime:
  16493. description: 创建时间
  16494. type: string
  16495. creatorid:
  16496. description: 创建人
  16497. type: integer
  16498. curstepdeadline:
  16499. description: 当前步骤到期时间
  16500. type: string
  16501. curstepid:
  16502. description: 当前步骤ID
  16503. type: string
  16504. curstepname:
  16505. description: 当前步骤名称
  16506. type: string
  16507. deliverygoodscode:
  16508. description: 品种代码
  16509. type: string
  16510. deliverygoodsid:
  16511. description: 品种ID
  16512. type: integer
  16513. deliverygoodsname:
  16514. description: 品种名称
  16515. type: string
  16516. enddate:
  16517. description: 结束交易日(yyyymmdd)
  16518. type: string
  16519. enumdicname:
  16520. description: 单位名称
  16521. type: string
  16522. expressfee:
  16523. description: 运费
  16524. type: number
  16525. expressfeeconfirmed:
  16526. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  16527. type: integer
  16528. hasovershort:
  16529. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  16530. type: integer
  16531. haswr:
  16532. description: 类型 0-仓单预售 1-仓单贸易
  16533. type: integer
  16534. marketid:
  16535. description: 市场ID
  16536. type: integer
  16537. middleaccountid:
  16538. description: 中间商资金账号ID
  16539. type: integer
  16540. middleuserid:
  16541. description: 中间商用户ID
  16542. type: integer
  16543. minivalue:
  16544. description: 现货商品最小变动值
  16545. type: integer
  16546. optioncompare:
  16547. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16548. type: string
  16549. overshortamount:
  16550. description: 溢短金额
  16551. type: number
  16552. overshortqty:
  16553. description: 溢短数量
  16554. type: number
  16555. paymenttype:
  16556. description: 付款方式 - 1:冻结 2:扣款
  16557. type: integer
  16558. performanceplanid:
  16559. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  16560. type: string
  16561. performancestatus:
  16562. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  16563. 9:超时待处理 10:超时关闭
  16564. type: integer
  16565. performancetype:
  16566. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  16567. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  16568. type: integer
  16569. qty:
  16570. description: 履约数量
  16571. type: number
  16572. relatedorderid:
  16573. description: 关联单号(履约类型的关联单号)
  16574. type: string
  16575. remark:
  16576. description: 备注
  16577. type: string
  16578. sellaccountid:
  16579. description: 卖方账号
  16580. type: integer
  16581. sellerfreezeamount:
  16582. description: 履约冻结(卖履约)
  16583. type: number
  16584. sellerfreezeamountremain:
  16585. description: 履约冻结剩余(卖履约)
  16586. type: number
  16587. sellreceivedamount:
  16588. description: 卖方已收金额
  16589. type: number
  16590. sellusername:
  16591. description: 卖方名字
  16592. type: string
  16593. shipremark:
  16594. description: 发货备注[物流单号]
  16595. type: string
  16596. starttime:
  16597. description: 开始时间
  16598. type: string
  16599. steptypeid:
  16600. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  16601. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16602. type: integer
  16603. typename:
  16604. description: 履约类型 名称
  16605. type: string
  16606. unpaidamount:
  16607. description: 剩余款(待支付金额)
  16608. type: number
  16609. userid:
  16610. description: 用户id
  16611. type: integer
  16612. warehouseid:
  16613. description: 仓库ID
  16614. type: integer
  16615. warehousename:
  16616. description: 仓库名称
  16617. type: string
  16618. wrfactortypeid:
  16619. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16620. type: string
  16621. wrfactortypename:
  16622. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16623. type: string
  16624. wrstandardcode:
  16625. description: 现货商品代码
  16626. type: string
  16627. wrstandardid:
  16628. description: 现货商品ID
  16629. type: integer
  16630. wrstandardname:
  16631. description: 商品名称
  16632. type: string
  16633. wrtransferuserid:
  16634. description: 仓单受让用户
  16635. type: integer
  16636. wrtypename:
  16637. description: 商品
  16638. type: string
  16639. required:
  16640. - userid
  16641. type: object
  16642. models.WrPerformancePlanStep:
  16643. properties:
  16644. delaydays:
  16645. description: 延期申请天数
  16646. type: integer
  16647. deliverygoodscode:
  16648. description: 品种代码
  16649. type: string
  16650. deliverygoodsid:
  16651. description: 品种ID
  16652. type: integer
  16653. deliverygoodsname:
  16654. description: 品种名称
  16655. type: string
  16656. endtime:
  16657. description: 结束日期
  16658. type: string
  16659. enumdicname:
  16660. description: 单位名称
  16661. type: string
  16662. executeside:
  16663. description: 步骤执行方 - 1:买方 2:卖方
  16664. type: integer
  16665. handlestatus:
  16666. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  16667. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  16668. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  16669. type: integer
  16670. isauto:
  16671. description: 是否自动 - 0:不自动 1:自动
  16672. type: integer
  16673. islastreceivestep:
  16674. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  16675. type: integer
  16676. minivalue:
  16677. description: 现货商品最小变动值
  16678. type: integer
  16679. optioncompare:
  16680. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16681. type: string
  16682. overdays:
  16683. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  16684. type: integer
  16685. performancestepid:
  16686. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  16687. type: string
  16688. planid:
  16689. description: 所属履约计划ID
  16690. type: string
  16691. realamount:
  16692. description: 实际完成金额
  16693. type: number
  16694. relatedorderid:
  16695. description: 关联单号
  16696. type: string
  16697. remaindays:
  16698. description: 剩余天数
  16699. type: integer
  16700. remark:
  16701. description: 错误备注
  16702. type: string
  16703. starttime:
  16704. description: 开始日期
  16705. type: string
  16706. stepamount:
  16707. description: 步骤金额
  16708. type: number
  16709. stepdays:
  16710. description: 距离上一步天数(分钟)
  16711. type: integer
  16712. stepindex:
  16713. description: 步骤序号
  16714. type: integer
  16715. steplanchtype:
  16716. description: 步骤启动类型 - 1:系统自动 2:手动
  16717. type: integer
  16718. stepremark:
  16719. description: 步骤备注
  16720. type: string
  16721. stepstatus:
  16722. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  16723. type: integer
  16724. steptypeid:
  16725. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  16726. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16727. type: integer
  16728. steptypename:
  16729. description: 步骤名称
  16730. type: string
  16731. stepvalue:
  16732. description: 步骤值
  16733. type: number
  16734. warehouseid:
  16735. description: 仓库ID
  16736. type: integer
  16737. warehousename:
  16738. description: 仓库名称
  16739. type: string
  16740. wrfactortypeid:
  16741. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16742. type: string
  16743. wrfactortypename:
  16744. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16745. type: string
  16746. wrstandardcode:
  16747. description: 现货商品代码
  16748. type: string
  16749. wrstandardid:
  16750. description: 现货商品ID
  16751. type: integer
  16752. wrstandardname:
  16753. description: 商品名称
  16754. type: string
  16755. wrtypename:
  16756. description: 商品
  16757. type: string
  16758. type: object
  16759. models.WrPerformanceStepType:
  16760. properties:
  16761. canauto:
  16762. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  16763. type: integer
  16764. steptypeid:
  16765. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  16766. type: integer
  16767. steptypename:
  16768. description: 步骤类型名称
  16769. type: string
  16770. type: object
  16771. models.WrPerformanceTemplateEx:
  16772. properties:
  16773. autoid:
  16774. description: AutoID 模板id
  16775. type: integer
  16776. createtime:
  16777. description: 创建时间
  16778. type: string
  16779. creatorid:
  16780. description: 创建人
  16781. type: integer
  16782. lstStep:
  16783. description: 步骤信息列表
  16784. items:
  16785. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  16786. type: array
  16787. paymenttype:
  16788. description: 支付方式 - 1:冻结 2:扣款
  16789. type: integer
  16790. takemode:
  16791. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  16792. type: integer
  16793. templatename:
  16794. description: 模板名称
  16795. type: string
  16796. templatetype:
  16797. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  16798. (无仓单) 5:挂牌期权 6:竞拍-降价式
  16799. type: integer
  16800. userid:
  16801. description: 所属用户
  16802. type: integer
  16803. type: object
  16804. models.WrPosition:
  16805. properties:
  16806. accountid:
  16807. description: 帐户ID
  16808. type: integer
  16809. buyexcuteqty:
  16810. description: 采购履约中数量
  16811. type: number
  16812. creditcurqty:
  16813. description: 授信当前数量(预售仓单:预售当前量)
  16814. type: number
  16815. creditenableqty:
  16816. description: '授信可用数量(预售仓单: 可用数量)'
  16817. type: number
  16818. creditfreezeqty:
  16819. description: '授信冻结数量(预售仓单: 当前数量)'
  16820. type: number
  16821. credittotalqty:
  16822. description: 授信总数量(预售仓单:预售总量)
  16823. type: number
  16824. credittradeqty:
  16825. description: 授信成交数量(预售仓单:成交总量)
  16826. type: number
  16827. deliverygoodscode:
  16828. description: 品种代码
  16829. type: string
  16830. deliverygoodsid:
  16831. description: 品种ID
  16832. type: integer
  16833. deliverygoodsname:
  16834. description: 品种名称
  16835. type: string
  16836. enalbeqty:
  16837. description: 可用数量
  16838. type: number
  16839. enumdicname:
  16840. description: 单位名称
  16841. type: string
  16842. freezeqty:
  16843. description: 总冻结数量
  16844. type: number
  16845. haswr:
  16846. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16847. type: integer
  16848. minivalue:
  16849. description: 现货商品最小变动值
  16850. type: integer
  16851. modifytime:
  16852. description: 修改时间(过户时间)
  16853. type: string
  16854. optioncompare:
  16855. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16856. type: string
  16857. pledgeqty:
  16858. description: 质押数量
  16859. type: number
  16860. querytype:
  16861. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  16862. type: integer
  16863. sellexcuteqty:
  16864. description: 销售履约中数量
  16865. type: number
  16866. totalqty:
  16867. description: 总数量(库存数量)
  16868. type: number
  16869. warehouseid:
  16870. description: 仓库ID
  16871. type: integer
  16872. warehousename:
  16873. description: 仓库名称
  16874. type: string
  16875. wrfactortypeid:
  16876. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16877. type: string
  16878. wrfactortypename:
  16879. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16880. type: string
  16881. wrpositionid:
  16882. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  16883. type: string
  16884. wrpositionno:
  16885. description: 仓单编号
  16886. type: string
  16887. wrstandardcode:
  16888. description: 现货商品代码
  16889. type: string
  16890. wrstandardid:
  16891. description: 现货商品ID
  16892. type: integer
  16893. wrstandardname:
  16894. description: 商品名称
  16895. type: string
  16896. wrtypename:
  16897. description: 商品
  16898. type: string
  16899. wruserid:
  16900. description: 持有人ID
  16901. type: integer
  16902. type: object
  16903. models.WrPreSaleInfo:
  16904. properties:
  16905. bannerpicurl:
  16906. description: Banner图
  16907. type: string
  16908. baseqty:
  16909. description: 中签基数
  16910. type: number
  16911. createtime:
  16912. description: 创建时间
  16913. type: string
  16914. deliverygoodsid:
  16915. description: 现货品种ID
  16916. type: integer
  16917. enddate:
  16918. description: 预售结束日期
  16919. type: string
  16920. enumdicname:
  16921. description: 单位名称
  16922. type: string
  16923. lotteryflag:
  16924. description: 摇号标识 - 0:未摇号 1:已摇号
  16925. type: integer
  16926. lotteryqty:
  16927. description: 摇号总量
  16928. type: number
  16929. luckyqty:
  16930. description: 已中签量
  16931. type: number
  16932. marketid:
  16933. description: 市场ID
  16934. type: integer
  16935. maxbuyqty:
  16936. description: 单人最大申购量
  16937. type: number
  16938. maxluckyqty:
  16939. description: 单人最大中签量
  16940. type: number
  16941. pictureurls:
  16942. description: 详情图片(逗号分隔)
  16943. type: string
  16944. placeqty:
  16945. description: 已配售量
  16946. type: number
  16947. presaleapplyid:
  16948. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  16949. example: "0"
  16950. type: string
  16951. presaleqty:
  16952. description: 预售总量
  16953. type: number
  16954. presalestatus:
  16955. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  16956. type: integer
  16957. sellaccountid:
  16958. description: 发行方资金账户ID
  16959. type: integer
  16960. selluserid:
  16961. description: 发行方用户ID
  16962. type: integer
  16963. sellwrtradeorderid:
  16964. description: 发行方卖委托单ID
  16965. type: string
  16966. startdate:
  16967. description: 预售开始日期
  16968. type: string
  16969. takestartdate:
  16970. description: 提货开始日期
  16971. type: string
  16972. thumurls:
  16973. description: 缩略图片(1:1)(逗号分隔)
  16974. type: string
  16975. tradedate:
  16976. description: 交易日
  16977. type: string
  16978. unitid:
  16979. description: 单位ID
  16980. type: integer
  16981. unitprice:
  16982. description: 商品单价
  16983. type: number
  16984. username:
  16985. description: 发行方用户名称
  16986. type: string
  16987. warehousecode:
  16988. description: 仓库代码(仓库简称)
  16989. type: string
  16990. warehouseid:
  16991. description: 仓库ID
  16992. type: integer
  16993. warehousename:
  16994. description: 仓库名称
  16995. type: string
  16996. wrfactortypeid:
  16997. description: 仓单要素类型ID - 根据现货商品\仓库生成
  16998. example: "0"
  16999. type: string
  17000. wrstandardid:
  17001. description: 现货商品ID
  17002. type: integer
  17003. wrstandardname:
  17004. description: 现货商品名称
  17005. type: string
  17006. type: object
  17007. models.WrQuoteOrderMyq:
  17008. properties:
  17009. buyorsell:
  17010. description: 买卖 - 0:买 1:卖
  17011. type: integer
  17012. canbargain:
  17013. description: 是否可议价 - 0:不可 1:可
  17014. type: integer
  17015. canpart:
  17016. description: 是否允许部份摘牌 - 0:不允许 1:允许
  17017. type: integer
  17018. delistminqty:
  17019. description: 起摘数量
  17020. type: number
  17021. deliverygoodscode:
  17022. description: 品种代码
  17023. type: string
  17024. deliverygoodsid:
  17025. description: 品种ID
  17026. type: integer
  17027. deliverygoodsname:
  17028. description: 品种名称
  17029. type: string
  17030. deliverymonth:
  17031. description: 交收月
  17032. type: string
  17033. enumdicname:
  17034. description: 单位名称
  17035. type: string
  17036. fixedprice:
  17037. description: 买(卖)价
  17038. type: number
  17039. goodscode:
  17040. description: 商品合约代码
  17041. type: string
  17042. marginflag:
  17043. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  17044. type: integer
  17045. marginvalue:
  17046. description: 保证金设置值
  17047. type: number
  17048. minivalue:
  17049. description: 现货商品最小变动值
  17050. type: integer
  17051. orderqty:
  17052. description: 买(卖)量(=委托量-成交量)
  17053. type: number
  17054. ordertime:
  17055. description: 委托时间
  17056. type: string
  17057. performancetemplateid:
  17058. description: 履约模板id
  17059. type: integer
  17060. pricemove:
  17061. description: 买(卖)升贴水- 基差
  17062. type: number
  17063. templatename:
  17064. description: 履约模板名称
  17065. type: string
  17066. userid:
  17067. description: 购买方(销售方)用户ID
  17068. type: integer
  17069. username:
  17070. description: 购买方(销售方)
  17071. type: string
  17072. validtime:
  17073. description: 有效期限
  17074. type: string
  17075. validtype:
  17076. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  17077. type: integer
  17078. warehousename:
  17079. description: 仓库名称
  17080. type: string
  17081. wrfactortypeid:
  17082. description: 仓单要素id
  17083. type: string
  17084. wrstandardcode:
  17085. description: 现货商品代码
  17086. type: string
  17087. wrstandardid:
  17088. description: 现货商品ID
  17089. type: integer
  17090. wrstandardname:
  17091. description: 商品名称
  17092. type: string
  17093. wrtradeorderid:
  17094. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  17095. type: string
  17096. wrtypename:
  17097. description: 商品
  17098. type: string
  17099. type: object
  17100. models.WrReckonSpotGoodsTradeSum:
  17101. properties:
  17102. begindate:
  17103. description: 开始日期(结果含开始日期) yyyymmdd
  17104. type: string
  17105. enddate:
  17106. description: 结束日期(结果含结束日期) yyyymmdd
  17107. type: string
  17108. marketid:
  17109. description: 市场ID
  17110. type: integer
  17111. price:
  17112. description: 价格 = 日成交金额 / 日成交数量
  17113. type: string
  17114. reckondate:
  17115. description: 日期 格式 yyyymmdd
  17116. type: string
  17117. tradeamount:
  17118. description: 日成交金额(当日单方向成交金额)
  17119. type: number
  17120. tradeqty:
  17121. description: 日成交数量(当日单方向成交数量)
  17122. type: number
  17123. wrstandardid:
  17124. description: 现货商品ID
  17125. type: integer
  17126. type: object
  17127. models.WrScfContract:
  17128. properties:
  17129. borroweruserid:
  17130. description: 借款用户ID
  17131. type: integer
  17132. buybackwrpositionqty:
  17133. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  17134. type: number
  17135. closeinterest:
  17136. description: 已结利息 -> 已结费用
  17137. type: number
  17138. currisklevel:
  17139. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  17140. type: integer
  17141. deadline:
  17142. description: 截止日期(yyyyMMdd) -> 借款到期时间
  17143. type: string
  17144. deliverygoodscode:
  17145. description: 品种代码
  17146. type: string
  17147. deliverygoodsid:
  17148. description: 品种ID
  17149. type: integer
  17150. deliverygoodsname:
  17151. description: 品种名称
  17152. type: string
  17153. enumdicname:
  17154. description: 单位名称
  17155. type: string
  17156. financingdays:
  17157. description: 天数(天)
  17158. type: integer
  17159. initmargin:
  17160. description: 保证金 - [仓单回购]
  17161. type: number
  17162. interestamount:
  17163. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  17164. type: number
  17165. interestdebt:
  17166. description: 利息欠款(记录负数) -> 费用欠款
  17167. type: number
  17168. interestminlen:
  17169. description: 最小起息天数
  17170. type: integer
  17171. interestrate:
  17172. description: 利率
  17173. type: number
  17174. interestratemode:
  17175. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  17176. type: integer
  17177. interestsettlemode:
  17178. description: 结息方式 - 1:按日结息 3:按月结息
  17179. type: integer
  17180. interestsettlevalue:
  17181. description: 结息方式值
  17182. type: integer
  17183. isautoloan:
  17184. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  17185. type: integer
  17186. lastcloseinterestday:
  17187. description: 最近结息日(yyyyMMdd)
  17188. type: string
  17189. lenderamount:
  17190. description: 贷款金额 -> 借款金额
  17191. type: number
  17192. lenderuserid:
  17193. description: 贷款方用户ID -> 融出方用户ID
  17194. type: integer
  17195. lenderusername:
  17196. description: 融出方
  17197. type: string
  17198. marginratio:
  17199. description: 保证金比率质押率 - [仓单质押]
  17200. type: number
  17201. marketid:
  17202. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  17203. type: integer
  17204. minivalue:
  17205. description: 现货商品最小变动值
  17206. type: integer
  17207. optioncompare:
  17208. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17209. type: string
  17210. pricemove:
  17211. description: 估值升贴水值
  17212. type: number
  17213. productdetailid:
  17214. description: 产品组合ID
  17215. type: integer
  17216. productid:
  17217. description: 金融产品ID
  17218. type: integer
  17219. productname:
  17220. description: 产品名称
  17221. type: string
  17222. remainamount:
  17223. description: 合同剩余金额 -> 剩余金额
  17224. type: number
  17225. remainwrpositionqty:
  17226. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  17227. type: number
  17228. remark:
  17229. description: 备注
  17230. type: string
  17231. scfcontractid:
  17232. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  17233. type: string
  17234. scfcontractstatus:
  17235. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  17236. 9:违约结束 10:已注销 11:已关闭 99:未提交
  17237. type: integer
  17238. scfcontracttype:
  17239. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  17240. type: integer
  17241. startinterestday:
  17242. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  17243. type: string
  17244. totalinterest:
  17245. description: 已计利息 -> 已计费用
  17246. type: number
  17247. unpaidinterest:
  17248. description: 未结费用
  17249. type: number
  17250. updatetime:
  17251. description: 更新时间
  17252. type: string
  17253. warehouseid:
  17254. description: 仓库ID
  17255. type: integer
  17256. warehousename:
  17257. description: 仓库名称
  17258. type: string
  17259. wrfactortypeid:
  17260. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17261. type: string
  17262. wrfactortypename:
  17263. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17264. type: string
  17265. wrqty:
  17266. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  17267. type: number
  17268. wrstandardcode:
  17269. description: 现货商品代码
  17270. type: string
  17271. wrstandardid:
  17272. description: 现货商品ID
  17273. type: integer
  17274. wrstandardname:
  17275. description: 商品名称
  17276. type: string
  17277. wrtypename:
  17278. description: 商品
  17279. type: string
  17280. type: object
  17281. models.WrScfContractInterest:
  17282. properties:
  17283. closeinterest:
  17284. description: 已结利息
  17285. type: number
  17286. closeintereststatus:
  17287. description: 结息状态 - 1:未结 2:已结
  17288. type: integer
  17289. closetime:
  17290. description: 结息时间
  17291. type: string
  17292. closetradedate:
  17293. description: 结息交易日
  17294. type: string
  17295. creatorid:
  17296. description: 操作人ID
  17297. type: integer
  17298. dayrate:
  17299. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  17300. type: number
  17301. interest:
  17302. description: 利息
  17303. type: number
  17304. interestamount:
  17305. description: 计息金额
  17306. type: number
  17307. interestday:
  17308. description: 计息日(yyyyMMdd)
  17309. type: string
  17310. scfcontractid:
  17311. description: SCF合同ID
  17312. type: string
  17313. scfcontractinterestid:
  17314. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  17315. type: integer
  17316. updatetime:
  17317. description: 更新时间
  17318. type: string
  17319. type: object
  17320. models.WrSearchUser:
  17321. properties:
  17322. userid:
  17323. description: 用户ID
  17324. type: integer
  17325. username:
  17326. description: 用户名称(已脱敏)
  17327. type: string
  17328. username2:
  17329. description: 用户名称(未脱敏)
  17330. type: string
  17331. usertype:
  17332. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  17333. type: integer
  17334. required:
  17335. - username
  17336. type: object
  17337. models.WrSiteColumnDetail:
  17338. properties:
  17339. brief:
  17340. description: 简介
  17341. type: string
  17342. context:
  17343. description: 内容
  17344. type: string
  17345. coverimage:
  17346. description: 封面图片
  17347. type: string
  17348. creaedate:
  17349. description: 创建时间
  17350. type: string
  17351. id:
  17352. description: ID(SEQ_SITE_COLUMNDETAIL)
  17353. type: integer
  17354. istop:
  17355. description: 是否置顶 - 0:不置 1:置顶
  17356. type: integer
  17357. publishdate:
  17358. description: 发布日期
  17359. type: string
  17360. title:
  17361. description: 标题
  17362. type: string
  17363. updatedate:
  17364. description: 修改时间
  17365. type: string
  17366. type: object
  17367. models.WrSpecialMatchOrder:
  17368. properties:
  17369. amount:
  17370. description: 金额 = 数量 * 价格
  17371. type: number
  17372. buyorsell:
  17373. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  17374. type: integer
  17375. cancelqty:
  17376. description: 撤销数量
  17377. type: number
  17378. deliverygoodscode:
  17379. description: 品种代码
  17380. type: string
  17381. deliverygoodsid:
  17382. description: 品种ID
  17383. type: integer
  17384. deliverygoodsname:
  17385. description: 品种名称
  17386. type: string
  17387. enumdicname:
  17388. description: 单位名称
  17389. type: string
  17390. fixedprice:
  17391. description: 固定价格(价格)
  17392. type: number
  17393. haswr:
  17394. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  17395. type: integer
  17396. isspecified:
  17397. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  17398. type: integer
  17399. marketid:
  17400. description: 市场ID
  17401. type: integer
  17402. matchuserid:
  17403. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  17404. type: integer
  17405. matchusername:
  17406. description: 指定方
  17407. type: string
  17408. minivalue:
  17409. description: 现货商品最小变动值
  17410. type: integer
  17411. optioncompare:
  17412. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17413. type: string
  17414. orderqty:
  17415. description: 委托数量
  17416. type: number
  17417. ordertime:
  17418. description: 委托时间
  17419. type: string
  17420. pricemove:
  17421. description: 升贴水(浮动价时填写) - [挂牌]
  17422. type: number
  17423. tradedate:
  17424. description: 交易日(yyyyMMdd)
  17425. type: string
  17426. tradeprice:
  17427. description: 成交价格
  17428. type: number
  17429. tradeqty:
  17430. description: 成交数量
  17431. type: number
  17432. userid:
  17433. description: 用户ID
  17434. type: integer
  17435. username:
  17436. description: 发起方
  17437. type: string
  17438. warehouseid:
  17439. description: 仓库ID
  17440. type: integer
  17441. warehousename:
  17442. description: 仓库名称
  17443. type: string
  17444. wrfactortypeid:
  17445. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17446. type: string
  17447. wrfactortypename:
  17448. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17449. type: string
  17450. wrpricetype:
  17451. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  17452. type: integer
  17453. wrstandardcode:
  17454. description: 现货商品代码
  17455. type: string
  17456. wrstandardid:
  17457. description: 现货商品ID
  17458. type: integer
  17459. wrstandardname:
  17460. description: 商品名称
  17461. type: string
  17462. wrtradeorderid:
  17463. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  17464. type: string
  17465. wrtradeorderstatus:
  17466. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  17467. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  17468. type: integer
  17469. wrtradetype:
  17470. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  17471. type: integer
  17472. wrtypename:
  17473. description: 商品
  17474. type: string
  17475. type: object
  17476. models.WrSpotGroupTradeSum:
  17477. properties:
  17478. deliverygoodscode:
  17479. description: 现货品种代码
  17480. type: string
  17481. deliverygoodsid:
  17482. description: 现货品种ID(SEQ_DELIVERYGOODS)
  17483. type: integer
  17484. deliverygoodsname:
  17485. description: 现货品种名称
  17486. type: string
  17487. lastavgprice:
  17488. description: 上上个交易日价格(前2天价格)
  17489. type: string
  17490. lastreckondate:
  17491. description: 上上个交易日(前2天交易日)
  17492. type: string
  17493. reckondate:
  17494. description: 上个交易日(前1天交易日)
  17495. type: string
  17496. todayavgprice:
  17497. description: 上个交易日价格(前1天价格)
  17498. type: string
  17499. updown:
  17500. description: 涨跌
  17501. type: string
  17502. updownratio:
  17503. description: 涨幅(已格式化, 直接显示即可)
  17504. type: string
  17505. type: object
  17506. models.WrSpotGroupTradeSumDetail:
  17507. properties:
  17508. deliverygoodsid:
  17509. description: 现货商品id
  17510. type: integer
  17511. price:
  17512. description: 价格
  17513. type: number
  17514. reckondate:
  17515. description: 日期(yyymmdd, 如:20211031)
  17516. type: string
  17517. type: object
  17518. models.WrSpotGroupTradeSumEx:
  17519. properties:
  17520. lst:
  17521. description: 指数列表
  17522. items:
  17523. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  17524. type: array
  17525. prereckondate:
  17526. description: 上上个交易日(yyymmdd)
  17527. type: string
  17528. reckondate:
  17529. description: 上个交易日(yyyymmdd)
  17530. type: string
  17531. type: object
  17532. models.WrStandardFactoryItem:
  17533. properties:
  17534. dgfactoryitemid:
  17535. description: 选择项id
  17536. type: integer
  17537. dgfactoryitemvalue:
  17538. description: 要素项值
  17539. type: string
  17540. warehouseid:
  17541. description: 仓库id
  17542. type: integer
  17543. type: object
  17544. models.WrStandardFactoryItemEx:
  17545. properties:
  17546. dgfactoryitemtypeid:
  17547. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  17548. type: integer
  17549. itemlst:
  17550. description: 要素项列表
  17551. items:
  17552. $ref: '#/definitions/models.WrStandardFactoryItem'
  17553. type: array
  17554. itemtypename:
  17555. description: 要素项类型名称
  17556. type: string
  17557. wrstandardid:
  17558. description: 品类
  17559. type: integer
  17560. type: object
  17561. models.WrTradeDetail:
  17562. properties:
  17563. accountid:
  17564. description: 资金账号
  17565. type: integer
  17566. bannerpicurl:
  17567. description: Banner图
  17568. type: string
  17569. begindate:
  17570. description: 开始交易日(yyyymmdd)
  17571. type: string
  17572. buyorsell:
  17573. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  17574. type: integer
  17575. chargevalue:
  17576. description: 手续费
  17577. type: number
  17578. deliverygoodscode:
  17579. description: 品种代码
  17580. type: string
  17581. deliverygoodsid:
  17582. description: 品种ID
  17583. type: integer
  17584. deliverygoodsname:
  17585. description: 品种名称
  17586. type: string
  17587. deliverymonth:
  17588. description: 交收月
  17589. type: string
  17590. enddate:
  17591. description: 结束交易日(yyyymmdd)
  17592. type: string
  17593. enumdicname:
  17594. description: 单位名称
  17595. type: string
  17596. haswr:
  17597. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  17598. type: integer
  17599. marketid:
  17600. description: 市场ID
  17601. type: integer
  17602. matchaccountid:
  17603. description: 对手账号
  17604. type: integer
  17605. matchusername:
  17606. description: 对手方
  17607. type: string
  17608. minivalue:
  17609. description: 现货商品最小变动值
  17610. type: integer
  17611. optioncompare:
  17612. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17613. type: string
  17614. tradedate:
  17615. description: 交易日(yyyyMMdd)
  17616. type: string
  17617. tradeprice:
  17618. description: 成交价格
  17619. type: number
  17620. tradeqty:
  17621. description: 成交数量
  17622. type: number
  17623. tradetime:
  17624. description: 成交时间
  17625. type: string
  17626. userid:
  17627. description: 用户ID
  17628. type: integer
  17629. warehouseid:
  17630. description: 仓库ID
  17631. type: integer
  17632. warehousename:
  17633. description: 仓库名称
  17634. type: string
  17635. wrfactortypeid:
  17636. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17637. type: string
  17638. wrfactortypename:
  17639. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17640. type: string
  17641. wrstandardcode:
  17642. description: 现货商品代码
  17643. type: string
  17644. wrstandardid:
  17645. description: 现货商品ID
  17646. type: integer
  17647. wrstandardname:
  17648. description: 商品名称
  17649. type: string
  17650. wrtradedetailid:
  17651. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  17652. type: string
  17653. wrtradetype:
  17654. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  17655. type: integer
  17656. wrtypename:
  17657. description: 商品
  17658. type: string
  17659. type: object
  17660. models.WrTradeOrderDetail:
  17661. properties:
  17662. buyorsell:
  17663. description: 买卖方向 0-买 1-卖
  17664. type: integer
  17665. goodsid:
  17666. description: 商品id
  17667. type: integer
  17668. orderid:
  17669. description: 委托单号
  17670. type: string
  17671. orderprice:
  17672. description: 委托价格
  17673. type: number
  17674. orderqty:
  17675. description: 委托数量
  17676. type: integer
  17677. userid:
  17678. description: 用户id
  17679. type: integer
  17680. username:
  17681. description: 用户名称(已脱敏)
  17682. type: string
  17683. type: object
  17684. models.WrTypeItem:
  17685. properties:
  17686. name:
  17687. description: 名称
  17688. type: string
  17689. value:
  17690. description: 值
  17691. type: string
  17692. type: object
  17693. models.WrUserFriend:
  17694. properties:
  17695. friendname:
  17696. description: 朋友名称(已脱敏)
  17697. type: string
  17698. frienduserid:
  17699. description: 朋友id
  17700. type: integer
  17701. isfriend:
  17702. description: 是否好友 0-不是 1-是
  17703. type: integer
  17704. userid:
  17705. description: 用户id
  17706. type: integer
  17707. type: object
  17708. models.WrUserReceiptInfo:
  17709. properties:
  17710. address:
  17711. description: 地址[发票类型:企业]
  17712. type: string
  17713. autoid:
  17714. description: AutoID
  17715. type: integer
  17716. contactinfo:
  17717. description: 联系方式
  17718. type: string
  17719. idnum:
  17720. description: 身份证号码[发票类型:个人]
  17721. type: string
  17722. isdefault:
  17723. description: 是否默认地址 - 0:否 1:是
  17724. type: integer
  17725. receiptaccount:
  17726. description: 发票帐号[发票类型:企业]
  17727. type: string
  17728. receiptbank:
  17729. description: 发票开户行[发票类型:企业]
  17730. type: string
  17731. receipttype:
  17732. description: 发票类型 - 1:个人 2:企业
  17733. type: integer
  17734. taxpayerid:
  17735. description: 纳税人识别号
  17736. type: string
  17737. userid:
  17738. description: 用户ID
  17739. type: integer
  17740. username:
  17741. description: 户名(个人姓名或企业名称)
  17742. type: string
  17743. type: object
  17744. models.XHBRAND:
  17745. properties:
  17746. brandid:
  17747. description: 品牌id
  17748. type: integer
  17749. brandname:
  17750. description: 品牌名称
  17751. type: string
  17752. isvalid:
  17753. description: 是否有效 0-无效 1-有效
  17754. type: integer
  17755. type: object
  17756. models.XHDeliveryGoods:
  17757. properties:
  17758. areauserid:
  17759. description: 所属机构
  17760. type: integer
  17761. bdlst:
  17762. description: 品牌列表
  17763. items:
  17764. $ref: '#/definitions/models.XHBRAND'
  17765. type: array
  17766. deliverygoodscode:
  17767. description: 现货品种代码
  17768. type: string
  17769. deliverygoodsid:
  17770. description: 现货品种ID(SEQ_DELIVERYGOODS)
  17771. type: integer
  17772. deliverygoodsname:
  17773. description: 现货品种名称
  17774. type: string
  17775. dgstatus:
  17776. description: 品种状态 - 作废 - 0:未激活 1:正常
  17777. type: integer
  17778. filterSubEmpty:
  17779. description: 过滤下级为空的
  17780. type: integer
  17781. isvalid:
  17782. description: 是否有效 - 0:无效 1:有效
  17783. type: integer
  17784. remark:
  17785. description: 备注
  17786. type: string
  17787. unitid:
  17788. description: 单位id(目前看,数据库中是空值)
  17789. type: integer
  17790. wdlst:
  17791. description: 品类(现货商品)列表
  17792. items:
  17793. $ref: '#/definitions/models.XHWrstandard'
  17794. type: array
  17795. type: object
  17796. models.XHMiddleGoods:
  17797. properties:
  17798. GPLST:
  17799. description: 期货品种列表
  17800. items:
  17801. $ref: '#/definitions/models.TBGoodsGroup'
  17802. type: array
  17803. convertratio:
  17804. description: 拆算系数
  17805. type: number
  17806. costratio:
  17807. description: 成本权重
  17808. type: number
  17809. deliverygoodsid:
  17810. description: 现货商品id
  17811. type: integer
  17812. enumdicname:
  17813. description: 单位名称
  17814. type: string
  17815. middlegoodscode:
  17816. description: 套保品种代码
  17817. type: string
  17818. middlegoodsid:
  17819. description: 套保品种id
  17820. type: integer
  17821. middlegoodsname:
  17822. description: 套保品种名称
  17823. type: string
  17824. unitid:
  17825. description: 单位id
  17826. type: integer
  17827. type: object
  17828. models.XHWrstandard:
  17829. properties:
  17830. bannerpicurl:
  17831. description: banner图
  17832. type: string
  17833. deliverygoodsid:
  17834. description: 品种ID
  17835. type: integer
  17836. enumdicname:
  17837. description: 单位名称
  17838. type: string
  17839. mglst:
  17840. description: 套保品列表
  17841. items:
  17842. $ref: '#/definitions/models.XHMiddleGoods'
  17843. type: array
  17844. pictureurls:
  17845. description: 详情图片(逗号分隔)
  17846. type: string
  17847. thumurls:
  17848. description: 缩略图片(1:1)(逗号分隔)
  17849. type: string
  17850. unitid:
  17851. description: 单位id
  17852. type: integer
  17853. vatrate:
  17854. description: 增值税率
  17855. type: number
  17856. wrstandardcode:
  17857. description: 现货商品代码
  17858. type: string
  17859. wrstandardid:
  17860. description: 现货商品ID(SEQ_WRSTANDARD)
  17861. type: integer
  17862. wrstandardname:
  17863. description: 现货商品名称
  17864. type: string
  17865. type: object
  17866. order.QueryHisTradeDetailRsp:
  17867. properties:
  17868. accountid:
  17869. description: 账户ID[报价币种]
  17870. type: integer
  17871. advanceratio:
  17872. description: 首付比率
  17873. type: number
  17874. buildtype:
  17875. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17876. type: integer
  17877. buyorsell:
  17878. description: 方向 - 0:买 1:卖
  17879. type: integer
  17880. charge:
  17881. description: 手续费
  17882. type: number
  17883. closecharge:
  17884. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17885. type: number
  17886. closeexchagechargevalue:
  17887. description: 平仓交易所手续费设置值
  17888. type: number
  17889. closefeealgorithm:
  17890. description: 平仓手续费收取方式 1:比率 2:固定
  17891. type: integer
  17892. closememberchargevalue:
  17893. description: 平仓会员手续费设置值
  17894. type: number
  17895. closepl:
  17896. description: 平仓盈亏
  17897. type: number
  17898. closepl2:
  17899. description: 平仓盈亏[逐笔]
  17900. type: number
  17901. closeqty:
  17902. description: 平仓数量(先建后平操作 需要记录)
  17903. type: number
  17904. creditamount:
  17905. description: 授信金额
  17906. type: number
  17907. decimalplace:
  17908. description: 商品报价小数位
  17909. type: integer
  17910. enumdicname:
  17911. description: 单位名称
  17912. type: string
  17913. gcaccountid:
  17914. description: 账户ID[合约币种]
  17915. type: integer
  17916. goodscode:
  17917. description: 商品代码
  17918. type: string
  17919. goodsid:
  17920. description: 商品ID
  17921. type: integer
  17922. goodsname:
  17923. description: 商品名称
  17924. type: string
  17925. goodunitid:
  17926. description: 商品单位id
  17927. type: integer
  17928. histradedate:
  17929. description: 历史交易日
  17930. type: string
  17931. intclosepl:
  17932. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17933. type: integer
  17934. isconfirmexercise:
  17935. description: 是否确认行权- 0:否 1:是
  17936. type: integer
  17937. ismain:
  17938. description: 是否主单 - 0:不是 1:是
  17939. type: integer
  17940. ispreexercise:
  17941. description: 是否预申报- 0:否 1:是
  17942. type: integer
  17943. isreckoned:
  17944. description: 是否结算 - 0:未结算 1:已结算
  17945. type: integer
  17946. isvaliddata:
  17947. description: 是否有效 - 0:无效 1:有效
  17948. type: integer
  17949. listingselecttype:
  17950. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17951. type: integer
  17952. marketid:
  17953. description: 市场ID
  17954. type: integer
  17955. marketname:
  17956. description: 市场名称
  17957. type: string
  17958. matchaccountid:
  17959. description: 对手账号id
  17960. type: integer
  17961. memberuserid:
  17962. description: 会员id 个人投资者 需要填写
  17963. type: integer
  17964. opencharge:
  17965. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17966. type: number
  17967. openexchagechargevalue:
  17968. description: 建仓交易所手续费设置值
  17969. type: number
  17970. openfeealgorithm:
  17971. description: 建仓手续费收取方式 1:比率 2:固定
  17972. type: integer
  17973. openmemberchargevalue:
  17974. description: 建仓会员手续费设置值
  17975. type: number
  17976. openqty:
  17977. description: 开仓数量(先建后平操作 需要记录)
  17978. type: number
  17979. optiontype:
  17980. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17981. type: integer
  17982. orderid:
  17983. description: 委托单号
  17984. type: string
  17985. payamount:
  17986. description: 支付金额(付款金额)
  17987. type: number
  17988. performanceplanid:
  17989. description: 履约计划ID[期权]
  17990. type: integer
  17991. performancestatus:
  17992. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17993. type: integer
  17994. preexerciseprice:
  17995. description: 预申报价格
  17996. type: number
  17997. premium:
  17998. description: 权利金 - [持仓单的权利金]
  17999. type: number
  18000. qtydecimalplace:
  18001. description: 商品报价小数位
  18002. type: integer
  18003. recvamount:
  18004. description: 到账金额 = 成交金额 - 手续费
  18005. type: number
  18006. relatedouttradeid:
  18007. description: 关联外部成交单ID
  18008. type: integer
  18009. status:
  18010. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  18011. type: integer
  18012. totalamount:
  18013. description: 订单总额 = 成交金额 + 手续费
  18014. type: number
  18015. tradeamount:
  18016. description: 成交金额[账户币种,用于所有权]
  18017. type: number
  18018. tradedate:
  18019. description: 交易日(yyyyMMdd)
  18020. type: string
  18021. tradeid:
  18022. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18023. type: string
  18024. trademode:
  18025. description: 交易模式
  18026. type: integer
  18027. tradeprice:
  18028. description: 成交价格
  18029. type: number
  18030. tradeproperty:
  18031. description: 交易属性
  18032. type: integer
  18033. tradeqty:
  18034. description: 成交数量
  18035. type: number
  18036. tradetime:
  18037. description: 成交时间
  18038. type: string
  18039. tradetype:
  18040. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  18041. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  18042. type: integer
  18043. required:
  18044. - accountid
  18045. - buyorsell
  18046. - goodsid
  18047. - histradedate
  18048. - marketid
  18049. - memberuserid
  18050. - orderid
  18051. - tradeamount
  18052. - tradedate
  18053. - tradeid
  18054. - tradeprice
  18055. - tradeqty
  18056. - tradetime
  18057. type: object
  18058. order.QueryHisTradeOrderDetailRsp:
  18059. properties:
  18060. accountid:
  18061. description: 账户ID[报价币种]
  18062. type: integer
  18063. buildtype:
  18064. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  18065. type: integer
  18066. buyorsell:
  18067. description: 买卖 - 0:买 1:卖
  18068. type: integer
  18069. cancelorderid:
  18070. description: 撤单单号(撤单时填写)
  18071. type: string
  18072. cancelqty:
  18073. description: 撤单数量
  18074. type: number
  18075. clientordertime:
  18076. description: 客户端委托时间
  18077. type: string
  18078. clientticket:
  18079. description: 客户端流水号
  18080. type: string
  18081. clienttype:
  18082. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  18083. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  18084. type: integer
  18085. closeexchagechargevalue:
  18086. description: 平仓交易所手续费设置值
  18087. type: number
  18088. closefeealgorithm:
  18089. description: 平仓手续费收取方式 1:比率 2:固定
  18090. type: integer
  18091. closefreezecharge:
  18092. description: 平仓冻结手续费(先建后平操作,需要记录)
  18093. type: number
  18094. closememberchargevalue:
  18095. description: 平仓会员手续费设置值
  18096. type: number
  18097. closeqty:
  18098. description: 平仓数量(先建后平操作 需要记录)
  18099. type: number
  18100. closetradeqty:
  18101. description: 平仓成交数量(先建后平操作,需要记录)
  18102. type: number
  18103. closeunfreezecharge:
  18104. description: 平仓解冻手续费(先建后平操作,需要记录)
  18105. type: number
  18106. decimalplace:
  18107. description: 商品报价小数位
  18108. type: integer
  18109. delistingtype:
  18110. description: 摘牌类型 - 1:价格最优 2:点选成交
  18111. type: integer
  18112. enumdicname:
  18113. description: 单位名称
  18114. type: string
  18115. freezecharge:
  18116. description: 冻结手续费
  18117. type: number
  18118. freezemargin:
  18119. description: 冻结保证金(冻结交易金额)
  18120. type: number
  18121. gcaccountid:
  18122. description: 账户ID[合约币种]
  18123. type: integer
  18124. goodscode:
  18125. description: 商品代码
  18126. type: string
  18127. goodsid:
  18128. description: 商品ID
  18129. type: integer
  18130. goodsname:
  18131. description: 商品名称
  18132. type: string
  18133. goodunitid:
  18134. description: 商品单位id
  18135. type: integer
  18136. histradedate:
  18137. description: 历史交易日
  18138. type: string
  18139. isconfirmexercise:
  18140. description: 是否确认行权- 0:否 1:是
  18141. type: integer
  18142. ispreexercise:
  18143. description: 是否预申报- 0:否 1:是
  18144. type: integer
  18145. isvaliddata:
  18146. description: 是否有效 - 0:无效 1:有效
  18147. type: integer
  18148. listingselecttype:
  18149. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  18150. type: integer
  18151. marginalgorithm:
  18152. description: 保证金收取方式 1:比率 2:固定
  18153. type: integer
  18154. marginvalue:
  18155. description: 即市保证金设置值
  18156. type: number
  18157. marketid:
  18158. description: 市场ID
  18159. type: integer
  18160. marketmaxsub:
  18161. description: 市价最大偏移范围
  18162. type: number
  18163. marketname:
  18164. description: 市场名称
  18165. type: string
  18166. memberuserid:
  18167. description: 所属会员UserID
  18168. type: integer
  18169. openexchagechargevalue:
  18170. description: 建仓交易所手续费设置值
  18171. type: number
  18172. openfeealgorithm:
  18173. description: 建仓手续费收取方式 1:比率 2:固定
  18174. type: integer
  18175. openfreezecharge:
  18176. description: 开仓冻结手续费(先建后平操作,需要记录)
  18177. type: number
  18178. openmemberchargevalue:
  18179. description: 建仓会员手续费设置值
  18180. type: number
  18181. openqty:
  18182. description: 开仓数量(先建后平操作,需要记录)
  18183. type: number
  18184. opentradeqty:
  18185. description: 开仓成交数量(先建后平操作,需要记录)
  18186. type: number
  18187. openunfreezecharge:
  18188. description: 开仓解冻手续费(先建后平操作,需要记录)
  18189. type: number
  18190. operatetype:
  18191. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  18192. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  18193. 15:管理端协议转让
  18194. type: integer
  18195. operatorid:
  18196. description: 登录账号(LoginID)
  18197. type: integer
  18198. optiontype:
  18199. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  18200. type: integer
  18201. orderid:
  18202. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18203. type: string
  18204. orderprice:
  18205. description: 委托价格
  18206. type: number
  18207. orderqty:
  18208. description: 委托数量
  18209. type: number
  18210. ordersrc:
  18211. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  18212. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  18213. type: integer
  18214. orderstatus:
  18215. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  18216. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  18217. 16:成交失败违约(荷兰式竞拍专用)
  18218. type: integer
  18219. ordertime:
  18220. description: 委托时间
  18221. type: string
  18222. preexerciseprice:
  18223. description: 预申报价格
  18224. type: number
  18225. premium:
  18226. description: 权利金
  18227. type: number
  18228. preorderid:
  18229. description: 关联预埋单号(止盈止损单时填写)
  18230. type: string
  18231. pricemode:
  18232. description: '取价方式 - 1:市价 2: 限价'
  18233. type: integer
  18234. qtydecimalplace:
  18235. description: 成交量小数位
  18236. type: integer
  18237. quoteid:
  18238. description: 报价单ID
  18239. type: integer
  18240. relatedid:
  18241. description: 关联单号(交割单)
  18242. type: string
  18243. retcode:
  18244. description: 错误代码
  18245. type: integer
  18246. sessionid:
  18247. description: 会话ID
  18248. type: integer
  18249. tradedate:
  18250. description: 交易日(yyyyMMdd)
  18251. type: string
  18252. trademode:
  18253. description: 交易模式
  18254. type: integer
  18255. tradeproperty:
  18256. description: 交易属性
  18257. type: integer
  18258. tradeqty:
  18259. description: 成交数量
  18260. type: number
  18261. unfreezecharge:
  18262. description: 解冻手续费
  18263. type: number
  18264. unfreezemargin:
  18265. description: 解冻保证金
  18266. type: number
  18267. updatetime:
  18268. description: 更新时间
  18269. type: string
  18270. uuid:
  18271. description: 发起端唯一id
  18272. type: string
  18273. validtime:
  18274. description: 有效期限
  18275. type: string
  18276. validtype:
  18277. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  18278. type: integer
  18279. volumetype:
  18280. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  18281. type: integer
  18282. required:
  18283. - accountid
  18284. - buildtype
  18285. - buyorsell
  18286. - goodsid
  18287. - histradedate
  18288. - marketid
  18289. - memberuserid
  18290. - operatetype
  18291. - orderid
  18292. - orderqty
  18293. - ordertime
  18294. - pricemode
  18295. - tradedate
  18296. - validtype
  18297. type: object
  18298. order.QueryTradeDetailRsp:
  18299. properties:
  18300. accountid:
  18301. description: 账户ID[报价币种]
  18302. type: integer
  18303. advanceratio:
  18304. description: 首付比率
  18305. type: number
  18306. buildtype:
  18307. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  18308. type: integer
  18309. buyorsell:
  18310. description: 方向 - 0:买 1:卖
  18311. type: integer
  18312. charge:
  18313. description: 手续费
  18314. type: number
  18315. closecharge:
  18316. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  18317. type: number
  18318. closeexchagechargevalue:
  18319. description: 平仓交易所手续费设置值
  18320. type: number
  18321. closefeealgorithm:
  18322. description: 平仓手续费收取方式 1:比率 2:固定
  18323. type: integer
  18324. closememberchargevalue:
  18325. description: 平仓会员手续费设置值
  18326. type: number
  18327. closepl:
  18328. description: 平仓盈亏
  18329. type: number
  18330. closepl2:
  18331. description: 平仓盈亏[逐笔]
  18332. type: number
  18333. closeqty:
  18334. description: 平仓数量(先建后平操作 需要记录)
  18335. type: number
  18336. creditamount:
  18337. description: 授信金额
  18338. type: number
  18339. decimalplace:
  18340. description: 商品报价小数位
  18341. type: integer
  18342. enumdicname:
  18343. description: 单位名称
  18344. type: string
  18345. gcaccountid:
  18346. description: 账户ID[合约币种]
  18347. type: integer
  18348. goodscode:
  18349. description: 商品代码
  18350. type: string
  18351. goodsid:
  18352. description: 商品ID
  18353. type: integer
  18354. goodsname:
  18355. description: 商品名称
  18356. type: string
  18357. goodunitid:
  18358. description: 商品单位id
  18359. type: integer
  18360. intclosepl:
  18361. description: 整型盈亏(用于交易结算试算平衡-收益权)
  18362. type: integer
  18363. isconfirmexercise:
  18364. description: 是否确认行权- 0:否 1:是
  18365. type: integer
  18366. ismain:
  18367. description: 是否主单 - 0:不是 1:是
  18368. type: integer
  18369. ispreexercise:
  18370. description: 是否预申报- 0:否 1:是
  18371. type: integer
  18372. isreckoned:
  18373. description: 是否结算 - 0:未结算 1:已结算
  18374. type: integer
  18375. listingselecttype:
  18376. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  18377. type: integer
  18378. marketid:
  18379. description: 市场ID
  18380. type: integer
  18381. marketname:
  18382. description: 市场名称
  18383. type: string
  18384. matchaccountid:
  18385. description: 对手账号id
  18386. type: integer
  18387. memberuserid:
  18388. description: 会员id 个人投资者 需要填写
  18389. type: integer
  18390. opencharge:
  18391. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  18392. type: number
  18393. openexchagechargevalue:
  18394. description: 建仓交易所手续费设置值
  18395. type: number
  18396. openfeealgorithm:
  18397. description: 建仓手续费收取方式 1:比率 2:固定
  18398. type: integer
  18399. openmemberchargevalue:
  18400. description: 建仓会员手续费设置值
  18401. type: number
  18402. openqty:
  18403. description: 开仓数量(先建后平操作 需要记录)
  18404. type: number
  18405. optiontype:
  18406. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  18407. type: integer
  18408. orderid:
  18409. description: 委托单号
  18410. type: string
  18411. payamount:
  18412. description: 支付金额(付款金额)
  18413. type: number
  18414. performanceplanid:
  18415. description: 履约计划ID[期权]
  18416. type: integer
  18417. performancestatus:
  18418. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  18419. type: integer
  18420. preexerciseprice:
  18421. description: 预申报价格
  18422. type: number
  18423. premium:
  18424. description: 权利金 - [持仓单的权利金]
  18425. type: number
  18426. qtydecimalplace:
  18427. description: 商品报价小数位
  18428. type: integer
  18429. recvamount:
  18430. description: 到账金额 = 成交金额 - 手续费
  18431. type: number
  18432. relatedouttradeid:
  18433. description: 关联外部成交单ID
  18434. type: integer
  18435. status:
  18436. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  18437. type: integer
  18438. totalamount:
  18439. description: 订单总额 = 成交金额 + 手续费
  18440. type: number
  18441. tradeamount:
  18442. description: 成交金额[账户币种,用于所有权]
  18443. type: number
  18444. tradedate:
  18445. description: 交易日(yyyyMMdd)
  18446. type: string
  18447. tradeid:
  18448. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18449. type: string
  18450. trademode:
  18451. description: 交易模式
  18452. type: integer
  18453. tradeprice:
  18454. description: 成交价格
  18455. type: number
  18456. tradeproperty:
  18457. description: 交易属性
  18458. type: integer
  18459. tradeqty:
  18460. description: 成交数量
  18461. type: number
  18462. tradetime:
  18463. description: 成交时间
  18464. type: string
  18465. tradetype:
  18466. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  18467. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  18468. type: integer
  18469. required:
  18470. - accountid
  18471. - buyorsell
  18472. - goodsid
  18473. - marketid
  18474. - memberuserid
  18475. - orderid
  18476. - tradeamount
  18477. - tradedate
  18478. - tradeid
  18479. - tradeprice
  18480. - tradeqty
  18481. - tradetime
  18482. type: object
  18483. order.QueryTradeOrderDetailRsp:
  18484. properties:
  18485. accountid:
  18486. description: 账户ID[报价币种]
  18487. type: integer
  18488. buildtype:
  18489. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  18490. type: integer
  18491. buyorsell:
  18492. description: 买卖 - 0:买 1:卖
  18493. type: integer
  18494. cancelorderid:
  18495. description: 撤单单号(撤单时填写)
  18496. type: string
  18497. cancelqty:
  18498. description: 撤单数量
  18499. type: number
  18500. clienttype:
  18501. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  18502. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  18503. type: integer
  18504. closefreezecharge:
  18505. description: 平仓冻结手续费(先建后平操作,需要记录)
  18506. type: number
  18507. closeqty:
  18508. description: 平仓数量(先建后平操作 需要记录)
  18509. type: number
  18510. closetradeqty:
  18511. description: 平仓成交数量(先建后平操作,需要记录)
  18512. type: number
  18513. closeunfreezecharge:
  18514. description: 平仓解冻手续费(先建后平操作,需要记录)
  18515. type: number
  18516. decimalplace:
  18517. description: 商品报价小数位
  18518. type: integer
  18519. delistingtype:
  18520. description: 摘牌类型 - 1:价格最优 2:点选成交
  18521. type: integer
  18522. enableqty:
  18523. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  18524. type: number
  18525. enumdicname:
  18526. description: 单位名称
  18527. type: string
  18528. freezecharge:
  18529. description: 冻结手续费
  18530. type: number
  18531. freezemargin:
  18532. description: 冻结保证金(冻结交易金额)
  18533. type: number
  18534. goodscode:
  18535. description: 商品代码
  18536. type: string
  18537. goodsid:
  18538. description: 商品ID
  18539. type: integer
  18540. goodsname:
  18541. description: 商品名称
  18542. type: string
  18543. goodunitid:
  18544. description: 商品单位id
  18545. type: integer
  18546. listingselecttype:
  18547. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  18548. type: integer
  18549. marketid:
  18550. description: 市场ID
  18551. type: integer
  18552. marketname:
  18553. description: 市场名称
  18554. type: string
  18555. openfreezecharge:
  18556. description: 开仓冻结手续费(先建后平操作,需要记录)
  18557. type: number
  18558. openqty:
  18559. description: 开仓数量(先建后平操作,需要记录)
  18560. type: number
  18561. opentradeqty:
  18562. description: 开仓成交数量(先建后平操作,需要记录)
  18563. type: number
  18564. openunfreezecharge:
  18565. description: 开仓解冻手续费(先建后平操作,需要记录)
  18566. type: number
  18567. operatetype:
  18568. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  18569. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  18570. 15:管理端协议转让
  18571. type: integer
  18572. operatorid:
  18573. description: 登录账号(LoginID)
  18574. type: integer
  18575. orderid:
  18576. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18577. type: string
  18578. orderprice:
  18579. description: 委托价格
  18580. type: number
  18581. orderqty:
  18582. description: 委托数量
  18583. type: number
  18584. ordersrc:
  18585. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  18586. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  18587. type: integer
  18588. orderstatus:
  18589. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  18590. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  18591. 16:成交失败违约(荷兰式竞拍专用)
  18592. type: integer
  18593. ordertime:
  18594. description: 委托时间
  18595. type: string
  18596. preorderid:
  18597. description: 关联预埋单号(止盈止损单时填写)
  18598. type: string
  18599. pricemode:
  18600. description: '取价方式 - 1:市价 2: 限价'
  18601. type: integer
  18602. qtydecimalplace:
  18603. description: 商品报价小数位
  18604. type: integer
  18605. relatedid:
  18606. description: 关联单号(交割单)
  18607. type: string
  18608. tradedate:
  18609. description: 交易日(yyyyMMdd)
  18610. type: string
  18611. trademode:
  18612. description: 交易模式
  18613. type: integer
  18614. tradeqty:
  18615. description: 成交数量
  18616. type: number
  18617. unfreezecharge:
  18618. description: 解冻手续费
  18619. type: number
  18620. unfreezemargin:
  18621. description: 解冻保证金
  18622. type: number
  18623. validtime:
  18624. description: 有效期限
  18625. type: string
  18626. validtype:
  18627. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  18628. type: integer
  18629. volumetype:
  18630. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  18631. type: integer
  18632. required:
  18633. - accountid
  18634. - buildtype
  18635. - buyorsell
  18636. - goodsid
  18637. - marketid
  18638. - operatetype
  18639. - orderqty
  18640. - ordertime
  18641. - pricemode
  18642. - tradedate
  18643. - validtype
  18644. type: object
  18645. order.QueryTradePositionRsp:
  18646. properties:
  18647. accountid:
  18648. description: 资金账户
  18649. type: integer
  18650. agreeunit:
  18651. description: 合约单位
  18652. type: number
  18653. averageprice:
  18654. description: 持仓均价
  18655. type: number
  18656. buyorsell:
  18657. description: 方向 - 0:买 1:卖
  18658. type: integer
  18659. closetotalqty:
  18660. description: 平仓总数量
  18661. type: number
  18662. curholderamount:
  18663. description: 当前持仓总金额[商品币种]
  18664. type: number
  18665. curpositionqty:
  18666. description: 当前持仓总数量
  18667. type: number
  18668. currencyid:
  18669. description: 报价货币ID
  18670. type: integer
  18671. curtdposition:
  18672. description: 期末今日头寸
  18673. type: number
  18674. decimalplace:
  18675. description: 报价小数位
  18676. type: integer
  18677. enableqty:
  18678. description: 可用量
  18679. type: number
  18680. fretdposition:
  18681. description: 冻结今日头寸
  18682. type: number
  18683. frozenqty:
  18684. description: 持仓冻结数量
  18685. type: number
  18686. goodscode:
  18687. description: 商品代码
  18688. type: string
  18689. goodsid:
  18690. description: 商品Id
  18691. type: integer
  18692. goodsname:
  18693. description: 商品名称
  18694. type: string
  18695. goodunit:
  18696. description: 报价单位
  18697. type: string
  18698. goodunitid:
  18699. description: 报价单位ID
  18700. type: integer
  18701. holderamount:
  18702. description: 期初持仓总金额[商品币种]
  18703. type: number
  18704. lastprice:
  18705. description: 最新价
  18706. type: number
  18707. marketamount:
  18708. description: 市值
  18709. type: number
  18710. marketid:
  18711. description: 所属市场ID
  18712. type: integer
  18713. openreqqty:
  18714. description: 开仓申请数量(用于比较最大持仓数量)
  18715. type: number
  18716. opentotalqty:
  18717. description: 开仓总数量
  18718. type: number
  18719. otherfrozenqty:
  18720. description: 持仓其他冻结数量(交割冻结)
  18721. type: number
  18722. positionpl:
  18723. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  18724. * 合约单位
  18725. type: number
  18726. positionplrate:
  18727. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  18728. type: number
  18729. positionqty:
  18730. description: 期初持仓数量
  18731. type: number
  18732. qtydecimalplace:
  18733. description: 成交量小数位
  18734. type: integer
  18735. refgoodscode:
  18736. description: 参考商品代码
  18737. type: string
  18738. refgoodsid:
  18739. description: 参考商品ID
  18740. type: integer
  18741. tnqty:
  18742. description: T+N冻结总量
  18743. type: number
  18744. tnusedqty:
  18745. description: T+N使用量(可以使用T+N的冻结数量)
  18746. type: number
  18747. trademode:
  18748. description: 交易模式
  18749. type: integer
  18750. tradeproperty:
  18751. description: 交易属性
  18752. type: integer
  18753. usedmargin:
  18754. description: 占用保证金[商品币种]
  18755. type: number
  18756. required:
  18757. - goodsid
  18758. type: object
  18759. pb.GoodsMarginCfgStruct:
  18760. properties:
  18761. CustomerTypeID:
  18762. description: 投资者客户类型
  18763. type: integer
  18764. GoodsID:
  18765. description: 商品ID
  18766. type: integer
  18767. IsDefault:
  18768. description: 是否默认标志位
  18769. type: integer
  18770. LockMarginValue:
  18771. description: 锁仓保证金
  18772. type: number
  18773. MarginAlgorithm:
  18774. description: 保证金计算方式
  18775. type: integer
  18776. MarketMarginValue:
  18777. description: 即市保证金值
  18778. type: number
  18779. RealMarginAlgorithm:
  18780. description: 实付保证金计算方式
  18781. type: integer
  18782. RealMarginValue:
  18783. description: 实付比例
  18784. type: number
  18785. ReckonMarginValue:
  18786. description: 结算保证金值
  18787. type: number
  18788. type: object
  18789. quote.HistoryData:
  18790. properties:
  18791. c:
  18792. description: 收盘价
  18793. type: number
  18794. f:
  18795. description: 是否补充数据
  18796. type: boolean
  18797. h:
  18798. description: 最高价
  18799. type: number
  18800. hv:
  18801. description: 持仓量
  18802. type: integer
  18803. l:
  18804. description: 最低价
  18805. type: number
  18806. o:
  18807. description: 开盘价
  18808. type: number
  18809. s:
  18810. description: 结算价,日线周期(包括)以上才有
  18811. type: number
  18812. ts:
  18813. description: 时间
  18814. type: string
  18815. tt:
  18816. description: 总金额
  18817. type: number
  18818. tv:
  18819. description: 总量(成交量)
  18820. type: integer
  18821. type: object
  18822. quote.HistoryTikData:
  18823. properties:
  18824. AV:
  18825. description: 卖量
  18826. type: integer
  18827. Ask:
  18828. description: 卖价
  18829. type: number
  18830. BV:
  18831. description: 买量
  18832. type: integer
  18833. Bid:
  18834. description: 买价
  18835. type: number
  18836. HI:
  18837. description: 单笔持仓
  18838. type: integer
  18839. HV:
  18840. description: 持仓量
  18841. type: integer
  18842. PE:
  18843. description: 现价
  18844. type: number
  18845. TDR:
  18846. description: 交易方向,0:买 1:卖
  18847. type: integer
  18848. TK:
  18849. description: 交易类型
  18850. type: integer
  18851. TS:
  18852. description: 行情时间文本
  18853. type: string
  18854. TT:
  18855. description: 现金额
  18856. type: number
  18857. Vol:
  18858. description: 现量
  18859. type: integer
  18860. type: object
  18861. quote.QueryQuoteDayRsp:
  18862. properties:
  18863. ask:
  18864. description: 卖1
  18865. type: number
  18866. ask2:
  18867. description: 卖2
  18868. type: number
  18869. ask3:
  18870. description: 卖3
  18871. type: number
  18872. ask4:
  18873. description: 卖4
  18874. type: number
  18875. ask5:
  18876. description: 卖5
  18877. type: number
  18878. ask6:
  18879. description: 卖6
  18880. type: number
  18881. ask7:
  18882. description: 卖7
  18883. type: number
  18884. ask8:
  18885. description: 卖8
  18886. type: number
  18887. ask9:
  18888. description: 卖9
  18889. type: number
  18890. ask10:
  18891. description: 卖10
  18892. type: number
  18893. askorderid:
  18894. description: 卖单号1
  18895. type: integer
  18896. askorderid2:
  18897. description: 卖单号2
  18898. type: integer
  18899. askorderid3:
  18900. description: 卖单号3
  18901. type: integer
  18902. askorderid4:
  18903. description: 卖单号4
  18904. type: integer
  18905. askorderid5:
  18906. description: 卖单号5
  18907. type: integer
  18908. askordervolume:
  18909. description: 卖单量1
  18910. type: integer
  18911. askordervolume2:
  18912. description: 卖单量2
  18913. type: integer
  18914. askordervolume3:
  18915. description: 卖单量3
  18916. type: integer
  18917. askordervolume4:
  18918. description: 卖单量4
  18919. type: integer
  18920. askordervolume5:
  18921. description: 卖单量5
  18922. type: integer
  18923. askordervolume6:
  18924. description: 卖单量6
  18925. type: integer
  18926. askordervolume7:
  18927. description: 卖单量7
  18928. type: integer
  18929. askordervolume8:
  18930. description: 卖单量8
  18931. type: integer
  18932. askordervolume9:
  18933. description: 卖单量9
  18934. type: integer
  18935. askordervolume10:
  18936. description: 卖单量10
  18937. type: integer
  18938. askqueueinfo:
  18939. description: 大利市卖港股用
  18940. type: string
  18941. askvolume:
  18942. description: 卖量1
  18943. type: integer
  18944. askvolume2:
  18945. description: 卖量2
  18946. type: integer
  18947. askvolume3:
  18948. description: 卖量3
  18949. type: integer
  18950. askvolume4:
  18951. description: 卖量4
  18952. type: integer
  18953. askvolume5:
  18954. description: 卖量5
  18955. type: integer
  18956. askvolume6:
  18957. description: 卖量6
  18958. type: integer
  18959. askvolume7:
  18960. description: 卖量7
  18961. type: integer
  18962. askvolume8:
  18963. description: 卖量8
  18964. type: integer
  18965. askvolume9:
  18966. description: 卖量9
  18967. type: integer
  18968. askvolume10:
  18969. description: 卖量10
  18970. type: integer
  18971. averageprice:
  18972. description: 均价
  18973. type: number
  18974. bid:
  18975. description: 买1
  18976. type: number
  18977. bid2:
  18978. description: 买2
  18979. type: number
  18980. bid3:
  18981. description: 买3
  18982. type: number
  18983. bid4:
  18984. description: 买4
  18985. type: number
  18986. bid5:
  18987. description: 买5
  18988. type: number
  18989. bid6:
  18990. description: 买6
  18991. type: number
  18992. bid7:
  18993. description: 买7
  18994. type: number
  18995. bid8:
  18996. description: 买8
  18997. type: number
  18998. bid9:
  18999. description: 买9
  19000. type: number
  19001. bid10:
  19002. description: 买10
  19003. type: number
  19004. bidorderid:
  19005. description: 买单号1
  19006. type: integer
  19007. bidorderid2:
  19008. description: 买单号2
  19009. type: integer
  19010. bidorderid3:
  19011. description: 买单号3
  19012. type: integer
  19013. bidorderid4:
  19014. description: 买单号4
  19015. type: integer
  19016. bidorderid5:
  19017. description: 买单号5
  19018. type: integer
  19019. bidordervolume:
  19020. description: 买单量1
  19021. type: integer
  19022. bidordervolume2:
  19023. description: 买单量2
  19024. type: integer
  19025. bidordervolume3:
  19026. description: 买单量3
  19027. type: integer
  19028. bidordervolume4:
  19029. description: 买单量4
  19030. type: integer
  19031. bidordervolume5:
  19032. description: 买单量5
  19033. type: integer
  19034. bidordervolume6:
  19035. description: 买单量6
  19036. type: integer
  19037. bidordervolume7:
  19038. description: 买单量7
  19039. type: integer
  19040. bidordervolume8:
  19041. description: 买单量8
  19042. type: integer
  19043. bidordervolume9:
  19044. description: 买单量9
  19045. type: integer
  19046. bidordervolume10:
  19047. description: 买单量10
  19048. type: integer
  19049. bidqueueinfo:
  19050. description: 大利市买港股用
  19051. type: string
  19052. bidvolume:
  19053. description: 买量1
  19054. type: integer
  19055. bidvolume2:
  19056. description: 买量2
  19057. type: integer
  19058. bidvolume3:
  19059. description: 买量3
  19060. type: integer
  19061. bidvolume4:
  19062. description: 买量4
  19063. type: integer
  19064. bidvolume5:
  19065. description: 买量5
  19066. type: integer
  19067. bidvolume6:
  19068. description: 买量6
  19069. type: integer
  19070. bidvolume7:
  19071. description: 买量7
  19072. type: integer
  19073. bidvolume8:
  19074. description: 买量8
  19075. type: integer
  19076. bidvolume9:
  19077. description: 买量9
  19078. type: integer
  19079. bidvolume10:
  19080. description: 买量10
  19081. type: integer
  19082. calloptionpremiums:
  19083. description: 认购期权1
  19084. type: integer
  19085. calloptionpremiums2:
  19086. description: 认购期权2
  19087. type: integer
  19088. calloptionpremiums3:
  19089. description: 认购期权3
  19090. type: integer
  19091. calloptionpremiums4:
  19092. description: 认购期权4
  19093. type: integer
  19094. calloptionpremiums5:
  19095. description: 认购期权5
  19096. type: integer
  19097. cleartime:
  19098. description: 清盘时间
  19099. type: integer
  19100. exchangecode:
  19101. description: 交易所代码
  19102. type: integer
  19103. exchangedate:
  19104. description: 交易日
  19105. type: integer
  19106. goodscode:
  19107. description: 商品代码
  19108. type: string
  19109. grepmarketprice:
  19110. description: 暗盘价 港股专用
  19111. type: number
  19112. highest:
  19113. description: 最高价
  19114. type: number
  19115. holdincrement:
  19116. description: 单笔持仓
  19117. type: integer
  19118. holdvolume:
  19119. description: 持仓
  19120. type: integer
  19121. iep:
  19122. description: 平衡价 港股专用
  19123. type: number
  19124. iev:
  19125. description: 平衡量 港股专用
  19126. type: number
  19127. inventory:
  19128. description: 库存
  19129. type: integer
  19130. iscleared:
  19131. description: 是否清盘标志
  19132. type: integer
  19133. issettled:
  19134. description: 是否结算标志
  19135. type: integer
  19136. last:
  19137. description: 最新价
  19138. type: number
  19139. lastlot:
  19140. description: 最新成交手数
  19141. type: integer
  19142. lasttime:
  19143. description: 行情时间(只有现价变化行情时间才变化)
  19144. type: string
  19145. lastturnover:
  19146. description: 最新成交金额
  19147. type: number
  19148. lastvolume:
  19149. description: 最新成交量
  19150. type: integer
  19151. limitdown:
  19152. description: 跌停价
  19153. type: number
  19154. limitup:
  19155. description: 涨停价
  19156. type: number
  19157. lowest:
  19158. description: 最低价
  19159. type: number
  19160. nontotalholdervolume:
  19161. description: 非交易持仓量
  19162. type: integer
  19163. nontotallot:
  19164. description: 非交易总手数
  19165. type: integer
  19166. nontotalturnover:
  19167. description: 非交易总金额
  19168. type: integer
  19169. nontotalvolume:
  19170. description: 非交易总量
  19171. type: integer
  19172. opened:
  19173. description: 开盘价
  19174. type: number
  19175. opentime:
  19176. description: 开盘时间
  19177. type: string
  19178. orderid:
  19179. description: 序号
  19180. type: integer
  19181. preclose:
  19182. description: 昨收
  19183. type: number
  19184. preholdvolume:
  19185. description: 昨持仓
  19186. type: integer
  19187. presettle:
  19188. description: 昨结价
  19189. type: number
  19190. publictradetype:
  19191. description: 公共交易标志类型 港股专用
  19192. type: string
  19193. putoptionpremiums:
  19194. description: 认沽期权1
  19195. type: integer
  19196. putoptionpremiums2:
  19197. description: 认沽期权2
  19198. type: integer
  19199. putoptionpremiums3:
  19200. description: 认沽期权3
  19201. type: integer
  19202. putoptionpremiums4:
  19203. description: 认沽期权4
  19204. type: integer
  19205. putoptionpremiums5:
  19206. description: 认沽期权5
  19207. type: integer
  19208. settle:
  19209. description: 结算价
  19210. type: number
  19211. strikeprice:
  19212. description: 发行价
  19213. type: number
  19214. totalaskvolume:
  19215. description: 内盘
  19216. type: integer
  19217. totalbidvolume:
  19218. description: 外盘
  19219. type: integer
  19220. totallot:
  19221. description: 总手数
  19222. type: integer
  19223. totalturnover:
  19224. description: 总金额
  19225. type: number
  19226. totalvolume:
  19227. description: 总量
  19228. type: integer
  19229. utclasttime:
  19230. description: utc的行情时间
  19231. type: string
  19232. type: object
  19233. quote.QueryTSDataRsp:
  19234. properties:
  19235. Count:
  19236. description: 交易日应有数据个数
  19237. type: integer
  19238. decimalPlace:
  19239. description: 小数位
  19240. type: integer
  19241. endTime:
  19242. description: 结束时间
  19243. type: string
  19244. goodsCode:
  19245. description: 商品代码
  19246. type: string
  19247. historyDatas:
  19248. description: 历史数据
  19249. items:
  19250. $ref: '#/definitions/quote.HistoryData'
  19251. type: array
  19252. outGoodsCode:
  19253. description: 外部商品代码
  19254. type: string
  19255. preSettle:
  19256. description: 昨结价
  19257. type: number
  19258. runSteps:
  19259. description: 交易日开休市计划
  19260. items:
  19261. $ref: '#/definitions/quote.TSDataRunStep'
  19262. type: array
  19263. startTime:
  19264. description: 开始时间
  19265. type: string
  19266. tradeDate:
  19267. description: 交易日
  19268. type: string
  19269. type: object
  19270. quote.TSDataRunStep:
  19271. properties:
  19272. end:
  19273. description: 真实结束时间
  19274. type: string
  19275. endflag:
  19276. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  19277. type: integer
  19278. endtime:
  19279. description: 结束时间(HH:mm)
  19280. type: string
  19281. endweekday:
  19282. description: 结束周几
  19283. type: integer
  19284. groupid:
  19285. description: 分组ID
  19286. type: integer
  19287. runstep:
  19288. description: 运行阶段 - 2:连续交易
  19289. type: integer
  19290. sectionid:
  19291. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  19292. 结束时间=结算时间 结束周几=结算周几
  19293. type: integer
  19294. start:
  19295. description: 真实开始时间
  19296. type: string
  19297. startflag:
  19298. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  19299. type: integer
  19300. starttime:
  19301. description: 起始时间(HH:mm)
  19302. type: string
  19303. startweekday:
  19304. description: 起始周几
  19305. type: integer
  19306. tradeweekday:
  19307. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  19308. type: integer
  19309. type: object
  19310. szdz.QueryConvertLogRsp:
  19311. properties:
  19312. accountid:
  19313. description: 资金账户ID
  19314. type: integer
  19315. clientticket:
  19316. description: 客户端流水号
  19317. type: string
  19318. converttype:
  19319. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  19320. type: integer
  19321. createtime:
  19322. description: 记账时间
  19323. type: string
  19324. daymaxvalue:
  19325. description: 配置当日最大转入限制
  19326. type: number
  19327. daymaxvalue2:
  19328. description: 配置当日最大转入限制(转入)
  19329. type: number
  19330. goodscode:
  19331. description: 商品代码
  19332. type: string
  19333. goodsname:
  19334. description: 商品名称
  19335. type: string
  19336. handlestatus:
  19337. description: 处理状态
  19338. type: integer
  19339. innergoodsid:
  19340. description: 内部商品ID
  19341. type: integer
  19342. inratio:
  19343. description: 配置转入比值
  19344. type: integer
  19345. invalue:
  19346. description: 目标值
  19347. type: number
  19348. logid:
  19349. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  19350. type: integer
  19351. mobile:
  19352. description: 手机号码(加密存储)
  19353. type: string
  19354. outergoodscode:
  19355. description: 外部商品代码[JD\PD]
  19356. type: string
  19357. outratio:
  19358. description: 配置转出比值
  19359. type: integer
  19360. outvalue:
  19361. description: 源值
  19362. type: number
  19363. pddecimalplace:
  19364. description: PD小数位
  19365. type: integer
  19366. qty:
  19367. description: 数量
  19368. type: string
  19369. remark:
  19370. description: 备注
  19371. type: string
  19372. sessionid:
  19373. description: 会话ID
  19374. type: integer
  19375. timemaxvalue:
  19376. description: 配置单次最大转入限制
  19377. type: number
  19378. timemaxvalue2:
  19379. description: 配置单次最大转入限制(转入)
  19380. type: number
  19381. timeminvalue:
  19382. description: 配置单次最小数量限制
  19383. type: number
  19384. timeminvalue2:
  19385. description: 配置单次最小数量限制(转入)
  19386. type: number
  19387. tradedate:
  19388. description: 交易日(yyyyMMdd)
  19389. type: string
  19390. userid:
  19391. description: 用户ID
  19392. type: integer
  19393. required:
  19394. - logid
  19395. type: object
  19396. szdz.QueryGoodsPickupRsp:
  19397. properties:
  19398. accountid:
  19399. description: 账户ID
  19400. type: integer
  19401. address:
  19402. description: 提货人详细地址
  19403. type: string
  19404. auditer:
  19405. description: 审核人
  19406. type: integer
  19407. audittime:
  19408. description: 审核时间
  19409. type: string
  19410. cardnum:
  19411. description: 提货人证件号码
  19412. type: string
  19413. cardtypeid:
  19414. description: 提货人证件类型
  19415. type: integer
  19416. checkremark:
  19417. description: 审核备注
  19418. type: string
  19419. goodscode:
  19420. description: 商品代码
  19421. type: string
  19422. goodsid:
  19423. description: 商品ID
  19424. type: integer
  19425. goodsname:
  19426. description: 商品名称
  19427. type: string
  19428. handlestatus:
  19429. description: 处理状态
  19430. type: integer
  19431. marketid:
  19432. description: 市场ID
  19433. type: integer
  19434. phonenum:
  19435. description: 提货人联系方式
  19436. type: string
  19437. qty:
  19438. description: 提货数量
  19439. type: number
  19440. recivername:
  19441. description: 提货人姓名
  19442. type: string
  19443. reqtime:
  19444. description: 更新时间
  19445. type: string
  19446. takemode:
  19447. description: 提货方式 - 2:自提 3:配送
  19448. type: integer
  19449. takeorderid:
  19450. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  19451. type: string
  19452. takeorderstatus:
  19453. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  19454. type: integer
  19455. takeremark:
  19456. description: 提货备注
  19457. type: string
  19458. tradedate:
  19459. description: 交易日(yyyyMMdd)
  19460. type: string
  19461. userid:
  19462. description: 用户ID
  19463. type: integer
  19464. required:
  19465. - takeorderid
  19466. type: object
  19467. szdz.QueryRecieptOrderRsp:
  19468. properties:
  19469. accountName:
  19470. description: 所属账号名称(已脱敏)
  19471. type: string
  19472. accountid:
  19473. description: 资金账号
  19474. type: integer
  19475. buyorsell:
  19476. description: 方向 - 0:买 1:卖
  19477. type: integer
  19478. enableqty:
  19479. description: 可摘数量
  19480. type: integer
  19481. goodscode:
  19482. description: 商品代码
  19483. type: string
  19484. goodsid:
  19485. description: 商品ID
  19486. type: integer
  19487. goodsname:
  19488. description: 商品名称
  19489. type: string
  19490. orderid:
  19491. description: 委托单号
  19492. type: string
  19493. orderprice:
  19494. description: 委托价格
  19495. type: number
  19496. ordertime:
  19497. description: 委托时间
  19498. type: string
  19499. tradedate:
  19500. description: 交易日(yyyyMMdd)
  19501. type: string
  19502. required:
  19503. - ordertime
  19504. type: object
  19505. szdz.QuerySZDZTradePositionRsp:
  19506. properties:
  19507. accountid:
  19508. description: 账号Id
  19509. type: integer
  19510. agreeunit:
  19511. description: 合约单位
  19512. type: number
  19513. averageprice:
  19514. description: 持仓均价
  19515. type: number
  19516. buyorsell:
  19517. description: 方向 - 0:买 1:卖
  19518. type: integer
  19519. closetotalqty:
  19520. description: 平仓总数量
  19521. type: integer
  19522. curholderamount:
  19523. description: 当前持仓总金额
  19524. type: number
  19525. curpositionqty:
  19526. description: 当前持仓总数量
  19527. type: integer
  19528. currencyid:
  19529. description: 报价货币ID
  19530. type: integer
  19531. curtdposition:
  19532. description: 期末今日头寸
  19533. type: integer
  19534. decimalplace:
  19535. description: 报价小数位
  19536. type: integer
  19537. enableqty:
  19538. description: 可用量
  19539. type: integer
  19540. fretdposition:
  19541. description: 冻结今日头寸
  19542. type: integer
  19543. frozenqty:
  19544. description: 持仓冻结数量
  19545. type: integer
  19546. goodscode:
  19547. description: 商品代码(内部)
  19548. type: string
  19549. goodsid:
  19550. description: 商品Id
  19551. type: integer
  19552. goodsname:
  19553. description: 商品名称
  19554. type: string
  19555. goodunit:
  19556. description: 报价单位
  19557. type: string
  19558. goodunitid:
  19559. description: 报价单位ID
  19560. type: integer
  19561. holderamount:
  19562. description: 期初持仓总金额
  19563. type: number
  19564. marketid:
  19565. description: 市场ID
  19566. type: integer
  19567. openreqqty:
  19568. description: 开仓申请数量
  19569. type: integer
  19570. opentotalqty:
  19571. description: 开仓总数量
  19572. type: integer
  19573. otherfrozenqty:
  19574. description: 持仓其他冻结数量(交割冻结)
  19575. type: integer
  19576. positionqty:
  19577. description: 期初持仓数量
  19578. type: integer
  19579. szdz3freezqty:
  19580. description: 尚志大宗转换冻结总数量
  19581. type: integer
  19582. tnqty:
  19583. description: T+N冻结总量
  19584. type: integer
  19585. tnusedqty:
  19586. description: T+N使用量
  19587. type: integer
  19588. trademode:
  19589. description: 交易模式
  19590. type: integer
  19591. usedmargin:
  19592. description: 占用保证金
  19593. type: number
  19594. type: object
  19595. taaccount.QueryAmountLogRsp:
  19596. properties:
  19597. OPERATETYPENAME:
  19598. description: 资金操作类型名称
  19599. type: string
  19600. accountid:
  19601. description: 资金账户ID
  19602. type: integer
  19603. agoodscode:
  19604. description: 竞拍商品代码
  19605. type: string
  19606. agoodsname:
  19607. description: 竞拍商品名称
  19608. type: string
  19609. amount:
  19610. description: 资金金额
  19611. type: number
  19612. amountadjusttype:
  19613. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  19614. type: integer
  19615. autoid:
  19616. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  19617. type: integer
  19618. balance:
  19619. description: 期初余额
  19620. type: number
  19621. businesscode:
  19622. description: 业务编号
  19623. type: integer
  19624. createtime:
  19625. description: 发生时间
  19626. type: string
  19627. currencyid:
  19628. description: 币种ID
  19629. type: integer
  19630. currentbalance:
  19631. description: 期末余额(变动后金额)
  19632. type: number
  19633. dgoodscode:
  19634. description: 交割商品代码
  19635. type: string
  19636. dgoodsname:
  19637. description: 交割商品名称
  19638. type: string
  19639. goodscode:
  19640. description: 商品代码
  19641. type: string
  19642. goodsid:
  19643. description: 商品ID
  19644. type: integer
  19645. goodsname:
  19646. description: 商品名称
  19647. type: string
  19648. marketid:
  19649. description: 市场ID
  19650. type: integer
  19651. marketname:
  19652. description: 市场名称
  19653. type: string
  19654. moneyticket:
  19655. description: 资金流水号:银行端流水号
  19656. type: integer
  19657. operatetype:
  19658. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  19659. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  19660. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  19661. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  19662. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  19663. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  19664. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  19665. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  19666. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  19667. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  19668. type: integer
  19669. relationorderid:
  19670. description: 关联单号
  19671. type: string
  19672. remark:
  19673. description: 备注
  19674. type: string
  19675. trademode:
  19676. description: 交易模式
  19677. type: integer
  19678. required:
  19679. - accountid
  19680. - amount
  19681. - amountadjusttype
  19682. - autoid
  19683. - balance
  19684. - createtime
  19685. - currentbalance
  19686. - operatetype
  19687. type: object
  19688. taaccount.QueryHisAmountLogRsp:
  19689. properties:
  19690. OPERATETYPENAME:
  19691. description: 资金操作类型名称
  19692. type: string
  19693. accountid:
  19694. description: 资金账户ID
  19695. type: integer
  19696. agoodscode:
  19697. description: 竞拍商品代码
  19698. type: string
  19699. agoodsname:
  19700. description: 竞拍商品名称
  19701. type: string
  19702. amount:
  19703. description: 资金金额
  19704. type: number
  19705. amountadjusttype:
  19706. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  19707. type: integer
  19708. autoid:
  19709. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  19710. type: integer
  19711. balance:
  19712. description: 期初余额
  19713. type: number
  19714. businesscode:
  19715. description: 业务编号
  19716. type: integer
  19717. createtime:
  19718. description: 发生时间
  19719. type: string
  19720. currencyid:
  19721. description: 币种ID
  19722. type: integer
  19723. currentbalance:
  19724. description: 期末余额(变动后金额)
  19725. type: number
  19726. dgoodscode:
  19727. description: 交割商品代码
  19728. type: string
  19729. dgoodsname:
  19730. description: 交割商品名称
  19731. type: string
  19732. goodscode:
  19733. description: 商品代码
  19734. type: string
  19735. goodsid:
  19736. description: 商品ID
  19737. type: integer
  19738. goodsname:
  19739. description: 商品名称
  19740. type: string
  19741. histradedate:
  19742. description: 历史交易日
  19743. type: string
  19744. isvaliddata:
  19745. description: 是否有效 - 0:无效 1:有效
  19746. type: integer
  19747. marketid:
  19748. description: 市场ID
  19749. type: integer
  19750. marketname:
  19751. description: 市场名称
  19752. type: string
  19753. moneyticket:
  19754. description: 资金流水号:银行端流水号
  19755. type: integer
  19756. operatetype:
  19757. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  19758. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  19759. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  19760. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  19761. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  19762. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  19763. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  19764. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  19765. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  19766. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  19767. type: integer
  19768. relationorderid:
  19769. description: 关联单号
  19770. type: string
  19771. remark:
  19772. description: 备注
  19773. type: string
  19774. trademode:
  19775. description: 交易模式
  19776. type: integer
  19777. required:
  19778. - accountid
  19779. - amount
  19780. - amountadjusttype
  19781. - autoid
  19782. - balance
  19783. - createtime
  19784. - currentbalance
  19785. - histradedate
  19786. - operatetype
  19787. type: object
  19788. trade.QueryRecieptOrderRsp:
  19789. properties:
  19790. accountName:
  19791. description: 所属账号名称(已脱敏)
  19792. type: string
  19793. accountid:
  19794. description: 资金账号
  19795. type: integer
  19796. buyorsell:
  19797. description: 方向 - 0:买 1:卖
  19798. type: integer
  19799. enableqty:
  19800. description: 可摘数量
  19801. type: integer
  19802. goodscode:
  19803. description: 商品代码
  19804. type: string
  19805. goodsid:
  19806. description: 商品ID
  19807. type: integer
  19808. goodsname:
  19809. description: 商品名称
  19810. type: string
  19811. orderid:
  19812. description: 委托单号
  19813. type: string
  19814. orderprice:
  19815. description: 委托价格
  19816. type: number
  19817. ordertime:
  19818. description: 委托时间
  19819. type: string
  19820. tradedate:
  19821. description: 交易日(yyyyMMdd)
  19822. type: string
  19823. required:
  19824. - ordertime
  19825. type: object
  19826. user.LoginQueryRsp:
  19827. properties:
  19828. areaRoles:
  19829. description: 所属角色信息
  19830. items:
  19831. $ref: '#/definitions/models.Arearole'
  19832. type: array
  19833. externalExchanges:
  19834. description: 外部交易所
  19835. items:
  19836. $ref: '#/definitions/models.Externalexchange'
  19837. type: array
  19838. goodsgroups:
  19839. description: 商品组
  19840. items:
  19841. $ref: '#/definitions/models.Goodsgroup'
  19842. type: array
  19843. loginAccount:
  19844. $ref: '#/definitions/models.Loginaccount'
  19845. description: 登录账号
  19846. markets:
  19847. description: 市场
  19848. items:
  19849. $ref: '#/definitions/models.Market'
  19850. type: array
  19851. systemParams:
  19852. description: 系统参数
  19853. items:
  19854. $ref: '#/definitions/models.Systemparam'
  19855. type: array
  19856. userAccount:
  19857. $ref: '#/definitions/models.Useraccount'
  19858. description: 用户账号
  19859. userInfo:
  19860. $ref: '#/definitions/models.Userinfo'
  19861. description: 用户信息
  19862. username:
  19863. description: 用户姓名
  19864. type: string
  19865. type: object
  19866. info:
  19867. contact: {}
  19868. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  19869. termsOfService: http://www.muchinfo.cn
  19870. title: MTP2.0 查询服务 API
  19871. version: "1.0"
  19872. paths:
  19873. /CPTrade/QueryCPTradeMyBidInfos:
  19874. get:
  19875. parameters:
  19876. - description: 资金账户
  19877. in: query
  19878. name: accountid
  19879. required: true
  19880. type: integer
  19881. - description: 预售市场ID
  19882. in: query
  19883. name: marketid
  19884. type: integer
  19885. - description: 预售商品ID
  19886. in: query
  19887. name: goodsid
  19888. type: integer
  19889. produces:
  19890. - application/json
  19891. responses:
  19892. "200":
  19893. description: OK
  19894. schema:
  19895. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  19896. "500":
  19897. description: Internal Server Error
  19898. schema:
  19899. $ref: '#/definitions/app.Response'
  19900. security:
  19901. - ApiKeyAuth: []
  19902. summary: 查询产能预售我的出价信息
  19903. tags:
  19904. - 产能预售
  19905. /CPTrade/QueryCPTradeOrderDetail:
  19906. get:
  19907. parameters:
  19908. - description: 预售商品ID
  19909. in: query
  19910. name: goodsid
  19911. type: integer
  19912. - description: 预售市场ID
  19913. in: query
  19914. name: marketid
  19915. type: integer
  19916. - description: 预售商品ID列表 - 格式:1,2,3
  19917. in: query
  19918. name: goodsids
  19919. type: string
  19920. produces:
  19921. - application/json
  19922. responses:
  19923. "200":
  19924. description: OK
  19925. schema:
  19926. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  19927. "500":
  19928. description: Internal Server Error
  19929. schema:
  19930. $ref: '#/definitions/app.Response'
  19931. security:
  19932. - ApiKeyAuth: []
  19933. summary: 查询产能预售委托单信息
  19934. tags:
  19935. - 产能预售
  19936. /CPTrade/QueryMyCPTradeGoods:
  19937. get:
  19938. parameters:
  19939. - description: 资金账户
  19940. in: query
  19941. name: accountid
  19942. required: true
  19943. type: integer
  19944. produces:
  19945. - application/json
  19946. responses:
  19947. "200":
  19948. description: OK
  19949. schema:
  19950. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  19951. "500":
  19952. description: Internal Server Error
  19953. schema:
  19954. $ref: '#/definitions/app.Response'
  19955. security:
  19956. - ApiKeyAuth: []
  19957. summary: 查询我的预售信息
  19958. tags:
  19959. - 产能预售
  19960. /CPTrade/QueryPositionCancel:
  19961. get:
  19962. parameters:
  19963. - description: 账户ID
  19964. in: query
  19965. name: userid
  19966. required: true
  19967. type: integer
  19968. - description: 注销ID
  19969. in: query
  19970. name: cancelid
  19971. type: integer
  19972. - description: 资金账户ID
  19973. in: query
  19974. name: accountid
  19975. type: integer
  19976. produces:
  19977. - application/json
  19978. responses:
  19979. "200":
  19980. description: OK
  19981. schema:
  19982. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  19983. "500":
  19984. description: Internal Server Error
  19985. schema:
  19986. $ref: '#/definitions/app.Response'
  19987. security:
  19988. - ApiKeyAuth: []
  19989. summary: 查询远期订单注销申请信息
  19990. tags:
  19991. - 产能预售
  19992. /CPTrade/QueryPreasleApply:
  19993. get:
  19994. parameters:
  19995. - description: 账户ID
  19996. in: query
  19997. name: userid
  19998. required: true
  19999. type: integer
  20000. - description: 申请ID
  20001. in: query
  20002. name: applyid
  20003. type: integer
  20004. - description: 资金账户ID
  20005. in: query
  20006. name: accountid
  20007. type: integer
  20008. produces:
  20009. - application/json
  20010. responses:
  20011. "200":
  20012. description: OK
  20013. schema:
  20014. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  20015. "500":
  20016. description: Internal Server Error
  20017. schema:
  20018. $ref: '#/definitions/app.Response'
  20019. security:
  20020. - ApiKeyAuth: []
  20021. summary: 查询产能预售申请信息
  20022. tags:
  20023. - 产能预售
  20024. /CPTrade/QueryPresaleGoodsEx:
  20025. get:
  20026. parameters:
  20027. - description: 预售商品ID
  20028. in: query
  20029. name: goodsid
  20030. type: integer
  20031. - description: 预售市场ID
  20032. in: query
  20033. name: marketid
  20034. type: integer
  20035. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  20036. in: query
  20037. name: presalemode
  20038. type: integer
  20039. - description: 预售商品ID列表 - 格式:1,2,3
  20040. in: query
  20041. name: goodsids
  20042. type: string
  20043. - description: 预售商品代码
  20044. in: query
  20045. name: goodscode
  20046. type: string
  20047. produces:
  20048. - application/json
  20049. responses:
  20050. "200":
  20051. description: OK
  20052. schema:
  20053. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  20054. "500":
  20055. description: Internal Server Error
  20056. schema:
  20057. $ref: '#/definitions/app.Response'
  20058. security:
  20059. - ApiKeyAuth: []
  20060. summary: 查询产能预售商品扩展信息
  20061. tags:
  20062. - 产能预售
  20063. /CPTrade/QueryUserGoodsData:
  20064. get:
  20065. parameters:
  20066. - description: 资金账户ID
  20067. in: query
  20068. name: accountid
  20069. required: true
  20070. type: integer
  20071. produces:
  20072. - application/json
  20073. responses:
  20074. "200":
  20075. description: OK
  20076. schema:
  20077. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  20078. "500":
  20079. description: Internal Server Error
  20080. schema:
  20081. $ref: '#/definitions/app.Response'
  20082. security:
  20083. - ApiKeyAuth: []
  20084. summary: 查询远期订单信息
  20085. tags:
  20086. - 产能预售
  20087. /Common/GetAllEnums:
  20088. get:
  20089. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  20090. parameters:
  20091. - description: 起始自增ID
  20092. in: query
  20093. name: autoid
  20094. type: integer
  20095. produces:
  20096. - application/json
  20097. responses:
  20098. "200":
  20099. description: OK
  20100. schema:
  20101. $ref: '#/definitions/models.Enumdicitem'
  20102. "500":
  20103. description: Internal Server Error
  20104. schema:
  20105. $ref: '#/definitions/app.Response'
  20106. summary: 获取所有枚举信息
  20107. tags:
  20108. - 通用服务
  20109. /Common/GetClientMenus:
  20110. get:
  20111. parameters:
  20112. - description: 登录账号
  20113. in: query
  20114. name: loginID
  20115. required: true
  20116. type: integer
  20117. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  20118. in: query
  20119. name: clientType
  20120. type: integer
  20121. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  20122. in: query
  20123. name: name
  20124. type: string
  20125. produces:
  20126. - application/json
  20127. responses:
  20128. "200":
  20129. description: OK
  20130. schema:
  20131. items:
  20132. $ref: '#/definitions/common.ClientMenu'
  20133. type: array
  20134. "500":
  20135. description: Internal Server Error
  20136. schema:
  20137. $ref: '#/definitions/app.Response'
  20138. security:
  20139. - ApiKeyAuth: []
  20140. summary: 获取交易端菜单
  20141. tags:
  20142. - 通用服务
  20143. /Common/GetDivisions:
  20144. get:
  20145. produces:
  20146. - application/json
  20147. responses:
  20148. "200":
  20149. description: OK
  20150. schema:
  20151. $ref: '#/definitions/models.Division'
  20152. "500":
  20153. description: Internal Server Error
  20154. schema:
  20155. $ref: '#/definitions/app.Response'
  20156. summary: 查询区域信息
  20157. tags:
  20158. - 通用服务
  20159. /Common/GetPCWebMenus:
  20160. get:
  20161. parameters:
  20162. - description: 登录账号
  20163. in: query
  20164. name: loginID
  20165. required: true
  20166. type: integer
  20167. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  20168. in: query
  20169. name: name
  20170. type: string
  20171. produces:
  20172. - application/json
  20173. responses:
  20174. "200":
  20175. description: OK
  20176. schema:
  20177. items:
  20178. $ref: '#/definitions/common.PCWebMenu'
  20179. type: array
  20180. "500":
  20181. description: Internal Server Error
  20182. schema:
  20183. $ref: '#/definitions/app.Response'
  20184. security:
  20185. - ApiKeyAuth: []
  20186. summary: 获取PCWeb交易端菜单
  20187. tags:
  20188. - 通用服务
  20189. /Common/GetServerTime:
  20190. get:
  20191. produces:
  20192. - application/json
  20193. responses:
  20194. "200":
  20195. description: OK
  20196. schema:
  20197. $ref: '#/definitions/app.Response'
  20198. "500":
  20199. description: Internal Server Error
  20200. schema:
  20201. $ref: '#/definitions/app.Response'
  20202. summary: 获取服务器时间
  20203. tags:
  20204. - 通用服务
  20205. /Common/NoticeReaded:
  20206. post:
  20207. parameters:
  20208. - description: 登录账号
  20209. in: query
  20210. name: loginID
  20211. required: true
  20212. type: integer
  20213. - description: 通知公告ID
  20214. in: query
  20215. name: noticeID
  20216. required: true
  20217. type: integer
  20218. produces:
  20219. - application/json
  20220. responses:
  20221. "200":
  20222. description: OK
  20223. schema:
  20224. $ref: '#/definitions/app.Response'
  20225. "500":
  20226. description: Internal Server Error
  20227. schema:
  20228. $ref: '#/definitions/app.Response'
  20229. security:
  20230. - ApiKeyAuth: []
  20231. summary: 通知公告设置已读请求
  20232. tags:
  20233. - 通用服务
  20234. /Common/QueryErrorInfos:
  20235. get:
  20236. description: 如果传入rowNumber,则返回此rowNumber后的数据
  20237. parameters:
  20238. - description: 起始行号前索引
  20239. in: query
  20240. name: rowNumber
  20241. type: string
  20242. produces:
  20243. - application/json
  20244. responses:
  20245. "200":
  20246. description: OK
  20247. schema:
  20248. $ref: '#/definitions/models.QueryErrorInfosRsp'
  20249. "500":
  20250. description: Internal Server Error
  20251. schema:
  20252. $ref: '#/definitions/app.Response'
  20253. summary: 获取数据库错误信息
  20254. tags:
  20255. - 通用服务
  20256. /Common/QueryImageConfigs:
  20257. get:
  20258. parameters:
  20259. - description: 用户id
  20260. in: query
  20261. name: userId
  20262. type: integer
  20263. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  20264. in: query
  20265. name: imageType
  20266. type: integer
  20267. produces:
  20268. - application/json
  20269. responses:
  20270. "200":
  20271. description: OK
  20272. schema:
  20273. $ref: '#/definitions/common.QueryImageConfigsRsp'
  20274. "500":
  20275. description: Internal Server Error
  20276. schema:
  20277. $ref: '#/definitions/app.Response'
  20278. summary: 查询轮播图配置信息
  20279. tags:
  20280. - 通用服务
  20281. /Common/QueryNotice:
  20282. get:
  20283. parameters:
  20284. - description: 页码
  20285. in: query
  20286. name: page
  20287. type: integer
  20288. - description: 每页条数
  20289. in: query
  20290. name: pagesize
  20291. type: integer
  20292. - description: 登录账号
  20293. in: query
  20294. name: loginID
  20295. required: true
  20296. type: integer
  20297. - description: 消息类型 - 1:公告通知 2:系统消息
  20298. in: query
  20299. name: msgType
  20300. type: integer
  20301. - description: 是否只获取未读信息
  20302. in: query
  20303. name: onlyUnRead
  20304. type: boolean
  20305. - description: 自增ID,传入后会返回这个ID后面的记录
  20306. in: query
  20307. name: lastID
  20308. type: integer
  20309. produces:
  20310. - application/json
  20311. responses:
  20312. "200":
  20313. description: OK
  20314. schema:
  20315. $ref: '#/definitions/common.QueryNoticeRsp'
  20316. "500":
  20317. description: Internal Server Error
  20318. schema:
  20319. $ref: '#/definitions/app.Response'
  20320. security:
  20321. - ApiKeyAuth: []
  20322. summary: 通知公告系统消息查询
  20323. tags:
  20324. - 通用服务
  20325. /Common/QueryProvincesAndCities:
  20326. get:
  20327. parameters:
  20328. - description: 省ID
  20329. in: query
  20330. name: provinceID
  20331. type: integer
  20332. produces:
  20333. - application/json
  20334. responses:
  20335. "200":
  20336. description: OK
  20337. schema:
  20338. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  20339. "500":
  20340. description: Internal Server Error
  20341. schema:
  20342. $ref: '#/definitions/app.Response'
  20343. summary: 查询省市信息(不包括区)
  20344. tags:
  20345. - 通用服务
  20346. /Common/QueryTableDefine:
  20347. get:
  20348. parameters:
  20349. - description: 表key
  20350. in: query
  20351. name: tableKey
  20352. type: string
  20353. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  20354. in: query
  20355. name: tableType
  20356. type: integer
  20357. produces:
  20358. - application/json
  20359. responses:
  20360. "200":
  20361. description: OK
  20362. schema:
  20363. $ref: '#/definitions/common.QueryTableDefineRsp'
  20364. "500":
  20365. description: Internal Server Error
  20366. schema:
  20367. $ref: '#/definitions/app.Response'
  20368. summary: 查询交易端列表头信息
  20369. tags:
  20370. - 通用服务
  20371. /Common/QueryTraderMenu:
  20372. get:
  20373. parameters:
  20374. - description: 登录账号
  20375. in: query
  20376. name: loginid
  20377. required: true
  20378. type: integer
  20379. produces:
  20380. - application/json
  20381. responses:
  20382. "200":
  20383. description: OK
  20384. schema:
  20385. $ref: '#/definitions/common.QueryTraderMenuRsp'
  20386. "500":
  20387. description: Internal Server Error
  20388. schema:
  20389. $ref: '#/definitions/app.Response'
  20390. summary: 查询交易端菜单
  20391. tags:
  20392. - 通用服务
  20393. /Delivery/QueryDeliveryRelation:
  20394. get:
  20395. parameters:
  20396. - description: 商品ID
  20397. in: query
  20398. name: goodsid
  20399. type: integer
  20400. - description: 品种ID
  20401. in: query
  20402. name: deliverygoodsid
  20403. type: integer
  20404. - description: 市场ID
  20405. in: query
  20406. name: marketid
  20407. type: integer
  20408. produces:
  20409. - application/json
  20410. responses:
  20411. "200":
  20412. description: OK
  20413. schema:
  20414. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  20415. "500":
  20416. description: Internal Server Error
  20417. schema:
  20418. $ref: '#/definitions/app.Response'
  20419. security:
  20420. - ApiKeyAuth: []
  20421. summary: 查询商品交割关系表
  20422. tags:
  20423. - 交割服务
  20424. /Ermcp/GetErmcpGoods:
  20425. get:
  20426. parameters:
  20427. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  20428. in: query
  20429. name: userid
  20430. type: integer
  20431. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  20432. in: query
  20433. name: lastUpdateTime
  20434. type: string
  20435. produces:
  20436. - application/json
  20437. responses:
  20438. "200":
  20439. description: OK
  20440. schema:
  20441. $ref: '#/definitions/models.ErmcpGoods'
  20442. "500":
  20443. description: Internal Server Error
  20444. schema:
  20445. $ref: '#/definitions/app.Response'
  20446. security:
  20447. - ApiKeyAuth: []
  20448. summary: 查询企业风管期货商品信息
  20449. tags:
  20450. - 企业风险管理(app)
  20451. /Ermcp/GetErmcpGoodsSortByPosition:
  20452. get:
  20453. parameters:
  20454. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  20455. in: query
  20456. name: sortIndex
  20457. type: string
  20458. produces:
  20459. - application/json
  20460. responses:
  20461. "200":
  20462. description: OK
  20463. schema:
  20464. $ref: '#/definitions/models.Goodssortbypreposition'
  20465. "500":
  20466. description: Internal Server Error
  20467. schema:
  20468. $ref: '#/definitions/app.Response'
  20469. security:
  20470. - ApiKeyAuth: []
  20471. summary: 查询企业风管期货主力、次主力商品信息
  20472. tags:
  20473. - 企业风险管理(app)
  20474. /Ermcp/GetErmcpOutAccountStatus:
  20475. get:
  20476. parameters:
  20477. - description: 登录账号
  20478. in: query
  20479. name: loginID
  20480. required: true
  20481. type: integer
  20482. produces:
  20483. - application/json
  20484. responses:
  20485. "200":
  20486. description: OK
  20487. schema:
  20488. $ref: '#/definitions/models.Hedgemarketopenlog'
  20489. "500":
  20490. description: Internal Server Error
  20491. schema:
  20492. $ref: '#/definitions/app.Response'
  20493. security:
  20494. - ApiKeyAuth: []
  20495. summary: 获取目标登录账号当前对冲账号在线状态
  20496. tags:
  20497. - 企业风险管理(app)
  20498. /Ermcp/GetErmcpRoleFuncMenuLists:
  20499. get:
  20500. parameters:
  20501. - description: 登录账号
  20502. in: query
  20503. name: loginID
  20504. required: true
  20505. type: integer
  20506. produces:
  20507. - application/json
  20508. responses:
  20509. "200":
  20510. description: OK
  20511. schema:
  20512. $ref: '#/definitions/models.Funcmenulist'
  20513. "500":
  20514. description: Internal Server Error
  20515. schema:
  20516. $ref: '#/definitions/app.Response'
  20517. security:
  20518. - ApiKeyAuth: []
  20519. summary: 获取企业风管终端权限
  20520. tags:
  20521. - 企业风险管理(app)
  20522. /Ermcp/QueryAccMgrBizGroupSet:
  20523. get:
  20524. parameters:
  20525. - description: 用户ID
  20526. in: query
  20527. name: userid
  20528. required: true
  20529. type: integer
  20530. - description: 现货商品id
  20531. in: query
  20532. name: deliverygoodsid
  20533. type: integer
  20534. produces:
  20535. - application/json
  20536. responses:
  20537. "200":
  20538. description: OK
  20539. schema:
  20540. items:
  20541. $ref: '#/definitions/models.ErmcpBizGroupEx'
  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/QueryAccMgrLoginUser:
  20553. get:
  20554. parameters:
  20555. - description: 用户ID
  20556. in: query
  20557. name: userid
  20558. required: true
  20559. type: integer
  20560. - description: 用户类型 2-机构 7-企业成员
  20561. in: query
  20562. name: usertype
  20563. type: integer
  20564. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  20565. in: query
  20566. name: querytype
  20567. required: true
  20568. type: integer
  20569. produces:
  20570. - application/json
  20571. responses:
  20572. "200":
  20573. description: OK
  20574. schema:
  20575. items:
  20576. $ref: '#/definitions/models.ErmcpLoginUserEx'
  20577. type: array
  20578. "500":
  20579. description: Internal Server Error
  20580. schema:
  20581. $ref: '#/definitions/app.Response'
  20582. security:
  20583. - ApiKeyAuth: []
  20584. summary: 查询账户管理登录账号(账户管理/登录账号)
  20585. tags:
  20586. - 企业风险管理(app)
  20587. /Ermcp/QueryAccMgrMainAccountInfo:
  20588. get:
  20589. parameters:
  20590. - description: 用户ID
  20591. in: query
  20592. name: userid
  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.MainAccountInfo'
  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/QueryAccMgrRole:
  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.ErmcpRole'
  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/QueryAccMgrRoleMenu:
  20643. get:
  20644. parameters:
  20645. - description: 用户ID
  20646. in: query
  20647. name: userid
  20648. required: true
  20649. type: integer
  20650. - description: 角色id(可多个,逗号隔开)
  20651. in: query
  20652. name: roleid
  20653. type: string
  20654. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  20655. in: query
  20656. name: menutype
  20657. type: integer
  20658. produces:
  20659. - application/json
  20660. responses:
  20661. "200":
  20662. description: OK
  20663. schema:
  20664. items:
  20665. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  20666. type: array
  20667. "500":
  20668. description: Internal Server Error
  20669. schema:
  20670. $ref: '#/definitions/app.Response'
  20671. security:
  20672. - ApiKeyAuth: []
  20673. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  20674. tags:
  20675. - 企业风险管理(app)
  20676. /Ermcp/QueryAccMgrTaAccountInfo:
  20677. get:
  20678. parameters:
  20679. - description: 用户ID
  20680. in: query
  20681. name: userid
  20682. required: true
  20683. type: integer
  20684. - description: 账号id
  20685. in: query
  20686. name: accountid
  20687. type: integer
  20688. produces:
  20689. - application/json
  20690. responses:
  20691. "200":
  20692. description: OK
  20693. schema:
  20694. items:
  20695. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  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/QueryAccMgrTaaccount:
  20707. get:
  20708. parameters:
  20709. - description: 用户ID
  20710. in: query
  20711. name: userid
  20712. required: true
  20713. type: integer
  20714. produces:
  20715. - application/json
  20716. responses:
  20717. "200":
  20718. description: OK
  20719. schema:
  20720. items:
  20721. $ref: '#/definitions/models.ErmcpTaAccountEx'
  20722. type: array
  20723. "500":
  20724. description: Internal Server Error
  20725. schema:
  20726. $ref: '#/definitions/app.Response'
  20727. security:
  20728. - ApiKeyAuth: []
  20729. summary: 查询账户管理期货账号(账户管理/期货账号)
  20730. tags:
  20731. - 企业风险管理(app)
  20732. /Ermcp/QueryAvaildGoodsGroup:
  20733. get:
  20734. parameters:
  20735. - description: 所属机构ID
  20736. in: query
  20737. name: userid
  20738. required: true
  20739. type: integer
  20740. produces:
  20741. - application/json
  20742. responses:
  20743. "200":
  20744. description: OK
  20745. schema:
  20746. items:
  20747. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  20748. type: array
  20749. "500":
  20750. description: Internal Server Error
  20751. schema:
  20752. $ref: '#/definitions/app.Response'
  20753. security:
  20754. - ApiKeyAuth: []
  20755. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  20756. tags:
  20757. - 企业风险管理(app)
  20758. /Ermcp/QueryBusinessDj:
  20759. get:
  20760. parameters:
  20761. - description: 用户ID
  20762. in: query
  20763. name: UserId
  20764. required: true
  20765. type: integer
  20766. - description: 用户类型 2-机构 7-企业成员
  20767. in: query
  20768. name: usertype
  20769. type: integer
  20770. - description: 现货合同ID, 不填则查所有
  20771. in: query
  20772. name: relatedid
  20773. type: string
  20774. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20775. in: query
  20776. name: applystatus
  20777. type: string
  20778. produces:
  20779. - application/json
  20780. responses:
  20781. "200":
  20782. description: OK
  20783. schema:
  20784. items:
  20785. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  20786. type: array
  20787. "500":
  20788. description: Internal Server Error
  20789. schema:
  20790. $ref: '#/definitions/app.Response'
  20791. security:
  20792. - ApiKeyAuth: []
  20793. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  20794. tags:
  20795. - 企业风险管理(app)
  20796. /Ermcp/QueryBusinessFp:
  20797. get:
  20798. parameters:
  20799. - description: 用户ID
  20800. in: query
  20801. name: UserId
  20802. required: true
  20803. type: integer
  20804. - description: 用户类型 2-机构 7-企业成员
  20805. in: query
  20806. name: usertype
  20807. type: integer
  20808. - description: 现货合同ID, 不填则查所有
  20809. in: query
  20810. name: relatedid
  20811. type: string
  20812. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20813. in: query
  20814. name: applystatus
  20815. type: string
  20816. produces:
  20817. - application/json
  20818. responses:
  20819. "200":
  20820. description: OK
  20821. schema:
  20822. items:
  20823. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  20824. type: array
  20825. "500":
  20826. description: Internal Server Error
  20827. schema:
  20828. $ref: '#/definitions/app.Response'
  20829. security:
  20830. - ApiKeyAuth: []
  20831. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  20832. tags:
  20833. - 企业风险管理(app)
  20834. /Ermcp/QueryBusinessJs:
  20835. get:
  20836. parameters:
  20837. - description: 用户ID
  20838. in: query
  20839. name: UserId
  20840. required: true
  20841. type: integer
  20842. - description: 用户类型 2-机构 7-企业成员
  20843. in: query
  20844. name: usertype
  20845. type: integer
  20846. - description: 现货合同ID, 不填则查所有
  20847. in: query
  20848. name: relatedid
  20849. type: string
  20850. - description: 操作申请id
  20851. in: query
  20852. name: operateapplyid
  20853. type: string
  20854. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20855. in: query
  20856. name: applystatus
  20857. type: string
  20858. produces:
  20859. - application/json
  20860. responses:
  20861. "200":
  20862. description: OK
  20863. schema:
  20864. items:
  20865. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  20866. type: array
  20867. "500":
  20868. description: Internal Server Error
  20869. schema:
  20870. $ref: '#/definitions/app.Response'
  20871. security:
  20872. - ApiKeyAuth: []
  20873. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  20874. tags:
  20875. - 企业风险管理(app)
  20876. /Ermcp/QueryBusinessJsEx:
  20877. get:
  20878. parameters:
  20879. - description: 用户ID
  20880. in: query
  20881. name: UserId
  20882. required: true
  20883. type: integer
  20884. - description: 用户类型 2-机构 7-企业成员
  20885. in: query
  20886. name: usertype
  20887. type: integer
  20888. - description: 现货合同ID, 不填则查所有
  20889. in: query
  20890. name: relatedid
  20891. type: string
  20892. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20893. in: query
  20894. name: applystatus
  20895. type: string
  20896. produces:
  20897. - application/json
  20898. responses:
  20899. "200":
  20900. description: OK
  20901. schema:
  20902. items:
  20903. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  20904. type: array
  20905. "500":
  20906. description: Internal Server Error
  20907. schema:
  20908. $ref: '#/definitions/app.Response'
  20909. security:
  20910. - ApiKeyAuth: []
  20911. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  20912. tags:
  20913. - 企业风险管理(app)
  20914. /Ermcp/QueryBusinessKx:
  20915. get:
  20916. parameters:
  20917. - description: 用户ID
  20918. in: query
  20919. name: UserId
  20920. required: true
  20921. type: integer
  20922. - description: 用户类型 2-机构 7-企业成员
  20923. in: query
  20924. name: usertype
  20925. type: integer
  20926. - description: 现货合同ID, 不填则查所有
  20927. in: query
  20928. name: relatedid
  20929. type: string
  20930. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20931. in: query
  20932. name: applystatus
  20933. type: string
  20934. produces:
  20935. - application/json
  20936. responses:
  20937. "200":
  20938. description: OK
  20939. schema:
  20940. items:
  20941. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  20942. type: array
  20943. "500":
  20944. description: Internal Server Error
  20945. schema:
  20946. $ref: '#/definitions/app.Response'
  20947. security:
  20948. - ApiKeyAuth: []
  20949. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  20950. tags:
  20951. - 企业风险管理(app)
  20952. /Ermcp/QueryChangeLog:
  20953. get:
  20954. parameters:
  20955. - description: 合同ID
  20956. in: query
  20957. name: RelatedId
  20958. required: true
  20959. type: string
  20960. produces:
  20961. - application/json
  20962. responses:
  20963. "200":
  20964. description: OK
  20965. schema:
  20966. items:
  20967. $ref: '#/definitions/ermcp.QryOPLogRsp'
  20968. type: array
  20969. "500":
  20970. description: Internal Server Error
  20971. schema:
  20972. $ref: '#/definitions/app.Response'
  20973. security:
  20974. - ApiKeyAuth: []
  20975. summary: 查询变更记录
  20976. tags:
  20977. - 企业风险管理(app)
  20978. /Ermcp/QueryErmcpHisOrderDetails:
  20979. get:
  20980. parameters:
  20981. - description: 资金账户ID
  20982. in: query
  20983. name: accountID
  20984. required: true
  20985. type: integer
  20986. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20987. in: query
  20988. name: startDate
  20989. type: string
  20990. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20991. in: query
  20992. name: endDate
  20993. type: string
  20994. produces:
  20995. - application/json
  20996. responses:
  20997. "200":
  20998. description: OK
  20999. schema:
  21000. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  21001. "500":
  21002. description: Internal Server Error
  21003. schema:
  21004. $ref: '#/definitions/app.Response'
  21005. security:
  21006. - ApiKeyAuth: []
  21007. summary: 获取企业风管期货历史委托单信息
  21008. tags:
  21009. - 企业风险管理(app)
  21010. /Ermcp/QueryErmcpHisTradeDetails:
  21011. get:
  21012. parameters:
  21013. - description: 资金账户ID
  21014. in: query
  21015. name: accountID
  21016. required: true
  21017. type: integer
  21018. - description: 商品ID
  21019. in: query
  21020. name: goodsID
  21021. type: integer
  21022. - description: 买卖方向,0:买 1:卖
  21023. in: query
  21024. name: buyOrSell
  21025. type: integer
  21026. - description: 关联委托单号
  21027. in: query
  21028. name: orderID
  21029. type: integer
  21030. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  21031. in: query
  21032. name: startDate
  21033. type: string
  21034. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  21035. in: query
  21036. name: endDate
  21037. type: string
  21038. produces:
  21039. - application/json
  21040. responses:
  21041. "200":
  21042. description: OK
  21043. schema:
  21044. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  21045. "500":
  21046. description: Internal Server Error
  21047. schema:
  21048. $ref: '#/definitions/app.Response'
  21049. security:
  21050. - ApiKeyAuth: []
  21051. summary: 获取企业风管期货历史成交单信息
  21052. tags:
  21053. - 企业风险管理(app)
  21054. /Ermcp/QueryErmcpInnerHolderDetails:
  21055. get:
  21056. parameters:
  21057. - description: 资金账户ID
  21058. in: query
  21059. name: accountID
  21060. required: true
  21061. type: integer
  21062. - description: 商品ID
  21063. in: query
  21064. name: goodsID
  21065. type: integer
  21066. - description: 买卖方向,0:买 1:卖
  21067. in: query
  21068. name: buyOrSell
  21069. type: integer
  21070. produces:
  21071. - application/json
  21072. responses:
  21073. "200":
  21074. description: OK
  21075. schema:
  21076. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  21077. "500":
  21078. description: Internal Server Error
  21079. schema:
  21080. $ref: '#/definitions/app.Response'
  21081. security:
  21082. - ApiKeyAuth: []
  21083. summary: 获取企业风管期货内部持仓单信息
  21084. tags:
  21085. - 企业风险管理(app)
  21086. /Ermcp/QueryErmcpOrderDetails:
  21087. get:
  21088. parameters:
  21089. - description: 资金账户ID
  21090. in: query
  21091. name: accountID
  21092. required: true
  21093. type: integer
  21094. produces:
  21095. - application/json
  21096. responses:
  21097. "200":
  21098. description: OK
  21099. schema:
  21100. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  21101. "500":
  21102. description: Internal Server Error
  21103. schema:
  21104. $ref: '#/definitions/app.Response'
  21105. security:
  21106. - ApiKeyAuth: []
  21107. summary: 获取企业风管期货委托单信息
  21108. tags:
  21109. - 企业风险管理(app)
  21110. /Ermcp/QueryErmcpTradeDetails:
  21111. get:
  21112. parameters:
  21113. - description: 资金账户ID
  21114. in: query
  21115. name: accountID
  21116. required: true
  21117. type: integer
  21118. - description: 商品ID
  21119. in: query
  21120. name: goodsID
  21121. type: integer
  21122. - description: 买卖方向,0:买 1:卖
  21123. in: query
  21124. name: buyOrSell
  21125. type: integer
  21126. - description: 关联委托单号
  21127. in: query
  21128. name: orderID
  21129. type: integer
  21130. produces:
  21131. - application/json
  21132. responses:
  21133. "200":
  21134. description: OK
  21135. schema:
  21136. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  21137. "500":
  21138. description: Internal Server Error
  21139. schema:
  21140. $ref: '#/definitions/app.Response'
  21141. security:
  21142. - ApiKeyAuth: []
  21143. summary: 获取企业风管期货成交单信息
  21144. tags:
  21145. - 企业风险管理(app)
  21146. /Ermcp/QueryErmcpTradePosition:
  21147. get:
  21148. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  21149. parameters:
  21150. - description: 资金账户ID
  21151. in: query
  21152. name: accountID
  21153. required: true
  21154. type: integer
  21155. - description: 所属市场ID
  21156. in: query
  21157. name: marketID
  21158. type: integer
  21159. produces:
  21160. - application/json
  21161. responses:
  21162. "200":
  21163. description: OK
  21164. schema:
  21165. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  21166. "500":
  21167. description: Internal Server Error
  21168. schema:
  21169. $ref: '#/definitions/app.Response'
  21170. security:
  21171. - ApiKeyAuth: []
  21172. summary: 获取企业风管期货持仓头寸信息
  21173. tags:
  21174. - 企业风险管理(app)
  21175. /Ermcp/QueryExposureDetail:
  21176. get:
  21177. parameters:
  21178. - description: 所属机构ID
  21179. in: query
  21180. name: areaUserId
  21181. required: true
  21182. type: integer
  21183. - description: 套保商品
  21184. in: query
  21185. name: middleGoodsId
  21186. required: true
  21187. type: integer
  21188. produces:
  21189. - application/json
  21190. responses:
  21191. "200":
  21192. description: OK
  21193. schema:
  21194. items:
  21195. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  21196. type: array
  21197. "500":
  21198. description: Internal Server Error
  21199. schema:
  21200. $ref: '#/definitions/app.Response'
  21201. security:
  21202. - ApiKeyAuth: []
  21203. summary: 查询敞口现货明细
  21204. tags:
  21205. - 企业风险管理(app)
  21206. /Ermcp/QueryExposureGoods:
  21207. get:
  21208. parameters:
  21209. - description: 套保商品id
  21210. in: query
  21211. name: middlegoodsid
  21212. required: true
  21213. type: integer
  21214. produces:
  21215. - application/json
  21216. responses:
  21217. "200":
  21218. description: OK
  21219. schema:
  21220. items:
  21221. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  21222. type: array
  21223. "500":
  21224. description: Internal Server Error
  21225. schema:
  21226. $ref: '#/definitions/app.Response'
  21227. security:
  21228. - ApiKeyAuth: []
  21229. summary: 查询敞口主力合约
  21230. tags:
  21231. - 企业风险管理(app)
  21232. /Ermcp/QueryExposureHedgePosition:
  21233. get:
  21234. parameters:
  21235. - description: 用户id
  21236. in: query
  21237. name: userid
  21238. required: true
  21239. type: integer
  21240. produces:
  21241. - application/json
  21242. responses:
  21243. "200":
  21244. description: OK
  21245. schema:
  21246. items:
  21247. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  21248. type: array
  21249. "500":
  21250. description: Internal Server Error
  21251. schema:
  21252. $ref: '#/definitions/app.Response'
  21253. security:
  21254. - ApiKeyAuth: []
  21255. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  21256. tags:
  21257. - 企业风险管理(app)
  21258. /Ermcp/QueryExposureHedgePositionDetail:
  21259. get:
  21260. parameters:
  21261. - description: 所属机构ID
  21262. in: query
  21263. name: userid
  21264. required: true
  21265. type: integer
  21266. - description: 商品id
  21267. in: query
  21268. name: goodsId
  21269. required: true
  21270. type: integer
  21271. produces:
  21272. - application/json
  21273. responses:
  21274. "200":
  21275. description: OK
  21276. schema:
  21277. items:
  21278. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  21279. type: array
  21280. "500":
  21281. description: Internal Server Error
  21282. schema:
  21283. $ref: '#/definitions/app.Response'
  21284. security:
  21285. - ApiKeyAuth: []
  21286. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  21287. tags:
  21288. - 企业风险管理(app)
  21289. /Ermcp/QueryExposureSpot:
  21290. get:
  21291. parameters:
  21292. - description: 所属机构ID
  21293. in: query
  21294. name: areaUserId
  21295. required: true
  21296. type: integer
  21297. produces:
  21298. - application/json
  21299. responses:
  21300. "200":
  21301. description: OK
  21302. schema:
  21303. items:
  21304. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  21305. type: array
  21306. "500":
  21307. description: Internal Server Error
  21308. schema:
  21309. $ref: '#/definitions/app.Response'
  21310. security:
  21311. - ApiKeyAuth: []
  21312. summary: 查询敞口现货头寸(敞口/现货头寸)
  21313. tags:
  21314. - 企业风险管理(app)
  21315. /Ermcp/QueryExposureSpotDetail:
  21316. get:
  21317. parameters:
  21318. - description: 所属机构ID
  21319. in: query
  21320. name: areaUserId
  21321. required: true
  21322. type: integer
  21323. - description: 现货品种ID
  21324. in: query
  21325. name: wrstandardId
  21326. required: true
  21327. type: integer
  21328. produces:
  21329. - application/json
  21330. responses:
  21331. "200":
  21332. description: OK
  21333. schema:
  21334. items:
  21335. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  21336. type: array
  21337. "500":
  21338. description: Internal Server Error
  21339. schema:
  21340. $ref: '#/definitions/app.Response'
  21341. security:
  21342. - ApiKeyAuth: []
  21343. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  21344. tags:
  21345. - 企业风险管理(app)
  21346. /Ermcp/QueryFuturesCompany:
  21347. get:
  21348. produces:
  21349. - application/json
  21350. responses:
  21351. "200":
  21352. description: OK
  21353. schema:
  21354. items:
  21355. $ref: '#/definitions/models.ErmcpFuturesCompany'
  21356. type: array
  21357. "500":
  21358. description: Internal Server Error
  21359. schema:
  21360. $ref: '#/definitions/app.Response'
  21361. security:
  21362. - ApiKeyAuth: []
  21363. summary: 查询期货公司
  21364. tags:
  21365. - 企业风险管理(app)
  21366. /Ermcp/QueryGGConvertConfig:
  21367. get:
  21368. parameters:
  21369. - description: 品种id(不填则查所有)
  21370. in: query
  21371. name: goodsgroupid
  21372. type: integer
  21373. produces:
  21374. - application/json
  21375. responses:
  21376. "200":
  21377. description: OK
  21378. schema:
  21379. items:
  21380. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  21381. type: array
  21382. "500":
  21383. description: Internal Server Error
  21384. schema:
  21385. $ref: '#/definitions/app.Response'
  21386. security:
  21387. - ApiKeyAuth: []
  21388. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  21389. tags:
  21390. - 企业风险管理(app)
  21391. /Ermcp/QueryGoodsBrand:
  21392. get:
  21393. parameters:
  21394. - description: 用户ID
  21395. in: query
  21396. name: userid
  21397. required: true
  21398. type: integer
  21399. - description: 现货商品ID
  21400. in: query
  21401. name: wrstandardid
  21402. type: integer
  21403. produces:
  21404. - application/json
  21405. responses:
  21406. "200":
  21407. description: OK
  21408. schema:
  21409. items:
  21410. $ref: '#/definitions/models.ErmcpGoodsBrand'
  21411. type: array
  21412. "500":
  21413. description: Internal Server Error
  21414. schema:
  21415. $ref: '#/definitions/app.Response'
  21416. security:
  21417. - ApiKeyAuth: []
  21418. summary: 查询商品品牌
  21419. tags:
  21420. - 企业风险管理(app)
  21421. /Ermcp/QueryGoodsModel:
  21422. get:
  21423. parameters:
  21424. - description: 用户ID
  21425. in: query
  21426. name: userid
  21427. required: true
  21428. type: integer
  21429. produces:
  21430. - application/json
  21431. responses:
  21432. "200":
  21433. description: OK
  21434. schema:
  21435. items:
  21436. $ref: '#/definitions/models.ErmcpGoodsModel'
  21437. type: array
  21438. "500":
  21439. description: Internal Server Error
  21440. schema:
  21441. $ref: '#/definitions/app.Response'
  21442. security:
  21443. - ApiKeyAuth: []
  21444. summary: 查询商品型号
  21445. tags:
  21446. - 企业风险管理(app)
  21447. /Ermcp/QueryHisExposure:
  21448. get:
  21449. parameters:
  21450. - description: 用户id
  21451. in: query
  21452. name: userid
  21453. required: true
  21454. type: integer
  21455. - description: 每个品种记录数
  21456. in: query
  21457. name: lastNum
  21458. required: true
  21459. type: integer
  21460. produces:
  21461. - application/json
  21462. responses:
  21463. "200":
  21464. description: OK
  21465. schema:
  21466. items:
  21467. $ref: '#/definitions/ermcp.HisExposureRsp'
  21468. type: array
  21469. "500":
  21470. description: Internal Server Error
  21471. schema:
  21472. $ref: '#/definitions/app.Response'
  21473. security:
  21474. - ApiKeyAuth: []
  21475. summary: 查询历史敞口(菜单:敞口/历史敞口)
  21476. tags:
  21477. - 企业风险管理(app)
  21478. /Ermcp/QueryMiddleGoods:
  21479. get:
  21480. parameters:
  21481. - description: 所属机构ID
  21482. in: query
  21483. name: userid
  21484. required: true
  21485. type: integer
  21486. - description: 状态 0-停用 1-正常
  21487. in: query
  21488. name: status
  21489. required: true
  21490. type: integer
  21491. produces:
  21492. - application/json
  21493. responses:
  21494. "200":
  21495. description: OK
  21496. schema:
  21497. items:
  21498. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  21499. type: array
  21500. "500":
  21501. description: Internal Server Error
  21502. schema:
  21503. $ref: '#/definitions/app.Response'
  21504. security:
  21505. - ApiKeyAuth: []
  21506. summary: 查询套保品种(菜单:套保品种)
  21507. tags:
  21508. - 企业风险管理(app)
  21509. /Ermcp/QueryMiddleGoodsChangeLog:
  21510. get:
  21511. parameters:
  21512. - description: 所属机构ID
  21513. in: query
  21514. name: userid
  21515. required: true
  21516. type: integer
  21517. - description: 套保品种id
  21518. in: query
  21519. name: middlegoodsid
  21520. required: true
  21521. type: integer
  21522. produces:
  21523. - application/json
  21524. responses:
  21525. "200":
  21526. description: OK
  21527. schema:
  21528. items:
  21529. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  21530. type: array
  21531. "500":
  21532. description: Internal Server Error
  21533. schema:
  21534. $ref: '#/definitions/app.Response'
  21535. security:
  21536. - ApiKeyAuth: []
  21537. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  21538. tags:
  21539. - 企业风险管理(app)
  21540. /Ermcp/QueryMiddleGoodsDetail:
  21541. get:
  21542. parameters:
  21543. - description: 所属机构ID
  21544. in: query
  21545. name: userid
  21546. required: true
  21547. type: integer
  21548. - description: 套保品种id
  21549. in: query
  21550. name: middlegoodsid
  21551. type: integer
  21552. produces:
  21553. - application/json
  21554. responses:
  21555. "200":
  21556. description: OK
  21557. schema:
  21558. items:
  21559. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  21560. type: array
  21561. "500":
  21562. description: Internal Server Error
  21563. schema:
  21564. $ref: '#/definitions/app.Response'
  21565. security:
  21566. - ApiKeyAuth: []
  21567. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  21568. tags:
  21569. - 企业风险管理(app)
  21570. /Ermcp/QueryPendingAuditInfo:
  21571. get:
  21572. parameters:
  21573. - description: 用户ID
  21574. in: query
  21575. name: UserId
  21576. required: true
  21577. type: integer
  21578. produces:
  21579. - application/json
  21580. responses:
  21581. "200":
  21582. description: OK
  21583. schema:
  21584. items:
  21585. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  21586. type: array
  21587. "500":
  21588. description: Internal Server Error
  21589. schema:
  21590. $ref: '#/definitions/app.Response'
  21591. security:
  21592. - ApiKeyAuth: []
  21593. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  21594. tags:
  21595. - 企业风险管理(app)
  21596. /Ermcp/QueryRealtimeExposure:
  21597. get:
  21598. parameters:
  21599. - description: 所属机构ID
  21600. in: query
  21601. name: userid
  21602. required: true
  21603. type: integer
  21604. produces:
  21605. - application/json
  21606. responses:
  21607. "200":
  21608. description: OK
  21609. schema:
  21610. items:
  21611. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  21612. type: array
  21613. "500":
  21614. description: Internal Server Error
  21615. schema:
  21616. $ref: '#/definitions/app.Response'
  21617. security:
  21618. - ApiKeyAuth: []
  21619. summary: 查询实时敞口
  21620. tags:
  21621. - 企业风险管理(app)
  21622. /Ermcp/QueryRealtimeExposurePosition:
  21623. get:
  21624. parameters:
  21625. - description: 用户id
  21626. in: query
  21627. name: userid
  21628. required: true
  21629. type: integer
  21630. - description: 套保商品ID
  21631. in: query
  21632. name: middleGoodsId
  21633. required: true
  21634. type: integer
  21635. produces:
  21636. - application/json
  21637. responses:
  21638. "200":
  21639. description: OK
  21640. schema:
  21641. items:
  21642. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  21643. type: array
  21644. "500":
  21645. description: Internal Server Error
  21646. schema:
  21647. $ref: '#/definitions/app.Response'
  21648. security:
  21649. - ApiKeyAuth: []
  21650. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  21651. tags:
  21652. - 企业风险管理(app)
  21653. /Ermcp/QueryRoleMenu:
  21654. get:
  21655. parameters:
  21656. - description: 登录ID
  21657. in: query
  21658. name: loginid
  21659. required: true
  21660. type: integer
  21661. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  21662. in: query
  21663. name: menutype
  21664. type: integer
  21665. produces:
  21666. - application/json
  21667. responses:
  21668. "200":
  21669. description: OK
  21670. schema:
  21671. items:
  21672. $ref: '#/definitions/models.RoleMenu'
  21673. type: array
  21674. "500":
  21675. description: Internal Server Error
  21676. schema:
  21677. $ref: '#/definitions/app.Response'
  21678. security:
  21679. - ApiKeyAuth: []
  21680. summary: 查询角色菜单和权限
  21681. tags:
  21682. - 企业风险管理(app)
  21683. /Ermcp/QueryTradeConfigTMP:
  21684. get:
  21685. parameters:
  21686. - description: 所属机构id
  21687. in: query
  21688. name: areauserid
  21689. type: integer
  21690. produces:
  21691. - application/json
  21692. responses:
  21693. "200":
  21694. description: OK
  21695. schema:
  21696. items:
  21697. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  21698. type: array
  21699. "500":
  21700. description: Internal Server Error
  21701. schema:
  21702. $ref: '#/definitions/app.Response'
  21703. security:
  21704. - ApiKeyAuth: []
  21705. summary: 查询交易模板配置
  21706. tags:
  21707. - 企业风险管理(app)
  21708. /Ermcp/QueryUserInfo:
  21709. get:
  21710. parameters:
  21711. - description: 所属机构用户ID
  21712. in: query
  21713. name: MemberUserID
  21714. required: true
  21715. type: integer
  21716. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  21717. in: query
  21718. name: queryType
  21719. required: true
  21720. type: integer
  21721. produces:
  21722. - application/json
  21723. responses:
  21724. "200":
  21725. description: OK
  21726. schema:
  21727. items:
  21728. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  21729. type: array
  21730. "500":
  21731. description: Internal Server Error
  21732. schema:
  21733. $ref: '#/definitions/app.Response'
  21734. security:
  21735. - ApiKeyAuth: []
  21736. summary: 查询客户资料
  21737. tags:
  21738. - 企业风险管理(app)
  21739. /Ermcp/QueryWarehouseInfo:
  21740. get:
  21741. parameters:
  21742. - description: 用户ID
  21743. in: query
  21744. name: userid
  21745. required: true
  21746. type: integer
  21747. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  21748. in: query
  21749. name: status
  21750. type: string
  21751. produces:
  21752. - application/json
  21753. responses:
  21754. "200":
  21755. description: OK
  21756. schema:
  21757. items:
  21758. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  21759. type: array
  21760. "500":
  21761. description: Internal Server Error
  21762. schema:
  21763. $ref: '#/definitions/app.Response'
  21764. security:
  21765. - ApiKeyAuth: []
  21766. summary: 查询仓库信息
  21767. tags:
  21768. - 企业风险管理(app)
  21769. /Ermcp3/QryAreaExpourseContractDetail:
  21770. get:
  21771. parameters:
  21772. - description: 用户ID
  21773. in: query
  21774. name: userid
  21775. required: true
  21776. type: integer
  21777. - description: 套保商品id
  21778. in: query
  21779. name: middlegoodsid
  21780. required: true
  21781. type: integer
  21782. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21783. in: query
  21784. name: cycletype
  21785. required: true
  21786. type: integer
  21787. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21788. 全(0)【原值】
  21789. in: query
  21790. name: cycletime
  21791. required: true
  21792. type: string
  21793. produces:
  21794. - application/json
  21795. responses:
  21796. "200":
  21797. description: OK
  21798. schema:
  21799. items:
  21800. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  21801. type: array
  21802. "500":
  21803. description: Internal Server Error
  21804. schema:
  21805. $ref: '#/definitions/app.Response'
  21806. security:
  21807. - ApiKeyAuth: []
  21808. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  21809. tags:
  21810. - 企业风险管理v3(app)
  21811. /Ermcp3/QryAreaExpourseFutuDetail:
  21812. get:
  21813. parameters:
  21814. - description: 用户ID
  21815. in: query
  21816. name: userid
  21817. required: true
  21818. type: integer
  21819. - description: 套保商品id
  21820. in: query
  21821. name: middlegoodsid
  21822. required: true
  21823. type: integer
  21824. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21825. in: query
  21826. name: cycletype
  21827. required: true
  21828. type: integer
  21829. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21830. 全(0)【原值】
  21831. in: query
  21832. name: cycletime
  21833. required: true
  21834. type: string
  21835. produces:
  21836. - application/json
  21837. responses:
  21838. "200":
  21839. description: OK
  21840. schema:
  21841. items:
  21842. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  21843. type: array
  21844. "500":
  21845. description: Internal Server Error
  21846. schema:
  21847. $ref: '#/definitions/app.Response'
  21848. security:
  21849. - ApiKeyAuth: []
  21850. summary: 查询敞口期货明细(敞口报表/期货明细)
  21851. tags:
  21852. - 企业风险管理v3(app)
  21853. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  21854. get:
  21855. parameters:
  21856. - description: 用户ID
  21857. in: query
  21858. name: userid
  21859. required: true
  21860. type: integer
  21861. - description: 套保商品id
  21862. in: query
  21863. name: middlegoodsid
  21864. required: true
  21865. type: integer
  21866. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21867. in: query
  21868. name: cycletype
  21869. required: true
  21870. type: integer
  21871. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21872. 全(0)【原值】
  21873. in: query
  21874. name: cycletime
  21875. required: true
  21876. type: string
  21877. produces:
  21878. - application/json
  21879. responses:
  21880. "200":
  21881. description: OK
  21882. schema:
  21883. items:
  21884. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  21885. type: array
  21886. "500":
  21887. description: Internal Server Error
  21888. schema:
  21889. $ref: '#/definitions/app.Response'
  21890. security:
  21891. - ApiKeyAuth: []
  21892. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  21893. tags:
  21894. - 企业风险管理v3(app)
  21895. /Ermcp3/QryAreaExpourseParamChLogDetail:
  21896. get:
  21897. parameters:
  21898. - description: 用户ID
  21899. in: query
  21900. name: userid
  21901. required: true
  21902. type: integer
  21903. - description: 套保商品id
  21904. in: query
  21905. name: middlegoodsid
  21906. required: true
  21907. type: integer
  21908. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21909. in: query
  21910. name: cycletype
  21911. required: true
  21912. type: integer
  21913. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21914. 全(0)【原值】
  21915. in: query
  21916. name: cycletime
  21917. required: true
  21918. type: string
  21919. produces:
  21920. - application/json
  21921. responses:
  21922. "200":
  21923. description: OK
  21924. schema:
  21925. items:
  21926. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  21927. type: array
  21928. "500":
  21929. description: Internal Server Error
  21930. schema:
  21931. $ref: '#/definitions/app.Response'
  21932. security:
  21933. - ApiKeyAuth: []
  21934. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  21935. tags:
  21936. - 企业风险管理v3(app)
  21937. /Ermcp3/QryAreaExpourseReport:
  21938. get:
  21939. parameters:
  21940. - description: 用户ID
  21941. in: query
  21942. name: userid
  21943. required: true
  21944. type: integer
  21945. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  21946. in: query
  21947. name: querytype
  21948. required: true
  21949. type: integer
  21950. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21951. in: query
  21952. name: cycletype
  21953. required: true
  21954. type: integer
  21955. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21956. 全(0)【原值】
  21957. in: query
  21958. name: cycletime
  21959. required: true
  21960. type: string
  21961. produces:
  21962. - application/json
  21963. responses:
  21964. "200":
  21965. description: OK
  21966. schema:
  21967. items:
  21968. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  21969. type: array
  21970. "500":
  21971. description: Internal Server Error
  21972. schema:
  21973. $ref: '#/definitions/app.Response'
  21974. security:
  21975. - ApiKeyAuth: []
  21976. summary: 查询敞口报表
  21977. tags:
  21978. - 企业风险管理v3(app)
  21979. /Ermcp3/QryAreaSpotplReport:
  21980. get:
  21981. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  21982. parameters:
  21983. - description: 用户ID
  21984. in: query
  21985. name: userid
  21986. required: true
  21987. type: integer
  21988. - description: 查询类型 1-报表 2-报表明细
  21989. in: query
  21990. name: querytype
  21991. required: true
  21992. type: integer
  21993. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21994. in: query
  21995. name: cycletype
  21996. required: true
  21997. type: integer
  21998. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21999. 全(0)【原值】
  22000. in: query
  22001. name: cycletime
  22002. required: true
  22003. type: string
  22004. - description: 现货品种id(明细必填)
  22005. in: query
  22006. name: deliverygoodsid
  22007. type: integer
  22008. - description: 币种id(明细必填)
  22009. in: query
  22010. name: currencyid
  22011. type: integer
  22012. - description: 日/周/月报表汇总维度 1:品种+品类
  22013. in: query
  22014. name: sumflag
  22015. type: integer
  22016. produces:
  22017. - application/json
  22018. responses:
  22019. "200":
  22020. description: OK
  22021. schema:
  22022. items:
  22023. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  22024. type: array
  22025. "500":
  22026. description: Internal Server Error
  22027. schema:
  22028. $ref: '#/definitions/app.Response'
  22029. security:
  22030. - ApiKeyAuth: []
  22031. summary: 查询现货报表
  22032. tags:
  22033. - 企业风险管理v3(app)
  22034. /Ermcp3/QryAreaStockReport:
  22035. get:
  22036. parameters:
  22037. - description: 用户ID
  22038. in: query
  22039. name: userid
  22040. required: true
  22041. type: integer
  22042. - description: 查询类型 1-报表 2-报表明细
  22043. in: query
  22044. name: querytype
  22045. required: true
  22046. type: integer
  22047. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22048. in: query
  22049. name: cycletype
  22050. required: true
  22051. type: integer
  22052. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22053. 全(0)【原值】
  22054. in: query
  22055. name: cycletime
  22056. required: true
  22057. type: string
  22058. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  22059. in: query
  22060. name: sumfields
  22061. type: string
  22062. - description: 品种ID
  22063. in: query
  22064. name: deliverygoodsid
  22065. type: integer
  22066. - description: 品类ID
  22067. in: query
  22068. name: wrstandardid
  22069. type: integer
  22070. - description: 品牌ID
  22071. in: query
  22072. name: spotgoodsbrandid
  22073. type: integer
  22074. - description: 仓库ID
  22075. in: query
  22076. name: warehouseinfoid
  22077. type: integer
  22078. produces:
  22079. - application/json
  22080. responses:
  22081. "200":
  22082. description: OK
  22083. schema:
  22084. items:
  22085. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  22086. type: array
  22087. "500":
  22088. description: Internal Server Error
  22089. schema:
  22090. $ref: '#/definitions/app.Response'
  22091. security:
  22092. - ApiKeyAuth: []
  22093. summary: 查询库存报表
  22094. tags:
  22095. - 企业风险管理v3(app)
  22096. /Ermcp3/QryAreaSumPL:
  22097. get:
  22098. parameters:
  22099. - description: 用户ID
  22100. in: query
  22101. name: userid
  22102. required: true
  22103. type: integer
  22104. - description: 查询类型 1-报表 2-报表明细
  22105. in: query
  22106. name: querytype
  22107. required: true
  22108. type: integer
  22109. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22110. in: query
  22111. name: cycletype
  22112. required: true
  22113. type: integer
  22114. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22115. 全(0)【原值】
  22116. in: query
  22117. name: cycletime
  22118. required: true
  22119. type: string
  22120. - description: 币种id(明细必填)
  22121. in: query
  22122. name: currencyid
  22123. type: integer
  22124. produces:
  22125. - application/json
  22126. responses:
  22127. "200":
  22128. description: OK
  22129. schema:
  22130. items:
  22131. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  22132. type: array
  22133. "500":
  22134. description: Internal Server Error
  22135. schema:
  22136. $ref: '#/definitions/app.Response'
  22137. security:
  22138. - ApiKeyAuth: []
  22139. summary: 查询汇总损益表
  22140. tags:
  22141. - 企业风险管理v3(app)
  22142. /Ermcp3/QryFinanceReport:
  22143. get:
  22144. parameters:
  22145. - description: 用户ID
  22146. in: query
  22147. name: userid
  22148. required: true
  22149. type: integer
  22150. - description: 查询类型 1-报表 2-报表明细
  22151. in: query
  22152. name: querytype
  22153. required: true
  22154. type: integer
  22155. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22156. in: query
  22157. name: cycletype
  22158. required: true
  22159. type: integer
  22160. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22161. 全(0)【原值】
  22162. in: query
  22163. name: cycletime
  22164. required: true
  22165. type: string
  22166. - description: 币种id(报表明细必填)
  22167. in: query
  22168. name: currencyid
  22169. type: integer
  22170. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  22171. in: query
  22172. name: sumfields
  22173. type: string
  22174. produces:
  22175. - application/json
  22176. responses:
  22177. "200":
  22178. description: OK
  22179. schema:
  22180. items:
  22181. $ref: '#/definitions/models.Ermcp3FinanceReport'
  22182. type: array
  22183. "500":
  22184. description: Internal Server Error
  22185. schema:
  22186. $ref: '#/definitions/app.Response'
  22187. security:
  22188. - ApiKeyAuth: []
  22189. summary: 查询财务报表
  22190. tags:
  22191. - 企业风险管理v3(app)
  22192. /Ermcp3/QrySCMiddleGoodsReport:
  22193. get:
  22194. parameters:
  22195. - description: 用户ID
  22196. in: query
  22197. name: userid
  22198. required: true
  22199. type: integer
  22200. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22201. in: query
  22202. name: cycletype
  22203. required: true
  22204. type: integer
  22205. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22206. 全(0)【原值】
  22207. in: query
  22208. name: cycletime
  22209. required: true
  22210. type: string
  22211. - description: 合同id
  22212. in: query
  22213. name: spotcontractid
  22214. type: integer
  22215. - description: 套保品种id
  22216. in: query
  22217. name: middlegoodsid
  22218. type: integer
  22219. - description: 现货品种id
  22220. in: query
  22221. name: deliverygoodsid
  22222. type: integer
  22223. - description: 现货商品id
  22224. in: query
  22225. name: wrstandardid
  22226. type: integer
  22227. - description: 合同编号(模糊匹配)
  22228. in: query
  22229. name: contractno
  22230. type: string
  22231. produces:
  22232. - application/json
  22233. responses:
  22234. "200":
  22235. description: OK
  22236. schema:
  22237. items:
  22238. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  22239. type: array
  22240. "500":
  22241. description: Internal Server Error
  22242. schema:
  22243. $ref: '#/definitions/app.Response'
  22244. security:
  22245. - ApiKeyAuth: []
  22246. summary: 查询定价报表
  22247. tags:
  22248. - 企业风险管理v3(app)
  22249. /Ermcp3/QryTaFutureDataReport:
  22250. get:
  22251. parameters:
  22252. - description: 用户ID
  22253. in: query
  22254. name: userid
  22255. required: true
  22256. type: integer
  22257. - description: 查询类型 1-报表 2-报表明细
  22258. in: query
  22259. name: querytype
  22260. required: true
  22261. type: integer
  22262. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22263. in: query
  22264. name: cycletype
  22265. required: true
  22266. type: integer
  22267. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22268. 全(0)【原值】
  22269. in: query
  22270. name: cycletime
  22271. required: true
  22272. type: string
  22273. - description: 币种id(查明细必填)
  22274. in: query
  22275. name: currencyid
  22276. type: integer
  22277. - description: 品种id(查明细必填)
  22278. in: query
  22279. name: goodsgroupid
  22280. type: integer
  22281. - description: 商品id(查明细必填)
  22282. in: query
  22283. name: goodsid
  22284. type: integer
  22285. - description: 买卖方向(查明细必填)
  22286. in: query
  22287. name: buyorsell
  22288. type: integer
  22289. produces:
  22290. - application/json
  22291. responses:
  22292. "200":
  22293. description: OK
  22294. schema:
  22295. items:
  22296. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  22297. type: array
  22298. "500":
  22299. description: Internal Server Error
  22300. schema:
  22301. $ref: '#/definitions/app.Response'
  22302. security:
  22303. - ApiKeyAuth: []
  22304. summary: 查询期货报表
  22305. tags:
  22306. - 企业风险管理v3(app)
  22307. /Ermcp3/QueryAreaStock:
  22308. get:
  22309. parameters:
  22310. - description: 用户ID
  22311. in: query
  22312. name: userid
  22313. required: true
  22314. type: integer
  22315. produces:
  22316. - application/json
  22317. responses:
  22318. "200":
  22319. description: OK
  22320. schema:
  22321. items:
  22322. $ref: '#/definitions/models.Ermcp3AreaStock'
  22323. type: array
  22324. "500":
  22325. description: Internal Server Error
  22326. schema:
  22327. $ref: '#/definitions/app.Response'
  22328. security:
  22329. - ApiKeyAuth: []
  22330. summary: 查询机构库存(库存管理/当前库存)
  22331. tags:
  22332. - 企业风险管理v3(app)
  22333. /Ermcp3/QueryAreaStockApply:
  22334. get:
  22335. parameters:
  22336. - description: 用户ID
  22337. in: query
  22338. name: userid
  22339. required: true
  22340. type: integer
  22341. - description: 用户类型 2-机构 7-企业成员
  22342. in: query
  22343. name: usertype
  22344. type: integer
  22345. - description: 现货商品ID
  22346. in: query
  22347. name: deliverygoodsid
  22348. type: integer
  22349. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  22350. in: query
  22351. name: inouttype
  22352. type: string
  22353. - description: 合同ID
  22354. in: query
  22355. name: spotcontractid
  22356. type: integer
  22357. - description: 品类ID
  22358. in: query
  22359. name: wrstandardid
  22360. type: integer
  22361. - description: 品牌ID
  22362. in: query
  22363. name: spotgoodsbrandid
  22364. type: integer
  22365. - description: 仓库ID
  22366. in: query
  22367. name: warehouseinfoid
  22368. type: integer
  22369. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22370. in: query
  22371. name: applystatus
  22372. type: string
  22373. produces:
  22374. - application/json
  22375. responses:
  22376. "200":
  22377. description: OK
  22378. schema:
  22379. items:
  22380. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  22381. type: array
  22382. "500":
  22383. description: Internal Server Error
  22384. schema:
  22385. $ref: '#/definitions/app.Response'
  22386. security:
  22387. - ApiKeyAuth: []
  22388. summary: 查询库存申请(出入库记录|库存审核)
  22389. tags:
  22390. - 企业风险管理v3(app)
  22391. /Ermcp3/QueryAreaStockApplySum:
  22392. get:
  22393. parameters:
  22394. - description: 合同ID
  22395. in: query
  22396. name: spotcontractid
  22397. required: true
  22398. type: integer
  22399. produces:
  22400. - application/json
  22401. responses:
  22402. "200":
  22403. description: OK
  22404. schema:
  22405. items:
  22406. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  22407. type: array
  22408. "500":
  22409. description: Internal Server Error
  22410. schema:
  22411. $ref: '#/definitions/app.Response'
  22412. security:
  22413. - ApiKeyAuth: []
  22414. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  22415. tags:
  22416. - 企业风险管理v3(app)
  22417. /Ermcp3/QueryDGFactoryItem:
  22418. get:
  22419. parameters:
  22420. - description: 用户id
  22421. in: query
  22422. name: userid
  22423. type: integer
  22424. - description: 用户类型 2-机构 7-企业成员
  22425. in: query
  22426. name: usertype
  22427. type: integer
  22428. - description: 选择项ID(SEQ_DGFACTORYITEM)
  22429. in: query
  22430. name: dgfactoryitemid
  22431. type: integer
  22432. - description: 现货品种ID
  22433. in: query
  22434. name: deliverygoodsid
  22435. type: integer
  22436. - description: 要素项类型
  22437. in: query
  22438. name: dgfactoryitemtypeid
  22439. type: integer
  22440. - description: 顺序
  22441. in: query
  22442. name: orderindex
  22443. type: integer
  22444. produces:
  22445. - application/json
  22446. responses:
  22447. "200":
  22448. description: OK
  22449. schema:
  22450. items:
  22451. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  22452. type: array
  22453. "500":
  22454. description: Internal Server Error
  22455. schema:
  22456. $ref: '#/definitions/app.Response'
  22457. security:
  22458. - ApiKeyAuth: []
  22459. summary: 查询品种要素定义项
  22460. tags:
  22461. - 企业风险管理v3(app)
  22462. /Ermcp3/QueryDeliveryGoods:
  22463. get:
  22464. parameters:
  22465. - description: 用户id
  22466. in: query
  22467. name: userid
  22468. required: true
  22469. type: integer
  22470. - description: 用户类型 2-机构 7-企业成员
  22471. in: query
  22472. name: usertype
  22473. type: integer
  22474. - description: 排除已配置的业务类型商品 1-套保 2-套利
  22475. in: query
  22476. name: excludecfg
  22477. type: integer
  22478. produces:
  22479. - application/json
  22480. responses:
  22481. "200":
  22482. description: OK
  22483. schema:
  22484. items:
  22485. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  22486. type: array
  22487. "500":
  22488. description: Internal Server Error
  22489. schema:
  22490. $ref: '#/definitions/app.Response'
  22491. security:
  22492. - ApiKeyAuth: []
  22493. summary: 查询现货商品
  22494. tags:
  22495. - 企业风险管理v3(app)
  22496. /Ermcp3/QueryDeliveryGoodsDetail:
  22497. get:
  22498. parameters:
  22499. - description: 用户id
  22500. in: query
  22501. name: userid
  22502. required: true
  22503. type: integer
  22504. - description: 用户类型 2-机构 7-企业成员
  22505. in: query
  22506. name: usertype
  22507. type: integer
  22508. - description: 现货商品id
  22509. in: query
  22510. name: deliverygoodsid
  22511. type: integer
  22512. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  22513. in: query
  22514. name: filtersubempty
  22515. type: integer
  22516. produces:
  22517. - application/json
  22518. responses:
  22519. "200":
  22520. description: OK
  22521. schema:
  22522. items:
  22523. $ref: '#/definitions/models.XHDeliveryGoods'
  22524. type: array
  22525. "500":
  22526. description: Internal Server Error
  22527. schema:
  22528. $ref: '#/definitions/app.Response'
  22529. security:
  22530. - ApiKeyAuth: []
  22531. summary: 查询现货商品详情
  22532. tags:
  22533. - 企业风险管理v3(app)
  22534. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  22535. get:
  22536. parameters:
  22537. - description: 合同id
  22538. in: query
  22539. name: spotcontractid
  22540. required: true
  22541. type: string
  22542. produces:
  22543. - application/json
  22544. responses:
  22545. "200":
  22546. description: OK
  22547. schema:
  22548. items:
  22549. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  22550. type: array
  22551. "500":
  22552. description: Internal Server Error
  22553. schema:
  22554. $ref: '#/definitions/app.Response'
  22555. security:
  22556. - ApiKeyAuth: []
  22557. summary: 查询现货合同期现配置信息
  22558. tags:
  22559. - 企业风险管理v3(app)
  22560. /Ermcp3/QueryExposureDetail:
  22561. get:
  22562. parameters:
  22563. - description: 用户id
  22564. in: query
  22565. name: userid
  22566. required: true
  22567. type: integer
  22568. - description: 用户类型 2-机构 7-企业成员
  22569. in: query
  22570. name: usertype
  22571. type: integer
  22572. - description: 套保商品
  22573. in: query
  22574. name: middlegoodsid
  22575. required: true
  22576. type: integer
  22577. produces:
  22578. - application/json
  22579. responses:
  22580. "200":
  22581. description: OK
  22582. schema:
  22583. items:
  22584. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  22585. type: array
  22586. "500":
  22587. description: Internal Server Error
  22588. schema:
  22589. $ref: '#/definitions/app.Response'
  22590. security:
  22591. - ApiKeyAuth: []
  22592. summary: 查询敞口现货明细
  22593. tags:
  22594. - 企业风险管理v3(app)
  22595. /Ermcp3/QueryExposureSpot:
  22596. get:
  22597. parameters:
  22598. - description: 用户id
  22599. in: query
  22600. name: userid
  22601. required: true
  22602. type: integer
  22603. - description: 用户类型 2-机构 7-企业成员
  22604. in: query
  22605. name: usertype
  22606. type: integer
  22607. produces:
  22608. - application/json
  22609. responses:
  22610. "200":
  22611. description: OK
  22612. schema:
  22613. items:
  22614. $ref: '#/definitions/models.Ermcp3AreaSpot'
  22615. type: array
  22616. "500":
  22617. description: Internal Server Error
  22618. schema:
  22619. $ref: '#/definitions/app.Response'
  22620. security:
  22621. - ApiKeyAuth: []
  22622. summary: 查询敞口现货头寸(敞口/现货头寸)
  22623. tags:
  22624. - 企业风险管理v3(app)
  22625. /Ermcp3/QueryExposureSpotDetail:
  22626. get:
  22627. parameters:
  22628. - description: 用户id
  22629. in: query
  22630. name: userid
  22631. required: true
  22632. type: integer
  22633. - description: 用户类型 2-机构 7-企业成员
  22634. in: query
  22635. name: usertype
  22636. type: integer
  22637. - description: 现货商品ID
  22638. in: query
  22639. name: wrstandardid
  22640. required: true
  22641. type: integer
  22642. produces:
  22643. - application/json
  22644. responses:
  22645. "200":
  22646. description: OK
  22647. schema:
  22648. items:
  22649. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  22650. type: array
  22651. "500":
  22652. description: Internal Server Error
  22653. schema:
  22654. $ref: '#/definitions/app.Response'
  22655. security:
  22656. - ApiKeyAuth: []
  22657. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  22658. tags:
  22659. - 企业风险管理v3(app)
  22660. /Ermcp3/QueryGoodsGroup:
  22661. get:
  22662. parameters:
  22663. - description: 用户id
  22664. in: query
  22665. name: userid
  22666. required: true
  22667. type: integer
  22668. - description: 用户类型 2-机构 7-企业成员
  22669. in: query
  22670. name: usertype
  22671. type: integer
  22672. - description: 排除套保品中已关联的商品组 1-排除
  22673. in: query
  22674. name: excludecfg
  22675. type: integer
  22676. produces:
  22677. - application/json
  22678. responses:
  22679. "200":
  22680. description: OK
  22681. schema:
  22682. items:
  22683. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  22684. type: array
  22685. "500":
  22686. description: Internal Server Error
  22687. schema:
  22688. $ref: '#/definitions/app.Response'
  22689. security:
  22690. - ApiKeyAuth: []
  22691. summary: 查询期货商品组
  22692. tags:
  22693. - 企业风险管理v3(app)
  22694. /Ermcp3/QueryGoodsWrstandard:
  22695. get:
  22696. parameters:
  22697. - description: 用户id
  22698. in: query
  22699. name: userid
  22700. required: true
  22701. type: integer
  22702. - description: 用户类型 2-机构 7-企业成员
  22703. in: query
  22704. name: usertype
  22705. type: integer
  22706. - description: 现货商品id
  22707. in: query
  22708. name: deliverygoodsid
  22709. type: integer
  22710. produces:
  22711. - application/json
  22712. responses:
  22713. "200":
  22714. description: OK
  22715. schema:
  22716. items:
  22717. $ref: '#/definitions/models.Ermcp3Wrstandard'
  22718. type: array
  22719. "500":
  22720. description: Internal Server Error
  22721. schema:
  22722. $ref: '#/definitions/app.Response'
  22723. security:
  22724. - ApiKeyAuth: []
  22725. summary: 查询商品品类
  22726. tags:
  22727. - 企业风险管理v3(app)
  22728. /Ermcp3/QueryGoodsbrand:
  22729. get:
  22730. parameters:
  22731. - description: 用户id
  22732. in: query
  22733. name: userid
  22734. required: true
  22735. type: integer
  22736. - description: 用户类型 2-机构 7-企业成员
  22737. in: query
  22738. name: usertype
  22739. type: integer
  22740. produces:
  22741. - application/json
  22742. responses:
  22743. "200":
  22744. description: OK
  22745. schema:
  22746. items:
  22747. $ref: '#/definitions/models.Ermcp3Brand'
  22748. type: array
  22749. "500":
  22750. description: Internal Server Error
  22751. schema:
  22752. $ref: '#/definitions/app.Response'
  22753. security:
  22754. - ApiKeyAuth: []
  22755. summary: 查询商品品牌
  22756. tags:
  22757. - 企业风险管理v3(app)
  22758. /Ermcp3/QueryHedgePlan:
  22759. get:
  22760. parameters:
  22761. - description: 用户ID
  22762. in: query
  22763. name: userid
  22764. required: true
  22765. type: integer
  22766. - description: 用户类型 2-机构 7-企业成员
  22767. in: query
  22768. name: usertype
  22769. type: integer
  22770. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22771. in: query
  22772. name: hedgeplanstatus
  22773. required: true
  22774. type: string
  22775. produces:
  22776. - application/json
  22777. responses:
  22778. "200":
  22779. description: OK
  22780. schema:
  22781. items:
  22782. $ref: '#/definitions/models.Ermcp3HedgePlan'
  22783. type: array
  22784. "500":
  22785. description: Internal Server Error
  22786. schema:
  22787. $ref: '#/definitions/app.Response'
  22788. security:
  22789. - ApiKeyAuth: []
  22790. summary: 查询套保计划
  22791. tags:
  22792. - 企业风险管理v3(app)
  22793. /Ermcp3/QueryInnerTradeLink:
  22794. get:
  22795. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  22796. parameters:
  22797. - description: 外部成交单号
  22798. in: query
  22799. name: outtradeid
  22800. required: true
  22801. type: integer
  22802. produces:
  22803. - application/json
  22804. responses:
  22805. "200":
  22806. description: OK
  22807. schema:
  22808. items:
  22809. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  22810. type: array
  22811. "500":
  22812. description: Internal Server Error
  22813. schema:
  22814. $ref: '#/definitions/app.Response'
  22815. security:
  22816. - ApiKeyAuth: []
  22817. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  22818. tags:
  22819. - 企业风险管理v3(app)
  22820. /Ermcp3/QueryMiddleGoodsDetail:
  22821. get:
  22822. parameters:
  22823. - description: 用户id
  22824. in: query
  22825. name: userid
  22826. required: true
  22827. type: integer
  22828. - description: 用户类型 2-机构 7-企业成员
  22829. in: query
  22830. name: usertype
  22831. type: integer
  22832. - description: 套保品种id
  22833. in: query
  22834. name: middlegoodsid
  22835. type: integer
  22836. produces:
  22837. - application/json
  22838. responses:
  22839. "200":
  22840. description: OK
  22841. schema:
  22842. items:
  22843. $ref: '#/definitions/models.TBMiddleGoods'
  22844. type: array
  22845. "500":
  22846. description: Internal Server Error
  22847. schema:
  22848. $ref: '#/definitions/app.Response'
  22849. security:
  22850. - ApiKeyAuth: []
  22851. summary: 查询套保品种详情(套保品种/商品详情)
  22852. tags:
  22853. - 企业风险管理v3(app)
  22854. /Ermcp3/QueryOutTradeLink:
  22855. get:
  22856. description: 页面 app 现货->期现关联->外部成交单关联
  22857. parameters:
  22858. - description: 用户ID(填登录用户的userid)
  22859. in: query
  22860. name: userid
  22861. required: true
  22862. type: integer
  22863. - description: 外部订单号(模糊匹配)
  22864. in: query
  22865. name: outtradeid
  22866. type: string
  22867. - description: 合约名称/代码(模糊匹配)
  22868. in: query
  22869. name: goodsname
  22870. type: string
  22871. - description: 关联状态 0-未关联 1-已关联
  22872. in: query
  22873. name: hasinnerorder
  22874. type: integer
  22875. produces:
  22876. - application/json
  22877. responses:
  22878. "200":
  22879. description: OK
  22880. schema:
  22881. items:
  22882. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  22883. type: array
  22884. "500":
  22885. description: Internal Server Error
  22886. schema:
  22887. $ref: '#/definitions/app.Response'
  22888. security:
  22889. - ApiKeyAuth: []
  22890. summary: 查询外部成交单关联
  22891. tags:
  22892. - 企业风险管理v3(app)
  22893. /Ermcp3/QueryPaAreaAuditCfg:
  22894. get:
  22895. parameters:
  22896. - description: 用户id
  22897. in: query
  22898. name: userid
  22899. required: true
  22900. type: integer
  22901. produces:
  22902. - application/json
  22903. responses:
  22904. "200":
  22905. description: OK
  22906. schema:
  22907. items:
  22908. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  22909. type: array
  22910. "500":
  22911. description: Internal Server Error
  22912. schema:
  22913. $ref: '#/definitions/app.Response'
  22914. security:
  22915. - ApiKeyAuth: []
  22916. summary: 查询审核设置
  22917. tags:
  22918. - 企业风险管理v3(app)
  22919. /Ermcp3/QueryPaAreaSubject:
  22920. get:
  22921. parameters:
  22922. - description: 用户id
  22923. in: query
  22924. name: userid
  22925. required: true
  22926. type: integer
  22927. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  22928. in: query
  22929. name: subjectid
  22930. type: integer
  22931. - description: 主体类型 - 1:交易主体 2:业务部门
  22932. in: query
  22933. name: subjecttype
  22934. type: integer
  22935. - description: '主体状态 - 1:正常 2: 停用'
  22936. in: query
  22937. name: subjectstatus
  22938. type: integer
  22939. produces:
  22940. - application/json
  22941. responses:
  22942. "200":
  22943. description: OK
  22944. schema:
  22945. items:
  22946. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  22947. type: array
  22948. "500":
  22949. description: Internal Server Error
  22950. schema:
  22951. $ref: '#/definitions/app.Response'
  22952. security:
  22953. - ApiKeyAuth: []
  22954. summary: 查询交易主体
  22955. tags:
  22956. - 企业风险管理v3(app)
  22957. /Ermcp3/QueryPaTradeLink:
  22958. get:
  22959. description: 页面 app 现货->期现关联->期现单据关联
  22960. parameters:
  22961. - description: 用户ID
  22962. in: query
  22963. name: userid
  22964. required: true
  22965. type: integer
  22966. produces:
  22967. - application/json
  22968. responses:
  22969. "200":
  22970. description: OK
  22971. schema:
  22972. items:
  22973. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  22974. type: array
  22975. "500":
  22976. description: Internal Server Error
  22977. schema:
  22978. $ref: '#/definitions/app.Response'
  22979. security:
  22980. - ApiKeyAuth: []
  22981. summary: 查询期现单据关联
  22982. tags:
  22983. - 企业风险管理v3(app)
  22984. /Ermcp3/QueryPaTradeLinkDetail:
  22985. get:
  22986. description: 页面 app 现货->期现关联->关联记录
  22987. parameters:
  22988. - description: 用户ID(填登录用户的userid)
  22989. in: query
  22990. name: userid
  22991. required: true
  22992. type: integer
  22993. - description: 关联状态 1:成功 2:失败 3:解绑
  22994. in: query
  22995. name: linkstatus
  22996. type: integer
  22997. - description: 期货订单号(模糊匹配)
  22998. in: query
  22999. name: tradeid
  23000. type: string
  23001. - description: 现货编号(模糊匹配)
  23002. in: query
  23003. name: contractno
  23004. type: string
  23005. - description: 期货账户(模糊匹配)
  23006. in: query
  23007. name: taname
  23008. type: string
  23009. produces:
  23010. - application/json
  23011. responses:
  23012. "200":
  23013. description: OK
  23014. schema:
  23015. items:
  23016. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  23017. type: array
  23018. "500":
  23019. description: Internal Server Error
  23020. schema:
  23021. $ref: '#/definitions/app.Response'
  23022. security:
  23023. - ApiKeyAuth: []
  23024. summary: 查询期现关联记录
  23025. tags:
  23026. - 企业风险管理v3(app)
  23027. /Ermcp3/QueryParamChangeApp:
  23028. get:
  23029. description: |-
  23030. 原型页面:
  23031. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  23032. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  23033. parameters:
  23034. - description: 用户ID
  23035. in: query
  23036. name: userid
  23037. required: true
  23038. type: integer
  23039. - description: 现货品种id
  23040. in: query
  23041. name: deliverygoodsid
  23042. type: integer
  23043. - description: 现货商品id
  23044. in: query
  23045. name: wrstandardid
  23046. type: integer
  23047. - description: 套保商品id
  23048. in: query
  23049. name: middlegoodsid
  23050. type: integer
  23051. - description: 操作类型 1:新增 2:修改
  23052. in: query
  23053. name: operatetype
  23054. type: integer
  23055. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  23056. in: query
  23057. name: paramchangetype
  23058. type: integer
  23059. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23060. in: query
  23061. name: ftstatus
  23062. type: string
  23063. produces:
  23064. - application/json
  23065. responses:
  23066. "200":
  23067. description: OK
  23068. schema:
  23069. items:
  23070. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  23071. type: array
  23072. "500":
  23073. description: Internal Server Error
  23074. schema:
  23075. $ref: '#/definitions/app.Response'
  23076. security:
  23077. - ApiKeyAuth: []
  23078. summary: 查询现货商品参数变更申请(流水)
  23079. tags:
  23080. - 企业风险管理v3(app)
  23081. /Ermcp3/QueryRootUserAccount:
  23082. get:
  23083. parameters:
  23084. - description: 用户ID
  23085. in: query
  23086. name: userid
  23087. required: true
  23088. type: integer
  23089. produces:
  23090. - application/json
  23091. responses:
  23092. "200":
  23093. description: OK
  23094. schema:
  23095. items:
  23096. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  23097. type: array
  23098. "500":
  23099. description: Internal Server Error
  23100. schema:
  23101. $ref: '#/definitions/app.Response'
  23102. security:
  23103. - ApiKeyAuth: []
  23104. summary: 查询顶级用户信息
  23105. tags:
  23106. - 企业风险管理v3(app)
  23107. /Ermcp3/QuerySCMiddleGoods:
  23108. get:
  23109. description: |-
  23110. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  23111. 现货编号 即 合同编号
  23112. parameters:
  23113. - description: 用户ID(填登录用户的userid)
  23114. in: query
  23115. name: userid
  23116. required: true
  23117. type: integer
  23118. - description: 买卖方向 0-买 1-卖
  23119. in: query
  23120. name: buyorsell
  23121. required: true
  23122. type: integer
  23123. - description: 商品组id
  23124. in: query
  23125. name: goodsgroupid
  23126. required: true
  23127. type: integer
  23128. - description: 业务类型 1:套保 2:套利
  23129. in: query
  23130. name: biztype
  23131. type: integer
  23132. - description: 现货编号(模糊匹配)
  23133. in: query
  23134. name: contractno
  23135. type: string
  23136. - description: 对手方(模糊匹配)
  23137. in: query
  23138. name: customername
  23139. type: string
  23140. - description: 现货商品名称(模糊匹配)
  23141. in: query
  23142. name: wrstandardname
  23143. type: string
  23144. produces:
  23145. - application/json
  23146. responses:
  23147. "200":
  23148. description: OK
  23149. schema:
  23150. items:
  23151. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  23152. type: array
  23153. "500":
  23154. description: Internal Server Error
  23155. schema:
  23156. $ref: '#/definitions/app.Response'
  23157. security:
  23158. - ApiKeyAuth: []
  23159. summary: 查询现货订单
  23160. tags:
  23161. - 企业风险管理v3(app)
  23162. /Ermcp3/QuerySpotContract:
  23163. get:
  23164. parameters:
  23165. - description: 用户id(当指定contractid, userid可不填)
  23166. in: query
  23167. name: userid
  23168. required: true
  23169. type: integer
  23170. - description: 用户类型 2-机构 7-企业成员
  23171. in: query
  23172. name: usertype
  23173. type: integer
  23174. - description: 合同类型 1-采购, -1-销售
  23175. in: query
  23176. name: contracttype
  23177. type: integer
  23178. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  23179. in: query
  23180. name: querytype
  23181. type: string
  23182. - description: 合同ID(SpotContractId)
  23183. in: query
  23184. name: contractid
  23185. type: string
  23186. - description: 合同编号(模糊匹配)
  23187. in: query
  23188. name: contractno
  23189. type: string
  23190. - description: 商品名称(模糊匹配)
  23191. in: query
  23192. name: wrstandardname
  23193. type: string
  23194. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  23195. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  23196. in: query
  23197. name: status
  23198. type: string
  23199. - description: 是否只查今日的合同 1-查今日合同
  23200. in: query
  23201. name: istoday
  23202. type: integer
  23203. produces:
  23204. - application/json
  23205. responses:
  23206. "200":
  23207. description: OK
  23208. schema:
  23209. items:
  23210. $ref: '#/definitions/models.Ermcp3Contract'
  23211. type: array
  23212. "500":
  23213. description: Internal Server Error
  23214. schema:
  23215. $ref: '#/definitions/app.Response'
  23216. security:
  23217. - ApiKeyAuth: []
  23218. summary: 查询现货合同
  23219. tags:
  23220. - 企业风险管理v3(app)
  23221. /Ermcp3/QuerySpotContractBS:
  23222. get:
  23223. parameters:
  23224. - description: 用户id
  23225. in: query
  23226. name: userid
  23227. required: true
  23228. type: integer
  23229. - description: 用户类型 2-机构 7-企业成员
  23230. in: query
  23231. name: usertype
  23232. type: integer
  23233. - description: 合同类型 1-采购, -1-销售
  23234. in: query
  23235. name: contracttype
  23236. required: true
  23237. type: integer
  23238. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  23239. in: query
  23240. name: querytype
  23241. type: integer
  23242. - description: 合同ID(SpotContractId)
  23243. in: query
  23244. name: contractid
  23245. type: string
  23246. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  23247. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  23248. in: query
  23249. name: status
  23250. type: string
  23251. - description: 是否只查今日的合同 1-查今日合同
  23252. in: query
  23253. name: istoday
  23254. type: integer
  23255. produces:
  23256. - application/json
  23257. responses:
  23258. "200":
  23259. description: OK
  23260. schema:
  23261. items:
  23262. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  23263. type: array
  23264. "500":
  23265. description: Internal Server Error
  23266. schema:
  23267. $ref: '#/definitions/app.Response'
  23268. security:
  23269. - ApiKeyAuth: []
  23270. summary: 查询合同(采购/销售)
  23271. tags:
  23272. - 企业风险管理v3(app)
  23273. /Ermcp3/QuerySpotGoodsPrice:
  23274. get:
  23275. parameters:
  23276. - description: 用户ID
  23277. in: query
  23278. name: userid
  23279. required: true
  23280. type: integer
  23281. produces:
  23282. - application/json
  23283. responses:
  23284. "200":
  23285. description: OK
  23286. schema:
  23287. items:
  23288. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  23289. type: array
  23290. "500":
  23291. description: Internal Server Error
  23292. schema:
  23293. $ref: '#/definitions/app.Response'
  23294. security:
  23295. - ApiKeyAuth: []
  23296. summary: 查询现货市价(现货市价)
  23297. tags:
  23298. - 企业风险管理v3(app)
  23299. /Ermcp3/QuerySpotGoodsPriceLog:
  23300. get:
  23301. parameters:
  23302. - description: 用户ID
  23303. in: query
  23304. name: userid
  23305. required: true
  23306. type: integer
  23307. - description: 现货商品ID
  23308. in: query
  23309. name: deliverygoodsid
  23310. required: true
  23311. type: integer
  23312. - description: 品牌ID
  23313. in: query
  23314. name: brandid
  23315. type: integer
  23316. - description: 品类ID
  23317. in: query
  23318. name: wrstandardid
  23319. type: integer
  23320. produces:
  23321. - application/json
  23322. responses:
  23323. "200":
  23324. description: OK
  23325. schema:
  23326. items:
  23327. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  23328. type: array
  23329. "500":
  23330. description: Internal Server Error
  23331. schema:
  23332. $ref: '#/definitions/app.Response'
  23333. security:
  23334. - ApiKeyAuth: []
  23335. summary: 查询现货市价详情(现货市价/详情)
  23336. tags:
  23337. - 企业风险管理v3(app)
  23338. /Ermcp3/QuerySubTaaccount:
  23339. get:
  23340. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  23341. parameters:
  23342. - description: 母账号id
  23343. in: query
  23344. name: parentaccountid
  23345. type: integer
  23346. - description: 母账号代码
  23347. in: query
  23348. name: parentaccountcode
  23349. type: string
  23350. produces:
  23351. - application/json
  23352. responses:
  23353. "200":
  23354. description: OK
  23355. schema:
  23356. items:
  23357. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  23358. type: array
  23359. "500":
  23360. description: Internal Server Error
  23361. schema:
  23362. $ref: '#/definitions/app.Response'
  23363. security:
  23364. - ApiKeyAuth: []
  23365. summary: 查询期货子账户
  23366. tags:
  23367. - 企业风险管理v3(app)
  23368. /Erms2/QueryArbitrageStrategy:
  23369. get:
  23370. parameters:
  23371. - description: 账户ID
  23372. in: query
  23373. name: userid
  23374. required: true
  23375. type: integer
  23376. - description: 商品组ID(品种ID)
  23377. in: query
  23378. name: goodsgroupid
  23379. type: string
  23380. produces:
  23381. - application/json
  23382. responses:
  23383. "200":
  23384. description: OK
  23385. schema:
  23386. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  23387. "500":
  23388. description: Internal Server Error
  23389. schema:
  23390. $ref: '#/definitions/app.Response'
  23391. security:
  23392. - ApiKeyAuth: []
  23393. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  23394. tags:
  23395. - 风险管理
  23396. /Erms2/QueryInnerTradeDetail:
  23397. get:
  23398. parameters:
  23399. - description: 资金账户
  23400. in: query
  23401. name: accountid
  23402. required: true
  23403. type: integer
  23404. produces:
  23405. - application/json
  23406. responses:
  23407. "200":
  23408. description: OK
  23409. schema:
  23410. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  23411. "500":
  23412. description: Internal Server Error
  23413. schema:
  23414. $ref: '#/definitions/app.Response'
  23415. security:
  23416. - ApiKeyAuth: []
  23417. summary: 查询内部成交单信息
  23418. tags:
  23419. - 风险管理
  23420. /Erms2/QuerySpotContract:
  23421. get:
  23422. parameters:
  23423. - description: 策略申请ID
  23424. in: query
  23425. name: asapplyid
  23426. required: true
  23427. type: integer
  23428. - description: 现货合同ID
  23429. in: query
  23430. name: spotcontractid
  23431. type: integer
  23432. produces:
  23433. - application/json
  23434. responses:
  23435. "200":
  23436. description: OK
  23437. schema:
  23438. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  23439. "500":
  23440. description: Internal Server Error
  23441. schema:
  23442. $ref: '#/definitions/app.Response'
  23443. security:
  23444. - ApiKeyAuth: []
  23445. summary: 查询现货合同表信息(指定策略ID、未结束的)
  23446. tags:
  23447. - 风险管理
  23448. /Erms3/AddErms2ASApply:
  23449. post:
  23450. parameters:
  23451. - description: 申请参数
  23452. in: body
  23453. name: jsonBody
  23454. required: true
  23455. schema:
  23456. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  23457. produces:
  23458. - application/json
  23459. responses:
  23460. "200":
  23461. description: OK
  23462. schema:
  23463. $ref: '#/definitions/app.Response'
  23464. "500":
  23465. description: Internal Server Error
  23466. schema:
  23467. $ref: '#/definitions/app.Response'
  23468. security:
  23469. - ApiKeyAuth: []
  23470. summary: 新增期现套利业务申请
  23471. tags:
  23472. - 风险管理v3
  23473. /Erms3/AddErms2SpotTradeApply:
  23474. post:
  23475. parameters:
  23476. - description: 申请参数
  23477. in: body
  23478. name: jsonBody
  23479. required: true
  23480. schema:
  23481. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  23482. produces:
  23483. - application/json
  23484. responses:
  23485. "200":
  23486. description: OK
  23487. schema:
  23488. $ref: '#/definitions/app.Response'
  23489. "500":
  23490. description: Internal Server Error
  23491. schema:
  23492. $ref: '#/definitions/app.Response'
  23493. security:
  23494. - ApiKeyAuth: []
  23495. summary: 新增现货贸易业务申请
  23496. tags:
  23497. - 风险管理v3
  23498. /Erms3/AddSpotContractApply:
  23499. post:
  23500. parameters:
  23501. - description: 申请参数
  23502. in: body
  23503. name: jsonBody
  23504. required: true
  23505. schema:
  23506. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  23507. produces:
  23508. - application/json
  23509. responses:
  23510. "200":
  23511. description: OK
  23512. schema:
  23513. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  23514. "500":
  23515. description: Internal Server Error
  23516. schema:
  23517. $ref: '#/definitions/app.Response'
  23518. security:
  23519. - ApiKeyAuth: []
  23520. summary: 新增现货合同申请
  23521. tags:
  23522. - 风险管理v3
  23523. /Erms3/AddUserInfoApply:
  23524. post:
  23525. parameters:
  23526. - description: 用户信息
  23527. in: body
  23528. name: jsonBody
  23529. required: true
  23530. schema:
  23531. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  23532. produces:
  23533. - application/json
  23534. responses:
  23535. "200":
  23536. description: OK
  23537. schema:
  23538. $ref: '#/definitions/app.Response'
  23539. "500":
  23540. description: Internal Server Error
  23541. schema:
  23542. $ref: '#/definitions/app.Response'
  23543. security:
  23544. - ApiKeyAuth: []
  23545. summary: 新增客户申请
  23546. tags:
  23547. - 风险管理v3
  23548. /Erms3/DeleteUserInfoApply:
  23549. get:
  23550. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  23551. parameters:
  23552. - description: 用户ID
  23553. in: query
  23554. name: userID
  23555. required: true
  23556. type: integer
  23557. produces:
  23558. - application/json
  23559. responses:
  23560. "200":
  23561. description: OK
  23562. schema:
  23563. $ref: '#/definitions/app.Response'
  23564. "500":
  23565. description: Internal Server Error
  23566. schema:
  23567. $ref: '#/definitions/app.Response'
  23568. security:
  23569. - ApiKeyAuth: []
  23570. summary: 删除客户申请
  23571. tags:
  23572. - 风险管理v3
  23573. /Erms3/ModifyUserInfoApply:
  23574. post:
  23575. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  23576. int, "userstate": 2 }'
  23577. parameters:
  23578. - description: 用户信息
  23579. in: body
  23580. name: jsonBody
  23581. required: true
  23582. schema:
  23583. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  23584. produces:
  23585. - application/json
  23586. responses:
  23587. "200":
  23588. description: OK
  23589. schema:
  23590. $ref: '#/definitions/app.Response'
  23591. "500":
  23592. description: Internal Server Error
  23593. schema:
  23594. $ref: '#/definitions/app.Response'
  23595. security:
  23596. - ApiKeyAuth: []
  23597. summary: 修改客户申请
  23598. tags:
  23599. - 风险管理v3
  23600. /Erms3/QueryBusinessInfo:
  23601. get:
  23602. parameters:
  23603. - description: 资金账号ID列表,用逗号分隔
  23604. in: query
  23605. name: accountids
  23606. required: true
  23607. type: string
  23608. - description: 状态,0为未结束 1为已结束
  23609. in: query
  23610. name: status
  23611. required: true
  23612. type: integer
  23613. produces:
  23614. - application/json
  23615. responses:
  23616. "200":
  23617. description: OK
  23618. schema:
  23619. items:
  23620. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  23621. type: array
  23622. "500":
  23623. description: Internal Server Error
  23624. schema:
  23625. $ref: '#/definitions/app.Response'
  23626. security:
  23627. - ApiKeyAuth: []
  23628. summary: 查询业务表单数据
  23629. tags:
  23630. - 风险管理v3
  23631. /Erms3/QueryPendingAuditContract:
  23632. get:
  23633. parameters:
  23634. - description: 资金账号ID列表,逗号隔开
  23635. in: query
  23636. name: accountids
  23637. required: true
  23638. type: string
  23639. - description: 合同类型 1-采购 -1-销售
  23640. in: query
  23641. name: contracttype
  23642. required: true
  23643. type: integer
  23644. - description: 合同模式 1-普通 2-回购
  23645. in: query
  23646. name: contractmode
  23647. required: true
  23648. type: integer
  23649. produces:
  23650. - application/json
  23651. responses:
  23652. "200":
  23653. description: OK
  23654. schema:
  23655. items:
  23656. $ref: '#/definitions/erms3.QryAuditContractRsp'
  23657. type: array
  23658. "500":
  23659. description: Internal Server Error
  23660. schema:
  23661. $ref: '#/definitions/app.Response'
  23662. security:
  23663. - ApiKeyAuth: []
  23664. summary: 查询待审核合同
  23665. tags:
  23666. - 风险管理v3
  23667. /Erms3/QueryPendingBusiness:
  23668. get:
  23669. parameters:
  23670. - description: 资金账号ID列表,逗号隔开
  23671. in: query
  23672. name: accountids
  23673. required: true
  23674. type: string
  23675. produces:
  23676. - application/json
  23677. responses:
  23678. "200":
  23679. description: OK
  23680. schema:
  23681. items:
  23682. $ref: '#/definitions/erms3.QryPendingBizRsp'
  23683. type: array
  23684. "500":
  23685. description: Internal Server Error
  23686. schema:
  23687. $ref: '#/definitions/app.Response'
  23688. security:
  23689. - ApiKeyAuth: []
  23690. summary: 查询待审核基差贸易业务
  23691. tags:
  23692. - 风险管理v3
  23693. /Erms3/QuerySpotContractAppleForm:
  23694. get:
  23695. parameters:
  23696. - description: 登录账号
  23697. in: query
  23698. name: loginID
  23699. required: true
  23700. type: integer
  23701. produces:
  23702. - application/json
  23703. responses:
  23704. "200":
  23705. description: OK
  23706. schema:
  23707. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  23708. "500":
  23709. description: Internal Server Error
  23710. schema:
  23711. $ref: '#/definitions/app.Response'
  23712. security:
  23713. - ApiKeyAuth: []
  23714. summary: 查询合同申请表单数据
  23715. tags:
  23716. - 风险管理v3
  23717. /Erms3/QuerySpotContractDetail:
  23718. get:
  23719. parameters:
  23720. - description: 资金账号ID列表,用逗号分隔
  23721. in: query
  23722. name: accountids
  23723. required: true
  23724. type: string
  23725. - description: 合同类型,1为采购合同 -1为销售合同
  23726. in: query
  23727. name: contracttype
  23728. required: true
  23729. type: integer
  23730. - description: 合同模式,1为普通合同 2为回购销售合同
  23731. in: query
  23732. name: contractmode
  23733. required: true
  23734. type: integer
  23735. - description: 状态,0为履约中 1为已完成
  23736. in: query
  23737. name: status
  23738. required: true
  23739. type: integer
  23740. produces:
  23741. - application/json
  23742. responses:
  23743. "200":
  23744. description: OK
  23745. schema:
  23746. items:
  23747. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  23748. type: array
  23749. "500":
  23750. description: Internal Server Error
  23751. schema:
  23752. $ref: '#/definitions/app.Response'
  23753. security:
  23754. - ApiKeyAuth: []
  23755. summary: 查询合同详细信息
  23756. tags:
  23757. - 风险管理v3
  23758. /Erms3/QueryUserInfoApplies:
  23759. get:
  23760. parameters:
  23761. - description: 页码
  23762. in: query
  23763. name: page
  23764. type: integer
  23765. - description: 每页条数
  23766. in: query
  23767. name: pagesize
  23768. type: integer
  23769. - description: 客户名称,支持模糊查询
  23770. in: query
  23771. name: userName
  23772. type: string
  23773. produces:
  23774. - application/json
  23775. responses:
  23776. "200":
  23777. description: OK
  23778. schema:
  23779. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  23780. "500":
  23781. description: Internal Server Error
  23782. schema:
  23783. $ref: '#/definitions/app.Response'
  23784. security:
  23785. - ApiKeyAuth: []
  23786. summary: 客户申请信息查询
  23787. tags:
  23788. - 风险管理v3
  23789. /Erms3/QueryUserInfos:
  23790. get:
  23791. parameters:
  23792. - description: 页码
  23793. in: query
  23794. name: page
  23795. type: integer
  23796. - description: 每页条数
  23797. in: query
  23798. name: pagesize
  23799. type: integer
  23800. - description: 客户名称,支持模糊查询
  23801. in: query
  23802. name: userName
  23803. type: string
  23804. produces:
  23805. - application/json
  23806. responses:
  23807. "200":
  23808. description: OK
  23809. schema:
  23810. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  23811. "500":
  23812. description: Internal Server Error
  23813. schema:
  23814. $ref: '#/definitions/app.Response'
  23815. security:
  23816. - ApiKeyAuth: []
  23817. summary: 客户信息查询
  23818. tags:
  23819. - 风险管理v3
  23820. /HSBY/GetHsbyMyCount:
  23821. get:
  23822. description: 说明: 不包括已完成的数量。
  23823. parameters:
  23824. - description: 资金账户列表,格式:1,2,3
  23825. in: query
  23826. name: accountIDs
  23827. required: true
  23828. type: string
  23829. produces:
  23830. - application/json
  23831. responses:
  23832. "200":
  23833. description: OK
  23834. schema:
  23835. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  23836. "500":
  23837. description: Internal Server Error
  23838. schema:
  23839. $ref: '#/definitions/app.Response'
  23840. security:
  23841. - ApiKeyAuth: []
  23842. summary: 获取我的订单与包裹数量
  23843. tags:
  23844. - 定制【海商报业】
  23845. /HSBY/QueryClientFixedADConfigs:
  23846. get:
  23847. produces:
  23848. - application/json
  23849. responses:
  23850. "200":
  23851. description: OK
  23852. schema:
  23853. $ref: '#/definitions/models.Clientfixedadconfig'
  23854. "500":
  23855. description: Internal Server Error
  23856. schema:
  23857. $ref: '#/definitions/app.Response'
  23858. security:
  23859. - ApiKeyAuth: []
  23860. summary: 获取终端固定广告配置
  23861. tags:
  23862. - 定制【海商报业】
  23863. /HSBY/QueryHsbyBuyMyTradeDetail:
  23864. get:
  23865. parameters:
  23866. - description: 页码
  23867. in: query
  23868. name: page
  23869. type: integer
  23870. - description: 每页条数
  23871. in: query
  23872. name: pagesize
  23873. type: integer
  23874. - description: 资金账户列表,格式:1,2,3
  23875. in: query
  23876. name: accountIDs
  23877. required: true
  23878. type: string
  23879. produces:
  23880. - application/json
  23881. responses:
  23882. "200":
  23883. description: OK
  23884. schema:
  23885. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  23886. "500":
  23887. description: Internal Server Error
  23888. schema:
  23889. $ref: '#/definitions/app.Response'
  23890. security:
  23891. - ApiKeyAuth: []
  23892. summary: 查询"我的订单 - 已完成"单据信息
  23893. tags:
  23894. - 定制【海商报业】
  23895. /HSBY/QueryHsbyGoodsOrderDetails:
  23896. get:
  23897. description: 说明:查询结果已按委托价格和委托时间排序
  23898. parameters:
  23899. - description: 商品ID
  23900. in: query
  23901. name: goodsID
  23902. required: true
  23903. type: integer
  23904. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  23905. in: query
  23906. name: accountIDs
  23907. type: string
  23908. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  23909. in: query
  23910. name: buyOrSell
  23911. type: integer
  23912. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  23913. in: query
  23914. name: price
  23915. type: number
  23916. - description: 档位,不传则默认为3档
  23917. in: query
  23918. name: speed
  23919. type: integer
  23920. produces:
  23921. - application/json
  23922. responses:
  23923. "200":
  23924. description: OK
  23925. schema:
  23926. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  23927. "500":
  23928. description: Internal Server Error
  23929. schema:
  23930. $ref: '#/definitions/app.Response'
  23931. security:
  23932. - ApiKeyAuth: []
  23933. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  23934. tags:
  23935. - 定制【海商报业】
  23936. /HSBY/QueryHsbyListingGoodsDetail:
  23937. get:
  23938. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  23939. parameters:
  23940. - description: 商品ID
  23941. in: query
  23942. name: goodsID
  23943. required: true
  23944. type: integer
  23945. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  23946. in: query
  23947. name: accountID
  23948. type: integer
  23949. produces:
  23950. - application/json
  23951. responses:
  23952. "200":
  23953. description: OK
  23954. schema:
  23955. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  23956. "500":
  23957. description: Internal Server Error
  23958. schema:
  23959. $ref: '#/definitions/app.Response'
  23960. security:
  23961. - ApiKeyAuth: []
  23962. summary: 查询二级市场(挂牌点选)商品信息详情
  23963. tags:
  23964. - 定制【海商报业】
  23965. /HSBY/QueryHsbyMarketGoodsDetail:
  23966. get:
  23967. parameters:
  23968. - description: 委托单号
  23969. in: query
  23970. name: orderID
  23971. required: true
  23972. type: integer
  23973. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  23974. in: query
  23975. name: accountID
  23976. type: integer
  23977. produces:
  23978. - application/json
  23979. responses:
  23980. "200":
  23981. description: OK
  23982. schema:
  23983. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  23984. "500":
  23985. description: Internal Server Error
  23986. schema:
  23987. $ref: '#/definitions/app.Response'
  23988. security:
  23989. - ApiKeyAuth: []
  23990. summary: 查询三级市场(商城)商品信息详情
  23991. tags:
  23992. - 定制【海商报业】
  23993. /HSBY/QueryHsbyMarketGoodses:
  23994. get:
  23995. parameters:
  23996. - description: 页码
  23997. in: query
  23998. name: page
  23999. type: integer
  24000. - description: 每页条数
  24001. in: query
  24002. name: pagesize
  24003. type: integer
  24004. - description: 市场ID列表,格式:1,2,3
  24005. in: query
  24006. name: marketIDs
  24007. required: true
  24008. type: string
  24009. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  24010. in: query
  24011. name: accountID
  24012. required: true
  24013. type: integer
  24014. - description: 类别ID
  24015. in: query
  24016. name: categoryID
  24017. type: integer
  24018. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  24019. in: query
  24020. name: goodsIDs
  24021. type: string
  24022. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  24023. in: query
  24024. name: couponTypeID
  24025. type: integer
  24026. produces:
  24027. - application/json
  24028. responses:
  24029. "200":
  24030. description: OK
  24031. schema:
  24032. $ref: '#/definitions/models.HsbyMarketGoods'
  24033. "500":
  24034. description: Internal Server Error
  24035. schema:
  24036. $ref: '#/definitions/app.Response'
  24037. security:
  24038. - ApiKeyAuth: []
  24039. summary: 查询特卖商品列表(三级商城)
  24040. tags:
  24041. - 定制【海商报业】
  24042. /HSBY/QueryHsbyMarkets:
  24043. get:
  24044. produces:
  24045. - application/json
  24046. responses:
  24047. "200":
  24048. description: OK
  24049. schema:
  24050. $ref: '#/definitions/models.HsbyMarketInfo'
  24051. "500":
  24052. description: Internal Server Error
  24053. schema:
  24054. $ref: '#/definitions/app.Response'
  24055. security:
  24056. - ApiKeyAuth: []
  24057. summary: 查询海商报业相关市场信息
  24058. tags:
  24059. - 定制【海商报业】
  24060. /HSBY/QueryHsbyMyBuyOrderDetails:
  24061. get:
  24062. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  24063. parameters:
  24064. - description: 资金账户列表,格式:1,2,3
  24065. in: query
  24066. name: accountIDs
  24067. required: true
  24068. type: string
  24069. produces:
  24070. - application/json
  24071. responses:
  24072. "200":
  24073. description: OK
  24074. schema:
  24075. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  24076. "500":
  24077. description: Internal Server Error
  24078. schema:
  24079. $ref: '#/definitions/app.Response'
  24080. security:
  24081. - ApiKeyAuth: []
  24082. summary: 查询“我的订单”信息
  24083. tags:
  24084. - 定制【海商报业】
  24085. /HSBY/QueryHsbyMyGoods:
  24086. get:
  24087. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  24088. parameters:
  24089. - description: 资金账户列表,格式:1,2,3
  24090. in: query
  24091. name: accountIDs
  24092. required: true
  24093. type: string
  24094. produces:
  24095. - application/json
  24096. responses:
  24097. "200":
  24098. description: OK
  24099. schema:
  24100. $ref: '#/definitions/models.HsbyMyGoods'
  24101. "500":
  24102. description: Internal Server Error
  24103. schema:
  24104. $ref: '#/definitions/app.Response'
  24105. security:
  24106. - ApiKeyAuth: []
  24107. summary: 查询“我的商品”信息
  24108. tags:
  24109. - 定制【海商报业】
  24110. /HSBY/QueryHsbyMyPackages:
  24111. get:
  24112. parameters:
  24113. - description: 资金账户列表,格式:1,2,3
  24114. in: query
  24115. name: accountIDs
  24116. required: true
  24117. type: string
  24118. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  24119. in: query
  24120. name: takeOrderStatus
  24121. type: integer
  24122. produces:
  24123. - application/json
  24124. responses:
  24125. "200":
  24126. description: OK
  24127. schema:
  24128. $ref: '#/definitions/models.HsbyMyPackage'
  24129. "500":
  24130. description: Internal Server Error
  24131. schema:
  24132. $ref: '#/definitions/app.Response'
  24133. security:
  24134. - ApiKeyAuth: []
  24135. summary: 查询我的包裹信息
  24136. tags:
  24137. - 定制【海商报业】
  24138. /HSBY/QueryHsbyPreGoodsDetail:
  24139. get:
  24140. parameters:
  24141. - description: 商品ID
  24142. in: query
  24143. name: goodsID
  24144. required: true
  24145. type: integer
  24146. - description: 资金账户,主要用于获取预售商品购买上限
  24147. in: query
  24148. name: accountID
  24149. type: integer
  24150. produces:
  24151. - application/json
  24152. responses:
  24153. "200":
  24154. description: OK
  24155. schema:
  24156. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  24157. "500":
  24158. description: Internal Server Error
  24159. schema:
  24160. $ref: '#/definitions/app.Response'
  24161. security:
  24162. - ApiKeyAuth: []
  24163. summary: 查询一级市场(预售)商品信息详情
  24164. tags:
  24165. - 定制【海商报业】
  24166. /HSBY/QueryHsbyPreGoodses:
  24167. get:
  24168. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  24169. parameters:
  24170. - description: 页码
  24171. in: query
  24172. name: page
  24173. type: integer
  24174. - description: 每页条数
  24175. in: query
  24176. name: pagesize
  24177. type: integer
  24178. - description: 市场ID列表,格式:1,2,3
  24179. in: query
  24180. name: marketIDs
  24181. required: true
  24182. type: string
  24183. - description: 目的地(省)ID
  24184. in: query
  24185. name: descProvinceID
  24186. type: integer
  24187. - description: 目的地(市)ID
  24188. in: query
  24189. name: descCityID
  24190. type: integer
  24191. produces:
  24192. - application/json
  24193. responses:
  24194. "200":
  24195. description: OK
  24196. schema:
  24197. $ref: '#/definitions/models.HsbyPreGoods'
  24198. "500":
  24199. description: Internal Server Error
  24200. schema:
  24201. $ref: '#/definitions/app.Response'
  24202. security:
  24203. - ApiKeyAuth: []
  24204. summary: 查询新品上市商品列表(一级市场预售)
  24205. tags:
  24206. - 定制【海商报业】
  24207. /HSBY/QueryHsbySellMyDetails:
  24208. get:
  24209. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  24210. parameters:
  24211. - description: 页码
  24212. in: query
  24213. name: page
  24214. type: integer
  24215. - description: 每页条数
  24216. in: query
  24217. name: pagesize
  24218. type: integer
  24219. - description: 资金账户列表,格式:1,2,3
  24220. in: query
  24221. name: accountIDs
  24222. required: true
  24223. type: string
  24224. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  24225. in: query
  24226. name: orderType
  24227. type: integer
  24228. produces:
  24229. - application/json
  24230. responses:
  24231. "200":
  24232. description: OK
  24233. schema:
  24234. $ref: '#/definitions/models.HsbySellMyDetail'
  24235. "500":
  24236. description: Internal Server Error
  24237. schema:
  24238. $ref: '#/definitions/app.Response'
  24239. security:
  24240. - ApiKeyAuth: []
  24241. summary: 查询"我的闲置"单据信息
  24242. tags:
  24243. - 定制【海商报业】
  24244. /HSBY/QueryHsbyTopGoodses:
  24245. get:
  24246. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  24247. parameters:
  24248. - description: 页码
  24249. in: query
  24250. name: page
  24251. type: integer
  24252. - description: 每页条数
  24253. in: query
  24254. name: pagesize
  24255. type: integer
  24256. - description: 市场ID列表,格式:1,2,3
  24257. in: query
  24258. name: marketIDs
  24259. required: true
  24260. type: string
  24261. - description: 目的地(省)ID
  24262. in: query
  24263. name: descProvinceID
  24264. type: integer
  24265. - description: 目的地(市)ID
  24266. in: query
  24267. name: descCityID
  24268. type: integer
  24269. produces:
  24270. - application/json
  24271. responses:
  24272. "200":
  24273. description: OK
  24274. schema:
  24275. $ref: '#/definitions/models.HsbyTopGoods'
  24276. "500":
  24277. description: Internal Server Error
  24278. schema:
  24279. $ref: '#/definitions/app.Response'
  24280. security:
  24281. - ApiKeyAuth: []
  24282. summary: 查询热卖商品列表(二级市场挂牌点选)
  24283. tags:
  24284. - 定制【海商报业】
  24285. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  24286. get:
  24287. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  24288. parameters:
  24289. - description: 商品ID
  24290. in: query
  24291. name: goodsID
  24292. required: true
  24293. type: integer
  24294. produces:
  24295. - application/json
  24296. responses:
  24297. "200":
  24298. description: OK
  24299. schema:
  24300. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  24301. "500":
  24302. description: Internal Server Error
  24303. schema:
  24304. $ref: '#/definitions/app.Response'
  24305. security:
  24306. - ApiKeyAuth: []
  24307. summary: 查询游客三级市场(商城)商品信息详情
  24308. tags:
  24309. - 定制【海商报业】
  24310. /HSBY/QueryHsbyVisitorMarketGoodses:
  24311. get:
  24312. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  24313. parameters:
  24314. - description: 页码
  24315. in: query
  24316. name: page
  24317. type: integer
  24318. - description: 每页条数
  24319. in: query
  24320. name: pagesize
  24321. type: integer
  24322. - description: 市场ID列表,格式:1,2,3
  24323. in: query
  24324. name: marketIDs
  24325. required: true
  24326. type: string
  24327. - description: 类别ID
  24328. in: query
  24329. name: categoryID
  24330. type: integer
  24331. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  24332. in: query
  24333. name: goodsIDs
  24334. type: string
  24335. produces:
  24336. - application/json
  24337. responses:
  24338. "200":
  24339. description: OK
  24340. schema:
  24341. $ref: '#/definitions/models.HsbyMarketGoods'
  24342. "500":
  24343. description: Internal Server Error
  24344. schema:
  24345. $ref: '#/definitions/app.Response'
  24346. security:
  24347. - ApiKeyAuth: []
  24348. summary: 查询游客特卖商品列表(三级商城)
  24349. tags:
  24350. - 定制【海商报业】
  24351. /HSBY/QueryMyCollectionOrders:
  24352. get:
  24353. parameters:
  24354. - description: 页码
  24355. in: query
  24356. name: page
  24357. type: integer
  24358. - description: 每页条数
  24359. in: query
  24360. name: pagesize
  24361. type: integer
  24362. - description: 资金账户,格式:1,2,3
  24363. in: query
  24364. name: accountIDs
  24365. required: true
  24366. type: string
  24367. produces:
  24368. - application/json
  24369. responses:
  24370. "200":
  24371. description: OK
  24372. schema:
  24373. $ref: '#/definitions/models.HsbySellCollectionOrder'
  24374. "500":
  24375. description: Internal Server Error
  24376. schema:
  24377. $ref: '#/definitions/app.Response'
  24378. security:
  24379. - ApiKeyAuth: []
  24380. summary: 我的闲置中收款信息查询
  24381. tags:
  24382. - 定制【海商报业】
  24383. /HSBY/QueryMyCouponHolds:
  24384. get:
  24385. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  24386. parameters:
  24387. - description: 资金账户列表,格式:1,2,3
  24388. in: query
  24389. name: accountIDs
  24390. required: true
  24391. type: string
  24392. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  24393. in: query
  24394. name: holdStatus
  24395. type: string
  24396. produces:
  24397. - application/json
  24398. responses:
  24399. "200":
  24400. description: OK
  24401. schema:
  24402. $ref: '#/definitions/models.MyCouponHold'
  24403. "500":
  24404. description: Internal Server Error
  24405. schema:
  24406. $ref: '#/definitions/app.Response'
  24407. security:
  24408. - ApiKeyAuth: []
  24409. summary: 我的优惠卷持仓查询
  24410. tags:
  24411. - 定制【海商报业】
  24412. /HSBY/QueryMyCoupons:
  24413. get:
  24414. parameters:
  24415. - description: 资金账户列表,格式:1,2,3
  24416. in: query
  24417. name: accountIDs
  24418. required: true
  24419. type: string
  24420. - description: 商品ID, 一般与sellUserID配套传入
  24421. in: query
  24422. name: goodsID
  24423. type: integer
  24424. - description: 卖方UserID
  24425. in: query
  24426. name: sellUserID
  24427. type: integer
  24428. produces:
  24429. - application/json
  24430. responses:
  24431. "200":
  24432. description: OK
  24433. schema:
  24434. $ref: '#/definitions/models.MyCoupon'
  24435. "500":
  24436. description: Internal Server Error
  24437. schema:
  24438. $ref: '#/definitions/app.Response'
  24439. security:
  24440. - ApiKeyAuth: []
  24441. summary: 我的优惠卷查询
  24442. tags:
  24443. - 定制【海商报业】
  24444. /HSBY/QueryMyPayOrders:
  24445. get:
  24446. parameters:
  24447. - description: 页码
  24448. in: query
  24449. name: page
  24450. type: integer
  24451. - description: 每页条数
  24452. in: query
  24453. name: pagesize
  24454. type: integer
  24455. - description: 资金账户列表,格式:1,2,3
  24456. in: query
  24457. name: accountIDs
  24458. required: true
  24459. type: string
  24460. - description: 买方委托单号
  24461. in: query
  24462. name: buyOrderID
  24463. type: integer
  24464. - description: 卖方委托单号
  24465. in: query
  24466. name: sellOrderID
  24467. type: integer
  24468. produces:
  24469. - application/json
  24470. responses:
  24471. "200":
  24472. description: OK
  24473. schema:
  24474. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  24475. "500":
  24476. description: Internal Server Error
  24477. schema:
  24478. $ref: '#/definitions/app.Response'
  24479. security:
  24480. - ApiKeyAuth: []
  24481. summary: 获取我的订单中待付款信息
  24482. tags:
  24483. - 定制【海商报业】
  24484. /HSBY/QueryMyUsedCoupon:
  24485. get:
  24486. parameters:
  24487. - description: 资金账户列表,格式:1,2,3
  24488. in: query
  24489. name: accountIDs
  24490. required: true
  24491. type: string
  24492. produces:
  24493. - application/json
  24494. responses:
  24495. "200":
  24496. description: OK
  24497. schema:
  24498. $ref: '#/definitions/models.MyUsedCoupon'
  24499. "500":
  24500. description: Internal Server Error
  24501. schema:
  24502. $ref: '#/definitions/app.Response'
  24503. security:
  24504. - ApiKeyAuth: []
  24505. summary: 已使用优惠卷查询
  24506. tags:
  24507. - 定制【海商报业】
  24508. /HSBY/QueryProvincesAndCities:
  24509. get:
  24510. description: 查询结果只包括二级市场商品已关连的省市信息。
  24511. parameters:
  24512. - description: 省ID
  24513. in: query
  24514. name: provinceID
  24515. type: integer
  24516. produces:
  24517. - application/json
  24518. responses:
  24519. "200":
  24520. description: OK
  24521. schema:
  24522. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  24523. "500":
  24524. description: Internal Server Error
  24525. schema:
  24526. $ref: '#/definitions/app.Response'
  24527. security:
  24528. - ApiKeyAuth: []
  24529. summary: 查询省市信息(不包括区)
  24530. tags:
  24531. - 定制【海商报业】
  24532. /HSBY/SetHsbyMyPackagesStatus:
  24533. post:
  24534. parameters:
  24535. - description: 提货单号
  24536. in: query
  24537. name: takeOrderID
  24538. required: true
  24539. type: string
  24540. - description: 资金账号
  24541. in: query
  24542. name: accountID
  24543. required: true
  24544. type: integer
  24545. produces:
  24546. - application/json
  24547. responses:
  24548. "200":
  24549. description: OK
  24550. schema:
  24551. $ref: '#/definitions/app.Response'
  24552. "500":
  24553. description: Internal Server Error
  24554. schema:
  24555. $ref: '#/definitions/app.Response'
  24556. security:
  24557. - ApiKeyAuth: []
  24558. summary: 设置我的包裹已收货状态
  24559. tags:
  24560. - 定制【海商报业】
  24561. /Market/GetAllExExchanges:
  24562. get:
  24563. produces:
  24564. - application/json
  24565. responses:
  24566. "200":
  24567. description: OK
  24568. schema:
  24569. $ref: '#/definitions/models.Goods'
  24570. "500":
  24571. description: Internal Server Error
  24572. schema:
  24573. $ref: '#/definitions/app.Response'
  24574. security:
  24575. - ApiKeyAuth: []
  24576. summary: 获取所有外部交易所信息
  24577. tags:
  24578. - 通用市场
  24579. /Market/QueryGoodsesByLoginID:
  24580. get:
  24581. parameters:
  24582. - description: 登录账号
  24583. in: query
  24584. name: loginID
  24585. required: true
  24586. type: integer
  24587. - description: 市场ID列表,格式:1,2,3
  24588. in: query
  24589. name: marketIDs
  24590. type: string
  24591. produces:
  24592. - application/json
  24593. responses:
  24594. "200":
  24595. description: OK
  24596. schema:
  24597. $ref: '#/definitions/models.Goods'
  24598. "500":
  24599. description: Internal Server Error
  24600. schema:
  24601. $ref: '#/definitions/app.Response'
  24602. security:
  24603. - ApiKeyAuth: []
  24604. summary: 获取登录账号有权限的商品信息
  24605. tags:
  24606. - 通用市场
  24607. /Market/QueryMarketRun:
  24608. get:
  24609. parameters:
  24610. - description: 市场ID,不传返回所有
  24611. in: query
  24612. name: marketID
  24613. type: integer
  24614. produces:
  24615. - application/json
  24616. responses:
  24617. "200":
  24618. description: OK
  24619. schema:
  24620. $ref: '#/definitions/models.Marketrun'
  24621. "500":
  24622. description: Internal Server Error
  24623. schema:
  24624. $ref: '#/definitions/app.Response'
  24625. security:
  24626. - ApiKeyAuth: []
  24627. summary: 查询市场运行信息
  24628. tags:
  24629. - 通用市场
  24630. /Market/QueryMarketsByLoginID:
  24631. get:
  24632. parameters:
  24633. - description: 登录账号
  24634. in: query
  24635. name: loginID
  24636. required: true
  24637. type: integer
  24638. produces:
  24639. - application/json
  24640. responses:
  24641. "200":
  24642. description: OK
  24643. schema:
  24644. $ref: '#/definitions/models.Market'
  24645. "500":
  24646. description: Internal Server Error
  24647. schema:
  24648. $ref: '#/definitions/app.Response'
  24649. security:
  24650. - ApiKeyAuth: []
  24651. summary: 获取登录账号有权限的市场信息
  24652. tags:
  24653. - 通用市场
  24654. /Order/QueryHisTradeDetail:
  24655. get:
  24656. parameters:
  24657. - description: 资金账户 - 格式:1,2,3
  24658. in: query
  24659. name: accountID
  24660. required: true
  24661. type: string
  24662. - description: 成交单号
  24663. in: query
  24664. name: tradeID
  24665. type: integer
  24666. - description: 委托单号
  24667. in: query
  24668. name: orderID
  24669. type: integer
  24670. - description: 商品ID
  24671. in: query
  24672. name: goodsID
  24673. type: integer
  24674. - description: 交易模式 - 格式:1,2,3
  24675. in: query
  24676. name: tradeMode
  24677. type: string
  24678. - description: 委托单据类型
  24679. in: query
  24680. name: buildType
  24681. type: integer
  24682. - description: 成交类别 - 格式:1,2,3
  24683. in: query
  24684. name: tradeType
  24685. type: string
  24686. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24687. in: query
  24688. name: startDate
  24689. type: string
  24690. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24691. in: query
  24692. name: endDate
  24693. type: string
  24694. produces:
  24695. - application/json
  24696. responses:
  24697. "200":
  24698. description: OK
  24699. schema:
  24700. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  24701. "500":
  24702. description: Internal Server Error
  24703. schema:
  24704. $ref: '#/definitions/app.Response'
  24705. security:
  24706. - ApiKeyAuth: []
  24707. summary: 历史成交单查询(合约市场)
  24708. tags:
  24709. - 通用单据
  24710. /Order/QueryHisTradeOrderDetail:
  24711. get:
  24712. parameters:
  24713. - description: 资金账户 - 格式:1,2,3
  24714. in: query
  24715. name: accountID
  24716. required: true
  24717. type: string
  24718. - description: 交易模式 - 格式:1,2,3
  24719. in: query
  24720. name: tradeMode
  24721. type: string
  24722. - description: 委托状态 - 格式:1,2,3
  24723. in: query
  24724. name: orderStatus
  24725. type: string
  24726. - description: 委托单号
  24727. in: query
  24728. name: orderID
  24729. type: integer
  24730. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24731. in: query
  24732. name: startDate
  24733. type: string
  24734. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24735. in: query
  24736. name: endDate
  24737. type: string
  24738. produces:
  24739. - application/json
  24740. responses:
  24741. "200":
  24742. description: OK
  24743. schema:
  24744. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  24745. "500":
  24746. description: Internal Server Error
  24747. schema:
  24748. $ref: '#/definitions/app.Response'
  24749. security:
  24750. - ApiKeyAuth: []
  24751. summary: 历史委托单查询请求(合约市场)
  24752. tags:
  24753. - 通用单据
  24754. /Order/QueryTradeDetail:
  24755. get:
  24756. parameters:
  24757. - description: 资金账户 - 格式:1,2,3
  24758. in: query
  24759. name: accountID
  24760. required: true
  24761. type: string
  24762. - description: 成交单号
  24763. in: query
  24764. name: tradeID
  24765. type: integer
  24766. - description: 委托单号
  24767. in: query
  24768. name: orderID
  24769. type: integer
  24770. - description: 交易模式 - 格式:1,2,3
  24771. in: query
  24772. name: tradeMode
  24773. type: string
  24774. - description: 委托单据类型
  24775. in: query
  24776. name: buildType
  24777. type: integer
  24778. - description: 成交类别 - 格式:1,2,3
  24779. in: query
  24780. name: tradeType
  24781. type: string
  24782. - description: 商品ID
  24783. in: query
  24784. name: goodsID
  24785. type: integer
  24786. produces:
  24787. - application/json
  24788. responses:
  24789. "200":
  24790. description: OK
  24791. schema:
  24792. $ref: '#/definitions/order.QueryTradeDetailRsp'
  24793. "500":
  24794. description: Internal Server Error
  24795. schema:
  24796. $ref: '#/definitions/app.Response'
  24797. security:
  24798. - ApiKeyAuth: []
  24799. summary: 成交单查询(合约市场)
  24800. tags:
  24801. - 通用单据
  24802. /Order/QueryTradeHolderDetail:
  24803. get:
  24804. parameters:
  24805. - description: 用户id
  24806. in: query
  24807. name: userid
  24808. type: integer
  24809. - description: 资金账号, 格式 1,2,3
  24810. in: query
  24811. name: accids
  24812. type: string
  24813. - description: 交易模式, 格式 1,2,3
  24814. in: query
  24815. name: trademodes
  24816. type: string
  24817. - description: 市场id, 格式 1,2,3
  24818. in: query
  24819. name: marketids
  24820. type: string
  24821. - description: 商品id
  24822. in: query
  24823. name: goodsid
  24824. type: integer
  24825. - description: 买卖方向 0-买 1-卖
  24826. in: query
  24827. name: buyorsell
  24828. type: integer
  24829. produces:
  24830. - application/json
  24831. responses:
  24832. "200":
  24833. description: OK
  24834. schema:
  24835. items:
  24836. $ref: '#/definitions/models.TradeHolderDetail'
  24837. type: array
  24838. "500":
  24839. description: Internal Server Error
  24840. schema:
  24841. $ref: '#/definitions/app.Response'
  24842. security:
  24843. - ApiKeyAuth: []
  24844. summary: 查询持仓明细
  24845. tags:
  24846. - 通用单据
  24847. /Order/QueryTradeOrderDetail:
  24848. get:
  24849. parameters:
  24850. - description: 资金账户 - 格式:1,2,3
  24851. in: query
  24852. name: accountID
  24853. required: true
  24854. type: string
  24855. - description: 交易模式 - 格式:1,2,3
  24856. in: query
  24857. name: tradeMode
  24858. type: string
  24859. - description: 委托状态 - 格式:1,2,3
  24860. in: query
  24861. name: orderStatus
  24862. type: string
  24863. - description: 委托单号
  24864. in: query
  24865. name: orderID
  24866. type: integer
  24867. produces:
  24868. - application/json
  24869. responses:
  24870. "200":
  24871. description: OK
  24872. schema:
  24873. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  24874. "500":
  24875. description: Internal Server Error
  24876. schema:
  24877. $ref: '#/definitions/app.Response'
  24878. security:
  24879. - ApiKeyAuth: []
  24880. summary: 委托单查询请求(合约市场)
  24881. tags:
  24882. - 通用单据
  24883. /Order/QueryTradePosition:
  24884. get:
  24885. parameters:
  24886. - description: 资金账户 - 格式:1,2,3
  24887. in: query
  24888. name: accountID
  24889. required: true
  24890. type: string
  24891. - description: 交易模式 - 格式:1,2,3
  24892. in: query
  24893. name: tradeMode
  24894. type: string
  24895. produces:
  24896. - application/json
  24897. responses:
  24898. "200":
  24899. description: OK
  24900. schema:
  24901. $ref: '#/definitions/order.QueryTradePositionRsp'
  24902. "500":
  24903. description: Internal Server Error
  24904. schema:
  24905. $ref: '#/definitions/app.Response'
  24906. security:
  24907. - ApiKeyAuth: []
  24908. summary: 持仓汇总查询(合约市场)
  24909. tags:
  24910. - 通用单据
  24911. /Qhj/QueryAccountInOutApply:
  24912. get:
  24913. parameters:
  24914. - description: 用户ID
  24915. in: query
  24916. name: userid
  24917. required: true
  24918. type: integer
  24919. - description: 申请起始日期(格式yyyymmdd)
  24920. in: query
  24921. name: begindate
  24922. type: string
  24923. - description: 申请截止日期(格式yyyymmdd)
  24924. in: query
  24925. name: enddate
  24926. type: string
  24927. - description: 模糊搜索名称
  24928. in: query
  24929. name: likename
  24930. type: string
  24931. produces:
  24932. - application/json
  24933. responses:
  24934. "200":
  24935. description: OK
  24936. schema:
  24937. items:
  24938. $ref: '#/definitions/models.QhjAccountOutInApply'
  24939. type: array
  24940. "500":
  24941. description: Internal Server Error
  24942. schema:
  24943. $ref: '#/definitions/app.Response'
  24944. security:
  24945. - ApiKeyAuth: []
  24946. summary: 查询充值提现
  24947. tags:
  24948. - 大连千海金
  24949. /Qhj/QueryAreaFinanceConfig:
  24950. get:
  24951. parameters:
  24952. - description: 机构用户ID 其他做市关系,都设置为 1
  24953. in: query
  24954. name: userid
  24955. type: integer
  24956. produces:
  24957. - application/json
  24958. responses:
  24959. "200":
  24960. description: OK
  24961. schema:
  24962. items:
  24963. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  24964. type: array
  24965. "500":
  24966. description: Internal Server Error
  24967. schema:
  24968. $ref: '#/definitions/app.Response'
  24969. security:
  24970. - ApiKeyAuth: []
  24971. summary: 查询企业配置表
  24972. tags:
  24973. - 大连千海金
  24974. /Qhj/QueryBankAccountSign:
  24975. get:
  24976. parameters:
  24977. - description: 用户ID
  24978. in: query
  24979. name: userid
  24980. required: true
  24981. type: integer
  24982. produces:
  24983. - application/json
  24984. responses:
  24985. "200":
  24986. description: OK
  24987. schema:
  24988. items:
  24989. $ref: '#/definitions/models.QhjBankAccountSign'
  24990. type: array
  24991. "500":
  24992. description: Internal Server Error
  24993. schema:
  24994. $ref: '#/definitions/app.Response'
  24995. security:
  24996. - ApiKeyAuth: []
  24997. summary: 查询签约银行信息(提现账户管理)
  24998. tags:
  24999. - 大连千海金
  25000. /Qhj/QueryBankInfo:
  25001. get:
  25002. produces:
  25003. - application/json
  25004. responses:
  25005. "200":
  25006. description: OK
  25007. schema:
  25008. items:
  25009. $ref: '#/definitions/models.QhjBankInfo'
  25010. type: array
  25011. "500":
  25012. description: Internal Server Error
  25013. schema:
  25014. $ref: '#/definitions/app.Response'
  25015. security:
  25016. - ApiKeyAuth: []
  25017. summary: 查询开户行
  25018. tags:
  25019. - 大连千海金
  25020. /Qhj/QueryBrokerApply:
  25021. get:
  25022. parameters:
  25023. - description: 所属机构ID
  25024. in: query
  25025. name: userid
  25026. type: integer
  25027. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25028. in: query
  25029. name: filterstatus
  25030. type: string
  25031. produces:
  25032. - application/json
  25033. responses:
  25034. "200":
  25035. description: OK
  25036. schema:
  25037. items:
  25038. $ref: '#/definitions/models.QhjBrokerApply'
  25039. type: array
  25040. "500":
  25041. description: Internal Server Error
  25042. schema:
  25043. $ref: '#/definitions/app.Response'
  25044. security:
  25045. - ApiKeyAuth: []
  25046. summary: 查询经纪人申请
  25047. tags:
  25048. - 大连千海金
  25049. /Qhj/QueryBrokerApplyEx:
  25050. get:
  25051. parameters:
  25052. - description: 所属机构ID
  25053. in: query
  25054. name: userid
  25055. type: integer
  25056. produces:
  25057. - application/json
  25058. responses:
  25059. "200":
  25060. description: OK
  25061. schema:
  25062. items:
  25063. $ref: '#/definitions/models.QhjBrokerApplyEx'
  25064. type: array
  25065. "500":
  25066. description: Internal Server Error
  25067. schema:
  25068. $ref: '#/definitions/app.Response'
  25069. security:
  25070. - ApiKeyAuth: []
  25071. summary: 查询经纪人信息和申请记录
  25072. tags:
  25073. - 大连千海金
  25074. /Qhj/QueryBrokerRewardLog:
  25075. get:
  25076. parameters:
  25077. - description: 用户ID
  25078. in: query
  25079. name: userid
  25080. required: true
  25081. type: integer
  25082. - description: 开始交易日(yyyymmdd)
  25083. in: query
  25084. name: begindate
  25085. type: string
  25086. - description: 结束交易日(yyyymmdd)
  25087. in: query
  25088. name: enddate
  25089. type: string
  25090. produces:
  25091. - application/json
  25092. responses:
  25093. "200":
  25094. description: OK
  25095. schema:
  25096. items:
  25097. $ref: '#/definitions/models.QhjBrokerRewardLog'
  25098. type: array
  25099. "500":
  25100. description: Internal Server Error
  25101. schema:
  25102. $ref: '#/definitions/app.Response'
  25103. security:
  25104. - ApiKeyAuth: []
  25105. summary: 查询奖励流水(我的奖励)
  25106. tags:
  25107. - 大连千海金
  25108. /Qhj/QueryContract:
  25109. get:
  25110. parameters:
  25111. - description: 用户ID
  25112. in: query
  25113. name: userid
  25114. type: integer
  25115. - description: scf合同id
  25116. in: query
  25117. name: scfcontractid
  25118. type: integer
  25119. produces:
  25120. - application/json
  25121. responses:
  25122. "200":
  25123. description: OK
  25124. schema:
  25125. items:
  25126. $ref: '#/definitions/models.QhjContract'
  25127. type: array
  25128. "500":
  25129. description: Internal Server Error
  25130. schema:
  25131. $ref: '#/definitions/app.Response'
  25132. security:
  25133. - ApiKeyAuth: []
  25134. summary: 查询融资明细(合同)
  25135. tags:
  25136. - 大连千海金
  25137. /Qhj/QueryContractLog:
  25138. get:
  25139. parameters:
  25140. - description: scf合同id
  25141. in: query
  25142. name: scfcontractid
  25143. required: true
  25144. type: integer
  25145. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  25146. in: query
  25147. name: amounttype
  25148. type: string
  25149. produces:
  25150. - application/json
  25151. responses:
  25152. "200":
  25153. description: OK
  25154. schema:
  25155. items:
  25156. $ref: '#/definitions/models.QhjContractLog'
  25157. type: array
  25158. "500":
  25159. description: Internal Server Error
  25160. schema:
  25161. $ref: '#/definitions/app.Response'
  25162. security:
  25163. - ApiKeyAuth: []
  25164. summary: 查询融资明细流水(融资明细详情页中的流水)
  25165. tags:
  25166. - 大连千海金
  25167. /Qhj/QueryCusBankSignBank:
  25168. get:
  25169. produces:
  25170. - application/json
  25171. responses:
  25172. "200":
  25173. description: OK
  25174. schema:
  25175. items:
  25176. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  25177. type: array
  25178. "500":
  25179. description: Internal Server Error
  25180. schema:
  25181. $ref: '#/definitions/app.Response'
  25182. security:
  25183. - ApiKeyAuth: []
  25184. summary: 查询托管银行
  25185. tags:
  25186. - 大连千海金
  25187. /Qhj/QueryCustomerInfo:
  25188. get:
  25189. parameters:
  25190. - description: 用户ID
  25191. in: query
  25192. name: userid
  25193. required: true
  25194. type: integer
  25195. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  25196. in: query
  25197. name: querytype
  25198. required: true
  25199. type: integer
  25200. - description: 客户类型 1-个人 2-企业
  25201. in: query
  25202. name: userinfotype
  25203. type: integer
  25204. - description: 客户名称(模糊匹配)
  25205. in: query
  25206. name: customername
  25207. type: string
  25208. - description: 昵称(模糊匹配)
  25209. in: query
  25210. name: nickname
  25211. type: string
  25212. - description: 是否包含子级 1-包含
  25213. in: query
  25214. name: includesub
  25215. type: integer
  25216. produces:
  25217. - application/json
  25218. responses:
  25219. "200":
  25220. description: OK
  25221. schema:
  25222. items:
  25223. $ref: '#/definitions/models.QhjCustomer'
  25224. type: array
  25225. "500":
  25226. description: Internal Server Error
  25227. schema:
  25228. $ref: '#/definitions/app.Response'
  25229. security:
  25230. - ApiKeyAuth: []
  25231. summary: 查询客户资料
  25232. tags:
  25233. - 大连千海金
  25234. /Qhj/QueryGoodsEx:
  25235. get:
  25236. parameters:
  25237. - description: 商品id
  25238. in: query
  25239. name: goodsid
  25240. type: integer
  25241. produces:
  25242. - application/json
  25243. responses:
  25244. "200":
  25245. description: OK
  25246. schema:
  25247. items:
  25248. $ref: '#/definitions/models.Qhjgoodsex'
  25249. type: array
  25250. "500":
  25251. description: Internal Server Error
  25252. schema:
  25253. $ref: '#/definitions/app.Response'
  25254. security:
  25255. - ApiKeyAuth: []
  25256. summary: 交易商品扩展表
  25257. tags:
  25258. - 大连千海金
  25259. /Qhj/QueryMyTeam:
  25260. get:
  25261. parameters:
  25262. - description: 用户ID
  25263. in: query
  25264. name: userid
  25265. required: true
  25266. type: integer
  25267. produces:
  25268. - application/json
  25269. responses:
  25270. "200":
  25271. description: OK
  25272. schema:
  25273. items:
  25274. $ref: '#/definitions/models.QhjMyTeamEx'
  25275. type: array
  25276. "500":
  25277. description: Internal Server Error
  25278. schema:
  25279. $ref: '#/definitions/app.Response'
  25280. security:
  25281. - ApiKeyAuth: []
  25282. summary: 查询我的团队
  25283. tags:
  25284. - 大连千海金
  25285. /Qhj/QueryMyTeamOrder:
  25286. get:
  25287. parameters:
  25288. - description: 页码
  25289. in: query
  25290. name: page
  25291. type: integer
  25292. - description: 每页条数
  25293. in: query
  25294. name: pagesize
  25295. type: integer
  25296. - description: 用户ID
  25297. in: query
  25298. name: userid
  25299. required: true
  25300. type: integer
  25301. - description: 交易模式
  25302. in: query
  25303. name: trademode
  25304. type: integer
  25305. - description: 名称(模糊搜索账户)
  25306. in: query
  25307. name: filtername
  25308. type: string
  25309. produces:
  25310. - application/json
  25311. responses:
  25312. "200":
  25313. description: OK
  25314. schema:
  25315. items:
  25316. $ref: '#/definitions/models.QhjTeamOrder'
  25317. type: array
  25318. "500":
  25319. description: Internal Server Error
  25320. schema:
  25321. $ref: '#/definitions/app.Response'
  25322. security:
  25323. - ApiKeyAuth: []
  25324. summary: 查询团队订单(我的团队/团队订单)
  25325. tags:
  25326. - 大连千海金
  25327. /Qhj/QueryParentAreaList:
  25328. get:
  25329. parameters:
  25330. - description: 用户ID
  25331. in: query
  25332. name: userid
  25333. required: true
  25334. type: integer
  25335. produces:
  25336. - application/json
  25337. responses:
  25338. "200":
  25339. description: OK
  25340. schema:
  25341. items:
  25342. $ref: '#/definitions/models.QhjParentAreaList'
  25343. type: array
  25344. "500":
  25345. description: Internal Server Error
  25346. schema:
  25347. $ref: '#/definitions/app.Response'
  25348. security:
  25349. - ApiKeyAuth: []
  25350. summary: 查询所属机构列表
  25351. tags:
  25352. - 大连千海金
  25353. /Qhj/QueryPayOrder:
  25354. get:
  25355. parameters:
  25356. - description: 资金账号id
  25357. in: query
  25358. name: accountid
  25359. required: true
  25360. type: integer
  25361. - description: 成交单号
  25362. in: query
  25363. name: tradeid
  25364. type: integer
  25365. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  25366. in: query
  25367. name: payflag
  25368. type: string
  25369. produces:
  25370. - application/json
  25371. responses:
  25372. "200":
  25373. description: OK
  25374. schema:
  25375. items:
  25376. $ref: '#/definitions/models.QhjPayOrder'
  25377. type: array
  25378. "500":
  25379. description: Internal Server Error
  25380. schema:
  25381. $ref: '#/definitions/app.Response'
  25382. security:
  25383. - ApiKeyAuth: []
  25384. summary: 查询待付款单据
  25385. tags:
  25386. - 大连千海金
  25387. /Qhj/QueryPickArea:
  25388. get:
  25389. parameters:
  25390. - description: 用户ID
  25391. in: query
  25392. name: userid
  25393. type: integer
  25394. produces:
  25395. - application/json
  25396. responses:
  25397. "200":
  25398. description: OK
  25399. schema:
  25400. items:
  25401. $ref: '#/definitions/models.QhjPickArea'
  25402. type: array
  25403. "500":
  25404. description: Internal Server Error
  25405. schema:
  25406. $ref: '#/definitions/app.Response'
  25407. security:
  25408. - ApiKeyAuth: []
  25409. summary: 查询提货门店
  25410. tags:
  25411. - 大连千海金
  25412. /Qhj/QueryPickGoods:
  25413. get:
  25414. parameters:
  25415. - description: 交易商品id
  25416. in: query
  25417. name: goodsid
  25418. required: true
  25419. type: integer
  25420. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  25421. in: query
  25422. name: status
  25423. type: string
  25424. produces:
  25425. - application/json
  25426. responses:
  25427. "200":
  25428. description: OK
  25429. schema:
  25430. items:
  25431. $ref: '#/definitions/models.QhjPickGoods'
  25432. type: array
  25433. "500":
  25434. description: Internal Server Error
  25435. schema:
  25436. $ref: '#/definitions/app.Response'
  25437. security:
  25438. - ApiKeyAuth: []
  25439. summary: 查询提货商品
  25440. tags:
  25441. - 大连千海金
  25442. /Qhj/QueryRSTriggerLog:
  25443. get:
  25444. parameters:
  25445. - description: 用户ID
  25446. in: query
  25447. name: userid
  25448. type: integer
  25449. - description: 定投策略id
  25450. in: query
  25451. name: regularlystrategyid
  25452. type: integer
  25453. - description: 商品id
  25454. in: query
  25455. name: goodsid
  25456. type: integer
  25457. - description: 开始交易日(yyyymmdd)
  25458. in: query
  25459. name: begindate
  25460. type: string
  25461. - description: 结束交易日(yyyymmdd)
  25462. in: query
  25463. name: enddate
  25464. type: string
  25465. - description: 名称(模糊搜索账户)
  25466. in: query
  25467. name: filtername
  25468. type: string
  25469. produces:
  25470. - application/json
  25471. responses:
  25472. "200":
  25473. description: OK
  25474. schema:
  25475. items:
  25476. $ref: '#/definitions/models.QhjRSTriggerLog'
  25477. type: array
  25478. "500":
  25479. description: Internal Server Error
  25480. schema:
  25481. $ref: '#/definitions/app.Response'
  25482. security:
  25483. - ApiKeyAuth: []
  25484. summary: 查询定投记录(定投管理/详情/定投记录)
  25485. tags:
  25486. - 大连千海金
  25487. /Qhj/QueryRStrategy:
  25488. get:
  25489. parameters:
  25490. - description: 用户ID
  25491. in: query
  25492. name: userid
  25493. type: integer
  25494. - description: 商品id
  25495. in: query
  25496. name: goodsid
  25497. type: integer
  25498. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  25499. in: query
  25500. name: status
  25501. type: string
  25502. - description: 名称(模糊搜索账户)
  25503. in: query
  25504. name: filtername
  25505. type: string
  25506. produces:
  25507. - application/json
  25508. responses:
  25509. "200":
  25510. description: OK
  25511. schema:
  25512. items:
  25513. $ref: '#/definitions/models.QhjRStrategy'
  25514. type: array
  25515. "500":
  25516. description: Internal Server Error
  25517. schema:
  25518. $ref: '#/definitions/app.Response'
  25519. security:
  25520. - ApiKeyAuth: []
  25521. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  25522. tags:
  25523. - 大连千海金
  25524. /Qhj/QueryReckonPriceLog:
  25525. get:
  25526. parameters:
  25527. - description: 商品ID
  25528. in: query
  25529. name: goodsid
  25530. type: integer
  25531. - description: 交易日 格式(yyyymmdd)
  25532. in: query
  25533. name: tradedate
  25534. type: string
  25535. produces:
  25536. - application/json
  25537. responses:
  25538. "200":
  25539. description: OK
  25540. schema:
  25541. items:
  25542. $ref: '#/definitions/models.QhjReckonPriceLog'
  25543. type: array
  25544. "500":
  25545. description: Internal Server Error
  25546. schema:
  25547. $ref: '#/definitions/app.Response'
  25548. security:
  25549. - ApiKeyAuth: []
  25550. summary: 查询定投价(结算价)
  25551. tags:
  25552. - 大连千海金
  25553. /Qhj/QueryScoreLog:
  25554. get:
  25555. parameters:
  25556. - description: 用户ID
  25557. in: query
  25558. name: userid
  25559. required: true
  25560. type: integer
  25561. - description: 开始交易日(yyyymmdd)
  25562. in: query
  25563. name: begindate
  25564. type: string
  25565. - description: 结束交易日(yyyymmdd)
  25566. in: query
  25567. name: enddate
  25568. type: string
  25569. - description: 最近多少条
  25570. in: query
  25571. name: lastnum
  25572. type: integer
  25573. produces:
  25574. - application/json
  25575. responses:
  25576. "200":
  25577. description: OK
  25578. schema:
  25579. items:
  25580. $ref: '#/definitions/models.QhjScoreLog'
  25581. type: array
  25582. "500":
  25583. description: Internal Server Error
  25584. schema:
  25585. $ref: '#/definitions/app.Response'
  25586. security:
  25587. - ApiKeyAuth: []
  25588. summary: 查询积分流水(我的积分)
  25589. tags:
  25590. - 大连千海金
  25591. /Qhj/QuerySiteColumnDetail:
  25592. get:
  25593. parameters:
  25594. - description: 用户ID
  25595. in: query
  25596. name: userid
  25597. required: true
  25598. type: integer
  25599. produces:
  25600. - application/json
  25601. responses:
  25602. "200":
  25603. description: OK
  25604. schema:
  25605. items:
  25606. $ref: '#/definitions/models.QhjSiteColumnDetail'
  25607. type: array
  25608. "500":
  25609. description: Internal Server Error
  25610. schema:
  25611. $ref: '#/definitions/app.Response'
  25612. security:
  25613. - ApiKeyAuth: []
  25614. summary: 查询资讯
  25615. tags:
  25616. - 大连千海金
  25617. /Qhj/QueryTradeGoodsPickup:
  25618. get:
  25619. parameters:
  25620. - description: 用户ID
  25621. in: query
  25622. name: userid
  25623. required: true
  25624. type: integer
  25625. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  25626. 7:已拒绝 8:已撤销
  25627. in: query
  25628. name: takeorderstatus
  25629. type: integer
  25630. produces:
  25631. - application/json
  25632. responses:
  25633. "200":
  25634. description: OK
  25635. schema:
  25636. items:
  25637. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  25638. type: array
  25639. "500":
  25640. description: Internal Server Error
  25641. schema:
  25642. $ref: '#/definitions/app.Response'
  25643. security:
  25644. - ApiKeyAuth: []
  25645. summary: 查询提货
  25646. tags:
  25647. - 大连千海金
  25648. /Qhj/QueryUserCollectConfig:
  25649. get:
  25650. parameters:
  25651. - description: 用户ID
  25652. in: query
  25653. name: userid
  25654. required: true
  25655. type: integer
  25656. produces:
  25657. - application/json
  25658. responses:
  25659. "200":
  25660. description: OK
  25661. schema:
  25662. items:
  25663. $ref: '#/definitions/models.UserCollectConfig'
  25664. type: array
  25665. "500":
  25666. description: Internal Server Error
  25667. schema:
  25668. $ref: '#/definitions/app.Response'
  25669. security:
  25670. - ApiKeyAuth: []
  25671. summary: 查询提现账户设置
  25672. tags:
  25673. - 大连千海金
  25674. /Qhj/QueryUserReceiveInfo:
  25675. get:
  25676. parameters:
  25677. - description: 用户ID
  25678. in: query
  25679. name: userid
  25680. required: true
  25681. type: integer
  25682. produces:
  25683. - application/json
  25684. responses:
  25685. "200":
  25686. description: OK
  25687. schema:
  25688. items:
  25689. $ref: '#/definitions/models.UserReceiveInfo'
  25690. type: array
  25691. "500":
  25692. description: Internal Server Error
  25693. schema:
  25694. $ref: '#/definitions/app.Response'
  25695. security:
  25696. - ApiKeyAuth: []
  25697. summary: 查询收货地址信息
  25698. tags:
  25699. - 大连千海金
  25700. /QhjMgr/QueryAccountInOutApply:
  25701. get:
  25702. parameters:
  25703. - description: 查询类型 1-提现(出金) 2-充值(出金)
  25704. in: query
  25705. name: querytype
  25706. required: true
  25707. type: integer
  25708. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  25709. in: query
  25710. name: applystatus
  25711. type: integer
  25712. - description: 申请起始日期(格式yyyymmdd)
  25713. in: query
  25714. name: begindate
  25715. type: string
  25716. - description: 申请截止日期(格式yyyymmdd)
  25717. in: query
  25718. name: enddate
  25719. type: string
  25720. - description: 模糊搜索名称
  25721. in: query
  25722. name: likename
  25723. type: string
  25724. produces:
  25725. - application/json
  25726. responses:
  25727. "200":
  25728. description: OK
  25729. schema:
  25730. items:
  25731. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  25732. type: array
  25733. "500":
  25734. description: Internal Server Error
  25735. schema:
  25736. $ref: '#/definitions/app.Response'
  25737. security:
  25738. - ApiKeyAuth: []
  25739. summary: 查询充值提现
  25740. tags:
  25741. - 大连千海金(PCWeb)
  25742. /QhjMgr/QueryBrokerApply:
  25743. get:
  25744. parameters:
  25745. - description: 所属机构ID
  25746. in: query
  25747. name: userid
  25748. type: integer
  25749. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25750. in: query
  25751. name: filterstatus
  25752. type: string
  25753. - description: 名称(模糊匹配)
  25754. in: query
  25755. name: filtername
  25756. type: string
  25757. - description: 是否包含子级 1-包含
  25758. in: query
  25759. name: includesub
  25760. type: integer
  25761. produces:
  25762. - application/json
  25763. responses:
  25764. "200":
  25765. description: OK
  25766. schema:
  25767. items:
  25768. $ref: '#/definitions/models.QhjMgrBrokerApply'
  25769. type: array
  25770. "500":
  25771. description: Internal Server Error
  25772. schema:
  25773. $ref: '#/definitions/app.Response'
  25774. security:
  25775. - ApiKeyAuth: []
  25776. summary: 查询经纪人申请
  25777. tags:
  25778. - 大连千海金(PCWeb)
  25779. /QhjMgr/QueryBrokerRewardReport:
  25780. get:
  25781. parameters:
  25782. - description: 所属机构ID
  25783. in: query
  25784. name: userid
  25785. required: true
  25786. type: integer
  25787. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25788. in: query
  25789. name: cycletype
  25790. required: true
  25791. type: integer
  25792. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  25793. in: query
  25794. name: cycletime
  25795. required: true
  25796. type: string
  25797. - description: 名称(模糊匹配)
  25798. in: query
  25799. name: filtername
  25800. type: string
  25801. - description: 是否包含子级 1-包含
  25802. in: query
  25803. name: includesub
  25804. type: integer
  25805. produces:
  25806. - application/json
  25807. responses:
  25808. "200":
  25809. description: OK
  25810. schema:
  25811. items:
  25812. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  25813. type: array
  25814. "500":
  25815. description: Internal Server Error
  25816. schema:
  25817. $ref: '#/definitions/app.Response'
  25818. security:
  25819. - ApiKeyAuth: []
  25820. summary: 查询经纪人奖励报表(废弃)
  25821. tags:
  25822. - 大连千海金(PCWeb)
  25823. /QhjMgr/QueryContract:
  25824. get:
  25825. parameters:
  25826. - description: 用户ID
  25827. in: query
  25828. name: userid
  25829. type: integer
  25830. - description: 商品id
  25831. in: query
  25832. name: goodsid
  25833. type: integer
  25834. - description: 名称(模糊搜索账户)
  25835. in: query
  25836. name: filtername
  25837. type: string
  25838. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  25839. in: query
  25840. name: risklevel
  25841. type: string
  25842. - description: 开始交易日(yyyymmdd)
  25843. in: query
  25844. name: begindate
  25845. type: string
  25846. - description: 结束交易日(yyyymmdd)
  25847. in: query
  25848. name: enddate
  25849. type: string
  25850. produces:
  25851. - application/json
  25852. responses:
  25853. "200":
  25854. description: OK
  25855. schema:
  25856. items:
  25857. $ref: '#/definitions/models.QhjMgrContract'
  25858. type: array
  25859. "500":
  25860. description: Internal Server Error
  25861. schema:
  25862. $ref: '#/definitions/app.Response'
  25863. security:
  25864. - ApiKeyAuth: []
  25865. summary: 查询融资信息(合同)
  25866. tags:
  25867. - 大连千海金(PCWeb)
  25868. /QhjMgr/QueryCustomerInfo:
  25869. get:
  25870. parameters:
  25871. - description: 用户ID
  25872. in: query
  25873. name: userid
  25874. required: true
  25875. type: integer
  25876. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  25877. in: query
  25878. name: querytype
  25879. required: true
  25880. type: integer
  25881. - description: 客户类型 1-个人 2-企业
  25882. in: query
  25883. name: userinfotype
  25884. type: integer
  25885. - description: 客户名称(模糊匹配)
  25886. in: query
  25887. name: customername
  25888. type: string
  25889. - description: 昵称(模糊匹配)
  25890. in: query
  25891. name: nickname
  25892. type: string
  25893. - description: 所属客户经理(模糊匹配)
  25894. in: query
  25895. name: brokername
  25896. type: string
  25897. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  25898. 如0503 -5月3日)
  25899. in: query
  25900. name: birthday
  25901. type: string
  25902. - description: 是否包含子级 1-包含
  25903. in: query
  25904. name: includesub
  25905. type: integer
  25906. produces:
  25907. - application/json
  25908. responses:
  25909. "200":
  25910. description: OK
  25911. schema:
  25912. items:
  25913. $ref: '#/definitions/models.QhjMgrCustomer'
  25914. type: array
  25915. "500":
  25916. description: Internal Server Error
  25917. schema:
  25918. $ref: '#/definitions/app.Response'
  25919. security:
  25920. - ApiKeyAuth: []
  25921. summary: 查询客户资料
  25922. tags:
  25923. - 大连千海金(PCWeb)
  25924. /QhjMgr/QueryPickGoods:
  25925. get:
  25926. parameters:
  25927. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  25928. in: query
  25929. name: status
  25930. type: string
  25931. produces:
  25932. - application/json
  25933. responses:
  25934. "200":
  25935. description: OK
  25936. schema:
  25937. items:
  25938. $ref: '#/definitions/models.QhjMgrPickGoods'
  25939. type: array
  25940. "500":
  25941. description: Internal Server Error
  25942. schema:
  25943. $ref: '#/definitions/app.Response'
  25944. security:
  25945. - ApiKeyAuth: []
  25946. summary: 查询提货商品
  25947. tags:
  25948. - 大连千海金(PCWeb)
  25949. /QhjMgr/QuerySubArea:
  25950. get:
  25951. parameters:
  25952. - description: 用户ID
  25953. in: query
  25954. name: userid
  25955. required: true
  25956. type: integer
  25957. produces:
  25958. - application/json
  25959. responses:
  25960. "200":
  25961. description: OK
  25962. schema:
  25963. items:
  25964. $ref: '#/definitions/models.QhjMgrSubArea'
  25965. type: array
  25966. "500":
  25967. description: Internal Server Error
  25968. schema:
  25969. $ref: '#/definitions/app.Response'
  25970. security:
  25971. - ApiKeyAuth: []
  25972. summary: 查询子机构列表
  25973. tags:
  25974. - 大连千海金(PCWeb)
  25975. /QhjMgr/QueryTradeDetail:
  25976. get:
  25977. parameters:
  25978. - description: 用户ID
  25979. in: query
  25980. name: userid
  25981. required: true
  25982. type: integer
  25983. - description: 用户类型 1-个人 2-企业
  25984. in: query
  25985. name: userinfotype
  25986. type: integer
  25987. - description: 交易模式
  25988. in: query
  25989. name: trademode
  25990. type: integer
  25991. - description: 商品id
  25992. in: query
  25993. name: goodsid
  25994. type: integer
  25995. - description: 名称(模糊搜索账户)
  25996. in: query
  25997. name: filtername
  25998. type: string
  25999. - description: 开始交易日(yyyymmdd)
  26000. in: query
  26001. name: begindate
  26002. type: string
  26003. - description: 结束交易日(yyyymmdd)
  26004. in: query
  26005. name: enddate
  26006. type: string
  26007. - description: 是否包含子级 1-包含
  26008. in: query
  26009. name: includesub
  26010. type: integer
  26011. produces:
  26012. - application/json
  26013. responses:
  26014. "200":
  26015. description: OK
  26016. schema:
  26017. items:
  26018. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  26019. type: array
  26020. "500":
  26021. description: Internal Server Error
  26022. schema:
  26023. $ref: '#/definitions/app.Response'
  26024. security:
  26025. - ApiKeyAuth: []
  26026. summary: 查询成交明细
  26027. tags:
  26028. - 大连千海金(PCWeb)
  26029. /QhjMgr/QueryTradeOrderDetail:
  26030. get:
  26031. parameters:
  26032. - description: 用户ID
  26033. in: query
  26034. name: userid
  26035. required: true
  26036. type: integer
  26037. - description: 用户类型 1-个人 2-企业
  26038. in: query
  26039. name: userinfotype
  26040. type: integer
  26041. - description: 交易模式
  26042. in: query
  26043. name: trademode
  26044. type: integer
  26045. - description: 商品id
  26046. in: query
  26047. name: goodsid
  26048. type: integer
  26049. - description: 名称(模糊搜索账户)
  26050. in: query
  26051. name: filtername
  26052. type: string
  26053. - description: 开始交易日(yyyymmdd)
  26054. in: query
  26055. name: begindate
  26056. type: string
  26057. - description: 结束交易日(yyyymmdd)
  26058. in: query
  26059. name: enddate
  26060. type: string
  26061. - description: 是否包含子级 1-包含
  26062. in: query
  26063. name: includesub
  26064. type: integer
  26065. produces:
  26066. - application/json
  26067. responses:
  26068. "200":
  26069. description: OK
  26070. schema:
  26071. items:
  26072. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  26073. type: array
  26074. "500":
  26075. description: Internal Server Error
  26076. schema:
  26077. $ref: '#/definitions/app.Response'
  26078. security:
  26079. - ApiKeyAuth: []
  26080. summary: 查询委托明细
  26081. tags:
  26082. - 大连千海金(PCWeb)
  26083. /QhjMgr/QueryTradePayOrder:
  26084. get:
  26085. parameters:
  26086. - description: 用户ID
  26087. in: query
  26088. name: userid
  26089. required: true
  26090. type: integer
  26091. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  26092. in: query
  26093. name: payflag
  26094. type: string
  26095. - description: 用户类型 1-个人 2-企业
  26096. in: query
  26097. name: userinfotype
  26098. type: integer
  26099. - description: 交易模式
  26100. in: query
  26101. name: trademode
  26102. type: integer
  26103. - description: 商品id
  26104. in: query
  26105. name: goodsid
  26106. type: integer
  26107. - description: 名称(模糊搜索账户)
  26108. in: query
  26109. name: filtername
  26110. type: string
  26111. - description: 开始交易日(yyyymmdd)
  26112. in: query
  26113. name: begindate
  26114. type: string
  26115. - description: 结束交易日(yyyymmdd)
  26116. in: query
  26117. name: enddate
  26118. type: string
  26119. - description: 是否包含子级 1-包含
  26120. in: query
  26121. name: includesub
  26122. type: integer
  26123. produces:
  26124. - application/json
  26125. responses:
  26126. "200":
  26127. description: OK
  26128. schema:
  26129. items:
  26130. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  26131. type: array
  26132. "500":
  26133. description: Internal Server Error
  26134. schema:
  26135. $ref: '#/definitions/app.Response'
  26136. security:
  26137. - ApiKeyAuth: []
  26138. summary: 查询待付款单
  26139. tags:
  26140. - 大连千海金(PCWeb)
  26141. /QhjMgr/QueryTradePosition:
  26142. get:
  26143. parameters:
  26144. - description: 用户ID
  26145. in: query
  26146. name: userid
  26147. required: true
  26148. type: integer
  26149. - description: 用户类型 1-个人 2-企业
  26150. in: query
  26151. name: userinfotype
  26152. type: integer
  26153. - description: 交易模式
  26154. in: query
  26155. name: trademode
  26156. type: integer
  26157. - description: 商品id
  26158. in: query
  26159. name: goodsid
  26160. type: integer
  26161. - description: 名称(模糊搜索账户)
  26162. in: query
  26163. name: filtername
  26164. type: string
  26165. - description: 是否包含子级 1-包含
  26166. in: query
  26167. name: includesub
  26168. type: integer
  26169. produces:
  26170. - application/json
  26171. responses:
  26172. "200":
  26173. description: OK
  26174. schema:
  26175. items:
  26176. $ref: '#/definitions/models.QhjMgrPositionRsp'
  26177. type: array
  26178. "500":
  26179. description: Internal Server Error
  26180. schema:
  26181. $ref: '#/definitions/app.Response'
  26182. security:
  26183. - ApiKeyAuth: []
  26184. summary: 查询持仓汇总
  26185. tags:
  26186. - 大连千海金(PCWeb)
  26187. /QhjSys/QueryAgreementChangeLog:
  26188. get:
  26189. parameters:
  26190. - description: 协议ID
  26191. in: query
  26192. name: agreementid
  26193. type: integer
  26194. - description: 协议版本号
  26195. in: query
  26196. name: agreementversion
  26197. type: integer
  26198. - description: 协议类型 - 1:注册 2:登录 3:交易
  26199. in: query
  26200. name: agreementtype
  26201. type: integer
  26202. - description: 协议编号(模糊匹配)
  26203. in: query
  26204. name: agreementno
  26205. type: string
  26206. - description: 协议名称(模糊匹配)
  26207. in: query
  26208. name: agreementname
  26209. type: string
  26210. produces:
  26211. - application/json
  26212. responses:
  26213. "200":
  26214. description: OK
  26215. schema:
  26216. items:
  26217. $ref: '#/definitions/models.QhjAgreementChangeLog'
  26218. type: array
  26219. "500":
  26220. description: Internal Server Error
  26221. schema:
  26222. $ref: '#/definitions/app.Response'
  26223. security:
  26224. - ApiKeyAuth: []
  26225. summary: 查询协议配置变更流水
  26226. tags:
  26227. - 大连千海金(协议和签约信息)
  26228. /QhjSys/QueryAgreementConfig:
  26229. get:
  26230. parameters:
  26231. - description: 协议ID
  26232. in: query
  26233. name: agreementid
  26234. type: integer
  26235. - description: 协议版本号
  26236. in: query
  26237. name: agreementversion
  26238. type: integer
  26239. - description: 协议类型 - 1:注册 2:登录 3:交易
  26240. in: query
  26241. name: agreementtype
  26242. type: integer
  26243. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  26244. in: query
  26245. name: isvalid
  26246. type: integer
  26247. - description: 协议编号(模糊匹配)
  26248. in: query
  26249. name: agreementno
  26250. type: string
  26251. - description: 协议名称(模糊匹配)
  26252. in: query
  26253. name: agreementname
  26254. type: string
  26255. produces:
  26256. - application/json
  26257. responses:
  26258. "200":
  26259. description: OK
  26260. schema:
  26261. items:
  26262. $ref: '#/definitions/models.QhjAgreementConfig'
  26263. type: array
  26264. "500":
  26265. description: Internal Server Error
  26266. schema:
  26267. $ref: '#/definitions/app.Response'
  26268. security:
  26269. - ApiKeyAuth: []
  26270. summary: 查询协议配置
  26271. tags:
  26272. - 大连千海金(协议和签约信息)
  26273. /QhjSys/QueryCustomerSignStatus:
  26274. get:
  26275. parameters:
  26276. - description: 客户ID
  26277. in: query
  26278. name: userid
  26279. type: integer
  26280. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  26281. in: query
  26282. name: nodetype
  26283. type: integer
  26284. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  26285. in: query
  26286. name: goodsid
  26287. type: integer
  26288. - description: 创建交易日(yyyyMMdd)
  26289. in: query
  26290. name: tradedate
  26291. type: string
  26292. - description: 用户名称(模糊匹配)
  26293. in: query
  26294. name: username
  26295. type: string
  26296. produces:
  26297. - application/json
  26298. responses:
  26299. "200":
  26300. description: OK
  26301. schema:
  26302. items:
  26303. $ref: '#/definitions/models.QhjCustomerSignStatus'
  26304. type: array
  26305. "500":
  26306. description: Internal Server Error
  26307. schema:
  26308. $ref: '#/definitions/app.Response'
  26309. security:
  26310. - ApiKeyAuth: []
  26311. summary: 查询客户协议签约状态
  26312. tags:
  26313. - 大连千海金(协议和签约信息)
  26314. /QhjSys/QueryNodeAgreementConfig:
  26315. get:
  26316. parameters:
  26317. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  26318. in: query
  26319. name: configid
  26320. type: integer
  26321. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  26322. in: query
  26323. name: nodetype
  26324. type: integer
  26325. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  26326. in: query
  26327. name: goodsid
  26328. type: integer
  26329. - description: 协议ID
  26330. in: query
  26331. name: agreementid
  26332. type: integer
  26333. - description: 协议类型 - 1:注册 2:登录 3:交易
  26334. in: query
  26335. name: agreementtype
  26336. type: integer
  26337. - description: 协议版本号
  26338. in: query
  26339. name: agreementversion
  26340. type: integer
  26341. - description: 协议编号(模糊匹配)
  26342. in: query
  26343. name: agreementno
  26344. type: string
  26345. - description: 协议名称(模糊匹配)
  26346. in: query
  26347. name: agreementname
  26348. type: string
  26349. produces:
  26350. - application/json
  26351. responses:
  26352. "200":
  26353. description: OK
  26354. schema:
  26355. items:
  26356. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  26357. type: array
  26358. "500":
  26359. description: Internal Server Error
  26360. schema:
  26361. $ref: '#/definitions/app.Response'
  26362. security:
  26363. - ApiKeyAuth: []
  26364. summary: 查询协议节点配置
  26365. tags:
  26366. - 大连千海金(协议和签约信息)
  26367. /QhjSys/QueryQhjCustomerSignLog:
  26368. get:
  26369. parameters:
  26370. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  26371. in: query
  26372. name: logid
  26373. type: integer
  26374. - description: 客户ID
  26375. in: query
  26376. name: userid
  26377. type: integer
  26378. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  26379. in: query
  26380. name: nodetype
  26381. type: integer
  26382. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  26383. in: query
  26384. name: goodsid
  26385. type: integer
  26386. - description: 协议ID
  26387. in: query
  26388. name: agreementid
  26389. type: integer
  26390. - description: 用户名称(模糊匹配)
  26391. in: query
  26392. name: username
  26393. type: string
  26394. - description: 协议编号(模糊匹配)
  26395. in: query
  26396. name: agreementno
  26397. type: string
  26398. - description: 协议名称(模糊匹配)
  26399. in: query
  26400. name: agreementname
  26401. type: string
  26402. produces:
  26403. - application/json
  26404. responses:
  26405. "200":
  26406. description: OK
  26407. schema:
  26408. items:
  26409. $ref: '#/definitions/models.QhjCustomerSignLog'
  26410. type: array
  26411. "500":
  26412. description: Internal Server Error
  26413. schema:
  26414. $ref: '#/definitions/app.Response'
  26415. security:
  26416. - ApiKeyAuth: []
  26417. summary: 查询客户协议签约流水
  26418. tags:
  26419. - 大连千海金(协议和签约信息)
  26420. /QhjSys/QueryUserNodeCfgAndStatus:
  26421. get:
  26422. parameters:
  26423. - description: 客户ID
  26424. in: query
  26425. name: userid
  26426. type: integer
  26427. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  26428. in: query
  26429. name: configid
  26430. type: integer
  26431. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  26432. in: query
  26433. name: nodetype
  26434. type: string
  26435. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  26436. in: query
  26437. name: goodsid
  26438. type: integer
  26439. - description: 协议ID
  26440. in: query
  26441. name: agreementid
  26442. type: integer
  26443. - description: 协议类型 - 1:注册 2:登录 3:交易
  26444. in: query
  26445. name: agreementtype
  26446. type: integer
  26447. - description: 协议版本号
  26448. in: query
  26449. name: agreementversion
  26450. type: integer
  26451. - description: 协议编号(模糊匹配)
  26452. in: query
  26453. name: agreementno
  26454. type: string
  26455. - description: 协议名称(模糊匹配)
  26456. in: query
  26457. name: agreementname
  26458. type: string
  26459. produces:
  26460. - application/json
  26461. responses:
  26462. "200":
  26463. description: OK
  26464. schema:
  26465. items:
  26466. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  26467. type: array
  26468. "500":
  26469. description: Internal Server Error
  26470. schema:
  26471. $ref: '#/definitions/app.Response'
  26472. security:
  26473. - ApiKeyAuth: []
  26474. summary: 查询用户协议节点配置和状态
  26475. tags:
  26476. - 大连千海金(协议和签约信息)
  26477. /Quote/QueryHistoryDatas:
  26478. get:
  26479. parameters:
  26480. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  26481. 日线 12:周线 13:月线 14:年线'
  26482. in: query
  26483. name: cycleType
  26484. required: true
  26485. type: integer
  26486. - description: 商品代码
  26487. in: query
  26488. name: goodsCode
  26489. required: true
  26490. type: string
  26491. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  26492. in: query
  26493. name: startTime
  26494. type: string
  26495. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  26496. in: query
  26497. name: endTime
  26498. type: string
  26499. - description: 条数
  26500. in: query
  26501. name: count
  26502. type: integer
  26503. - description: 是否按时间顺序排序(默认为时间倒序排序)
  26504. in: query
  26505. name: isAsc
  26506. type: boolean
  26507. produces:
  26508. - application/json
  26509. responses:
  26510. "200":
  26511. description: OK
  26512. schema:
  26513. $ref: '#/definitions/quote.HistoryData'
  26514. "500":
  26515. description: Internal Server Error
  26516. schema:
  26517. $ref: '#/definitions/app.Response'
  26518. security:
  26519. - ApiKeyAuth: []
  26520. summary: 查询行情历史数据
  26521. tags:
  26522. - 行情服务
  26523. /Quote/QueryHistoryTikDatas:
  26524. get:
  26525. parameters:
  26526. - description: 商品代码
  26527. in: query
  26528. name: goodsCode
  26529. required: true
  26530. type: string
  26531. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  26532. in: query
  26533. name: startTime
  26534. type: string
  26535. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  26536. in: query
  26537. name: endTime
  26538. type: string
  26539. - description: 条数
  26540. in: query
  26541. name: count
  26542. type: integer
  26543. - description: 是否按时间顺序排序(默认为时间倒序排序)
  26544. in: query
  26545. name: isAsc
  26546. type: boolean
  26547. produces:
  26548. - application/json
  26549. responses:
  26550. "200":
  26551. description: OK
  26552. schema:
  26553. $ref: '#/definitions/quote.HistoryTikData'
  26554. "500":
  26555. description: Internal Server Error
  26556. schema:
  26557. $ref: '#/definitions/app.Response'
  26558. security:
  26559. - ApiKeyAuth: []
  26560. summary: 查询行情Tik数据
  26561. tags:
  26562. - 行情服务
  26563. /Quote/QueryQuoteDay:
  26564. get:
  26565. parameters:
  26566. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  26567. in: query
  26568. name: goodsCodes
  26569. type: string
  26570. produces:
  26571. - application/json
  26572. responses:
  26573. "200":
  26574. description: OK
  26575. schema:
  26576. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  26577. "500":
  26578. description: Internal Server Error
  26579. schema:
  26580. $ref: '#/definitions/app.Response'
  26581. security:
  26582. - ApiKeyAuth: []
  26583. summary: 获取商品盘面信息
  26584. tags:
  26585. - 行情服务
  26586. /Quote/QueryTSData:
  26587. get:
  26588. parameters:
  26589. - description: 商品代码
  26590. in: query
  26591. name: goodsCode
  26592. required: true
  26593. type: string
  26594. produces:
  26595. - application/json
  26596. responses:
  26597. "200":
  26598. description: OK
  26599. schema:
  26600. $ref: '#/definitions/quote.QueryTSDataRsp'
  26601. "500":
  26602. description: Internal Server Error
  26603. schema:
  26604. $ref: '#/definitions/app.Response'
  26605. security:
  26606. - ApiKeyAuth: []
  26607. summary: 分时图数据查询
  26608. tags:
  26609. - 行情服务
  26610. /SZDZ/QueryConvertConfig:
  26611. get:
  26612. parameters:
  26613. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  26614. 6:交易转花生米(不设置)
  26615. in: query
  26616. name: convertType
  26617. type: integer
  26618. - description: 外部商品代码[JD\PD]
  26619. in: query
  26620. name: outerGoodsCode
  26621. type: string
  26622. - description: 内部商品ID列表[交易],格式:1,2,3
  26623. in: query
  26624. name: innerGoodsIDs
  26625. type: string
  26626. produces:
  26627. - application/json
  26628. responses:
  26629. "200":
  26630. description: OK
  26631. schema:
  26632. $ref: '#/definitions/models.Szdz3convertconfig'
  26633. "500":
  26634. description: Internal Server Error
  26635. schema:
  26636. $ref: '#/definitions/app.Response'
  26637. security:
  26638. - ApiKeyAuth: []
  26639. summary: 查询交易系统转换设置
  26640. tags:
  26641. - 定制【尚志大宗】
  26642. /SZDZ/QueryConvertLog:
  26643. get:
  26644. parameters:
  26645. - description: 资金账户 - 格式:1,2,3
  26646. in: query
  26647. name: accountID
  26648. required: true
  26649. type: string
  26650. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  26651. in: query
  26652. name: startDate
  26653. type: string
  26654. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  26655. in: query
  26656. name: endDate
  26657. type: string
  26658. produces:
  26659. - application/json
  26660. responses:
  26661. "200":
  26662. description: OK
  26663. schema:
  26664. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  26665. "500":
  26666. description: Internal Server Error
  26667. schema:
  26668. $ref: '#/definitions/app.Response'
  26669. security:
  26670. - ApiKeyAuth: []
  26671. summary: 交易系统转换流水查询
  26672. tags:
  26673. - 定制【尚志大宗】
  26674. /SZDZ/QueryGoodsPickup:
  26675. get:
  26676. parameters:
  26677. - description: 资金账户 - 格式:1,2,3
  26678. in: query
  26679. name: accountID
  26680. required: true
  26681. type: string
  26682. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  26683. in: query
  26684. name: takeOrderStatus
  26685. type: integer
  26686. produces:
  26687. - application/json
  26688. responses:
  26689. "200":
  26690. description: OK
  26691. schema:
  26692. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  26693. "500":
  26694. description: Internal Server Error
  26695. schema:
  26696. $ref: '#/definitions/app.Response'
  26697. security:
  26698. - ApiKeyAuth: []
  26699. summary: 商品提货单查询
  26700. tags:
  26701. - 定制【尚志大宗】
  26702. /SZDZ/QueryRecieptOrder:
  26703. get:
  26704. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  26705. parameters:
  26706. - description: 页码
  26707. in: query
  26708. name: page
  26709. type: integer
  26710. - description: 每页条数
  26711. in: query
  26712. name: pagesize
  26713. type: integer
  26714. - description: 商品ID
  26715. in: query
  26716. name: goodsID
  26717. required: true
  26718. type: integer
  26719. - description: 所属账户名称
  26720. in: query
  26721. name: accountName
  26722. type: string
  26723. - description: 市场ID
  26724. in: query
  26725. name: marketID
  26726. type: integer
  26727. - description: 方向 - 0:买 1:卖
  26728. in: query
  26729. name: buyorsell
  26730. required: true
  26731. type: integer
  26732. produces:
  26733. - application/json
  26734. responses:
  26735. "200":
  26736. description: OK
  26737. schema:
  26738. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  26739. "500":
  26740. description: Internal Server Error
  26741. schema:
  26742. $ref: '#/definitions/app.Response'
  26743. security:
  26744. - ApiKeyAuth: []
  26745. summary: 点选挂牌委托单据查询(摘牌大厅)
  26746. tags:
  26747. - 定制【尚志大宗】
  26748. /SZDZ/QuerySZDZTradePosition:
  26749. get:
  26750. parameters:
  26751. - description: 资金账户
  26752. in: query
  26753. name: accountID
  26754. required: true
  26755. type: integer
  26756. produces:
  26757. - application/json
  26758. responses:
  26759. "200":
  26760. description: OK
  26761. schema:
  26762. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  26763. "500":
  26764. description: Internal Server Error
  26765. schema:
  26766. $ref: '#/definitions/app.Response'
  26767. security:
  26768. - ApiKeyAuth: []
  26769. summary: 持仓汇总查询(尚志大宗)
  26770. tags:
  26771. - 定制【尚志大宗】
  26772. /SZDZ/SearchWhite:
  26773. get:
  26774. parameters:
  26775. - description: 用户ID
  26776. in: query
  26777. name: userID
  26778. required: true
  26779. type: integer
  26780. produces:
  26781. - application/json
  26782. responses:
  26783. "200":
  26784. description: OK
  26785. schema:
  26786. $ref: '#/definitions/models.Szdz3searchwhitelist'
  26787. "500":
  26788. description: Internal Server Error
  26789. schema:
  26790. $ref: '#/definitions/app.Response'
  26791. security:
  26792. - ApiKeyAuth: []
  26793. summary: 搜索白名单
  26794. tags:
  26795. - 定制【尚志大宗】
  26796. /Search/SearchGoodses:
  26797. get:
  26798. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  26799. parameters:
  26800. - description: 检索内容
  26801. in: query
  26802. name: content
  26803. required: true
  26804. type: string
  26805. - description: 交易模式,格式:1,2,3
  26806. in: query
  26807. name: tradeModes
  26808. type: string
  26809. produces:
  26810. - application/json
  26811. responses:
  26812. "200":
  26813. description: OK
  26814. schema:
  26815. $ref: '#/definitions/models.SearchGoods'
  26816. "500":
  26817. description: Internal Server Error
  26818. schema:
  26819. $ref: '#/definitions/app.Response'
  26820. summary: 检索商品信息
  26821. tags:
  26822. - 检索服务
  26823. /TaAccount/GetTaAccounts:
  26824. get:
  26825. parameters:
  26826. - description: 登录账户
  26827. in: query
  26828. name: loginID
  26829. required: true
  26830. type: integer
  26831. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  26832. in: query
  26833. name: taAccountType
  26834. type: integer
  26835. produces:
  26836. - application/json
  26837. responses:
  26838. "200":
  26839. description: OK
  26840. schema:
  26841. $ref: '#/definitions/models.Taaccount'
  26842. "500":
  26843. description: Internal Server Error
  26844. schema:
  26845. $ref: '#/definitions/app.Response'
  26846. security:
  26847. - ApiKeyAuth: []
  26848. summary: 获取资金账户信息
  26849. tags:
  26850. - 资金账户
  26851. /TaAccount/QueryAmountLog:
  26852. get:
  26853. parameters:
  26854. - description: 页码
  26855. in: query
  26856. name: page
  26857. type: integer
  26858. - description: 每页条数
  26859. in: query
  26860. name: pagesize
  26861. type: integer
  26862. - description: 资金账户 - 格式:1,2,3
  26863. in: query
  26864. name: accountID
  26865. required: true
  26866. type: string
  26867. - description: 资金操作类型 - 格式:1,2,3
  26868. in: query
  26869. name: OperateType
  26870. type: string
  26871. produces:
  26872. - application/json
  26873. responses:
  26874. "200":
  26875. description: OK
  26876. schema:
  26877. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  26878. "500":
  26879. description: Internal Server Error
  26880. schema:
  26881. $ref: '#/definitions/app.Response'
  26882. security:
  26883. - ApiKeyAuth: []
  26884. summary: 资金流水查询(当前)
  26885. tags:
  26886. - 资金账户
  26887. /TaAccount/QueryHisAmountLog:
  26888. get:
  26889. parameters:
  26890. - description: 页码
  26891. in: query
  26892. name: page
  26893. type: integer
  26894. - description: 每页条数
  26895. in: query
  26896. name: pagesize
  26897. type: integer
  26898. - description: 资金账户 - 格式:1,2,3
  26899. in: query
  26900. name: accountID
  26901. required: true
  26902. type: string
  26903. - description: 资金操作类型 - 格式:1,2,3
  26904. in: query
  26905. name: OperateType
  26906. type: string
  26907. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  26908. in: query
  26909. name: startDate
  26910. type: string
  26911. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  26912. in: query
  26913. name: endDate
  26914. type: string
  26915. produces:
  26916. - application/json
  26917. responses:
  26918. "200":
  26919. description: OK
  26920. schema:
  26921. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  26922. "500":
  26923. description: Internal Server Error
  26924. schema:
  26925. $ref: '#/definitions/app.Response'
  26926. security:
  26927. - ApiKeyAuth: []
  26928. summary: 资金流水查询(历史)
  26929. tags:
  26930. - 资金账户
  26931. /Tjmd/QueryQuoteGoodsList:
  26932. get:
  26933. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  26934. parameters:
  26935. - description: 用户类型
  26936. in: query
  26937. name: usertype
  26938. required: true
  26939. type: integer
  26940. - description: 市场id, 格式 1,2,3
  26941. in: query
  26942. name: marketids
  26943. type: string
  26944. - description: 商品组id
  26945. in: query
  26946. name: goodsgroupid
  26947. type: integer
  26948. - description: 商品id
  26949. in: query
  26950. name: goodsid
  26951. type: integer
  26952. produces:
  26953. - application/json
  26954. responses:
  26955. "200":
  26956. description: OK
  26957. schema:
  26958. items:
  26959. $ref: '#/definitions/models.TjmdQuoteGoods'
  26960. type: array
  26961. "500":
  26962. description: Internal Server Error
  26963. schema:
  26964. $ref: '#/definitions/app.Response'
  26965. security:
  26966. - ApiKeyAuth: []
  26967. summary: 查询掉期报价列表
  26968. tags:
  26969. - 天津麦顿
  26970. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  26971. get:
  26972. parameters:
  26973. - description: 成交单号
  26974. in: query
  26975. name: tradeid
  26976. required: true
  26977. type: string
  26978. produces:
  26979. - application/json
  26980. responses:
  26981. "200":
  26982. description: OK
  26983. schema:
  26984. items:
  26985. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  26986. type: array
  26987. "500":
  26988. description: Internal Server Error
  26989. schema:
  26990. $ref: '#/definitions/app.Response'
  26991. security:
  26992. - ApiKeyAuth: []
  26993. summary: 掉期商品订单详情(交易确认书)
  26994. tags:
  26995. - 天津麦顿
  26996. /Tjmd/QueryTjmdMarketSection:
  26997. get:
  26998. produces:
  26999. - application/json
  27000. responses:
  27001. "200":
  27002. description: OK
  27003. schema:
  27004. items:
  27005. $ref: '#/definitions/models.TjmdMarketSection'
  27006. type: array
  27007. "500":
  27008. description: Internal Server Error
  27009. schema:
  27010. $ref: '#/definitions/app.Response'
  27011. security:
  27012. - ApiKeyAuth: []
  27013. summary: 查询市场板块
  27014. tags:
  27015. - 天津麦顿
  27016. /Tjmd/QueryTjmdTodayAccountMargin:
  27017. get:
  27018. parameters:
  27019. - description: 市场id
  27020. in: query
  27021. name: marketid
  27022. type: string
  27023. - description: 商品id
  27024. in: query
  27025. name: goodsid
  27026. type: string
  27027. - description: 资金账号
  27028. in: query
  27029. name: accountid
  27030. type: string
  27031. produces:
  27032. - application/json
  27033. responses:
  27034. "200":
  27035. description: OK
  27036. schema:
  27037. items:
  27038. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  27039. type: array
  27040. "500":
  27041. description: Internal Server Error
  27042. schema:
  27043. $ref: '#/definitions/app.Response'
  27044. security:
  27045. - ApiKeyAuth: []
  27046. summary: 查询今日账户保证金配置
  27047. tags:
  27048. - 天津麦顿
  27049. /Tjmd/QueryTjmdTradeOrderDetail:
  27050. get:
  27051. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  27052. parameters:
  27053. - description: 页码
  27054. in: query
  27055. name: page
  27056. type: integer
  27057. - description: 每页条数
  27058. in: query
  27059. name: pagesize
  27060. type: integer
  27061. - description: 用户id
  27062. in: query
  27063. name: userid
  27064. required: true
  27065. type: integer
  27066. - description: 用户类型
  27067. in: query
  27068. name: usertype
  27069. required: true
  27070. type: integer
  27071. - description: 市场id, 格式 1,2,3
  27072. in: query
  27073. name: marketids
  27074. type: string
  27075. - description: 商品id
  27076. in: query
  27077. name: goodsid
  27078. required: true
  27079. type: integer
  27080. - description: 买卖方向 0-买 1-卖
  27081. in: query
  27082. name: buyorsell
  27083. required: true
  27084. type: integer
  27085. produces:
  27086. - application/json
  27087. responses:
  27088. "200":
  27089. description: OK
  27090. schema:
  27091. items:
  27092. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  27093. type: array
  27094. "500":
  27095. description: Internal Server Error
  27096. schema:
  27097. $ref: '#/definitions/app.Response'
  27098. security:
  27099. - ApiKeyAuth: []
  27100. summary: 查询掉期买卖大厅
  27101. tags:
  27102. - 天津麦顿
  27103. /Tjmd/QueryTjmdTransferApply:
  27104. get:
  27105. parameters:
  27106. - description: 类型 1-我的申请 2-对方申请
  27107. in: query
  27108. name: applytype
  27109. required: true
  27110. type: integer
  27111. - description: 市场id, 格式 1,2,3
  27112. in: query
  27113. name: marketids
  27114. type: string
  27115. - description: 资金账号, 格式 25000000001,25000000003
  27116. in: query
  27117. name: accountids
  27118. type: string
  27119. - description: 开始交易日(yyyymmdd)
  27120. in: query
  27121. name: begindate
  27122. type: string
  27123. - description: 结束交易日(yyyymmdd)
  27124. in: query
  27125. name: enddate
  27126. type: string
  27127. produces:
  27128. - application/json
  27129. responses:
  27130. "200":
  27131. description: OK
  27132. schema:
  27133. items:
  27134. $ref: '#/definitions/models.TjmdTransferApply'
  27135. type: array
  27136. "500":
  27137. description: Internal Server Error
  27138. schema:
  27139. $ref: '#/definitions/app.Response'
  27140. security:
  27141. - ApiKeyAuth: []
  27142. summary: 查询掉期协议单
  27143. tags:
  27144. - 天津麦顿
  27145. /Trade/QueryRecieptOrder:
  27146. get:
  27147. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  27148. parameters:
  27149. - description: 页码
  27150. in: query
  27151. name: page
  27152. type: integer
  27153. - description: 每页条数
  27154. in: query
  27155. name: pagesize
  27156. type: integer
  27157. - description: 商品ID
  27158. in: query
  27159. name: goodsID
  27160. required: true
  27161. type: integer
  27162. - description: 所属账户名称
  27163. in: query
  27164. name: accountName
  27165. type: string
  27166. - description: 市场ID
  27167. in: query
  27168. name: marketID
  27169. type: integer
  27170. - description: 方向 - 0:买 1:卖
  27171. in: query
  27172. name: buyorsell
  27173. required: true
  27174. type: integer
  27175. produces:
  27176. - application/json
  27177. responses:
  27178. "200":
  27179. description: OK
  27180. schema:
  27181. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  27182. "500":
  27183. description: Internal Server Error
  27184. schema:
  27185. $ref: '#/definitions/app.Response'
  27186. security:
  27187. - ApiKeyAuth: []
  27188. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  27189. tags:
  27190. - 通用交易
  27191. /User/AddMessageBoard:
  27192. post:
  27193. parameters:
  27194. - description: 用户ID
  27195. in: query
  27196. name: userID
  27197. required: true
  27198. type: integer
  27199. - description: 留言信息
  27200. in: query
  27201. name: message
  27202. required: true
  27203. type: string
  27204. - description: 联系电话
  27205. in: query
  27206. name: contactNum
  27207. required: true
  27208. type: string
  27209. produces:
  27210. - application/json
  27211. responses:
  27212. "200":
  27213. description: OK
  27214. schema:
  27215. $ref: '#/definitions/app.Response'
  27216. "500":
  27217. description: Internal Server Error
  27218. schema:
  27219. $ref: '#/definitions/app.Response'
  27220. security:
  27221. - ApiKeyAuth: []
  27222. summary: 添加用户留言板信息
  27223. tags:
  27224. - 用户信息
  27225. /User/AddUserFavoriteGoods:
  27226. post:
  27227. parameters:
  27228. - description: 用户ID
  27229. in: query
  27230. name: userID
  27231. required: true
  27232. type: integer
  27233. - description: 商品ID
  27234. in: query
  27235. name: goodsID
  27236. required: true
  27237. type: integer
  27238. produces:
  27239. - application/json
  27240. responses:
  27241. "200":
  27242. description: OK
  27243. schema:
  27244. $ref: '#/definitions/app.Response'
  27245. "500":
  27246. description: Internal Server Error
  27247. schema:
  27248. $ref: '#/definitions/app.Response'
  27249. security:
  27250. - ApiKeyAuth: []
  27251. summary: 添加用户商品收藏信息
  27252. tags:
  27253. - 用户信息
  27254. /User/GetLoginID:
  27255. get:
  27256. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  27257. parameters:
  27258. - description: 登录代码
  27259. in: query
  27260. name: username
  27261. required: true
  27262. type: string
  27263. produces:
  27264. - application/json
  27265. responses:
  27266. "200":
  27267. description: OK
  27268. schema:
  27269. $ref: '#/definitions/app.Response'
  27270. "500":
  27271. description: Internal Server Error
  27272. schema:
  27273. $ref: '#/definitions/app.Response'
  27274. summary: 获取登录ID
  27275. tags:
  27276. - 用户信息
  27277. /User/GetUserAccount:
  27278. get:
  27279. parameters:
  27280. - description: 用户ID
  27281. in: query
  27282. name: userID
  27283. required: true
  27284. type: integer
  27285. produces:
  27286. - application/json
  27287. responses:
  27288. "200":
  27289. description: OK
  27290. schema:
  27291. $ref: '#/definitions/models.Useraccount'
  27292. "500":
  27293. description: Internal Server Error
  27294. schema:
  27295. $ref: '#/definitions/app.Response'
  27296. security:
  27297. - ApiKeyAuth: []
  27298. summary: 获取用户账号信息
  27299. tags:
  27300. - 用户信息
  27301. /User/GetUserAuthStatus:
  27302. get:
  27303. parameters:
  27304. - description: 用户ID
  27305. in: query
  27306. name: userID
  27307. required: true
  27308. type: integer
  27309. produces:
  27310. - application/json
  27311. responses:
  27312. "200":
  27313. description: OK
  27314. schema:
  27315. $ref: '#/definitions/app.Response'
  27316. "500":
  27317. description: Internal Server Error
  27318. schema:
  27319. $ref: '#/definitions/app.Response'
  27320. security:
  27321. - ApiKeyAuth: []
  27322. summary: 获取用户实名认证状态
  27323. tags:
  27324. - 用户信息
  27325. /User/LoginQuery:
  27326. get:
  27327. parameters:
  27328. - description: 登录账号
  27329. in: query
  27330. name: loginID
  27331. required: true
  27332. type: integer
  27333. produces:
  27334. - application/json
  27335. responses:
  27336. "200":
  27337. description: OK
  27338. schema:
  27339. $ref: '#/definitions/user.LoginQueryRsp'
  27340. "500":
  27341. description: Internal Server Error
  27342. schema:
  27343. $ref: '#/definitions/app.Response'
  27344. security:
  27345. - ApiKeyAuth: []
  27346. summary: 账户登录后信息查询
  27347. tags:
  27348. - 用户信息
  27349. /User/QueryMessageBoard:
  27350. get:
  27351. parameters:
  27352. - description: 用户ID
  27353. in: query
  27354. name: userID
  27355. required: true
  27356. type: integer
  27357. produces:
  27358. - application/json
  27359. responses:
  27360. "200":
  27361. description: OK
  27362. schema:
  27363. $ref: '#/definitions/models.Messageboard'
  27364. "500":
  27365. description: Internal Server Error
  27366. schema:
  27367. $ref: '#/definitions/app.Response'
  27368. security:
  27369. - ApiKeyAuth: []
  27370. summary: 获取用户留言板信息
  27371. tags:
  27372. - 用户信息
  27373. /User/QueryUserFavoriteGoodses:
  27374. get:
  27375. parameters:
  27376. - description: 用户ID
  27377. in: query
  27378. name: userID
  27379. required: true
  27380. type: integer
  27381. produces:
  27382. - application/json
  27383. responses:
  27384. "200":
  27385. description: OK
  27386. schema:
  27387. $ref: '#/definitions/models.Userfavoritegoods'
  27388. "500":
  27389. description: Internal Server Error
  27390. schema:
  27391. $ref: '#/definitions/app.Response'
  27392. security:
  27393. - ApiKeyAuth: []
  27394. summary: 获取用户商品收藏信息
  27395. tags:
  27396. - 用户信息
  27397. /User/QueryUserInfo:
  27398. get:
  27399. parameters:
  27400. - description: 用户ID
  27401. in: query
  27402. name: userID
  27403. required: true
  27404. type: integer
  27405. - description: 是否解密
  27406. in: query
  27407. name: isDecrypt
  27408. type: boolean
  27409. produces:
  27410. - application/json
  27411. responses:
  27412. "200":
  27413. description: OK
  27414. schema:
  27415. $ref: '#/definitions/models.Userinfo'
  27416. "500":
  27417. description: Internal Server Error
  27418. schema:
  27419. $ref: '#/definitions/app.Response'
  27420. security:
  27421. - ApiKeyAuth: []
  27422. summary: 获取用户信息
  27423. tags:
  27424. - 用户信息
  27425. /User/QueryUserReferNum:
  27426. get:
  27427. parameters:
  27428. - description: 用户ID
  27429. in: query
  27430. name: userID
  27431. required: true
  27432. type: integer
  27433. produces:
  27434. - application/json
  27435. responses:
  27436. "200":
  27437. description: OK
  27438. schema:
  27439. $ref: '#/definitions/app.Response'
  27440. "500":
  27441. description: Internal Server Error
  27442. schema:
  27443. $ref: '#/definitions/app.Response'
  27444. summary: 获取用户邀请码
  27445. tags:
  27446. - 用户信息
  27447. /User/RemoveUserFavoriteGoods:
  27448. post:
  27449. parameters:
  27450. - description: 用户ID
  27451. in: query
  27452. name: userID
  27453. required: true
  27454. type: integer
  27455. - description: 商品ID
  27456. in: query
  27457. name: goodsID
  27458. required: true
  27459. type: integer
  27460. produces:
  27461. - application/json
  27462. responses:
  27463. "200":
  27464. description: OK
  27465. schema:
  27466. $ref: '#/definitions/app.Response'
  27467. "500":
  27468. description: Internal Server Error
  27469. schema:
  27470. $ref: '#/definitions/app.Response'
  27471. security:
  27472. - ApiKeyAuth: []
  27473. summary: 移除用户商品收藏信息
  27474. tags:
  27475. - 用户信息
  27476. /User/UpdateUserAccountStatus:
  27477. post:
  27478. parameters:
  27479. - description: 用户ID
  27480. in: query
  27481. name: userID
  27482. required: true
  27483. type: integer
  27484. - description: 账户状态 - 4:正常 6:注销(停用)
  27485. in: query
  27486. name: accountStatus
  27487. required: true
  27488. type: integer
  27489. produces:
  27490. - application/json
  27491. responses:
  27492. "200":
  27493. description: OK
  27494. schema:
  27495. $ref: '#/definitions/app.Response'
  27496. "500":
  27497. description: Internal Server Error
  27498. schema:
  27499. $ref: '#/definitions/app.Response'
  27500. security:
  27501. - ApiKeyAuth: []
  27502. summary: 更新用户状态
  27503. tags:
  27504. - 用户信息
  27505. /WRTrade/GetAllDeliveryGoods:
  27506. get:
  27507. produces:
  27508. - application/json
  27509. responses:
  27510. "200":
  27511. description: OK
  27512. schema:
  27513. $ref: '#/definitions/app.Response'
  27514. "500":
  27515. description: Internal Server Error
  27516. schema:
  27517. $ref: '#/definitions/app.Response'
  27518. security:
  27519. - ApiKeyAuth: []
  27520. summary: 获取带仓单分类的种类信息
  27521. tags:
  27522. - 仓单贸易
  27523. - 仓单贸易
  27524. /WrTrade2/QueryDeliveryGoodsSection:
  27525. get:
  27526. produces:
  27527. - application/json
  27528. responses:
  27529. "200":
  27530. description: OK
  27531. schema:
  27532. items:
  27533. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  27534. type: array
  27535. "500":
  27536. description: Internal Server Error
  27537. schema:
  27538. $ref: '#/definitions/app.Response'
  27539. security:
  27540. - ApiKeyAuth: []
  27541. summary: 查询板块(分类)
  27542. tags:
  27543. - 仓单贸易v2
  27544. /WrTrade2/QueryFaProductDetail:
  27545. get:
  27546. description: 页面 买卖大厅 -> 选择融资方案
  27547. parameters:
  27548. - description: 仓单要素id
  27549. in: query
  27550. name: wrfactortypeid
  27551. required: true
  27552. type: integer
  27553. produces:
  27554. - application/json
  27555. responses:
  27556. "200":
  27557. description: OK
  27558. schema:
  27559. items:
  27560. $ref: '#/definitions/models.WrFAProductDetail'
  27561. type: array
  27562. "500":
  27563. description: Internal Server Error
  27564. schema:
  27565. $ref: '#/definitions/app.Response'
  27566. security:
  27567. - ApiKeyAuth: []
  27568. summary: 查询融资产品列表
  27569. tags:
  27570. - 仓单贸易v2
  27571. /WrTrade2/QueryFilterItem:
  27572. get:
  27573. parameters:
  27574. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  27575. in: query
  27576. name: itype
  27577. required: true
  27578. type: string
  27579. produces:
  27580. - application/json
  27581. responses:
  27582. "200":
  27583. description: OK
  27584. schema:
  27585. items:
  27586. $ref: '#/definitions/models.WrFilterItem'
  27587. type: array
  27588. "500":
  27589. description: Internal Server Error
  27590. schema:
  27591. $ref: '#/definitions/app.Response'
  27592. security:
  27593. - ApiKeyAuth: []
  27594. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  27595. tags:
  27596. - 仓单贸易v2
  27597. /WrTrade2/QueryFtDeliveryGoods:
  27598. get:
  27599. produces:
  27600. - application/json
  27601. responses:
  27602. "200":
  27603. description: OK
  27604. schema:
  27605. items:
  27606. $ref: '#/definitions/models.WrFtDeliveryGoods'
  27607. type: array
  27608. "500":
  27609. description: Internal Server Error
  27610. schema:
  27611. $ref: '#/definitions/app.Response'
  27612. security:
  27613. - ApiKeyAuth: []
  27614. summary: 查询品种品类筛选框列表
  27615. tags:
  27616. - 仓单贸易v2
  27617. /WrTrade2/QueryHoldLB:
  27618. get:
  27619. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  27620. parameters:
  27621. - description: 资金账号
  27622. in: query
  27623. name: accountid
  27624. required: true
  27625. type: integer
  27626. - description: 仓库id
  27627. in: query
  27628. name: warehouseid
  27629. type: integer
  27630. - description: 品种id
  27631. in: query
  27632. name: deliverygoodsid
  27633. type: integer
  27634. - description: 品类id
  27635. in: query
  27636. name: wrstandardid
  27637. type: integer
  27638. - description: 仓单要素id
  27639. in: query
  27640. name: wrfactortypeid
  27641. type: integer
  27642. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27643. in: query
  27644. name: dgitemname
  27645. type: string
  27646. produces:
  27647. - application/json
  27648. responses:
  27649. "200":
  27650. description: OK
  27651. schema:
  27652. items:
  27653. $ref: '#/definitions/models.WrHoldLB'
  27654. type: array
  27655. "500":
  27656. description: Internal Server Error
  27657. schema:
  27658. $ref: '#/definitions/app.Response'
  27659. security:
  27660. - ApiKeyAuth: []
  27661. summary: 查询仓单持有记录
  27662. tags:
  27663. - 仓单贸易v2
  27664. /WrTrade2/QueryOrderQuote:
  27665. get:
  27666. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  27667. 唯一确定1条记录
  27668. parameters:
  27669. - description: 页码
  27670. in: query
  27671. name: page
  27672. type: integer
  27673. - description: 每页条数
  27674. in: query
  27675. name: pagesize
  27676. type: integer
  27677. - description: 仓单贸易市场id
  27678. in: query
  27679. name: marketid
  27680. type: integer
  27681. - description: 价格方式 - 1:固定价 2-浮动价
  27682. in: query
  27683. name: wrpricetype
  27684. required: true
  27685. type: integer
  27686. - description: 0:仓单预售 1:仓单贸易
  27687. in: query
  27688. name: haswr
  27689. type: integer
  27690. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27691. in: query
  27692. name: dgitemname
  27693. type: string
  27694. - description: 仓库id(筛选条件)
  27695. in: query
  27696. name: warehouseid
  27697. type: integer
  27698. - description: 品种id
  27699. in: query
  27700. name: deliverygoodsid
  27701. type: integer
  27702. - description: 品类id
  27703. in: query
  27704. name: wrstandardid
  27705. type: integer
  27706. - description: 品牌id(dgfactoryitemid)
  27707. in: query
  27708. name: brandid
  27709. type: integer
  27710. - description: 年份id(dgfactoryitemid)
  27711. in: query
  27712. name: yearsid
  27713. type: integer
  27714. - description: 仓单要素id
  27715. in: query
  27716. name: wrfactortypeid
  27717. type: integer
  27718. - description: 交收月(yyyy-mm) 仓单预售填写
  27719. in: query
  27720. name: deliverymonth
  27721. type: string
  27722. produces:
  27723. - application/json
  27724. responses:
  27725. "200":
  27726. description: OK
  27727. schema:
  27728. items:
  27729. $ref: '#/definitions/models.WrOrderQuote'
  27730. type: array
  27731. "500":
  27732. description: Internal Server Error
  27733. schema:
  27734. $ref: '#/definitions/app.Response'
  27735. security:
  27736. - ApiKeyAuth: []
  27737. summary: 查询大厅行情列表
  27738. tags:
  27739. - 仓单贸易v2
  27740. /WrTrade2/QueryOrderQuoteDetail:
  27741. get:
  27742. parameters:
  27743. - description: 页码
  27744. in: query
  27745. name: page
  27746. type: integer
  27747. - description: 每页条数
  27748. in: query
  27749. name: pagesize
  27750. type: integer
  27751. - description: 仓单贸易市场id
  27752. in: query
  27753. name: marketid
  27754. type: integer
  27755. - description: 价格方式 - 1:固定价 2-浮动价
  27756. in: query
  27757. name: wrpricetype
  27758. required: true
  27759. type: integer
  27760. - description: 0:仓单预售 1:仓单贸易
  27761. in: query
  27762. name: haswr
  27763. type: integer
  27764. - description: 仓单要素id
  27765. in: query
  27766. name: wrfactortypeid
  27767. required: true
  27768. type: integer
  27769. - description: 期货商品id(浮动价方式时填)
  27770. in: query
  27771. name: goodsid
  27772. type: integer
  27773. - description: 买卖方向 0-买 1-卖
  27774. in: query
  27775. name: buyorsell
  27776. required: true
  27777. type: integer
  27778. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  27779. in: query
  27780. name: deliverymonth
  27781. type: string
  27782. produces:
  27783. - application/json
  27784. responses:
  27785. "200":
  27786. description: OK
  27787. schema:
  27788. items:
  27789. $ref: '#/definitions/models.WrOrderQuoteDetail'
  27790. type: array
  27791. "500":
  27792. description: Internal Server Error
  27793. schema:
  27794. $ref: '#/definitions/app.Response'
  27795. security:
  27796. - ApiKeyAuth: []
  27797. summary: 查询买卖大厅
  27798. tags:
  27799. - 仓单贸易v2
  27800. /WrTrade2/QueryOrderQuoteMyq:
  27801. get:
  27802. parameters:
  27803. - description: 页码
  27804. in: query
  27805. name: page
  27806. type: integer
  27807. - description: 每页条数
  27808. in: query
  27809. name: pagesize
  27810. type: integer
  27811. - description: 用户id
  27812. in: query
  27813. name: userid
  27814. required: true
  27815. type: integer
  27816. - description: 仓单贸易市场id
  27817. in: query
  27818. name: marketid
  27819. type: integer
  27820. - description: 0:仓单预售 1:仓单贸易
  27821. in: query
  27822. name: haswr
  27823. type: integer
  27824. - description: 买卖方向 0-买 1-卖
  27825. in: query
  27826. name: buyorsell
  27827. required: true
  27828. type: integer
  27829. - description: 品种id
  27830. in: query
  27831. name: deliverygoodsid
  27832. type: integer
  27833. - description: 品类id
  27834. in: query
  27835. name: wrstandardid
  27836. type: integer
  27837. - description: 交收月(yyyy-mm) 仓单预售填写
  27838. in: query
  27839. name: deliverymonth
  27840. type: string
  27841. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27842. in: query
  27843. name: dgitemname
  27844. type: string
  27845. produces:
  27846. - application/json
  27847. responses:
  27848. "200":
  27849. description: OK
  27850. schema:
  27851. items:
  27852. $ref: '#/definitions/models.WrQuoteOrderMyq'
  27853. type: array
  27854. "500":
  27855. description: Internal Server Error
  27856. schema:
  27857. $ref: '#/definitions/app.Response'
  27858. security:
  27859. - ApiKeyAuth: []
  27860. summary: 查询贸易圈挂牌大厅
  27861. tags:
  27862. - 仓单贸易v2
  27863. /WrTrade2/QueryPerformancePlan:
  27864. get:
  27865. parameters:
  27866. - description: 用户id
  27867. in: query
  27868. name: userid
  27869. required: true
  27870. type: integer
  27871. - description: 买卖方向 0-买 1-卖
  27872. in: query
  27873. name: buyorsell
  27874. required: true
  27875. type: integer
  27876. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  27877. 8:释放冻结失败 9:超时待处理 10:超时关闭
  27878. in: query
  27879. name: status
  27880. type: string
  27881. - description: 开始交易日(yyyymmdd)
  27882. in: query
  27883. name: begindate
  27884. type: string
  27885. - description: 结束交易日(yyyymmdd)
  27886. in: query
  27887. name: enddate
  27888. type: string
  27889. produces:
  27890. - application/json
  27891. responses:
  27892. "200":
  27893. description: OK
  27894. schema:
  27895. items:
  27896. $ref: '#/definitions/models.WrPerformancePlan'
  27897. type: array
  27898. "500":
  27899. description: Internal Server Error
  27900. schema:
  27901. $ref: '#/definitions/app.Response'
  27902. security:
  27903. - ApiKeyAuth: []
  27904. summary: 查询履约信息
  27905. tags:
  27906. - 仓单贸易v2
  27907. /WrTrade2/QueryPermancePlanTmp:
  27908. get:
  27909. description: |-
  27910. 返回指定用户的模板和公共模板(用户id为空)
  27911. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  27912. parameters:
  27913. - description: 用户id
  27914. in: query
  27915. name: userid
  27916. type: integer
  27917. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  27918. (无仓单) 5:挂牌期权 6:竞拍-降价式
  27919. in: query
  27920. name: tmptype
  27921. type: string
  27922. - description: 是否包含公共模板(用户id为空的) 1-包含
  27923. in: query
  27924. name: includepub
  27925. type: integer
  27926. - description: 市场id(天津麦顿指定此参数,其它不用)
  27927. in: query
  27928. name: marketid
  27929. type: integer
  27930. produces:
  27931. - application/json
  27932. responses:
  27933. "200":
  27934. description: OK
  27935. schema:
  27936. items:
  27937. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  27938. type: array
  27939. "500":
  27940. description: Internal Server Error
  27941. schema:
  27942. $ref: '#/definitions/app.Response'
  27943. security:
  27944. - ApiKeyAuth: []
  27945. summary: 查询履约模板
  27946. tags:
  27947. - 仓单贸易v2
  27948. /WrTrade2/QuerySiteColumnDetail:
  27949. get:
  27950. parameters:
  27951. - description: 页码
  27952. in: query
  27953. name: page
  27954. type: integer
  27955. - description: 每页条数
  27956. in: query
  27957. name: pagesize
  27958. type: integer
  27959. - description: 所属栏目id
  27960. in: query
  27961. name: columnid
  27962. type: integer
  27963. produces:
  27964. - application/json
  27965. responses:
  27966. "200":
  27967. description: OK
  27968. schema:
  27969. items:
  27970. $ref: '#/definitions/models.WrSiteColumnDetail'
  27971. type: array
  27972. "500":
  27973. description: Internal Server Error
  27974. schema:
  27975. $ref: '#/definitions/app.Response'
  27976. security:
  27977. - ApiKeyAuth: []
  27978. summary: 查询资讯
  27979. tags:
  27980. - 仓单贸易v2
  27981. /WrTrade2/QuerySpotGroupTradeSum:
  27982. get:
  27983. produces:
  27984. - application/json
  27985. responses:
  27986. "200":
  27987. description: OK
  27988. schema:
  27989. items:
  27990. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  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/QuerySpotGroupTradeSumDetail:
  28002. get:
  28003. description: 查询的结果将会按日期 从小到大 排序
  28004. parameters:
  28005. - description: 现货商品id
  28006. in: query
  28007. name: deliverygoodsid
  28008. required: true
  28009. type: integer
  28010. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  28011. in: query
  28012. name: lastnum
  28013. type: integer
  28014. produces:
  28015. - application/json
  28016. responses:
  28017. "200":
  28018. description: OK
  28019. schema:
  28020. items:
  28021. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  28022. type: array
  28023. "500":
  28024. description: Internal Server Error
  28025. schema:
  28026. $ref: '#/definitions/app.Response'
  28027. security:
  28028. - ApiKeyAuth: []
  28029. summary: 查询指数详细(价格走势图)
  28030. tags:
  28031. - 仓单贸易v2
  28032. /WrTrade2/QueryWrAverageTradePrice:
  28033. get:
  28034. parameters:
  28035. - description: 页码
  28036. in: query
  28037. name: page
  28038. type: integer
  28039. - description: 每页条数
  28040. in: query
  28041. name: pagesize
  28042. type: integer
  28043. - description: 0:仓单预售 1:仓单贸易
  28044. in: query
  28045. name: haswr
  28046. required: true
  28047. type: integer
  28048. - description: 仓单要素id
  28049. in: query
  28050. name: wrfactortypeid
  28051. required: true
  28052. type: integer
  28053. produces:
  28054. - application/json
  28055. responses:
  28056. "200":
  28057. description: OK
  28058. schema:
  28059. items:
  28060. $ref: '#/definitions/models.WrAverageTradePrice'
  28061. type: array
  28062. "500":
  28063. description: Internal Server Error
  28064. schema:
  28065. $ref: '#/definitions/app.Response'
  28066. security:
  28067. - ApiKeyAuth: []
  28068. summary: 查询成交价(历史走势)
  28069. tags:
  28070. - 仓单贸易v2
  28071. /WrTrade2/QueryWrBrandAndYears:
  28072. get:
  28073. produces:
  28074. - application/json
  28075. responses:
  28076. "200":
  28077. description: OK
  28078. schema:
  28079. items:
  28080. $ref: '#/definitions/models.WrBrandAndYears'
  28081. type: array
  28082. "500":
  28083. description: Internal Server Error
  28084. schema:
  28085. $ref: '#/definitions/app.Response'
  28086. security:
  28087. - ApiKeyAuth: []
  28088. summary: 查询品牌和年份
  28089. tags:
  28090. - 仓单贸易v2
  28091. /WrTrade2/QueryWrBsGoodsInfo:
  28092. get:
  28093. description: 合约交易/买卖大厅/详情
  28094. parameters:
  28095. - description: 商品id
  28096. in: query
  28097. name: goodsid
  28098. required: true
  28099. type: integer
  28100. produces:
  28101. - application/json
  28102. responses:
  28103. "200":
  28104. description: OK
  28105. schema:
  28106. items:
  28107. $ref: '#/definitions/models.WrBsGoodsInfo'
  28108. type: array
  28109. "500":
  28110. description: Internal Server Error
  28111. schema:
  28112. $ref: '#/definitions/app.Response'
  28113. security:
  28114. - ApiKeyAuth: []
  28115. summary: 查询合约交易买卖大厅详情
  28116. tags:
  28117. - 仓单贸易v2
  28118. /WrTrade2/QueryWrBuybackDetail:
  28119. get:
  28120. parameters:
  28121. - description: 融资合同id
  28122. in: query
  28123. name: scfcontractid
  28124. type: integer
  28125. produces:
  28126. - application/json
  28127. responses:
  28128. "200":
  28129. description: OK
  28130. schema:
  28131. items:
  28132. $ref: '#/definitions/models.WrBuybackDetail'
  28133. type: array
  28134. "500":
  28135. description: Internal Server Error
  28136. schema:
  28137. $ref: '#/definitions/app.Response'
  28138. security:
  28139. - ApiKeyAuth: []
  28140. summary: 查询仓单回购明细
  28141. tags:
  28142. - 仓单贸易v2
  28143. /WrTrade2/QueryWrClientAdSpaceConfig:
  28144. get:
  28145. produces:
  28146. - application/json
  28147. responses:
  28148. "200":
  28149. description: OK
  28150. schema:
  28151. items:
  28152. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  28153. type: array
  28154. "500":
  28155. description: Internal Server Error
  28156. schema:
  28157. $ref: '#/definitions/app.Response'
  28158. security:
  28159. - ApiKeyAuth: []
  28160. summary: 查询固定广告配置
  28161. tags:
  28162. - 仓单贸易v2
  28163. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  28164. get:
  28165. parameters:
  28166. - description: 资金账号
  28167. in: query
  28168. name: accountid
  28169. required: true
  28170. type: integer
  28171. - description: 商品id
  28172. in: query
  28173. name: goodsid
  28174. required: true
  28175. type: integer
  28176. produces:
  28177. - application/json
  28178. responses:
  28179. "200":
  28180. description: OK
  28181. schema:
  28182. items:
  28183. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  28184. type: array
  28185. "500":
  28186. description: Internal Server Error
  28187. schema:
  28188. $ref: '#/definitions/app.Response'
  28189. security:
  28190. - ApiKeyAuth: []
  28191. summary: 查询合约交收可点选仓单
  28192. tags:
  28193. - 仓单贸易v2
  28194. /WrTrade2/QueryWrDeliveryDetail:
  28195. get:
  28196. parameters:
  28197. - description: 用户id
  28198. in: query
  28199. name: userid
  28200. required: true
  28201. type: integer
  28202. - description: 资金账号id
  28203. in: query
  28204. name: accountid
  28205. type: integer
  28206. - description: 开始交易日(yyyymmdd)
  28207. in: query
  28208. name: begindate
  28209. type: string
  28210. - description: 结束交易日(yyyymmdd)
  28211. in: query
  28212. name: enddate
  28213. type: string
  28214. produces:
  28215. - application/json
  28216. responses:
  28217. "200":
  28218. description: OK
  28219. schema:
  28220. items:
  28221. $ref: '#/definitions/models.WrDeliveryDetail'
  28222. type: array
  28223. "500":
  28224. description: Internal Server Error
  28225. schema:
  28226. $ref: '#/definitions/app.Response'
  28227. security:
  28228. - ApiKeyAuth: []
  28229. summary: 查询交收
  28230. tags:
  28231. - 仓单贸易v2
  28232. /WrTrade2/QueryWrDraftUserInfo:
  28233. get:
  28234. parameters:
  28235. - description: 用户ID
  28236. in: query
  28237. name: userid
  28238. required: true
  28239. type: integer
  28240. - description: 用户状态 1:正常 2:注销
  28241. in: query
  28242. name: userstatus
  28243. type: integer
  28244. produces:
  28245. - application/json
  28246. responses:
  28247. "200":
  28248. description: OK
  28249. schema:
  28250. items:
  28251. $ref: '#/definitions/models.WrDraftUserInfo'
  28252. type: array
  28253. "500":
  28254. description: Internal Server Error
  28255. schema:
  28256. $ref: '#/definitions/app.Response'
  28257. security:
  28258. - ApiKeyAuth: []
  28259. summary: 查询实名认证信息
  28260. tags:
  28261. - 仓单贸易v2
  28262. /WrTrade2/QueryWrFactorTypeInfo:
  28263. get:
  28264. parameters:
  28265. - description: 仓单要素id
  28266. in: query
  28267. name: wrfactortypeid
  28268. required: true
  28269. type: integer
  28270. produces:
  28271. - application/json
  28272. responses:
  28273. "200":
  28274. description: OK
  28275. schema:
  28276. items:
  28277. $ref: '#/definitions/models.WrFactorTypeInfo'
  28278. type: array
  28279. "500":
  28280. description: Internal Server Error
  28281. schema:
  28282. $ref: '#/definitions/app.Response'
  28283. security:
  28284. - ApiKeyAuth: []
  28285. summary: 查询仓单要素详细信息
  28286. tags:
  28287. - 仓单贸易v2
  28288. /WrTrade2/QueryWrFactorTypeInfoEx:
  28289. get:
  28290. parameters:
  28291. - description: 仓单要素id
  28292. in: query
  28293. name: wrfactortypeid
  28294. required: true
  28295. type: integer
  28296. produces:
  28297. - application/json
  28298. responses:
  28299. "200":
  28300. description: OK
  28301. schema:
  28302. items:
  28303. $ref: '#/definitions/models.WrTypeItem'
  28304. type: array
  28305. "500":
  28306. description: Internal Server Error
  28307. schema:
  28308. $ref: '#/definitions/app.Response'
  28309. security:
  28310. - ApiKeyAuth: []
  28311. summary: 查询仓单要素详细信息列表项
  28312. tags:
  28313. - 仓单贸易v2
  28314. /WrTrade2/QueryWrFinanceBuyApply:
  28315. get:
  28316. description: 页面 融资信息+ / 申请单
  28317. parameters:
  28318. - description: 用户id
  28319. in: query
  28320. name: userid
  28321. required: true
  28322. type: integer
  28323. produces:
  28324. - application/json
  28325. responses:
  28326. "200":
  28327. description: OK
  28328. schema:
  28329. items:
  28330. $ref: '#/definitions/models.WrFinanceBuyApply'
  28331. type: array
  28332. "500":
  28333. description: Internal Server Error
  28334. schema:
  28335. $ref: '#/definitions/app.Response'
  28336. security:
  28337. - ApiKeyAuth: []
  28338. summary: 查询融资购买申请
  28339. tags:
  28340. - 仓单贸易v2
  28341. /WrTrade2/QueryWrFriendApply:
  28342. get:
  28343. parameters:
  28344. - description: 用户id
  28345. in: query
  28346. name: userid
  28347. required: true
  28348. type: integer
  28349. produces:
  28350. - application/json
  28351. responses:
  28352. "200":
  28353. description: OK
  28354. schema:
  28355. items:
  28356. $ref: '#/definitions/models.WrFriendApply'
  28357. type: array
  28358. "500":
  28359. description: Internal Server Error
  28360. schema:
  28361. $ref: '#/definitions/app.Response'
  28362. security:
  28363. - ApiKeyAuth: []
  28364. summary: 查询好友申请记录
  28365. tags:
  28366. - 仓单贸易v2
  28367. /WrTrade2/QueryWrGoodsInfo:
  28368. get:
  28369. parameters:
  28370. - description: 仓单贸易市场id
  28371. in: query
  28372. name: marketid
  28373. type: integer
  28374. - description: 0:仓单预售 1:仓单贸易
  28375. in: query
  28376. name: haswr
  28377. required: true
  28378. type: integer
  28379. - description: 仓单要素id
  28380. in: query
  28381. name: wrfactortypeid
  28382. required: true
  28383. type: integer
  28384. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  28385. in: query
  28386. name: tmplateid
  28387. type: integer
  28388. produces:
  28389. - application/json
  28390. responses:
  28391. "200":
  28392. description: OK
  28393. schema:
  28394. items:
  28395. $ref: '#/definitions/models.WrGoodsInfo'
  28396. type: array
  28397. "500":
  28398. description: Internal Server Error
  28399. schema:
  28400. $ref: '#/definitions/app.Response'
  28401. security:
  28402. - ApiKeyAuth: []
  28403. summary: 查询仓单商品信息
  28404. tags:
  28405. - 仓单贸易v2
  28406. /WrTrade2/QueryWrMarketTradeConfig:
  28407. get:
  28408. parameters:
  28409. - description: 市场id
  28410. in: query
  28411. name: marketid
  28412. type: integer
  28413. produces:
  28414. - application/json
  28415. responses:
  28416. "200":
  28417. description: OK
  28418. schema:
  28419. items:
  28420. $ref: '#/definitions/models.WrMarketTradeConfig'
  28421. type: array
  28422. "500":
  28423. description: Internal Server Error
  28424. schema:
  28425. $ref: '#/definitions/app.Response'
  28426. security:
  28427. - ApiKeyAuth: []
  28428. summary: 查询市场交易参数配置
  28429. tags:
  28430. - 仓单贸易v2
  28431. /WrTrade2/QueryWrOrderDetail:
  28432. get:
  28433. description: 页面 现货仓单 | 预售仓单 -> 委托单
  28434. parameters:
  28435. - description: 页码
  28436. in: query
  28437. name: page
  28438. type: integer
  28439. - description: 每页条数
  28440. in: query
  28441. name: pagesize
  28442. type: integer
  28443. - description: 用户id
  28444. in: query
  28445. name: userid
  28446. required: true
  28447. type: integer
  28448. - description: 仓单贸易市场id
  28449. in: query
  28450. name: marketid
  28451. type: integer
  28452. - description: 0:仓单预售 1:仓单贸易
  28453. in: query
  28454. name: haswr
  28455. required: true
  28456. type: integer
  28457. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  28458. in: query
  28459. name: bcancel
  28460. type: integer
  28461. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  28462. in: query
  28463. name: wrtradetype
  28464. type: integer
  28465. - description: 开始交易日(yyyymmdd)
  28466. in: query
  28467. name: begindate
  28468. type: string
  28469. - description: 结束交易日(yyyymmdd)
  28470. in: query
  28471. name: enddate
  28472. type: string
  28473. produces:
  28474. - application/json
  28475. responses:
  28476. "200":
  28477. description: OK
  28478. schema:
  28479. items:
  28480. $ref: '#/definitions/models.WrOrderDetail'
  28481. type: array
  28482. "500":
  28483. description: Internal Server Error
  28484. schema:
  28485. $ref: '#/definitions/app.Response'
  28486. security:
  28487. - ApiKeyAuth: []
  28488. summary: 查询仓单委托单
  28489. tags:
  28490. - 仓单贸易v2
  28491. /WrTrade2/QueryWrOutInApply:
  28492. get:
  28493. parameters:
  28494. - description: 用户id
  28495. in: query
  28496. name: userid
  28497. required: true
  28498. type: integer
  28499. - description: 开始交易日(yyyymmdd)
  28500. in: query
  28501. name: begindate
  28502. type: string
  28503. - description: 结束交易日(yyyymmdd)
  28504. in: query
  28505. name: enddate
  28506. type: string
  28507. produces:
  28508. - application/json
  28509. responses:
  28510. "200":
  28511. description: OK
  28512. schema:
  28513. items:
  28514. $ref: '#/definitions/models.WrOutInApply'
  28515. type: array
  28516. "500":
  28517. description: Internal Server Error
  28518. schema:
  28519. $ref: '#/definitions/app.Response'
  28520. security:
  28521. - ApiKeyAuth: []
  28522. summary: 查询提货申请
  28523. tags:
  28524. - 仓单贸易v2
  28525. /WrTrade2/QueryWrPerformancePlanStep:
  28526. get:
  28527. parameters:
  28528. - description: 履约计划id(performanceplanid)
  28529. in: query
  28530. name: planid
  28531. required: true
  28532. type: integer
  28533. - description: 当前步骤id
  28534. in: query
  28535. name: curstepid
  28536. type: integer
  28537. produces:
  28538. - application/json
  28539. responses:
  28540. "200":
  28541. description: OK
  28542. schema:
  28543. items:
  28544. $ref: '#/definitions/models.WrPerformancePlanStep'
  28545. type: array
  28546. "500":
  28547. description: Internal Server Error
  28548. schema:
  28549. $ref: '#/definitions/app.Response'
  28550. security:
  28551. - ApiKeyAuth: []
  28552. summary: 查询履约信息详情
  28553. tags:
  28554. - 仓单贸易v2
  28555. /WrTrade2/QueryWrPerformanceStepType:
  28556. get:
  28557. produces:
  28558. - application/json
  28559. responses:
  28560. "200":
  28561. description: OK
  28562. schema:
  28563. items:
  28564. $ref: '#/definitions/models.WrPerformanceStepType'
  28565. type: array
  28566. "500":
  28567. description: Internal Server Error
  28568. schema:
  28569. $ref: '#/definitions/app.Response'
  28570. security:
  28571. - ApiKeyAuth: []
  28572. summary: 查询履约步骤枚举
  28573. tags:
  28574. - 仓单贸易v2
  28575. /WrTrade2/QueryWrPosition:
  28576. get:
  28577. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  28578. parameters:
  28579. - description: 用户id
  28580. in: query
  28581. name: userid
  28582. required: true
  28583. type: integer
  28584. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  28585. in: query
  28586. name: querytype
  28587. required: true
  28588. type: integer
  28589. - description: 0:仓单预售 1:仓单贸易
  28590. in: query
  28591. name: haswr
  28592. required: true
  28593. type: integer
  28594. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  28595. in: query
  28596. name: dgitemname
  28597. type: string
  28598. - description: 仓库id(筛选条件)
  28599. in: query
  28600. name: warehouseid
  28601. type: integer
  28602. - description: 品种id
  28603. in: query
  28604. name: deliverygoodsid
  28605. type: integer
  28606. - description: 品类id
  28607. in: query
  28608. name: wrstandardid
  28609. type: integer
  28610. produces:
  28611. - application/json
  28612. responses:
  28613. "200":
  28614. description: OK
  28615. schema:
  28616. items:
  28617. $ref: '#/definitions/models.WrPosition'
  28618. type: array
  28619. "500":
  28620. description: Internal Server Error
  28621. schema:
  28622. $ref: '#/definitions/app.Response'
  28623. security:
  28624. - ApiKeyAuth: []
  28625. summary: 查询现货(预售)仓单持仓
  28626. tags:
  28627. - 仓单贸易v2
  28628. /WrTrade2/QueryWrPreSaleInfo:
  28629. get:
  28630. parameters:
  28631. - description: 市场id
  28632. in: query
  28633. name: marketid
  28634. type: integer
  28635. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  28636. in: query
  28637. name: presalestatus
  28638. type: string
  28639. - description: 摇号标识 - 0:未摇号 1:已摇号
  28640. in: query
  28641. name: lotteryflag
  28642. type: integer
  28643. - description: 最近多少条记录(按创建时间倒序)
  28644. in: query
  28645. name: lastnum
  28646. type: integer
  28647. produces:
  28648. - application/json
  28649. responses:
  28650. "200":
  28651. description: OK
  28652. schema:
  28653. items:
  28654. $ref: '#/definitions/models.WrPreSaleInfo'
  28655. type: array
  28656. "500":
  28657. description: Internal Server Error
  28658. schema:
  28659. $ref: '#/definitions/app.Response'
  28660. security:
  28661. - ApiKeyAuth: []
  28662. summary: 查询新品发布
  28663. tags:
  28664. - 仓单贸易v2
  28665. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  28666. get:
  28667. parameters:
  28668. - description: 市场id
  28669. in: query
  28670. name: marketid
  28671. required: true
  28672. type: integer
  28673. - description: 现货商品id
  28674. in: query
  28675. name: wrstandardid
  28676. required: true
  28677. type: integer
  28678. - description: 开始交易日(yyyymmdd)
  28679. in: query
  28680. name: begindate
  28681. type: string
  28682. - description: 结束交易日(yyyymmdd)
  28683. in: query
  28684. name: enddate
  28685. type: string
  28686. - description: 最近多少条记录(按交易日倒序)
  28687. in: query
  28688. name: lastnum
  28689. type: integer
  28690. produces:
  28691. - application/json
  28692. responses:
  28693. "200":
  28694. description: OK
  28695. schema:
  28696. items:
  28697. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  28698. type: array
  28699. "500":
  28700. description: Internal Server Error
  28701. schema:
  28702. $ref: '#/definitions/app.Response'
  28703. security:
  28704. - ApiKeyAuth: []
  28705. summary: 查询价格走势
  28706. tags:
  28707. - 仓单贸易v2
  28708. /WrTrade2/QueryWrScfContract:
  28709. get:
  28710. parameters:
  28711. - description: 用户id
  28712. in: query
  28713. name: userid
  28714. required: true
  28715. type: integer
  28716. - description: 融资合同id
  28717. in: query
  28718. name: scfcontractid
  28719. type: integer
  28720. produces:
  28721. - application/json
  28722. responses:
  28723. "200":
  28724. description: OK
  28725. schema:
  28726. items:
  28727. $ref: '#/definitions/models.WrScfContract'
  28728. type: array
  28729. "500":
  28730. description: Internal Server Error
  28731. schema:
  28732. $ref: '#/definitions/app.Response'
  28733. security:
  28734. - ApiKeyAuth: []
  28735. summary: 查询仓单贸易融资合同
  28736. tags:
  28737. - 仓单贸易v2
  28738. /WrTrade2/QueryWrScfContractInterest:
  28739. get:
  28740. parameters:
  28741. - description: 融资合同id
  28742. in: query
  28743. name: scfcontractid
  28744. type: integer
  28745. produces:
  28746. - application/json
  28747. responses:
  28748. "200":
  28749. description: OK
  28750. schema:
  28751. items:
  28752. $ref: '#/definitions/models.WrScfContractInterest'
  28753. type: array
  28754. "500":
  28755. description: Internal Server Error
  28756. schema:
  28757. $ref: '#/definitions/app.Response'
  28758. security:
  28759. - ApiKeyAuth: []
  28760. summary: 查询融资合同费用明细
  28761. tags:
  28762. - 仓单贸易v2
  28763. /WrTrade2/QueryWrSearchUser:
  28764. get:
  28765. parameters:
  28766. - description: 用户名称(模糊匹配)
  28767. in: query
  28768. name: username
  28769. required: true
  28770. type: string
  28771. produces:
  28772. - application/json
  28773. responses:
  28774. "200":
  28775. description: OK
  28776. schema:
  28777. items:
  28778. $ref: '#/definitions/models.WrSearchUser'
  28779. type: array
  28780. "500":
  28781. description: Internal Server Error
  28782. schema:
  28783. $ref: '#/definitions/app.Response'
  28784. security:
  28785. - ApiKeyAuth: []
  28786. summary: 查询用户
  28787. tags:
  28788. - 仓单贸易v2
  28789. /WrTrade2/QueryWrSpecialMatchOrder:
  28790. get:
  28791. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  28792. parameters:
  28793. - description: 页码
  28794. in: query
  28795. name: page
  28796. type: integer
  28797. - description: 每页条数
  28798. in: query
  28799. name: pagesize
  28800. type: integer
  28801. - description: 用户id
  28802. in: query
  28803. name: userid
  28804. required: true
  28805. type: integer
  28806. - description: 仓单贸易市场id
  28807. in: query
  28808. name: marketid
  28809. type: integer
  28810. - description: 0:仓单预售 1:仓单贸易
  28811. in: query
  28812. name: haswr
  28813. required: true
  28814. type: integer
  28815. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  28816. in: query
  28817. name: isspecified
  28818. type: integer
  28819. produces:
  28820. - application/json
  28821. responses:
  28822. "200":
  28823. description: OK
  28824. schema:
  28825. items:
  28826. $ref: '#/definitions/models.WrSpecialMatchOrder'
  28827. type: array
  28828. "500":
  28829. description: Internal Server Error
  28830. schema:
  28831. $ref: '#/definitions/app.Response'
  28832. security:
  28833. - ApiKeyAuth: []
  28834. summary: 查询指定成交
  28835. tags:
  28836. - 仓单贸易v2
  28837. /WrTrade2/QueryWrStandardFactoryItem:
  28838. get:
  28839. parameters:
  28840. - description: 品类id
  28841. in: query
  28842. name: wrstandardid
  28843. required: true
  28844. type: integer
  28845. produces:
  28846. - application/json
  28847. responses:
  28848. "200":
  28849. description: OK
  28850. schema:
  28851. items:
  28852. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  28853. type: array
  28854. "500":
  28855. description: Internal Server Error
  28856. schema:
  28857. $ref: '#/definitions/app.Response'
  28858. security:
  28859. - ApiKeyAuth: []
  28860. summary: 查询品类要素定义项
  28861. tags:
  28862. - 仓单贸易v2
  28863. /WrTrade2/QueryWrTradeBargainApply:
  28864. get:
  28865. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  28866. 议价->对方议价 填写matchuserid=登录用户id
  28867. parameters:
  28868. - description: 议价人id(摘牌方)
  28869. in: query
  28870. name: userid
  28871. type: integer
  28872. - description: 挂牌方id(查对方议价时,填写此项)
  28873. in: query
  28874. name: matchuserid
  28875. type: integer
  28876. - description: 关联委托单id
  28877. in: query
  28878. name: wrtradeorderid
  28879. type: integer
  28880. - description: 0:仓单预售 1:仓单贸易
  28881. in: query
  28882. name: haswr
  28883. required: true
  28884. type: integer
  28885. - description: 开始交易日(yyyymmdd)
  28886. in: query
  28887. name: begindate
  28888. type: string
  28889. - description: 结束交易日(yyyymmdd)
  28890. in: query
  28891. name: enddate
  28892. type: string
  28893. produces:
  28894. - application/json
  28895. responses:
  28896. "200":
  28897. description: OK
  28898. schema:
  28899. items:
  28900. $ref: '#/definitions/models.WRTradeBargainApply'
  28901. type: array
  28902. "500":
  28903. description: Internal Server Error
  28904. schema:
  28905. $ref: '#/definitions/app.Response'
  28906. security:
  28907. - ApiKeyAuth: []
  28908. summary: 查询议价单
  28909. tags:
  28910. - 仓单贸易v2
  28911. /WrTrade2/QueryWrTradeDetail:
  28912. get:
  28913. parameters:
  28914. - description: 页码
  28915. in: query
  28916. name: page
  28917. type: integer
  28918. - description: 每页条数
  28919. in: query
  28920. name: pagesize
  28921. type: integer
  28922. - description: 用户id
  28923. in: query
  28924. name: userid
  28925. required: true
  28926. type: integer
  28927. - description: 仓单贸易市场id
  28928. in: query
  28929. name: marketid
  28930. type: integer
  28931. - description: 0:仓单预售 1:仓单贸易
  28932. in: query
  28933. name: haswr
  28934. required: true
  28935. type: integer
  28936. - description: 开始交易日(yyyymmdd)
  28937. in: query
  28938. name: begindate
  28939. type: string
  28940. - description: 结束交易日(yyyymmdd)
  28941. in: query
  28942. name: enddate
  28943. type: string
  28944. produces:
  28945. - application/json
  28946. responses:
  28947. "200":
  28948. description: OK
  28949. schema:
  28950. items:
  28951. $ref: '#/definitions/models.WrTradeDetail'
  28952. type: array
  28953. "500":
  28954. description: Internal Server Error
  28955. schema:
  28956. $ref: '#/definitions/app.Response'
  28957. security:
  28958. - ApiKeyAuth: []
  28959. summary: 查询仓单成交明细
  28960. tags:
  28961. - 仓单贸易v2
  28962. /WrTrade2/QueryWrTradeOrderDetail:
  28963. get:
  28964. parameters:
  28965. - description: 页码
  28966. in: query
  28967. name: page
  28968. type: integer
  28969. - description: 每页条数
  28970. in: query
  28971. name: pagesize
  28972. type: integer
  28973. - description: 商品id
  28974. in: query
  28975. name: goodsid
  28976. required: true
  28977. type: integer
  28978. - description: 买卖方向 0-买 1-卖
  28979. in: query
  28980. name: buyorsell
  28981. required: true
  28982. type: integer
  28983. produces:
  28984. - application/json
  28985. responses:
  28986. "200":
  28987. description: OK
  28988. schema:
  28989. items:
  28990. $ref: '#/definitions/models.WrTradeOrderDetail'
  28991. type: array
  28992. "500":
  28993. description: Internal Server Error
  28994. schema:
  28995. $ref: '#/definitions/app.Response'
  28996. security:
  28997. - ApiKeyAuth: []
  28998. summary: 查询合约交易买卖大厅
  28999. tags:
  29000. - 仓单贸易v2
  29001. /WrTrade2/QueryWrUserFriend:
  29002. get:
  29003. parameters:
  29004. - description: 用户id
  29005. in: query
  29006. name: userid
  29007. required: true
  29008. type: integer
  29009. - description: 新朋友userid, 如果填写了此项则查找新朋友
  29010. in: query
  29011. name: newuserid
  29012. type: integer
  29013. produces:
  29014. - application/json
  29015. responses:
  29016. "200":
  29017. description: OK
  29018. schema:
  29019. items:
  29020. $ref: '#/definitions/models.WrUserFriend'
  29021. type: array
  29022. "500":
  29023. description: Internal Server Error
  29024. schema:
  29025. $ref: '#/definitions/app.Response'
  29026. security:
  29027. - ApiKeyAuth: []
  29028. summary: 查询我的朋友
  29029. tags:
  29030. - 仓单贸易v2
  29031. /WrTrade2/QueryWrUserReceiptInfo:
  29032. get:
  29033. parameters:
  29034. - description: 用户id
  29035. in: query
  29036. name: userid
  29037. type: integer
  29038. - description: 发票类型 - 1:个人 2:企业
  29039. in: query
  29040. name: receipttype
  29041. type: integer
  29042. produces:
  29043. - application/json
  29044. responses:
  29045. "200":
  29046. description: OK
  29047. schema:
  29048. items:
  29049. $ref: '#/definitions/models.WrUserReceiptInfo'
  29050. type: array
  29051. "500":
  29052. description: Internal Server Error
  29053. schema:
  29054. $ref: '#/definitions/app.Response'
  29055. security:
  29056. - ApiKeyAuth: []
  29057. summary: 查询发票信息
  29058. tags:
  29059. - 仓单贸易v2
  29060. /ZJ/GetBankTip:
  29061. get:
  29062. produces:
  29063. - application/json
  29064. responses:
  29065. "200":
  29066. description: OK
  29067. schema:
  29068. type: string
  29069. "500":
  29070. description: Internal Server Error
  29071. schema:
  29072. $ref: '#/definitions/app.Response'
  29073. summary: 获取中江网银端出入金提示信息
  29074. tags:
  29075. - 中江
  29076. /ZJ/GetCusBankChannels:
  29077. get:
  29078. produces:
  29079. - application/json
  29080. responses:
  29081. "200":
  29082. description: OK
  29083. schema:
  29084. items:
  29085. type: string
  29086. type: array
  29087. "500":
  29088. description: Internal Server Error
  29089. schema:
  29090. $ref: '#/definitions/app.Response'
  29091. summary: 获取中江出入金渠道显示列表
  29092. tags:
  29093. - 中江
  29094. securityDefinitions:
  29095. ApiKeyAuth:
  29096. in: header
  29097. name: Authorization
  29098. type: apiKey
  29099. swagger: "2.0"