swagger.yaml 770 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.ClientMenu:
  22. properties:
  23. children:
  24. description: 子菜单列表
  25. items:
  26. $ref: '#/definitions/common.ClientMenu'
  27. type: array
  28. code:
  29. description: ID
  30. type: string
  31. isshow:
  32. description: 是否显示
  33. type: boolean
  34. remark:
  35. description: 备注
  36. type: string
  37. rulekey:
  38. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  39. type: string
  40. sort:
  41. description: 排序
  42. type: integer
  43. title:
  44. description: 标题
  45. type: string
  46. type:
  47. description: 类型,1:菜单 2:按钮
  48. type: integer
  49. url:
  50. description: URL
  51. type: string
  52. type: object
  53. common.PCWebMenu:
  54. properties:
  55. auth:
  56. description: 页面权限列表
  57. items:
  58. $ref: '#/definitions/common.PCWebMenuAuth'
  59. type: array
  60. children:
  61. description: 子菜单列表
  62. items:
  63. $ref: '#/definitions/common.PCWebMenu'
  64. type: array
  65. code:
  66. description: ID,新版本中权限KEY也是这个字段
  67. type: string
  68. component:
  69. description: 路由组件
  70. type: string
  71. isshow:
  72. description: 是否显示
  73. type: boolean
  74. path:
  75. description: 路由路径
  76. type: string
  77. remark:
  78. description: 备注
  79. type: string
  80. rulekey:
  81. description: 权限主键,非空表示需要判断控制,非空值不可重复
  82. type: string
  83. sort:
  84. description: 排序
  85. type: integer
  86. title:
  87. description: 标题
  88. type: string
  89. url:
  90. description: URL
  91. type: string
  92. type: object
  93. common.PCWebMenuAuth:
  94. properties:
  95. code:
  96. description: ID,新版本中权限KEY也是这个字段
  97. type: string
  98. isshow:
  99. description: 是否显示
  100. type: boolean
  101. label:
  102. description: 标题
  103. type: string
  104. remark:
  105. description: 备注
  106. type: string
  107. rulekey:
  108. description: 权限主键,非空表示需要判断控制,非空值不可重复
  109. type: string
  110. type: object
  111. common.QueryImageConfigsRsp:
  112. properties:
  113. areauserid:
  114. description: 所属机构ID
  115. type: integer
  116. configid:
  117. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  118. type: integer
  119. createdate:
  120. description: 创建时间
  121. type: string
  122. creatorid:
  123. description: 创建人
  124. type: integer
  125. imagepath:
  126. description: 图片
  127. type: string
  128. imagetype:
  129. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  130. type: integer
  131. isshow:
  132. description: 是否展示 - 0:不展示 1:展示
  133. type: integer
  134. marketid:
  135. description: 市场ID
  136. type: integer
  137. modifierid:
  138. description: 操作人
  139. type: integer
  140. sort:
  141. description: 排序
  142. type: integer
  143. title:
  144. description: 标题
  145. type: string
  146. trademode:
  147. description: 交易模式
  148. type: integer
  149. updatedate:
  150. description: 修改时间
  151. type: string
  152. url:
  153. description: 链接(地址或商品ID)
  154. type: string
  155. urltype:
  156. description: 链接类型 - 1:直接地址 2:商品ID
  157. type: integer
  158. required:
  159. - configid
  160. type: object
  161. common.QueryNoticeRsp:
  162. properties:
  163. auditoruserid:
  164. description: 审核人
  165. type: integer
  166. auditremark:
  167. description: 审核备注
  168. type: string
  169. audittime:
  170. description: 审核日期
  171. type: string
  172. autoid:
  173. description: 自增ID
  174. type: integer
  175. content:
  176. description: 内容
  177. type: string
  178. createtime:
  179. description: 创建时间
  180. type: string
  181. creatorid:
  182. description: 建仓人
  183. type: integer
  184. endtime:
  185. description: 结束时间
  186. type: string
  187. istop:
  188. description: 是否置顶 - 0:不置顶 1:置顶
  189. type: integer
  190. msgiconurl:
  191. description: 消息图标Url
  192. type: string
  193. msgtype:
  194. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  195. type: integer
  196. publisher:
  197. description: 消息发布者
  198. type: string
  199. readed:
  200. description: 是否已读
  201. type: boolean
  202. scheduletime:
  203. description: 计划发送时间
  204. type: string
  205. sendtype:
  206. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  207. type: integer
  208. sentstatus:
  209. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  210. type: integer
  211. title:
  212. description: 标题
  213. type: string
  214. userid:
  215. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  216. type: integer
  217. required:
  218. - autoid
  219. type: object
  220. common.QueryProvincesAndCitiesRsp:
  221. properties:
  222. cities:
  223. description: 市
  224. items:
  225. $ref: '#/definitions/models.Division'
  226. type: array
  227. province:
  228. $ref: '#/definitions/models.Division'
  229. description: 省
  230. type: object
  231. common.QueryTableDefineRsp:
  232. properties:
  233. columns:
  234. description: 列头信息数组
  235. items:
  236. $ref: '#/definitions/models.Tablecolumnconfig'
  237. type: array
  238. remark:
  239. description: Remark
  240. type: string
  241. tabelmenu:
  242. description: 列表菜单
  243. type: string
  244. tablekey:
  245. description: 列表Key
  246. type: string
  247. tablename:
  248. description: 列表名称
  249. type: string
  250. tabletype:
  251. description: 列表类型 - 1:管理端 2:终端
  252. type: integer
  253. required:
  254. - tablekey
  255. type: object
  256. common.QueryTraderMenuRsp:
  257. properties:
  258. OperationMenu:
  259. description: 功能菜单
  260. items:
  261. $ref: '#/definitions/models.OperationPrimaryMenu'
  262. type: array
  263. QuoteMenu:
  264. description: 报价牌分类菜单
  265. items:
  266. $ref: '#/definitions/models.QuotePrimaryMenu'
  267. type: array
  268. type: object
  269. cptrade.Cptradepositioncancel:
  270. properties:
  271. accountid:
  272. description: 申请人账户ID
  273. type: integer
  274. applystatus:
  275. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  276. type: integer
  277. applytime:
  278. description: 申请时间
  279. type: string
  280. cancelid:
  281. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  282. type: integer
  283. cancelqty:
  284. description: 注销数量
  285. type: integer
  286. createtime:
  287. description: 创建时间
  288. type: string
  289. creatorid:
  290. description: 创建人ID
  291. type: integer
  292. creatorname:
  293. description: 创建人
  294. type: string
  295. goodscode:
  296. description: 订单商品代码
  297. type: string
  298. goodsid:
  299. description: 商品ID
  300. type: integer
  301. goodsname:
  302. description: 订单商品名称
  303. type: string
  304. goodunit:
  305. description: 报价单位
  306. type: string
  307. handlestatus:
  308. description: 处理状态
  309. type: integer
  310. marketid:
  311. description: 市场ID
  312. type: integer
  313. marketname:
  314. description: 市场名称
  315. type: string
  316. tradedate:
  317. description: 交易日(yyyyMMdd)
  318. type: string
  319. userid:
  320. description: 申请人ID
  321. type: integer
  322. required:
  323. - cancelid
  324. type: object
  325. cptrade.Cptradepresaleapply:
  326. properties:
  327. accountid:
  328. description: 申请人账户ID
  329. type: integer
  330. applyid:
  331. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  332. type: integer
  333. applyremark:
  334. description: 申请备注
  335. type: string
  336. applystatus:
  337. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  338. type: integer
  339. applytime:
  340. description: 申请时间
  341. type: string
  342. attachmenturl:
  343. description: 附件地址
  344. type: string
  345. endtime:
  346. description: 预售结束时间
  347. type: string
  348. goodscode:
  349. description: 商品代码
  350. type: string
  351. goodsid:
  352. description: 商品ID
  353. type: integer
  354. goodsname:
  355. description: 商品名称
  356. type: string
  357. goodunit:
  358. description: 报价单位
  359. type: string
  360. handlestatus:
  361. description: 处理状态
  362. type: integer
  363. marketid:
  364. description: 预售市场ID
  365. type: integer
  366. marketname:
  367. description: 预售市场名称
  368. type: string
  369. presaleqty:
  370. description: 预售数量
  371. type: integer
  372. relatedgoodscode:
  373. description: 关联交易合约代码
  374. type: string
  375. relatedgoodsid:
  376. description: 关联交易合约ID
  377. type: integer
  378. relatedgoodsname:
  379. description: 关联交易合约名称
  380. type: string
  381. starttime:
  382. description: 预售开始时间
  383. type: string
  384. tradedate:
  385. description: 交易日(yyyyMMdd)
  386. type: string
  387. trademode:
  388. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  389. type: integer
  390. userid:
  391. description: 申请人ID
  392. type: integer
  393. required:
  394. - applyid
  395. type: object
  396. cptrade.Cptradeusergoodsdata:
  397. properties:
  398. EnabledQty:
  399. description: 可用量
  400. type: integer
  401. GoodsCode:
  402. description: 订单商品代码
  403. type: string
  404. GoodsName:
  405. description: 订单商品名称
  406. type: string
  407. WRStandardCode:
  408. description: 仓单标准代码
  409. type: string
  410. WRStandardName:
  411. description: 仓单标准名称
  412. type: string
  413. accountid:
  414. description: 账户ID
  415. type: integer
  416. cancelqty:
  417. description: 注销量
  418. type: integer
  419. curpresaleqty:
  420. description: 当前预售量
  421. type: integer
  422. deliveryqty:
  423. description: 交割量
  424. type: integer
  425. freezeamount:
  426. description: 冻结金额
  427. type: number
  428. goodsid:
  429. description: 商品ID
  430. type: integer
  431. goodunit:
  432. description: 报价单位
  433. type: string
  434. hasspotfreeze:
  435. description: 是否有现货冻结 - 0:否 1:有
  436. type: integer
  437. inqty:
  438. description: 转入量(总数量)
  439. type: integer
  440. marketid:
  441. description: 市场ID
  442. type: integer
  443. presaledamount:
  444. description: 已预售总金额
  445. type: integer
  446. presaledqty:
  447. description: 已预售量
  448. type: integer
  449. userid:
  450. description: 用户ID
  451. type: integer
  452. wrstandardid:
  453. description: 仓单标准ID
  454. type: integer
  455. required:
  456. - accountid
  457. - goodsid
  458. type: object
  459. cptrade.QueryCPTradeMyBidRsp:
  460. properties:
  461. accountid:
  462. description: 账户ID[报价币种]
  463. type: integer
  464. goodsid:
  465. description: 商品ID
  466. type: integer
  467. goodunit:
  468. description: 报价单位
  469. type: string
  470. marketid:
  471. description: 市场ID
  472. type: integer
  473. orderid:
  474. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  475. type: integer
  476. orderprice:
  477. description: 委托价格
  478. type: number
  479. orderqty:
  480. description: 委托数量
  481. type: integer
  482. ordertime:
  483. description: 委托时间
  484. type: string
  485. ordertotalprice:
  486. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  487. type: number
  488. ordertotalweight:
  489. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  490. type: integer
  491. totaltotalprice:
  492. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  493. type: number
  494. tradeprice:
  495. description: 成交价格
  496. type: number
  497. tradeqty:
  498. description: 成交数量
  499. type: integer
  500. required:
  501. - accountid
  502. - goodsid
  503. - marketid
  504. - orderid
  505. - orderqty
  506. - ordertime
  507. - tradeprice
  508. - tradeqty
  509. type: object
  510. cptrade.QueryCPTradeOrderDetailRsq:
  511. properties:
  512. accountid:
  513. description: 账户ID[报价币种]
  514. type: integer
  515. buildtype:
  516. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  517. type: integer
  518. buyorsell:
  519. description: 买卖 - 0:买 1:卖
  520. type: integer
  521. cancelorderid:
  522. description: 撤单单号(撤单时填写)
  523. type: integer
  524. cancelqty:
  525. description: 撤单数量
  526. type: integer
  527. clientordertime:
  528. description: 客户端委托时间
  529. type: string
  530. clientticket:
  531. description: 客户端流水号
  532. type: string
  533. clienttype:
  534. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  535. type: integer
  536. closeexchagechargevalue:
  537. description: 平仓交易所手续费设置值
  538. type: number
  539. closefeealgorithm:
  540. description: 平仓手续费收取方式 1:比率 2:固定
  541. type: integer
  542. closefreezecharge:
  543. description: 平仓冻结手续费(先建后平操作,需要记录)
  544. type: number
  545. closememberchargevalue:
  546. description: 平仓会员手续费设置值
  547. type: number
  548. closeqty:
  549. description: 平仓数量(先建后平操作 需要记录)
  550. type: integer
  551. closetradeqty:
  552. description: 平仓成交数量(先建后平操作,需要记录)
  553. type: integer
  554. closeunfreezecharge:
  555. description: 平仓解冻手续费(先建后平操作,需要记录)
  556. type: number
  557. delistingtype:
  558. description: 摘牌类型 - 1:价格最优 2:点选成交
  559. type: integer
  560. freezecharge:
  561. description: 冻结手续费
  562. type: number
  563. freezemargin:
  564. description: 冻结保证金(冻结交易金额)
  565. type: number
  566. gcaccountid:
  567. description: 账户ID[合约币种]
  568. type: integer
  569. goodsid:
  570. description: 商品ID
  571. type: integer
  572. isconfirmexercise:
  573. description: 是否确认行权- 0:否 1:是
  574. type: integer
  575. ispreexercise:
  576. description: 是否预申报- 0:否 1:是
  577. type: integer
  578. listingselecttype:
  579. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  580. type: integer
  581. marginalgorithm:
  582. description: 保证金收取方式 1:比率 2:固定
  583. type: integer
  584. marginvalue:
  585. description: 即市保证金设置值
  586. type: number
  587. marketid:
  588. description: 市场ID
  589. type: integer
  590. marketmaxsub:
  591. description: 市价最大偏移范围
  592. type: number
  593. memberuserid:
  594. description: 所属会员UserID
  595. type: integer
  596. openexchagechargevalue:
  597. description: 建仓交易所手续费设置值
  598. type: number
  599. openfeealgorithm:
  600. description: 建仓手续费收取方式 1:比率 2:固定
  601. type: integer
  602. openfreezecharge:
  603. description: 开仓冻结手续费(先建后平操作,需要记录)
  604. type: number
  605. openmemberchargevalue:
  606. description: 建仓会员手续费设置值
  607. type: number
  608. openqty:
  609. description: 开仓数量(先建后平操作,需要记录)
  610. type: integer
  611. opentradeqty:
  612. description: 开仓成交数量(先建后平操作,需要记录)
  613. type: integer
  614. openunfreezecharge:
  615. description: 开仓解冻手续费(先建后平操作,需要记录)
  616. type: number
  617. operatetype:
  618. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  619. type: integer
  620. operatorid:
  621. description: 登录账号(LoginID)
  622. type: integer
  623. optiontype:
  624. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  625. type: integer
  626. orderprice:
  627. description: 委托价格
  628. type: number
  629. orderqty:
  630. description: 委托数量
  631. type: integer
  632. ordersrc:
  633. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  634. type: integer
  635. orderstatus:
  636. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  637. type: integer
  638. ordertime:
  639. description: 委托时间
  640. type: string
  641. preexerciseprice:
  642. description: 预申报价格
  643. type: number
  644. premium:
  645. description: 权利金
  646. type: number
  647. preorderid:
  648. description: 关联预埋单号(止盈止损单时填写)
  649. type: integer
  650. pricemode:
  651. description: '取价方式 - 1:市价 2: 限价'
  652. type: integer
  653. quoteid:
  654. description: 报价单ID
  655. type: integer
  656. relatedid:
  657. description: 关联单号(交割单)
  658. type: integer
  659. retcode:
  660. description: 错误代码
  661. type: integer
  662. sessionid:
  663. description: 会话ID
  664. type: integer
  665. strorderid:
  666. description: 委托单号
  667. type: string
  668. tradedate:
  669. description: 交易日(yyyyMMdd)
  670. type: string
  671. tradeproperty:
  672. description: 交易属性
  673. type: integer
  674. tradeqty:
  675. description: 成交数量
  676. type: integer
  677. unfreezecharge:
  678. description: 解冻手续费
  679. type: number
  680. unfreezemargin:
  681. description: 解冻保证金
  682. type: number
  683. updatetime:
  684. description: 更新时间
  685. type: string
  686. uuid:
  687. description: 发起端唯一id
  688. type: string
  689. validtime:
  690. description: 有效期限
  691. type: string
  692. validtype:
  693. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  694. type: integer
  695. volumetype:
  696. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  697. type: integer
  698. required:
  699. - accountid
  700. - buildtype
  701. - buyorsell
  702. - goodsid
  703. - marketid
  704. - memberuserid
  705. - operatetype
  706. - orderqty
  707. - ordertime
  708. - pricemode
  709. - strorderid
  710. - tradedate
  711. - validtype
  712. type: object
  713. cptrade.QueryMyCPTradeGoodsRsp:
  714. properties:
  715. accountid:
  716. description: 卖方账户ID
  717. type: integer
  718. agreeunit:
  719. description: 合约单位
  720. type: number
  721. applyid:
  722. description: 关联申请ID
  723. type: integer
  724. attachmenturl:
  725. description: 附件地址
  726. type: string
  727. createtime:
  728. description: 创建时间
  729. type: string
  730. currencyid:
  731. description: 报价货币ID
  732. type: integer
  733. decimalplace:
  734. description: 报价小数位
  735. type: integer
  736. endtime:
  737. description: 预售结束时间
  738. type: string
  739. floorprice:
  740. description: 底价[大宗式竞拍]
  741. type: number
  742. goodscode:
  743. description: 商品代码(预售)
  744. type: string
  745. goodsdetail:
  746. description: 详情[大宗]
  747. type: string
  748. goodsid:
  749. description: 商品ID(自增ID SEQ_GOODS)
  750. type: integer
  751. goodsname:
  752. description: 商品名称(预售)
  753. type: string
  754. goodunit:
  755. description: 报价单位
  756. type: string
  757. goodunitid:
  758. description: 报价单位ID
  759. type: integer
  760. marketid:
  761. description: 所属市场ID
  762. type: integer
  763. marketname:
  764. description: 预售市场名称
  765. type: string
  766. presaledamount:
  767. description: 已预售总金额(预售结束时更新)
  768. type: number
  769. presaledqty:
  770. description: 已预售量(预售结束时更新)
  771. type: integer
  772. presalemode:
  773. description: 预售模式 - 1:一口价 2:大宗式竞拍
  774. type: integer
  775. presaleqty:
  776. description: 预售数量
  777. type: integer
  778. refprice:
  779. description: 参考价格[一口价]
  780. type: number
  781. relatedgoodscode:
  782. description: 商品代码(订单)
  783. type: string
  784. relatedgoodsid:
  785. description: 关联交易合约ID
  786. type: integer
  787. relatedgoodsname:
  788. description: 商品名称(订单)
  789. type: string
  790. relatedmarketid:
  791. description: 关联交易合约市场ID
  792. type: integer
  793. sellstatus:
  794. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  795. type: integer
  796. startprice:
  797. description: 起拍价[大宗式竞拍]
  798. type: number
  799. starttime:
  800. description: 预售开始时间
  801. type: string
  802. tradedate:
  803. description: 交易日(yyyyMMdd)
  804. type: string
  805. tradeprice:
  806. description: 成交价[大宗]
  807. type: number
  808. userid:
  809. description: 卖方用户ID
  810. type: integer
  811. required:
  812. - goodscode
  813. - goodsid
  814. - goodsname
  815. - marketid
  816. - relatedgoodscode
  817. - relatedgoodsname
  818. type: object
  819. cptrade.QueryPresaleGoodsExRsp:
  820. properties:
  821. attachmenturl:
  822. description: 附件地址
  823. type: string
  824. createtime:
  825. description: 创建时间
  826. type: string
  827. endtime:
  828. description: 预售结束时间
  829. type: string
  830. floorprice:
  831. description: 底价[大宗式竞拍]
  832. type: number
  833. goodsdetail:
  834. description: 详情[大宗]
  835. type: string
  836. goodsid:
  837. description: 商品ID(预售)
  838. type: integer
  839. goodunit:
  840. description: 报价单位
  841. type: string
  842. marketid:
  843. description: 预售市场ID - 根据预售模式选择市场
  844. type: integer
  845. presaledamount:
  846. description: 已预售总金额(预售结束时更新)
  847. type: number
  848. presaledqty:
  849. description: 已预售量(预售结束时更新)
  850. type: integer
  851. presalemode:
  852. description: 预售模式 - 1:一口价 2:大宗式竞拍
  853. type: integer
  854. presaleqty:
  855. description: 预售数量
  856. type: integer
  857. refprice:
  858. description: 参考价格[一口价]
  859. type: number
  860. relatedgoodsid:
  861. description: 关联交易合约ID
  862. type: integer
  863. relatedmarketid:
  864. description: 关联交易合约市场ID
  865. type: integer
  866. sellstatus:
  867. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  868. type: integer
  869. startprice:
  870. description: 起拍价[大宗式竞拍]
  871. type: number
  872. starttime:
  873. description: 预售开始时间
  874. type: string
  875. tradedate:
  876. description: 交易日(yyyyMMdd)
  877. type: string
  878. tradeprice:
  879. description: 成交价[大宗]
  880. type: number
  881. required:
  882. - goodsid
  883. type: object
  884. delivery.QueryDeliveryRelationRsp:
  885. properties:
  886. begindate:
  887. description: 起始日期(yyyyMMdd)
  888. type: string
  889. buytemplateid:
  890. description: 买履约计划模板ID
  891. type: integer
  892. deliverygoodscode:
  893. description: 品种代码
  894. type: string
  895. deliverygoodsid:
  896. description: 交割商品
  897. type: integer
  898. deliverygoodsname:
  899. description: 品种名称
  900. type: string
  901. deliverymode:
  902. description: 交割方式 - 1:点选式 2:申报式
  903. type: integer
  904. deliverypricerule:
  905. description: 交割价规则- 1:行情价 2:建仓价
  906. type: integer
  907. deliverytype:
  908. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  909. type: integer
  910. enddate:
  911. description: 结束日期(yyyyMMdd)
  912. type: string
  913. enumdicname:
  914. description: 品类单位名称
  915. type: string
  916. goodscode:
  917. description: 商品代码
  918. type: string
  919. goodsid:
  920. description: 交易合约ID
  921. type: integer
  922. goodsname:
  923. description: 商品名称
  924. type: string
  925. marketid:
  926. description: 市场ID
  927. type: integer
  928. mindeliveryqty:
  929. description: 最小交割系数(K)
  930. type: integer
  931. p2deliveryprice:
  932. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  933. type: number
  934. p2deliveryratio:
  935. description: P2合约系数(p)
  936. type: integer
  937. p2goodsid:
  938. description: P2合约ID
  939. type: integer
  940. p2pricemode:
  941. description: P2合约价格方式 - 1:商品价 2:固定值
  942. type: integer
  943. pdeliveryprice:
  944. description: P合约价格(商品价时填写0,固定值时填写固定值)
  945. type: number
  946. pdeliveryratio:
  947. description: P合约系数(n)
  948. type: integer
  949. pgoodscode:
  950. description: p合约代码
  951. type: string
  952. pgoodsid:
  953. description: P合约ID
  954. type: integer
  955. ppricemode:
  956. description: P合约价格方式 - 1:商品价 2:固定值
  957. type: integer
  958. rratio:
  959. description: 兑换系数(R)
  960. type: integer
  961. rratio1:
  962. description: 兑换系数(交易合约)(R1)
  963. type: integer
  964. rratio2:
  965. description: 兑换系数(仓单标准)(R2)
  966. type: integer
  967. selltemplateid:
  968. description: 卖履约计划模板ID
  969. type: integer
  970. wrstandardid:
  971. description: 仓单标准ID
  972. type: integer
  973. xdeliveryratio:
  974. description: 交易合约系数(m)
  975. type: integer
  976. required:
  977. - begindate
  978. - enddate
  979. - goodsid
  980. - mindeliveryqty
  981. - xdeliveryratio
  982. type: object
  983. ermcp.ExposureDetailRsp:
  984. properties:
  985. areauserid:
  986. description: 机构ID
  987. type: integer
  988. changeQty:
  989. description: 套保变动量
  990. type: number
  991. contracttype:
  992. description: 现货合同类型 - 1:采购 -1:销售
  993. type: integer
  994. convertfactor:
  995. description: 标仓系数
  996. type: number
  997. convertratio:
  998. description: 套保系数
  999. type: number
  1000. createtime:
  1001. description: 时间
  1002. type: string
  1003. enumdicname:
  1004. description: 现货商品单位名称
  1005. type: string
  1006. logtype:
  1007. description: 类型 - 1:套保计划 2:现货合同
  1008. type: integer
  1009. middlegoodsId:
  1010. description: 套保商品id
  1011. type: integer
  1012. middlegoodscode:
  1013. description: 套保商品代码
  1014. type: string
  1015. middlegoodsname:
  1016. description: 套保商品名称
  1017. type: string
  1018. qty:
  1019. description: 数量
  1020. type: number
  1021. relateNo:
  1022. description: 现货合同/套保计划编号
  1023. type: string
  1024. wrstandardcode:
  1025. description: 现货商品代码
  1026. type: string
  1027. wrstandardid:
  1028. description: 现货商品ID
  1029. type: integer
  1030. wrstandardname:
  1031. description: 现货商品名称
  1032. type: string
  1033. type: object
  1034. ermcp.ExposureHedgePosDetailRsp:
  1035. properties:
  1036. buyorsell:
  1037. description: 买卖方向 0-买 1-卖
  1038. type: integer
  1039. channelbuildtype:
  1040. description: 开平方向 1-建仓 2-平仓
  1041. type: integer
  1042. goodscode:
  1043. description: 商品代码
  1044. type: string
  1045. goodsname:
  1046. description: 商品名称
  1047. type: string
  1048. hedgegoodsid:
  1049. description: 商品id
  1050. type: integer
  1051. tradeqty:
  1052. description: 数量(成交数量)
  1053. type: integer
  1054. tradetime:
  1055. description: 时间(成交时间)
  1056. type: string
  1057. type: object
  1058. ermcp.ExposureHedgePositionRsp:
  1059. properties:
  1060. accountid:
  1061. description: 资金账号[外部母账户]
  1062. type: integer
  1063. curbuyposition:
  1064. description: 期末买头寸
  1065. type: integer
  1066. cursellposition:
  1067. description: 期末卖头寸
  1068. type: integer
  1069. curtdbuyposition:
  1070. description: 期末今日买头寸
  1071. type: integer
  1072. curtdsellposition:
  1073. description: 期末今日卖头寸
  1074. type: integer
  1075. curydbuyposition:
  1076. description: 期末上日买头寸
  1077. type: integer
  1078. curydsellposition:
  1079. description: 期末上日卖头寸
  1080. type: integer
  1081. decreaseqty:
  1082. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1083. type: integer
  1084. fretdbuyposition:
  1085. description: 冻结今日买头寸
  1086. type: integer
  1087. fretdsellposition:
  1088. description: 冻结今日卖头寸
  1089. type: integer
  1090. freydbuyposition:
  1091. description: 冻结上日买头寸
  1092. type: integer
  1093. freydsellposition:
  1094. description: 冻结上日卖头寸
  1095. type: integer
  1096. goodscode:
  1097. description: 商品代码
  1098. type: string
  1099. goodsid:
  1100. description: 商品id
  1101. type: integer
  1102. goodsname:
  1103. description: 商品名称
  1104. type: string
  1105. hedgeaccountcode:
  1106. description: 对冲账号
  1107. type: string
  1108. hedgegoodsid:
  1109. description: 对冲合约ID
  1110. type: integer
  1111. increaseqty:
  1112. description: 增加数量 = 期末买头寸 - 期初买头寸
  1113. type: integer
  1114. marketid:
  1115. description: 市场ID
  1116. type: integer
  1117. relateduserid:
  1118. description: 关联用户id
  1119. type: integer
  1120. totalcurqty:
  1121. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1122. type: integer
  1123. totalydqty:
  1124. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1125. type: integer
  1126. tradedate:
  1127. description: 交易日(yyyyMMdd)
  1128. type: string
  1129. ydbuyposition:
  1130. description: 期初买头寸
  1131. type: integer
  1132. ydsellposition:
  1133. description: 期初卖头寸
  1134. type: integer
  1135. type: object
  1136. ermcp.ExposureSpotDetailRsp:
  1137. properties:
  1138. contracttype:
  1139. description: 合同类型 1-采购 -1-销售
  1140. type: integer
  1141. createtime:
  1142. description: 创建时间
  1143. type: string
  1144. enumdicname:
  1145. description: 现货商品单位名称
  1146. type: string
  1147. logtype:
  1148. description: 记录类型 1-套保 2-现货合同
  1149. type: integer
  1150. qty:
  1151. description: 数量
  1152. type: number
  1153. recordname:
  1154. description: 类型名称
  1155. type: string
  1156. relatedid:
  1157. description: 套保计划ID/现货合同ID
  1158. type: string
  1159. relatedno:
  1160. description: 编号
  1161. type: string
  1162. strtime:
  1163. description: 时间
  1164. type: string
  1165. wrstandardcode:
  1166. description: 现货商品代码
  1167. type: string
  1168. wrstandardname:
  1169. description: 现货商品名称
  1170. type: string
  1171. type: object
  1172. ermcp.ExposureSpotRsp:
  1173. properties:
  1174. areauserid:
  1175. description: 所属机构
  1176. type: integer
  1177. decreaseqty:
  1178. description: 减少数量=-(销售已定价数量+采购计划数量)
  1179. type: number
  1180. increaseqty:
  1181. description: 增加数量=销售计划数量+采购已定价数量
  1182. type: number
  1183. oritoalspotqty:
  1184. description: 昨日数量
  1185. type: number
  1186. totalspotqty:
  1187. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1188. type: number
  1189. updatetime:
  1190. description: 更新时间
  1191. type: string
  1192. wrstandardcode:
  1193. description: 现货品种代码
  1194. type: string
  1195. wrstandardid:
  1196. description: 现货商品ID
  1197. type: integer
  1198. wrstandardname:
  1199. description: 现货品种
  1200. type: string
  1201. type: object
  1202. ermcp.HisExposureRsp:
  1203. properties:
  1204. data:
  1205. description: 历史敞口
  1206. items:
  1207. $ref: '#/definitions/models.ErmcpHisExposure'
  1208. type: array
  1209. enumdicname:
  1210. description: 单位名称
  1211. type: string
  1212. middlegoodscode:
  1213. description: 套保品种代码
  1214. type: string
  1215. middlegoodsid:
  1216. description: 套保品种ID
  1217. type: integer
  1218. middlegoodsname:
  1219. description: 套保品种名称
  1220. type: string
  1221. type: object
  1222. ermcp.PendingAuditCntRsp:
  1223. properties:
  1224. areastockqty:
  1225. description: '待审核数量: 库存申请'
  1226. type: integer
  1227. businessdjqty:
  1228. description: '待审核数量: 点价'
  1229. type: integer
  1230. businessfpqty:
  1231. description: '待审核数量: 发票'
  1232. type: integer
  1233. businessjsqty:
  1234. description: '待审核数量: 结算'
  1235. type: integer
  1236. businesskxqty:
  1237. description: '待审核数量: 款项'
  1238. type: integer
  1239. hedgeplanqty:
  1240. description: '待审核数量: 套保计划'
  1241. type: integer
  1242. spotcontractqty:
  1243. description: '待审核数量: 现货合同'
  1244. type: integer
  1245. userqty:
  1246. description: '待审核数量: 用户'
  1247. type: integer
  1248. type: object
  1249. ermcp.QryAvalidGPRsp:
  1250. properties:
  1251. goodsgroupid:
  1252. description: 期货品种id
  1253. type: integer
  1254. goodsgroupname:
  1255. description: 期货品种名称
  1256. type: string
  1257. goodunitid:
  1258. description: 品种单位id
  1259. type: integer
  1260. goodunitname:
  1261. description: 品种单位名称
  1262. type: string
  1263. outergroupcode:
  1264. description: 期货品种代码
  1265. type: string
  1266. type: object
  1267. ermcp.QryBusinessDjRsp:
  1268. properties:
  1269. amount:
  1270. description: 点价金额=(点价价格+升贴水)*点价数量
  1271. type: number
  1272. applyid:
  1273. description: 申请人
  1274. type: string
  1275. applyname:
  1276. description: 申请人名称
  1277. type: string
  1278. applystatus:
  1279. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1280. type: integer
  1281. applytime:
  1282. description: 申请时间
  1283. type: string
  1284. attachurl:
  1285. description: 附件
  1286. type: string
  1287. auditid:
  1288. description: 审核人ID
  1289. type: string
  1290. auditname:
  1291. description: 审核人名称
  1292. type: string
  1293. auditremark:
  1294. description: 审核备注
  1295. type: string
  1296. audittime:
  1297. description: 审核时间
  1298. type: string
  1299. buyusername:
  1300. description: 采购方名称
  1301. type: string
  1302. contractno:
  1303. description: 合同编号
  1304. type: string
  1305. contractstatus:
  1306. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1307. type: integer
  1308. contracttype:
  1309. description: 现货合同类型 - 1:采购 -1:销售
  1310. type: integer
  1311. deliverygoodscode:
  1312. description: 现货品种代码
  1313. type: string
  1314. deliverygoodsid:
  1315. description: 现货商品ID
  1316. type: integer
  1317. deliverygoodsname:
  1318. description: 现货品种名称
  1319. type: string
  1320. enumdicname:
  1321. description: 单位名称
  1322. type: string
  1323. goodscode:
  1324. description: 点价合约
  1325. type: string
  1326. goodsname:
  1327. description: 商品名称
  1328. type: string
  1329. operateapplyid:
  1330. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1331. type: string
  1332. operateapplytype:
  1333. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1334. type: integer
  1335. pricedPrice:
  1336. description: 点价价格(非必填)
  1337. type: number
  1338. pricedQty:
  1339. description: 点价数量(非必填)
  1340. type: number
  1341. pricemove:
  1342. description: 升贴水
  1343. type: number
  1344. pricetype:
  1345. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1346. type: integer
  1347. relatedid:
  1348. description: 现货合同ID
  1349. type: string
  1350. sellusername:
  1351. description: 销售方名字
  1352. type: string
  1353. userid:
  1354. description: 用户ID
  1355. type: integer
  1356. wrstandardcode:
  1357. description: 品类代码
  1358. type: string
  1359. wrstandardid:
  1360. description: 品类id
  1361. type: integer
  1362. wrstandardname:
  1363. description: 品类名称
  1364. type: string
  1365. type: object
  1366. ermcp.QryBussinessFpRsp:
  1367. properties:
  1368. applyid:
  1369. description: 申请人
  1370. type: string
  1371. applyname:
  1372. description: 申请人名称
  1373. type: string
  1374. applystatus:
  1375. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1376. type: integer
  1377. applytime:
  1378. description: 申请时间
  1379. type: string
  1380. attachurl:
  1381. description: 附件
  1382. type: string
  1383. auditid:
  1384. description: 审核人ID
  1385. type: string
  1386. auditname:
  1387. description: 审核人名称
  1388. type: string
  1389. auditremark:
  1390. description: 审核备注
  1391. type: string
  1392. audittime:
  1393. description: 审核时间
  1394. type: string
  1395. buyusername:
  1396. description: 采购方名称
  1397. type: string
  1398. contractno:
  1399. description: 合同编号
  1400. type: string
  1401. contractstatus:
  1402. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1403. type: integer
  1404. contracttype:
  1405. description: 现货合同类型 - 1:采购 -1:销售
  1406. type: integer
  1407. deliverygoodscode:
  1408. description: 现货品种代码
  1409. type: string
  1410. deliverygoodsid:
  1411. description: 现货商品ID
  1412. type: integer
  1413. deliverygoodsname:
  1414. description: 现货品种名称
  1415. type: string
  1416. enumdicname:
  1417. description: 单位名称
  1418. type: string
  1419. goodscode:
  1420. description: 点价合约
  1421. type: string
  1422. goodsname:
  1423. description: 商品名称
  1424. type: string
  1425. invoiceAmount:
  1426. description: 已开收票金额(销售为开票,采购为收票)
  1427. type: number
  1428. operateapplyid:
  1429. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1430. type: string
  1431. operateapplytype:
  1432. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1433. type: integer
  1434. pricemove:
  1435. description: 升贴水
  1436. type: number
  1437. pricetype:
  1438. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1439. type: integer
  1440. relatedid:
  1441. description: 现货合同ID
  1442. type: string
  1443. sellusername:
  1444. description: 销售方名字
  1445. type: string
  1446. userid:
  1447. description: 用户ID
  1448. type: integer
  1449. wrstandardcode:
  1450. description: 品类代码
  1451. type: string
  1452. wrstandardid:
  1453. description: 品类id
  1454. type: integer
  1455. wrstandardname:
  1456. description: 品类名称
  1457. type: string
  1458. type: object
  1459. ermcp.QryBussinessJsExRsp:
  1460. properties:
  1461. applyid:
  1462. description: 申请人
  1463. type: string
  1464. applyname:
  1465. description: 申请人名称
  1466. type: string
  1467. applystatus:
  1468. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1469. type: integer
  1470. applytime:
  1471. description: 申请时间
  1472. type: string
  1473. attachurl:
  1474. description: 附件
  1475. type: string
  1476. auditid:
  1477. description: 审核人ID
  1478. type: string
  1479. auditname:
  1480. description: 审核人名称
  1481. type: string
  1482. auditremark:
  1483. description: 审核备注
  1484. type: string
  1485. audittime:
  1486. description: 审核时间
  1487. type: string
  1488. buyusername:
  1489. description: 采购方名称
  1490. type: string
  1491. contractno:
  1492. description: 合同编号
  1493. type: string
  1494. contractstatus:
  1495. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1496. type: integer
  1497. contracttype:
  1498. description: 现货合同类型 - 1:采购 -1:销售
  1499. type: integer
  1500. deliverygoodscode:
  1501. description: 现货品种代码
  1502. type: string
  1503. deliverygoodsid:
  1504. description: 现货商品ID
  1505. type: integer
  1506. deliverygoodsname:
  1507. description: 现货品种名称
  1508. type: string
  1509. enumdicname:
  1510. description: 单位名称
  1511. type: string
  1512. goodscode:
  1513. description: 点价合约
  1514. type: string
  1515. goodsname:
  1516. description: 商品名称
  1517. type: string
  1518. operateapplyid:
  1519. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1520. type: string
  1521. operateapplytype:
  1522. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1523. type: integer
  1524. pricemove:
  1525. description: 升贴水
  1526. type: number
  1527. pricetype:
  1528. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1529. type: integer
  1530. reckontype:
  1531. description: 结算类型
  1532. type: string
  1533. reckonvalue:
  1534. description: 值
  1535. type: number
  1536. relatedid:
  1537. description: 现货合同ID
  1538. type: string
  1539. sellusername:
  1540. description: 销售方名字
  1541. type: string
  1542. userid:
  1543. description: 用户ID
  1544. type: integer
  1545. wrstandardcode:
  1546. description: 品类代码
  1547. type: string
  1548. wrstandardid:
  1549. description: 品类id
  1550. type: integer
  1551. wrstandardname:
  1552. description: 品类名称
  1553. type: string
  1554. type: object
  1555. ermcp.QryBussinessJsRsp:
  1556. properties:
  1557. addmargin:
  1558. description: 追加保证金(非必填)
  1559. type: number
  1560. applyid:
  1561. description: 申请人
  1562. type: string
  1563. applyname:
  1564. description: 申请人名称
  1565. type: string
  1566. applystatus:
  1567. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1568. type: integer
  1569. applytime:
  1570. description: 申请时间
  1571. type: string
  1572. attachurl:
  1573. description: 附件
  1574. type: string
  1575. auditid:
  1576. description: 审核人ID
  1577. type: string
  1578. auditname:
  1579. description: 审核人名称
  1580. type: string
  1581. auditremark:
  1582. description: 审核备注
  1583. type: string
  1584. audittime:
  1585. description: 审核时间
  1586. type: string
  1587. buyusername:
  1588. description: 采购方名称
  1589. type: string
  1590. contractno:
  1591. description: 合同编号
  1592. type: string
  1593. contractstatus:
  1594. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1595. type: integer
  1596. contracttype:
  1597. description: 现货合同类型 - 1:采购 -1:销售
  1598. type: integer
  1599. decmargin:
  1600. description: 减少保证金(非必填)
  1601. type: number
  1602. deliverygoodscode:
  1603. description: 现货品种代码
  1604. type: string
  1605. deliverygoodsid:
  1606. description: 现货商品ID
  1607. type: integer
  1608. deliverygoodsname:
  1609. description: 现货品种名称
  1610. type: string
  1611. enumdicname:
  1612. description: 单位名称
  1613. type: string
  1614. goodscode:
  1615. description: 点价合约
  1616. type: string
  1617. goodsname:
  1618. description: 商品名称
  1619. type: string
  1620. operateapplyid:
  1621. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1622. type: string
  1623. operateapplytype:
  1624. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1625. type: integer
  1626. pricemove:
  1627. description: 升贴水
  1628. type: number
  1629. pricetype:
  1630. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1631. type: integer
  1632. reckonadjustamount:
  1633. description: 结算调整金额(非必填)
  1634. type: number
  1635. reckonosamount:
  1636. description: 结算溢短金额(非必填)
  1637. type: number
  1638. reckonotheramount:
  1639. description: 结算其他费用(非必填)
  1640. type: number
  1641. reckonrealqty:
  1642. description: 结算实际数量(非必填)
  1643. type: number
  1644. relatedid:
  1645. description: 现货合同ID
  1646. type: string
  1647. sellusername:
  1648. description: 销售方名字
  1649. type: string
  1650. userid:
  1651. description: 用户ID
  1652. type: integer
  1653. wrstandardcode:
  1654. description: 品类代码
  1655. type: string
  1656. wrstandardid:
  1657. description: 品类id
  1658. type: integer
  1659. wrstandardname:
  1660. description: 品类名称
  1661. type: string
  1662. type: object
  1663. ermcp.QryBussinessKxRsp:
  1664. properties:
  1665. applyid:
  1666. description: 申请人
  1667. type: string
  1668. applyname:
  1669. description: 申请人名称
  1670. type: string
  1671. applystatus:
  1672. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1673. type: integer
  1674. applytime:
  1675. description: 申请时间
  1676. type: string
  1677. attachurl:
  1678. description: 附件
  1679. type: string
  1680. auditid:
  1681. description: 审核人ID
  1682. type: string
  1683. auditname:
  1684. description: 审核人名称
  1685. type: string
  1686. auditremark:
  1687. description: 审核备注
  1688. type: string
  1689. audittime:
  1690. description: 审核时间
  1691. type: string
  1692. buyusername:
  1693. description: 采购方名称
  1694. type: string
  1695. contractno:
  1696. description: 合同编号
  1697. type: string
  1698. contractstatus:
  1699. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1700. type: integer
  1701. contracttype:
  1702. description: 现货合同类型 - 1:采购 -1:销售
  1703. type: integer
  1704. deductamount:
  1705. description: 退款(非必填)
  1706. type: number
  1707. deliverygoodscode:
  1708. description: 现货品种代码
  1709. type: string
  1710. deliverygoodsid:
  1711. description: 现货商品ID
  1712. type: integer
  1713. deliverygoodsname:
  1714. description: 现货品种名称
  1715. type: string
  1716. enumdicname:
  1717. description: 单位名称
  1718. type: string
  1719. goodscode:
  1720. description: 点价合约
  1721. type: string
  1722. goodsname:
  1723. description: 商品名称
  1724. type: string
  1725. kxtype:
  1726. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1727. type: integer
  1728. operateapplyid:
  1729. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1730. type: string
  1731. operateapplytype:
  1732. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1733. type: integer
  1734. payamount:
  1735. description: 收付款(非必填)
  1736. type: number
  1737. pricemove:
  1738. description: 升贴水
  1739. type: number
  1740. pricetype:
  1741. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1742. type: integer
  1743. relatedid:
  1744. description: 现货合同ID
  1745. type: string
  1746. sellusername:
  1747. description: 销售方名字
  1748. type: string
  1749. userid:
  1750. description: 用户ID
  1751. type: integer
  1752. wrstandardcode:
  1753. description: 品类代码
  1754. type: string
  1755. wrstandardid:
  1756. description: 品类id
  1757. type: integer
  1758. wrstandardname:
  1759. description: 品类名称
  1760. type: string
  1761. type: object
  1762. ermcp.QryGGCovertCfgRsp:
  1763. properties:
  1764. convertratio:
  1765. description: 折算系数
  1766. type: number
  1767. destgoodsgroupid:
  1768. description: 目标品种ID
  1769. type: integer
  1770. dstcode:
  1771. description: 目录品种代码
  1772. type: string
  1773. dstexchangecode:
  1774. description: 目标期货交易所
  1775. type: string
  1776. dstname:
  1777. description: 目标品种名称
  1778. type: string
  1779. dstunitid:
  1780. description: 目标品种单位ID
  1781. type: integer
  1782. dstunitidname:
  1783. description: 目标品种单位名称
  1784. type: string
  1785. modifytime:
  1786. description: 修改时间
  1787. type: string
  1788. srccode:
  1789. description: 源品种代码
  1790. type: string
  1791. srcexchangecode:
  1792. description: 源期货交易所
  1793. type: string
  1794. srcgoodsgroupid:
  1795. description: 源品种ID
  1796. type: integer
  1797. srcname:
  1798. description: 源品种名称
  1799. type: string
  1800. srcunitid:
  1801. description: 源品种单位ID
  1802. type: integer
  1803. srcunitidname:
  1804. description: 源品种单位名称
  1805. type: string
  1806. type: object
  1807. ermcp.QryMGChangeLogRsp:
  1808. properties:
  1809. aftervalue:
  1810. description: 变更后
  1811. type: number
  1812. applyid:
  1813. description: 操作人
  1814. type: integer
  1815. applyname:
  1816. description: 操作人名称
  1817. type: string
  1818. applysrc:
  1819. description: 操作来源 - 1:管理端 2:终端
  1820. type: integer
  1821. beforevalue:
  1822. description: 变更前
  1823. type: number
  1824. changelogtype:
  1825. description: 变更流水类型 - 1:套保比率变更
  1826. type: integer
  1827. handlestatus:
  1828. description: 处理状态
  1829. type: integer
  1830. logdatetime:
  1831. description: 流水日期
  1832. type: string
  1833. logid:
  1834. description: 流水ID
  1835. type: integer
  1836. logremark:
  1837. description: 流水备注
  1838. type: string
  1839. middlegoodsid:
  1840. description: 套保品种ID
  1841. type: integer
  1842. tradedate:
  1843. description: 交易日(yyyyMMdd)
  1844. type: string
  1845. updatetime:
  1846. description: 更新时间
  1847. type: string
  1848. type: object
  1849. ermcp.QryMiddleGoodsDetailRsp:
  1850. properties:
  1851. cvList:
  1852. description: 期货品种折算列表
  1853. items:
  1854. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1855. type: array
  1856. mg:
  1857. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1858. description: 套保品种基本信息
  1859. wrcList:
  1860. description: 现货品种列表(现货商品折算配置)
  1861. items:
  1862. $ref: '#/definitions/models.WRSConverTDetail'
  1863. type: array
  1864. type: object
  1865. ermcp.QryMiddleGoodsRsp:
  1866. properties:
  1867. areauserid:
  1868. description: 机构用户ID
  1869. type: integer
  1870. createtime:
  1871. description: 修改时间
  1872. type: string
  1873. enumdicname:
  1874. description: 单位名称
  1875. type: string
  1876. evaluateratio:
  1877. description: 估价系数
  1878. type: number
  1879. goodsgroupid:
  1880. description: 关联期货品种ID
  1881. type: integer
  1882. goodsunitid:
  1883. description: 单位ID
  1884. type: integer
  1885. isvalid:
  1886. description: 状态 0-无效(停用) 1-有效(正常)
  1887. type: integer
  1888. middlegoodscode:
  1889. description: 套保品种代码
  1890. type: string
  1891. middlegoodsid:
  1892. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1893. type: integer
  1894. middlegoodsname:
  1895. description: 套保品种名称
  1896. type: string
  1897. modifytime:
  1898. description: 修改时间
  1899. type: string
  1900. needarbitrageratio:
  1901. description: 套利比例
  1902. type: number
  1903. needhedgeratio:
  1904. description: 套保比率
  1905. type: number
  1906. qtydecimalplace:
  1907. description: 数量小数位
  1908. type: integer
  1909. relatedgoodsid:
  1910. description: 关联交易商品ID
  1911. type: integer
  1912. relatedgoodstype:
  1913. description: 关联商品类型 - 1:期货合约 2:现货品种
  1914. type: integer
  1915. remark:
  1916. description: 备注
  1917. type: string
  1918. type: object
  1919. ermcp.QryOPLogRsp:
  1920. properties:
  1921. aftervalue:
  1922. description: 变更后
  1923. type: number
  1924. applyid:
  1925. description: 操作人ID
  1926. type: string
  1927. applyname:
  1928. description: 操作人名称
  1929. type: string
  1930. beforevalue:
  1931. description: 变更前
  1932. type: number
  1933. biztype:
  1934. description: 业务类型 - 1:套保计划 2:现货合同
  1935. type: integer
  1936. contracttype:
  1937. description: 现货合同类型 - 1:采购 -1:销售
  1938. type: integer
  1939. logvalue:
  1940. description: 数值
  1941. type: number
  1942. operatelogtype:
  1943. description: 操作流水类型
  1944. type: integer
  1945. operatelogtypedesc:
  1946. description: 操作流水类型名称
  1947. type: string
  1948. relatedid:
  1949. description: 现货合同ID\套保计划
  1950. type: string
  1951. updatetime:
  1952. description: 更新时间
  1953. type: string
  1954. type: object
  1955. ermcp.QryUserInfoRsp:
  1956. properties:
  1957. address:
  1958. description: 通讯地址
  1959. type: string
  1960. attachment1:
  1961. description: 附件1
  1962. type: string
  1963. audittime:
  1964. description: 审核时间
  1965. type: string
  1966. cardbackphotourl:
  1967. description: 证件反面图片地址
  1968. type: string
  1969. cardfrontphotourl:
  1970. description: 证件正面图片地址
  1971. type: string
  1972. cardnum:
  1973. description: 证件号码
  1974. type: string
  1975. cardtype:
  1976. description: 证件类型
  1977. type: integer
  1978. cardtypename:
  1979. description: 证件类型名称
  1980. type: string
  1981. cityid:
  1982. description: 市
  1983. type: integer
  1984. contactname:
  1985. description: 联系人
  1986. type: string
  1987. countryid:
  1988. description: 国家
  1989. type: integer
  1990. createtime:
  1991. description: 创建时间
  1992. type: string
  1993. customername:
  1994. description: 企业名称
  1995. type: string
  1996. districtid:
  1997. description: 区域
  1998. type: integer
  1999. email:
  2000. description: 邮件
  2001. type: string
  2002. legalpersonname:
  2003. description: 法人姓名(企业)
  2004. type: string
  2005. memberuserid:
  2006. description: 所属机构ID
  2007. type: integer
  2008. mobile:
  2009. description: 手机号码
  2010. type: string
  2011. modifytime:
  2012. description: 修改时间
  2013. type: string
  2014. nickname:
  2015. description: 昵称
  2016. type: string
  2017. provinceid:
  2018. description: 省
  2019. type: integer
  2020. remark:
  2021. description: 备注
  2022. type: string
  2023. status:
  2024. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2025. type: integer
  2026. statusdesc:
  2027. description: 账户状态中文描述
  2028. type: string
  2029. taxpayernum:
  2030. description: 纳税人识别号
  2031. type: string
  2032. telphone:
  2033. description: 联系电话
  2034. type: string
  2035. userid:
  2036. description: 用户ID
  2037. type: integer
  2038. userinfotype:
  2039. description: 客户类型
  2040. type: string
  2041. type: object
  2042. ermcp.QryWarehouseRsp:
  2043. properties:
  2044. address:
  2045. description: 详细地址
  2046. type: string
  2047. areauserid:
  2048. description: 所属机构
  2049. type: integer
  2050. autoid:
  2051. description: 自增ID(仓库ID)
  2052. type: integer
  2053. cityid:
  2054. description: 市
  2055. type: integer
  2056. contactname:
  2057. description: 联系人
  2058. type: string
  2059. contactnum:
  2060. description: 联系电话
  2061. type: string
  2062. countryid:
  2063. description: 国家
  2064. type: integer
  2065. createtime:
  2066. description: 创建时间
  2067. type: string
  2068. districtid:
  2069. description: 区
  2070. type: integer
  2071. hasvideo:
  2072. description: 是否有视频 - 0:无 1:有
  2073. type: integer
  2074. provinceid:
  2075. description: 省
  2076. type: integer
  2077. remark:
  2078. description: 审核备注
  2079. type: string
  2080. videourl:
  2081. description: 视频地址
  2082. type: string
  2083. warehousecode:
  2084. description: 仓库代码
  2085. type: string
  2086. warehousename:
  2087. description: 仓库名称
  2088. type: string
  2089. warehousestatus:
  2090. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2091. type: integer
  2092. warehousetype:
  2093. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2094. type: integer
  2095. type: object
  2096. ermcp.QueryErmcpTradePositionRsp:
  2097. properties:
  2098. agreeunit:
  2099. description: 合约单位
  2100. type: number
  2101. buyorsell:
  2102. description: 方向 - 0:买 1:卖
  2103. type: integer
  2104. curpositionqty:
  2105. description: 持仓(总仓数量, 期末头寸)
  2106. type: integer
  2107. curtdposition:
  2108. description: 今仓数量(期末今日头寸)
  2109. type: integer
  2110. curtdpositionenabled:
  2111. description: 今仓可用
  2112. type: integer
  2113. decimalplace:
  2114. description: 报价小数位
  2115. type: integer
  2116. enableqty:
  2117. description: 可用(总仓可用)
  2118. type: integer
  2119. exexchangename:
  2120. description: 外部交易所名称
  2121. type: string
  2122. goodscode:
  2123. description: 商品代码(内部)
  2124. type: string
  2125. goodsid:
  2126. description: 商品ID(自增ID SEQ_GOODS)
  2127. type: integer
  2128. goodsname:
  2129. description: 商品名称
  2130. type: string
  2131. last:
  2132. description: 现价
  2133. type: number
  2134. marketid:
  2135. description: 所属市场ID
  2136. type: integer
  2137. openaverageprice:
  2138. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2139. type: number
  2140. opencost:
  2141. description: 开仓成本
  2142. type: number
  2143. openpl:
  2144. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2145. type: number
  2146. outgoodscode:
  2147. description: 商品代码(外部)
  2148. type: string
  2149. positionaverageprice:
  2150. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2151. type: number
  2152. positioncost:
  2153. description: 持仓成本
  2154. type: number
  2155. positionpl:
  2156. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2157. type: number
  2158. positionplrate:
  2159. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2160. type: number
  2161. usedmargin:
  2162. description: 占用保证金
  2163. type: number
  2164. type: object
  2165. ermcp.RealtimeExposurePositionRsp:
  2166. properties:
  2167. agreeunit:
  2168. description: 合约单位
  2169. type: string
  2170. areauserid:
  2171. description: 所属机构id
  2172. type: integer
  2173. convertratio:
  2174. description: 期货品种系数(折算系数)
  2175. type: number
  2176. curqty:
  2177. description: 当前持仓
  2178. type: integer
  2179. diffhedgeqty:
  2180. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2181. type: number
  2182. diffqty:
  2183. description: 持仓变动量=当前持仓-昨日持仓
  2184. type: integer
  2185. goodscode:
  2186. description: 商品代码
  2187. type: string
  2188. goodsid:
  2189. description: 商品id
  2190. type: integer
  2191. goodsname:
  2192. description: 商品名称
  2193. type: string
  2194. middlegoodsid:
  2195. description: 套保商品id
  2196. type: integer
  2197. ydqty:
  2198. description: 昨日持仓
  2199. type: integer
  2200. type: object
  2201. ermcp.RealtimeExposureRsp:
  2202. properties:
  2203. AreaUserID:
  2204. description: 所属机构
  2205. type: integer
  2206. BuyFutureQty:
  2207. description: 买入期货数量
  2208. type: number
  2209. BuyPlanQty:
  2210. description: 采购计划数量
  2211. type: number
  2212. BuyPricedQty:
  2213. description: 采购合同已定价数量
  2214. type: number
  2215. MiddleGoodsCode:
  2216. description: 套保品种代码
  2217. type: string
  2218. MiddleGoodsHedgeRatio:
  2219. description: 套保比例
  2220. type: number
  2221. MiddleGoodsID:
  2222. description: 套保品种
  2223. type: integer
  2224. MiddleGoodsName:
  2225. description: 套保品种名称
  2226. type: string
  2227. NeedHedgeExposoure:
  2228. description: 应套保敞口(套保敞口)
  2229. type: number
  2230. NeedHedgeRatio:
  2231. description: 应套保敞口比例
  2232. type: number
  2233. OriBuyFutureQty:
  2234. description: 期初买入期货数量
  2235. type: number
  2236. OriBuyPlanQty:
  2237. description: 期初采购计划数量
  2238. type: number
  2239. OriBuyPricedQty:
  2240. description: 期初采购合同已定价数量
  2241. type: number
  2242. OriSellFutureQty:
  2243. description: 期初卖出期货数量
  2244. type: number
  2245. OriSellPlanQty:
  2246. description: 期初销售计划数量
  2247. type: number
  2248. OriSellPricedQty:
  2249. description: 期初销售合同已定价数量
  2250. type: number
  2251. SellFutureQty:
  2252. description: 卖出期货数量
  2253. type: number
  2254. SellPlanQty:
  2255. description: 销售计划数量
  2256. type: number
  2257. SellPricedQty:
  2258. description: 销售合同已定价数量
  2259. type: number
  2260. TotalExposure:
  2261. description: 总敞口 平安:净敞口
  2262. type: number
  2263. TotalFutureQty:
  2264. description: 期货总量 平安:保值净持仓量
  2265. type: number
  2266. TotalHedgeRatio:
  2267. description: 敞口比例
  2268. type: number
  2269. TotalNeedHedgeQty:
  2270. description: 应套保总量(现货应套保总量)
  2271. type: number
  2272. TotalSpotQty:
  2273. description: 现货总量 平安:采销定价净值
  2274. type: number
  2275. arbitrageqty:
  2276. description: 套利量
  2277. type: number
  2278. diffArbitrageQty:
  2279. description: 套利变动量
  2280. type: number
  2281. diffExposoureQty:
  2282. description: 变动量(套保敞口)
  2283. type: number
  2284. diffFutuQty:
  2285. description: 变动量(期货总量) 平安:保值净持仓量今日变动
  2286. type: number
  2287. diffHedgeQty:
  2288. description: 套保变动量
  2289. type: number
  2290. diffQty:
  2291. description: 变动量(总敞口) 平安:净敞口今日变动
  2292. type: number
  2293. diffSpotHedgeQty:
  2294. description: 变动量(现货应套保总量) 平安:应套保量今日变动
  2295. type: number
  2296. diffSpotQty:
  2297. description: 变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动
  2298. type: number
  2299. enumdicname:
  2300. description: 单位名称
  2301. type: string
  2302. hedgeqty:
  2303. description: 套保量
  2304. type: number
  2305. needarbitrageqty:
  2306. description: 应套利量
  2307. type: number
  2308. needarbitrageratio:
  2309. description: 套利比例
  2310. type: number
  2311. needhedgeqty:
  2312. description: 应套保量
  2313. type: number
  2314. oriTotalFutuQty:
  2315. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  2316. type: number
  2317. oriTotalSpotQty:
  2318. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  2319. type: number
  2320. oriarbitrageqty:
  2321. description: 期初套利量
  2322. type: number
  2323. orihedgeqty:
  2324. description: 期初套保量
  2325. type: number
  2326. orineedhedgeexposoure:
  2327. description: 期初套保敞口
  2328. type: number
  2329. oritotalexposure:
  2330. description: 期初总敞口
  2331. type: number
  2332. oritotalfutureqty:
  2333. description: 期初期货总量
  2334. type: number
  2335. oritotalneedhedgeqty:
  2336. description: 期初现货应套保量
  2337. type: number
  2338. type: object
  2339. erms2.QueryArbitrageStrategyRsp:
  2340. properties:
  2341. applybasis:
  2342. description: 申请基差
  2343. type: number
  2344. asapplyid:
  2345. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2346. type: string
  2347. asname:
  2348. description: 策略名称
  2349. type: string
  2350. asno:
  2351. description: 策略编号
  2352. type: string
  2353. basischangepl:
  2354. description: 基差变动损益[结算更新]
  2355. type: number
  2356. biztype:
  2357. description: 业务类型 - 1:正向套利 -1:反向套利
  2358. type: integer
  2359. closetradedate:
  2360. description: 完结交易日(yyyyMMdd)
  2361. type: string
  2362. curbasis:
  2363. description: 当前基差[结算更新]
  2364. type: number
  2365. deliverygoodsid:
  2366. description: 现货品种ID
  2367. type: integer
  2368. futureavgprice:
  2369. description: 期货建仓均价
  2370. type: number
  2371. futurecloseamount:
  2372. description: 期货平仓金额
  2373. type: number
  2374. futurecloseqty:
  2375. description: 期货平仓数量
  2376. type: number
  2377. futureopenamount:
  2378. description: 期货开仓金额
  2379. type: number
  2380. futureopenqty:
  2381. description: 期货开仓数量
  2382. type: number
  2383. futurepl:
  2384. description: 期货总盈亏[结算更新]
  2385. type: number
  2386. futureqty:
  2387. description: 期货持仓数量
  2388. type: number
  2389. futurequote:
  2390. description: 期货额度
  2391. type: number
  2392. goodsgroupid:
  2393. description: 期货品种ID
  2394. type: integer
  2395. marketid:
  2396. description: 市场ID
  2397. type: integer
  2398. netexposure:
  2399. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2400. type: number
  2401. netexposurepl:
  2402. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2403. type: number
  2404. netexposurerate:
  2405. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2406. type: number
  2407. openbasis:
  2408. description: 建仓基差
  2409. type: number
  2410. pricedspotqty:
  2411. description: 已定价现货数量
  2412. type: number
  2413. pricedspotqtynotax:
  2414. description: 已定价现货不含税数量
  2415. type: number
  2416. remark:
  2417. description: 备注
  2418. type: string
  2419. spotavgprice:
  2420. description: 现货均价
  2421. type: number
  2422. spotbuyamount:
  2423. description: 现货采购金额
  2424. type: number
  2425. spotbuyqty:
  2426. description: 现货采购数量
  2427. type: number
  2428. spotpl:
  2429. description: 现货总盈亏[结算更新]
  2430. type: number
  2431. spotquota:
  2432. description: 现货额度
  2433. type: number
  2434. spotsellamount:
  2435. description: 现货销售金额
  2436. type: number
  2437. spotsellqty:
  2438. description: 现货销售数量
  2439. type: number
  2440. spotusedquota:
  2441. description: 现货占用资金
  2442. type: number
  2443. strategystatus:
  2444. description: 策略状态 - 0:未结束 1:已结束
  2445. type: integer
  2446. totalpl:
  2447. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2448. type: number
  2449. tradedate:
  2450. description: 交易日(yyyyMMdd)
  2451. type: string
  2452. updatetime:
  2453. description: 更新时间
  2454. type: string
  2455. usedquota:
  2456. description: 已占用资金
  2457. type: number
  2458. userid:
  2459. description: 所属机构
  2460. type: integer
  2461. required:
  2462. - asapplyid
  2463. type: object
  2464. erms2.QueryInnerTradeDetailRsp:
  2465. properties:
  2466. accountid:
  2467. description: 账号ID
  2468. type: integer
  2469. agreeunit:
  2470. description: 合约单位
  2471. type: number
  2472. asapplyid:
  2473. description: 策略申请ID
  2474. type: integer
  2475. asname:
  2476. description: 策略名称
  2477. type: string
  2478. asno:
  2479. description: 策略编号
  2480. type: string
  2481. buyorsell:
  2482. description: 方向 - 0:买 1:卖
  2483. type: integer
  2484. channelbuildtype:
  2485. description: 委托单据类型 0:无 1:建仓 2:平仓
  2486. type: integer
  2487. closetype:
  2488. description: 平仓方式 - 0:无 1:平今 2:平昨
  2489. type: integer
  2490. decimalplace:
  2491. description: 报价小数位
  2492. type: integer
  2493. detailtype:
  2494. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2495. type: integer
  2496. exexchangecode:
  2497. description: 外部交易所代码
  2498. type: string
  2499. exexchangename:
  2500. description: 外部交易所名称
  2501. type: string
  2502. goodscode:
  2503. description: 商品代码(合约)
  2504. type: string
  2505. goodsgroupid:
  2506. description: 商品组ID(品种ID)
  2507. type: integer
  2508. goodsgroupname:
  2509. description: 商品组名称(品种)
  2510. type: string
  2511. goodsid:
  2512. description: 商品ID
  2513. type: integer
  2514. goodsname:
  2515. description: 商品名称(合约)
  2516. type: string
  2517. goodunit:
  2518. description: 报价单位
  2519. type: string
  2520. marketid:
  2521. description: 市场ID
  2522. type: integer
  2523. orderid:
  2524. description: 委托单号
  2525. type: string
  2526. outgoodscode:
  2527. description: 商品代码(外部)
  2528. type: string
  2529. relatedouttradeid:
  2530. description: 关联外部成交单ID
  2531. type: string
  2532. remark:
  2533. description: 备注
  2534. type: string
  2535. spotcontractid:
  2536. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2537. type: integer
  2538. spotcontractno:
  2539. description: 现货合同编号
  2540. type: string
  2541. tradeid:
  2542. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2543. type: string
  2544. tradeprice:
  2545. description: 成交价格
  2546. type: number
  2547. tradeqty:
  2548. description: 成交数量
  2549. type: integer
  2550. tradetime:
  2551. description: 成交时间
  2552. type: string
  2553. updatetime:
  2554. description: 更新时间
  2555. type: string
  2556. required:
  2557. - asapplyid
  2558. - buyorsell
  2559. - goodscode
  2560. - goodsgroupid
  2561. - goodsgroupname
  2562. - goodsname
  2563. - tradeid
  2564. type: object
  2565. erms2.QuerySpotContractRsp:
  2566. properties:
  2567. accountid:
  2568. description: 资金账户ID
  2569. type: integer
  2570. areauserid:
  2571. description: 所属机构
  2572. type: integer
  2573. closedate:
  2574. description: 终止日期
  2575. type: string
  2576. closeremark:
  2577. description: 结束备注
  2578. type: string
  2579. closetradedate:
  2580. description: 完结交易日(yyyyMMdd)
  2581. type: string
  2582. closetype:
  2583. description: 终止类型 - 1:违约 2:提前终止
  2584. type: integer
  2585. contractamount:
  2586. description: 合同金额
  2587. type: number
  2588. contractattachment:
  2589. description: 合同附件
  2590. type: string
  2591. contractno:
  2592. description: 现货合同编号
  2593. type: string
  2594. contractqty:
  2595. description: 合同数量(数值) (用于计算)
  2596. type: number
  2597. contractqtychar:
  2598. description: 合同数量\已订价数量 (用于显示)
  2599. type: string
  2600. contractstatus:
  2601. description: 合同状态 - 0:未结束 1:已结束
  2602. type: integer
  2603. contracttype:
  2604. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2605. type: integer
  2606. customeraccountid:
  2607. description: 客户资金账户ID
  2608. type: integer
  2609. customeruserid:
  2610. description: 客户ID
  2611. type: integer
  2612. deliverygoodsdesc:
  2613. description: 品种说明
  2614. type: string
  2615. deliverygoodsid:
  2616. description: 现货品种ID
  2617. type: integer
  2618. handlestatus:
  2619. description: 处理状态
  2620. type: integer
  2621. invoiceatt:
  2622. description: 发票附件
  2623. type: string
  2624. invoicedatetime:
  2625. description: 开收票更新时间
  2626. type: string
  2627. invoiceopentime:
  2628. description: 开票时间
  2629. type: string
  2630. invoiceremark:
  2631. description: 发票备注
  2632. type: string
  2633. invoicestatus:
  2634. description: 开收票状态 - 0:未开票 1:已开票
  2635. type: integer
  2636. lastdate:
  2637. description: 交货时间
  2638. type: string
  2639. marketid:
  2640. description: 市场ID
  2641. type: integer
  2642. paydatetime:
  2643. description: 收付款更新时间
  2644. type: string
  2645. payremark:
  2646. description: 收付款备注
  2647. type: string
  2648. paystatus:
  2649. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2650. type: integer
  2651. positionqty:
  2652. description: 头寸数量 - 合同数量去小数部分
  2653. type: integer
  2654. producttype:
  2655. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2656. type: integer
  2657. relatedqty:
  2658. description: 已关联数量
  2659. type: number
  2660. relatedstatus:
  2661. description: 关联完结状态 - 0:未结束 1:已结束
  2662. type: integer
  2663. remark:
  2664. description: 备注
  2665. type: string
  2666. signdate:
  2667. description: 签订日期
  2668. type: string
  2669. spotcontractid:
  2670. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2671. type: string
  2672. spotdatetime:
  2673. description: 收发货更新时间
  2674. type: string
  2675. spotprice:
  2676. description: 价格
  2677. type: number
  2678. spotremark:
  2679. description: 收发货备注
  2680. type: string
  2681. spotstatus:
  2682. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2683. type: integer
  2684. tradedate:
  2685. description: 交易日(yyyyMMdd)
  2686. type: string
  2687. userid:
  2688. description: 业务员用户ID
  2689. type: integer
  2690. warehouseid:
  2691. description: 仓库ID
  2692. type: integer
  2693. wrfactortypeid:
  2694. description: 仓单要素类型ID
  2695. type: integer
  2696. wrstandardid:
  2697. description: 仓单标准ID(SEQ_WRSTANDARD)
  2698. type: integer
  2699. required:
  2700. - spotcontractid
  2701. type: object
  2702. erms3.AddErms2ASApplyReq:
  2703. properties:
  2704. applybasis:
  2705. description: 申请基差
  2706. type: number
  2707. applystatus:
  2708. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2709. type: integer
  2710. asapplyid:
  2711. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2712. type: integer
  2713. asname:
  2714. description: 策略名称
  2715. type: string
  2716. asno:
  2717. description: 策略编号
  2718. type: string
  2719. auditid:
  2720. description: 审核人
  2721. type: integer
  2722. auditremark:
  2723. description: 审核备注
  2724. type: string
  2725. audittime:
  2726. description: 审核时间
  2727. type: string
  2728. biztype:
  2729. description: 业务类型 - 1:正向套利 2:反向套利
  2730. type: integer
  2731. createtime:
  2732. description: 创建时间
  2733. type: string
  2734. creatorid:
  2735. description: 创建人
  2736. type: integer
  2737. deliverygoodsid:
  2738. description: 现货品种ID
  2739. type: integer
  2740. futurequote:
  2741. description: 期货额度
  2742. type: number
  2743. goodsgroupid:
  2744. description: 期货品种ID
  2745. type: integer
  2746. marketid:
  2747. description: 市场ID
  2748. type: integer
  2749. remark:
  2750. description: 备注
  2751. type: string
  2752. spotquota:
  2753. description: 现货额度
  2754. type: number
  2755. tradedate:
  2756. description: 交易日(yyyyMMdd)
  2757. type: string
  2758. userid:
  2759. description: 所属机构
  2760. type: integer
  2761. required:
  2762. - asapplyid
  2763. type: object
  2764. erms3.AddErms2SpotTradeApplyReq:
  2765. properties:
  2766. applyjsondetail:
  2767. description: 申请明细(JSON)
  2768. type: string
  2769. applystatus:
  2770. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2771. type: integer
  2772. areauserid:
  2773. description: 所属机构
  2774. type: integer
  2775. auditid:
  2776. description: 审核人
  2777. type: integer
  2778. auditremark:
  2779. description: 审核备注
  2780. type: string
  2781. audittime:
  2782. description: 审核时间
  2783. type: string
  2784. createtime:
  2785. description: 创建时间
  2786. type: string
  2787. creatorid:
  2788. description: 创建人
  2789. type: integer
  2790. deliverygoodsid:
  2791. description: 现货品种ID
  2792. type: integer
  2793. futureaccountid:
  2794. description: 期货资金账户
  2795. type: integer
  2796. goodsgroupid:
  2797. description: 期货品种
  2798. type: integer
  2799. marketid:
  2800. description: 市场ID
  2801. type: integer
  2802. remark:
  2803. description: 备注
  2804. type: string
  2805. spotaccountid:
  2806. description: 现货资金账户
  2807. type: integer
  2808. spottradeid:
  2809. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2810. type: integer
  2811. spottradename:
  2812. description: 业务名称
  2813. type: string
  2814. spottradeno:
  2815. description: 业务编号
  2816. type: string
  2817. tradedate:
  2818. description: 交易日(yyyyMMdd)
  2819. type: string
  2820. wrstandardid:
  2821. description: 仓单标准ID
  2822. type: integer
  2823. required:
  2824. - spottradeid
  2825. type: object
  2826. erms3.AddSpotContractApplyReq:
  2827. properties:
  2828. accountid:
  2829. description: 资金账户ID
  2830. type: integer
  2831. areauserid:
  2832. description: 所属机构
  2833. type: integer
  2834. contractattachment:
  2835. description: 合同附件
  2836. type: string
  2837. contractno:
  2838. description: 现货合同编号
  2839. type: string
  2840. contracttype:
  2841. description: 现货合同类型 - 1:采购 -1:销售
  2842. type: integer
  2843. creatorid:
  2844. description: 申请人
  2845. type: integer
  2846. customeraccountid:
  2847. description: 客户资金账户ID
  2848. type: integer
  2849. customeruserid:
  2850. description: 客户ID
  2851. type: integer
  2852. details:
  2853. description: 明细
  2854. items:
  2855. $ref: '#/definitions/erms3.SoptContractDetail'
  2856. type: array
  2857. orimargin:
  2858. description: 初始保证金
  2859. type: number
  2860. remark:
  2861. description: 备注
  2862. type: string
  2863. signdate:
  2864. description: 签订日期
  2865. type: string
  2866. required:
  2867. - accountid
  2868. - areauserid
  2869. - contractno
  2870. - contracttype
  2871. - customeraccountid
  2872. - customeruserid
  2873. - details
  2874. - orimargin
  2875. - signdate
  2876. type: object
  2877. erms3.AddSpotContractApplyRsp:
  2878. properties:
  2879. contractno:
  2880. description: 现货合同编号
  2881. type: string
  2882. spotcontractid:
  2883. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2884. type: integer
  2885. required:
  2886. - contractno
  2887. type: object
  2888. erms3.AddUserInfoApplyReq:
  2889. properties:
  2890. accountid:
  2891. description: 交易系统帐号Id (加密存储)
  2892. type: integer
  2893. areacode:
  2894. description: 机构代码
  2895. type: string
  2896. areaid:
  2897. description: 机构Id
  2898. type: integer
  2899. attachment1:
  2900. description: 附件1
  2901. type: string
  2902. attachment2:
  2903. description: 附件2
  2904. type: string
  2905. attachment3:
  2906. description: 附件3
  2907. type: string
  2908. attachment4:
  2909. description: 附件4
  2910. type: string
  2911. attachment5:
  2912. description: 附件5
  2913. type: string
  2914. auditedby:
  2915. description: 审核人
  2916. type: string
  2917. auditime:
  2918. description: 审核时间
  2919. type: string
  2920. auditsrc:
  2921. description: 审核来源 - 1:管理端 2:终端
  2922. type: integer
  2923. bankaccount:
  2924. description: 银行帐号 (加密存储)
  2925. type: string
  2926. bankaccountname:
  2927. description: 收款人名称
  2928. type: string
  2929. bankcardbackphotourl:
  2930. description: 银行卡背面照地址
  2931. type: string
  2932. bankcardfrontphotourl:
  2933. description: 银行卡正面照地址
  2934. type: string
  2935. bankid:
  2936. description: 银行编码
  2937. type: string
  2938. bankname:
  2939. description: 银行名称
  2940. type: string
  2941. bankpictureurl:
  2942. description: 银行卡正面地址
  2943. type: string
  2944. biznature:
  2945. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2946. type: integer
  2947. bizscope:
  2948. description: 企业经营范围(企业)
  2949. type: string
  2950. biztype:
  2951. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2952. type: integer
  2953. brokerid:
  2954. description: 经纪人ID(加密存储)
  2955. type: string
  2956. cardaddress:
  2957. description: 证件地址 (加密存储)
  2958. type: string
  2959. cardbackphotourl:
  2960. description: 背面证件照地址
  2961. type: string
  2962. cardfrontphotourl:
  2963. description: 正面证件照地址
  2964. type: string
  2965. cardnum:
  2966. description: 证件号码 (加密存储)
  2967. type: string
  2968. cardtype:
  2969. description: 证件类型
  2970. type: integer
  2971. cityid:
  2972. description: 市
  2973. type: integer
  2974. company:
  2975. description: 公司(个人)
  2976. type: string
  2977. contactcardbackphotourl:
  2978. description: 联系人证件背面图片地址
  2979. type: string
  2980. contactcardfrontphotourl:
  2981. description: 联系人证件正面图片地址
  2982. type: string
  2983. contactname:
  2984. description: 联系人
  2985. type: string
  2986. countryid:
  2987. description: 国家
  2988. type: integer
  2989. createtime:
  2990. description: 开户申请时间
  2991. type: string
  2992. cusbankid:
  2993. description: 签约类型
  2994. type: string
  2995. cusbankname:
  2996. description: 签约类型名称
  2997. type: string
  2998. customername:
  2999. description: 客户名称(企业名称)
  3000. type: string
  3001. districtid:
  3002. description: 地区
  3003. type: integer
  3004. email:
  3005. description: Email地址(加密存储)
  3006. type: string
  3007. halfbodyphotourl:
  3008. description: 半身照地址
  3009. type: string
  3010. headurl:
  3011. description: 头像地址
  3012. type: string
  3013. ipaddress:
  3014. description: IP地址
  3015. type: string
  3016. isvalidate:
  3017. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3018. type: string
  3019. legalcardbackphotourl:
  3020. description: 法人身份证背面照地址
  3021. type: string
  3022. legalcardfrontphotourl:
  3023. description: 法人身份证正面照地址
  3024. type: string
  3025. legalpersonname:
  3026. description: 法人姓名(企业)
  3027. type: string
  3028. logincode:
  3029. description: 登录帐号 (加密存储)
  3030. type: string
  3031. memberareaid:
  3032. description: 所属会员ID
  3033. type: integer
  3034. mobile2:
  3035. description: 手机号码[明文-尚志]
  3036. type: string
  3037. mobilephone:
  3038. description: 手机号码 (加密存储)
  3039. type: string
  3040. modifiedby:
  3041. description: 修改人帐号
  3042. type: integer
  3043. modifiedtime:
  3044. description: 修改时间
  3045. type: string
  3046. nickname:
  3047. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3048. type: string
  3049. openmode:
  3050. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3051. type: integer
  3052. otherurl:
  3053. description: 其它图片地址[使用分号分隔]
  3054. type: string
  3055. postalcode:
  3056. description: 邮政编码
  3057. type: string
  3058. provinceid:
  3059. description: 省
  3060. type: integer
  3061. proxystatementurl:
  3062. description: 授权委托书
  3063. type: string
  3064. qq:
  3065. description: QQ(加密存储
  3066. type: string
  3067. referral:
  3068. description: 推荐人编码
  3069. type: string
  3070. remark:
  3071. description: 备注
  3072. type: string
  3073. removebeforestatus:
  3074. description: REMOVEBEFORESTATUS
  3075. type: integer
  3076. sex:
  3077. description: 性别 - 0:女 1:男
  3078. type: integer
  3079. signedstatus:
  3080. description: 账户一号签签约状态
  3081. type: integer
  3082. signpdfurl:
  3083. description: 签约pdf文件
  3084. type: string
  3085. subbranch:
  3086. description: 开户支行
  3087. type: string
  3088. taxpayernum:
  3089. description: 纳税人识别号
  3090. type: string
  3091. telphone:
  3092. description: 联系电话(加密存储)
  3093. type: string
  3094. userid:
  3095. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3096. type: integer
  3097. userinfotype:
  3098. description: 用户信息类型 - 1:个人 2:企业
  3099. type: integer
  3100. username:
  3101. description: 用户姓名
  3102. type: string
  3103. userstate:
  3104. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3105. type: integer
  3106. usertype:
  3107. description: 用户类型 - 1:投资者 2:机构
  3108. type: integer
  3109. videourl:
  3110. description: 视频地址
  3111. type: string
  3112. wechat:
  3113. description: 微信号 (加密存储)
  3114. type: string
  3115. required:
  3116. - userid
  3117. type: object
  3118. erms3.CustomerInfo:
  3119. properties:
  3120. accountids:
  3121. description: 资金账户ID列表
  3122. items:
  3123. type: integer
  3124. type: array
  3125. customername:
  3126. description: 名称(企业名称)
  3127. type: string
  3128. mobile:
  3129. description: 手机号码
  3130. type: string
  3131. userid:
  3132. description: 用户ID
  3133. type: integer
  3134. required:
  3135. - userid
  3136. type: object
  3137. erms3.ModifyUserInfoApplyReq:
  3138. properties:
  3139. accountid:
  3140. description: 交易系统帐号Id (加密存储)
  3141. type: integer
  3142. areacode:
  3143. description: 机构代码
  3144. type: string
  3145. areaid:
  3146. description: 机构Id
  3147. type: integer
  3148. attachment1:
  3149. description: 附件1
  3150. type: string
  3151. attachment2:
  3152. description: 附件2
  3153. type: string
  3154. attachment3:
  3155. description: 附件3
  3156. type: string
  3157. attachment4:
  3158. description: 附件4
  3159. type: string
  3160. attachment5:
  3161. description: 附件5
  3162. type: string
  3163. auditedby:
  3164. description: 审核人
  3165. type: string
  3166. auditime:
  3167. description: 审核时间
  3168. type: string
  3169. auditsrc:
  3170. description: 审核来源 - 1:管理端 2:终端
  3171. type: integer
  3172. bankaccount:
  3173. description: 银行帐号 (加密存储)
  3174. type: string
  3175. bankaccountname:
  3176. description: 收款人名称
  3177. type: string
  3178. bankcardbackphotourl:
  3179. description: 银行卡背面照地址
  3180. type: string
  3181. bankcardfrontphotourl:
  3182. description: 银行卡正面照地址
  3183. type: string
  3184. bankid:
  3185. description: 银行编码
  3186. type: string
  3187. bankname:
  3188. description: 银行名称
  3189. type: string
  3190. bankpictureurl:
  3191. description: 银行卡正面地址
  3192. type: string
  3193. biznature:
  3194. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3195. type: integer
  3196. bizscope:
  3197. description: 企业经营范围(企业)
  3198. type: string
  3199. biztype:
  3200. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3201. type: integer
  3202. brokerid:
  3203. description: 经纪人ID(加密存储)
  3204. type: string
  3205. cardaddress:
  3206. description: 证件地址 (加密存储)
  3207. type: string
  3208. cardbackphotourl:
  3209. description: 背面证件照地址
  3210. type: string
  3211. cardfrontphotourl:
  3212. description: 正面证件照地址
  3213. type: string
  3214. cardnum:
  3215. description: 证件号码 (加密存储)
  3216. type: string
  3217. cardtype:
  3218. description: 证件类型
  3219. type: integer
  3220. cityid:
  3221. description: 市
  3222. type: integer
  3223. company:
  3224. description: 公司(个人)
  3225. type: string
  3226. contactcardbackphotourl:
  3227. description: 联系人证件背面图片地址
  3228. type: string
  3229. contactcardfrontphotourl:
  3230. description: 联系人证件正面图片地址
  3231. type: string
  3232. contactname:
  3233. description: 联系人
  3234. type: string
  3235. countryid:
  3236. description: 国家
  3237. type: integer
  3238. createtime:
  3239. description: 开户申请时间
  3240. type: string
  3241. cusbankid:
  3242. description: 签约类型
  3243. type: string
  3244. cusbankname:
  3245. description: 签约类型名称
  3246. type: string
  3247. customername:
  3248. description: 客户名称(企业名称)
  3249. type: string
  3250. districtid:
  3251. description: 地区
  3252. type: integer
  3253. email:
  3254. description: Email地址(加密存储)
  3255. type: string
  3256. halfbodyphotourl:
  3257. description: 半身照地址
  3258. type: string
  3259. headurl:
  3260. description: 头像地址
  3261. type: string
  3262. ipaddress:
  3263. description: IP地址
  3264. type: string
  3265. isvalidate:
  3266. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3267. type: string
  3268. legalcardbackphotourl:
  3269. description: 法人身份证背面照地址
  3270. type: string
  3271. legalcardfrontphotourl:
  3272. description: 法人身份证正面照地址
  3273. type: string
  3274. legalpersonname:
  3275. description: 法人姓名(企业)
  3276. type: string
  3277. logincode:
  3278. description: 登录帐号 (加密存储)
  3279. type: string
  3280. memberareaid:
  3281. description: 所属会员ID
  3282. type: integer
  3283. mobile2:
  3284. description: 手机号码[明文-尚志]
  3285. type: string
  3286. mobilephone:
  3287. description: 手机号码 (加密存储)
  3288. type: string
  3289. modifiedby:
  3290. description: 修改人帐号
  3291. type: integer
  3292. modifiedtime:
  3293. description: 修改时间
  3294. type: string
  3295. nickname:
  3296. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3297. type: string
  3298. openmode:
  3299. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3300. type: integer
  3301. otherurl:
  3302. description: 其它图片地址[使用分号分隔]
  3303. type: string
  3304. postalcode:
  3305. description: 邮政编码
  3306. type: string
  3307. provinceid:
  3308. description: 省
  3309. type: integer
  3310. proxystatementurl:
  3311. description: 授权委托书
  3312. type: string
  3313. qq:
  3314. description: QQ(加密存储
  3315. type: string
  3316. referral:
  3317. description: 推荐人编码
  3318. type: string
  3319. remark:
  3320. description: 备注
  3321. type: string
  3322. removebeforestatus:
  3323. description: REMOVEBEFORESTATUS
  3324. type: integer
  3325. sex:
  3326. description: 性别 - 0:女 1:男
  3327. type: integer
  3328. signedstatus:
  3329. description: 账户一号签签约状态
  3330. type: integer
  3331. signpdfurl:
  3332. description: 签约pdf文件
  3333. type: string
  3334. subbranch:
  3335. description: 开户支行
  3336. type: string
  3337. taxpayernum:
  3338. description: 纳税人识别号
  3339. type: string
  3340. telphone:
  3341. description: 联系电话(加密存储)
  3342. type: string
  3343. userid:
  3344. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3345. type: integer
  3346. userinfotype:
  3347. description: 用户信息类型 - 1:个人 2:企业
  3348. type: integer
  3349. username:
  3350. description: 用户姓名
  3351. type: string
  3352. userstate:
  3353. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3354. type: integer
  3355. usertype:
  3356. description: 用户类型 - 1:投资者 2:机构
  3357. type: integer
  3358. videourl:
  3359. description: 视频地址
  3360. type: string
  3361. wechat:
  3362. description: 微信号 (加密存储)
  3363. type: string
  3364. required:
  3365. - userid
  3366. type: object
  3367. erms3.QryAuditContractRsp:
  3368. properties:
  3369. accountid:
  3370. description: 交易员ID
  3371. type: string
  3372. applystatus:
  3373. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3374. type: integer
  3375. curdeliveryqty:
  3376. description: 未交收量
  3377. type: integer
  3378. customername:
  3379. description: 采购方ID
  3380. type: string
  3381. deliverygoodsid:
  3382. description: 品种ID
  3383. type: string
  3384. deliveryqty:
  3385. description: 交收量
  3386. type: integer
  3387. enumdicname:
  3388. description: 单位名称
  3389. type: string
  3390. matchaccountid:
  3391. description: 业务员ID
  3392. type: string
  3393. matchcustomername:
  3394. description: 销售方ID
  3395. type: string
  3396. pricedqty:
  3397. description: 定价量
  3398. type: number
  3399. signdate:
  3400. description: 签订日期
  3401. type: string
  3402. spotcontractid:
  3403. description: 合同ID
  3404. type: string
  3405. totaldqty:
  3406. description: 合同量
  3407. type: number
  3408. unpricedqty:
  3409. description: 未定价量
  3410. type: number
  3411. wrstandardname:
  3412. description: 商品名称
  3413. type: string
  3414. required:
  3415. - matchcustomername
  3416. - spotcontractid
  3417. type: object
  3418. erms3.QryPendingBizRsp:
  3419. properties:
  3420. accountid:
  3421. description: 现货账户
  3422. type: string
  3423. areaname:
  3424. description: 所属部门
  3425. type: string
  3426. bizid:
  3427. description: 业务ID
  3428. type: string
  3429. bizname:
  3430. description: 业务名称
  3431. type: string
  3432. status:
  3433. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3434. type: integer
  3435. type:
  3436. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3437. type: integer
  3438. type: object
  3439. erms3.QueryBusinessInfoRsp:
  3440. properties:
  3441. businessid:
  3442. description: 业务ID.
  3443. type: integer
  3444. buyamount:
  3445. description: 采购额.
  3446. type: number
  3447. buyqty:
  3448. description: 采购量.
  3449. type: string
  3450. futurepl:
  3451. description: 期货盈亏.
  3452. type: number
  3453. futureqty:
  3454. description: 期货敞口.
  3455. type: string
  3456. goodsid:
  3457. description: 商品名称/商品代码.
  3458. type: string
  3459. hedgingqty:
  3460. description: 套保量.
  3461. type: string
  3462. sellamount:
  3463. description: 销售额.
  3464. type: number
  3465. sellqty:
  3466. description: 销售量.
  3467. type: string
  3468. spotmarketvalue:
  3469. description: 现货市值.
  3470. type: number
  3471. spotpl:
  3472. description: 浮动权益.
  3473. type: number
  3474. spotqty:
  3475. description: 现货量.
  3476. type: string
  3477. statu:
  3478. description: 状态,0-未结束 1-已结束.
  3479. type: integer
  3480. totalpl:
  3481. description: 总盈亏.
  3482. type: number
  3483. totalqty:
  3484. description: 总敞口.
  3485. type: string
  3486. type:
  3487. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3488. type: integer
  3489. type: object
  3490. erms3.QuerySpotContractAppleFormRsp:
  3491. properties:
  3492. goodses:
  3493. description: 合约列表
  3494. items:
  3495. $ref: '#/definitions/models.GoodsIDAndName'
  3496. type: array
  3497. oppositeusers:
  3498. description: 对方账号列表
  3499. items:
  3500. $ref: '#/definitions/erms3.CustomerInfo'
  3501. type: array
  3502. ouruser:
  3503. $ref: '#/definitions/erms3.CustomerInfo'
  3504. description: 我方账号
  3505. warehouseinfos:
  3506. description: 仓库信息列表
  3507. items:
  3508. $ref: '#/definitions/models.Warehouseinfo'
  3509. type: array
  3510. wrstandards:
  3511. description: 仓单标准列表
  3512. items:
  3513. $ref: '#/definitions/models.WRStandardInfo'
  3514. type: array
  3515. type: object
  3516. erms3.QuerySpotContractInfoRsp:
  3517. properties:
  3518. accountid:
  3519. description: 表示交易员ID.
  3520. type: integer
  3521. curdeliveryqty:
  3522. description: 表示未交收量.
  3523. type: number
  3524. customername:
  3525. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3526. type: string
  3527. deliverygoodsid:
  3528. description: 表示品种ID.
  3529. type: string
  3530. deliveryqty:
  3531. description: 表示交收量.
  3532. type: number
  3533. matchaccountid:
  3534. description: 表示业务员ID.
  3535. type: integer
  3536. matchcustomername:
  3537. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3538. type: string
  3539. priceqty:
  3540. description: 表示定价量.
  3541. type: number
  3542. relatedbizid:
  3543. description: 表示业务ID.
  3544. type: string
  3545. signdate:
  3546. description: 表示签订日期.
  3547. type: string
  3548. spotcontractid:
  3549. description: 合同ID
  3550. type: string
  3551. status:
  3552. description: 表示状态,0-履约中 1-已完成.
  3553. type: integer
  3554. totalqty:
  3555. description: 表示合同量.
  3556. type: number
  3557. unpricedqty:
  3558. description: 表示未定价量.
  3559. type: number
  3560. wrstandardname:
  3561. description: 表示商品ID.
  3562. type: string
  3563. type: object
  3564. erms3.QueryUserInfoAppliesRsp:
  3565. properties:
  3566. biznature:
  3567. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3568. type: integer
  3569. contactname:
  3570. description: 联系人
  3571. type: string
  3572. createtime:
  3573. description: 开户申请时间
  3574. type: string
  3575. userid:
  3576. description: 用户ID(自增ID)
  3577. type: integer
  3578. userinfotype:
  3579. description: 用户信息类型 - 1:个人 2:企业
  3580. type: integer
  3581. username:
  3582. description: 用户姓名
  3583. type: string
  3584. userstate:
  3585. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3586. type: integer
  3587. required:
  3588. - userid
  3589. type: object
  3590. erms3.QueryUserInfosRsp:
  3591. properties:
  3592. biznature:
  3593. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3594. type: integer
  3595. contactname:
  3596. description: 联系人
  3597. type: string
  3598. customername:
  3599. description: 客户名称(企业名称)
  3600. type: string
  3601. userid:
  3602. description: 用户ID
  3603. type: integer
  3604. userinfotype:
  3605. description: 用户信息类型 - 1:个人 2:企业
  3606. type: integer
  3607. userstatus:
  3608. description: 用户状态 - 1:正常 2:注销
  3609. type: integer
  3610. required:
  3611. - userid
  3612. type: object
  3613. erms3.SoptContractDetail:
  3614. properties:
  3615. deliverygoodsdesc:
  3616. description: 现货品种说明
  3617. type: string
  3618. deliverygoodsid:
  3619. description: 现货品种ID
  3620. type: integer
  3621. deliverygoodsname:
  3622. description: 现货品种名称
  3623. type: string
  3624. pointdesc:
  3625. description: 点价描述
  3626. type: string
  3627. producttype:
  3628. description: 产品类型 1:标准仓单 2:等标 3:非标
  3629. type: integer
  3630. producttypename:
  3631. description: 产品类型名称
  3632. type: string
  3633. spotPointOrderVoList:
  3634. description: 点价列表
  3635. items:
  3636. $ref: '#/definitions/erms3.SpotPointOrder'
  3637. type: array
  3638. spotPriceOrderList:
  3639. description: 定价列表
  3640. items:
  3641. $ref: '#/definitions/erms3.SpotPriceOrder'
  3642. type: array
  3643. unitname:
  3644. description: 单位名称
  3645. type: string
  3646. warehouseid:
  3647. description: 仓库ID
  3648. type: integer
  3649. warehousename:
  3650. description: 仓库名称
  3651. type: string
  3652. wrstandardid:
  3653. description: 交易标的ID
  3654. type: integer
  3655. wrstandardname:
  3656. description: 交易标的名称
  3657. type: string
  3658. required:
  3659. - deliverygoodsid
  3660. - producttype
  3661. - unitname
  3662. - warehouseid
  3663. - wrstandardid
  3664. - wrstandardname
  3665. type: object
  3666. erms3.SpotPointOrder:
  3667. properties:
  3668. basic:
  3669. description: 基差
  3670. type: number
  3671. deliveryenddate:
  3672. description: 交收结束日期
  3673. type: string
  3674. deliverystartdate:
  3675. description: 交收开始日期
  3676. type: string
  3677. enddate:
  3678. description: 点价结束日期
  3679. type: string
  3680. goodsid:
  3681. description: 商品ID
  3682. type: integer
  3683. goodsname:
  3684. description: 商品名称
  3685. type: string
  3686. qty:
  3687. description: 数量
  3688. type: number
  3689. startdate:
  3690. description: 点价开始日期
  3691. type: string
  3692. required:
  3693. - basic
  3694. - goodsid
  3695. - qty
  3696. type: object
  3697. erms3.SpotPriceOrder:
  3698. properties:
  3699. amount:
  3700. description: 金额
  3701. type: number
  3702. deliveryenddate:
  3703. description: 交收结束日期
  3704. type: string
  3705. deliverystartdate:
  3706. description: 交收开始日期
  3707. type: string
  3708. price:
  3709. description: 价格
  3710. type: number
  3711. qty:
  3712. description: 数量
  3713. type: number
  3714. required:
  3715. - amount
  3716. - price
  3717. - qty
  3718. type: object
  3719. hsby.GetHsbyMyCountRsp:
  3720. properties:
  3721. myCouponCount:
  3722. description: 我的优惠卷数量
  3723. type: integer
  3724. myOrderDetailListingCount:
  3725. description: 我的订单求购中数量
  3726. type: integer
  3727. myOrderDetailPreCount:
  3728. description: 我的订单抢购中数量
  3729. type: integer
  3730. myPackageUnReceiveCount:
  3731. description: 我的包裹待收货数量
  3732. type: integer
  3733. myPackageUnSendCount:
  3734. description: 我的包裹待发货数量
  3735. type: integer
  3736. myPayOrderCount:
  3737. description: 我的订单待付款数量
  3738. type: integer
  3739. type: object
  3740. hsby.QueryProvincesAndCitiesRsp:
  3741. properties:
  3742. cities:
  3743. description: 市
  3744. items:
  3745. $ref: '#/definitions/models.Division'
  3746. type: array
  3747. province:
  3748. $ref: '#/definitions/models.Division'
  3749. description: 省
  3750. type: object
  3751. models.Arearole:
  3752. properties:
  3753. createtime:
  3754. description: 创建时间
  3755. type: string
  3756. creatorid:
  3757. description: 创建人ID
  3758. type: integer
  3759. fromuserid:
  3760. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3761. type: integer
  3762. isreturnscore:
  3763. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3764. type: integer
  3765. modifierid:
  3766. description: 修改人ID
  3767. type: integer
  3768. modifytime:
  3769. description: 修改时间
  3770. type: string
  3771. orgtype:
  3772. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3773. type: integer
  3774. outuserid:
  3775. description: 外部账户[场外期权做市商]
  3776. type: string
  3777. parentuserid:
  3778. description: 上级组织机构(组织机构)
  3779. type: integer
  3780. roletype:
  3781. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  3782. type: integer
  3783. rootuserid:
  3784. description: 顶级组织机构用户ID(组织机构)
  3785. type: integer
  3786. shoppassword:
  3787. description: 商城店铺登陆密码(商城店铺角色使用)
  3788. type: string
  3789. sublevelpath:
  3790. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3791. type: string
  3792. suborgtype:
  3793. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3794. type: integer
  3795. tradeaccountid:
  3796. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3797. type: integer
  3798. transurl:
  3799. description: 物流地址(物流机构)
  3800. type: string
  3801. userid:
  3802. description: 机构用户ID其他做市关系,都设置为 1
  3803. type: integer
  3804. required:
  3805. - roletype
  3806. - userid
  3807. type: object
  3808. models.Clientfixedadconfig:
  3809. properties:
  3810. adsort:
  3811. description: 排序
  3812. type: integer
  3813. adtype:
  3814. description: 广告位类型 - 1:新品抢购(HSBY)
  3815. type: integer
  3816. areauserid:
  3817. description: 所属机构ID
  3818. type: integer
  3819. createdate:
  3820. description: 创建时间
  3821. type: string
  3822. creatorid:
  3823. description: 创建人
  3824. type: integer
  3825. imagepath:
  3826. description: 图片
  3827. type: string
  3828. isshow:
  3829. description: 是否展示 - 0:不展示 1:展示
  3830. type: integer
  3831. modifierid:
  3832. description: 操作人
  3833. type: integer
  3834. recsize:
  3835. description: 推荐尺寸
  3836. type: string
  3837. title:
  3838. description: 标题
  3839. type: string
  3840. updatedate:
  3841. description: 更新时间
  3842. type: string
  3843. urlcontent:
  3844. description: 链接(地址或商品ID)
  3845. type: string
  3846. urltype:
  3847. description: 链接类型 - 1:直接地址 2:商品ID
  3848. type: integer
  3849. required:
  3850. - adsort
  3851. - adtype
  3852. type: object
  3853. models.Division:
  3854. properties:
  3855. autoid:
  3856. description: 自增ID
  3857. type: integer
  3858. divisioncode:
  3859. description: 行政代码
  3860. type: string
  3861. divisionlevel:
  3862. description: 行政级别
  3863. type: string
  3864. divisionname:
  3865. description: 行政名称
  3866. type: string
  3867. modifierid:
  3868. description: 修改人
  3869. type: integer
  3870. modifytime:
  3871. description: 修改时间
  3872. type: string
  3873. parentcode:
  3874. description: 上级行政代码
  3875. type: string
  3876. pathname:
  3877. description: 路径名称
  3878. type: string
  3879. postcode:
  3880. description: 邮政编码
  3881. type: string
  3882. separablename:
  3883. description: 可拆分的全称
  3884. type: string
  3885. shortcode:
  3886. description: 地区简码
  3887. type: string
  3888. required:
  3889. - autoid
  3890. - divisioncode
  3891. type: object
  3892. models.Enumdicitem:
  3893. properties:
  3894. autoid:
  3895. description: 自增ID
  3896. type: integer
  3897. bankmappedvalue:
  3898. description: 银行服务对应值
  3899. type: string
  3900. enumdiccode:
  3901. description: 所属枚举代码
  3902. type: string
  3903. enumdicid:
  3904. description: 所属枚举ID
  3905. type: integer
  3906. enumdicname:
  3907. description: 枚举项名称
  3908. type: string
  3909. enumitemname:
  3910. description: 枚举项值
  3911. type: integer
  3912. enumitemstatus:
  3913. description: 枚举项状态 - 1.启用 2.不启用
  3914. type: integer
  3915. enumitemvalue:
  3916. description: 通用值 - [币种通用简写]
  3917. type: string
  3918. param1:
  3919. description: 参数1[币种:币种小数位]
  3920. type: string
  3921. param2:
  3922. description: 参数1[币种:币种显示单位]
  3923. type: string
  3924. remark:
  3925. description: 备注
  3926. type: string
  3927. required:
  3928. - autoid
  3929. - enumdiccode
  3930. - enumdicid
  3931. - enumitemname
  3932. type: object
  3933. models.Ermcp3AreaSpot:
  3934. properties:
  3935. areauserid:
  3936. description: 所属机构
  3937. type: integer
  3938. convertratio:
  3939. description: 套保系数
  3940. type: number
  3941. decreaseqty:
  3942. description: 减少数量=-(销售已定价数量+采购计划数量)
  3943. type: number
  3944. enumdicname:
  3945. description: 单位名称
  3946. type: string
  3947. increaseqty:
  3948. description: 增加数量=销售计划数量+采购已定价数量
  3949. type: number
  3950. oritoalspotqty:
  3951. description: 昨日数量
  3952. type: number
  3953. totalspotqty:
  3954. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3955. type: number
  3956. unitid:
  3957. description: 现货商品单位id
  3958. type: integer
  3959. updatetime:
  3960. description: 更新时间
  3961. type: string
  3962. wrstandardcode:
  3963. description: 现货商品代码
  3964. type: string
  3965. wrstandardid:
  3966. description: 现货商品ID(SEQ_WRSTANDARD)
  3967. type: integer
  3968. wrstandardname:
  3969. description: 现货商品名称
  3970. type: string
  3971. type: object
  3972. models.Ermcp3AreaSpotDetail:
  3973. properties:
  3974. contracttype:
  3975. description: 合同类型 1-采购 -1-销售
  3976. type: integer
  3977. createtime:
  3978. description: 创建时间
  3979. type: string
  3980. enumdicname:
  3981. description: 现货商品单位名称
  3982. type: string
  3983. logtype:
  3984. description: 记录类型 1-套保 2-现货合同
  3985. type: integer
  3986. qty:
  3987. description: 数量
  3988. type: number
  3989. recordname:
  3990. description: 类型名称
  3991. type: string
  3992. relatedid:
  3993. description: 套保计划ID/现货合同ID
  3994. type: string
  3995. relatedno:
  3996. description: 编号
  3997. type: string
  3998. strtime:
  3999. description: 时间
  4000. type: string
  4001. wrstandardcode:
  4002. description: 现货商品代码
  4003. type: string
  4004. wrstandardid:
  4005. description: 现货商品ID(SEQ_WRSTANDARD)
  4006. type: integer
  4007. wrstandardname:
  4008. description: 现货商品名称
  4009. type: string
  4010. type: object
  4011. models.Ermcp3AreaSpotPLReport:
  4012. properties:
  4013. accountid:
  4014. description: 期货账户ID (作废, 默认为0)
  4015. type: integer
  4016. accountname:
  4017. description: 机构名称
  4018. type: string
  4019. actualpl:
  4020. description: 现货损益
  4021. type: number
  4022. areauserid:
  4023. description: 所属机构\交易用户ID
  4024. type: integer
  4025. begindate:
  4026. description: 开始交易日
  4027. type: string
  4028. biztype:
  4029. description: 业务类型 - 1:套保 2:套利
  4030. type: integer
  4031. brandname:
  4032. description: 品牌名称
  4033. type: string
  4034. curamount:
  4035. description: 期末额
  4036. type: number
  4037. curaverageprice:
  4038. description: 期末均价
  4039. type: number
  4040. curbuyamount:
  4041. description: 期末采购总额
  4042. type: number
  4043. curbuyqty:
  4044. description: 期末采购总量
  4045. type: number
  4046. curmarketvalue:
  4047. description: 参考市值(期末市值)
  4048. type: number
  4049. curqty:
  4050. description: 期末量
  4051. type: number
  4052. currencyid:
  4053. description: 结算币种ID【原值】
  4054. type: integer
  4055. currencyname:
  4056. description: 币种名称
  4057. type: string
  4058. cursellamount:
  4059. description: 期末销售总额
  4060. type: number
  4061. cursellqty:
  4062. description: 期末销售总量
  4063. type: number
  4064. curspotprice:
  4065. description: 参考市价(最新价)
  4066. type: number
  4067. cycletime:
  4068. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4069. type: string
  4070. cycletype:
  4071. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4072. type: integer
  4073. deliverygoodscode:
  4074. description: 现货商品代码
  4075. type: string
  4076. deliverygoodsid:
  4077. description: 现货品种ID
  4078. type: integer
  4079. deliverygoodsname:
  4080. description: 现货商品名称
  4081. type: string
  4082. enddate:
  4083. description: 结束交易日
  4084. type: string
  4085. enumdicname:
  4086. description: 现货商品单位名称
  4087. type: string
  4088. floatpl:
  4089. description: 浮动损益
  4090. type: number
  4091. goodsunitid:
  4092. description: 现货商品单位id
  4093. type: integer
  4094. oriamount:
  4095. description: 期初额
  4096. type: number
  4097. oriaverageprice:
  4098. description: 期初均价
  4099. type: number
  4100. oribuyamount:
  4101. description: 期初采购总额
  4102. type: number
  4103. oribuyqty:
  4104. description: 期初采购总量
  4105. type: number
  4106. oriqty:
  4107. description: 期初量
  4108. type: number
  4109. orisellamount:
  4110. description: 期初销售总额
  4111. type: number
  4112. orisellqty:
  4113. description: 期初销售总量
  4114. type: number
  4115. reckondate:
  4116. description: 日照时期(yyyyMMdd)
  4117. type: string
  4118. spotgoodsbrandid:
  4119. description: 现货品牌ID
  4120. type: integer
  4121. todaybuyamount:
  4122. description: 今日采购额(今采购额)
  4123. type: number
  4124. todaybuyaverageprice:
  4125. description: 今日采购均价
  4126. type: number
  4127. todaybuyqty:
  4128. description: 今日采购量(今采购量)
  4129. type: number
  4130. todayinqty:
  4131. description: 今日入库量(今入库量)
  4132. type: number
  4133. todayoutqty:
  4134. description: 今日出库量(今出库量)
  4135. type: number
  4136. todaysellamount:
  4137. description: 今日销售额(今销售额)
  4138. type: number
  4139. todaysellaverageprice:
  4140. description: 今日销售均价
  4141. type: number
  4142. todaysellqty:
  4143. description: 今日销售量(今销售量)
  4144. type: number
  4145. unitid:
  4146. description: 品类单位id
  4147. type: integer
  4148. unitidname:
  4149. description: 品类单位名称
  4150. type: string
  4151. updatetime:
  4152. description: 更新时间
  4153. type: string
  4154. wrfactortypeid:
  4155. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4156. type: integer
  4157. wrstandardcode:
  4158. description: 品类代码
  4159. type: string
  4160. wrstandardid:
  4161. description: 现货品类ID
  4162. type: integer
  4163. wrstandardname:
  4164. description: 品类名称
  4165. type: string
  4166. type: object
  4167. models.Ermcp3AreaStock:
  4168. properties:
  4169. brandname:
  4170. description: 品牌名称
  4171. type: string
  4172. curstock:
  4173. description: 期末库存量(今日量)
  4174. type: number
  4175. deliverygoodscode:
  4176. description: 现货品种代码
  4177. type: string
  4178. deliverygoodsid:
  4179. description: 现货品种id
  4180. type: integer
  4181. deliverygoodsname:
  4182. description: 现货品种名称
  4183. type: string
  4184. enumdicname:
  4185. description: 单位名称
  4186. type: string
  4187. goodsunitid:
  4188. description: 现货商品单位id
  4189. type: integer
  4190. oristock:
  4191. description: 期初库存量(昨日量)
  4192. type: number
  4193. spotgoodsbrandid:
  4194. description: 现货品牌ID
  4195. type: integer
  4196. todaybuyinqty:
  4197. description: 今日采购入库量
  4198. type: number
  4199. todayproduceinqty:
  4200. description: 今日生产入库量
  4201. type: number
  4202. todayproduceoutqty:
  4203. description: 今日生产出库量
  4204. type: number
  4205. todayselloutqty:
  4206. description: 今日销售出库量
  4207. type: number
  4208. unitid:
  4209. description: 单位id
  4210. type: integer
  4211. updatetime:
  4212. description: 更新时间
  4213. type: string
  4214. userid:
  4215. description: 机构ID
  4216. type: integer
  4217. username:
  4218. description: 机构名称
  4219. type: string
  4220. warehousecode:
  4221. description: 仓库代码
  4222. type: string
  4223. warehouseinfoid:
  4224. description: 仓库ID
  4225. type: string
  4226. warehousename:
  4227. description: 仓库名称
  4228. type: string
  4229. warehousetype:
  4230. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4231. type: integer
  4232. wrstandardcode:
  4233. description: 品类代码
  4234. type: string
  4235. wrstandardid:
  4236. description: 品类ID
  4237. type: string
  4238. wrstandardname:
  4239. description: 品类名称
  4240. type: string
  4241. required:
  4242. - userid
  4243. type: object
  4244. models.Ermcp3AreaStockApply:
  4245. properties:
  4246. applyid:
  4247. description: 申请人
  4248. type: integer
  4249. applyname:
  4250. description: 申请人名称
  4251. type: string
  4252. applyremark:
  4253. description: 申请备注
  4254. type: string
  4255. applysrc:
  4256. description: 申请来源 - 1:管理端 2:终端
  4257. type: integer
  4258. applystatus:
  4259. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4260. type: integer
  4261. applytime:
  4262. description: 申请时间
  4263. type: string
  4264. auditid:
  4265. description: 审核人
  4266. type: integer
  4267. auditname:
  4268. description: 审核人名称
  4269. type: string
  4270. auditremark:
  4271. description: 审核备注
  4272. type: string
  4273. auditsrc:
  4274. description: 审核来源 - 1:管理端 2:终端
  4275. type: integer
  4276. audittime:
  4277. description: 审核时间
  4278. type: string
  4279. audittradedate:
  4280. description: 审核交易日(yyyyMMdd)
  4281. type: string
  4282. brandname:
  4283. description: 品牌名称
  4284. type: string
  4285. buynickname:
  4286. description: 采购方昵称
  4287. type: string
  4288. buyuserid:
  4289. description: 采购方userid
  4290. type: integer
  4291. buyusername:
  4292. description: 采购方名称
  4293. type: string
  4294. contractno:
  4295. description: 合同编号
  4296. type: string
  4297. contractqty:
  4298. description: 合同量
  4299. type: number
  4300. contracttype:
  4301. description: 现货合同类型 - 1:采购 -1:销售
  4302. type: integer
  4303. deliverygoodscode:
  4304. description: 现货品种代码
  4305. type: string
  4306. deliverygoodsid:
  4307. description: 现货品种id
  4308. type: integer
  4309. deliverygoodsname:
  4310. description: 现货品种名称
  4311. type: string
  4312. detailjson:
  4313. description: 明细数据
  4314. type: string
  4315. enumdicname:
  4316. description: 现货商品单位名称
  4317. type: string
  4318. inoutapplyid:
  4319. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4320. type: string
  4321. inouttype:
  4322. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4323. type: integer
  4324. pricetype:
  4325. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4326. type: integer
  4327. qty:
  4328. description: 数量
  4329. type: number
  4330. sellnickname:
  4331. description: 销售方昵称
  4332. type: string
  4333. selluserid:
  4334. description: 销售方userid
  4335. type: integer
  4336. sellusername:
  4337. description: 销售方名称
  4338. type: string
  4339. spotcontractid:
  4340. description: 关联现货合同ID
  4341. type: string
  4342. spotgoodsbrandid:
  4343. description: 现货品牌ID
  4344. type: integer
  4345. unitid:
  4346. description: 单位id
  4347. type: integer
  4348. userid:
  4349. description: 机构ID
  4350. type: integer
  4351. warehousecode:
  4352. description: 仓库代码
  4353. type: string
  4354. warehouseinfoid:
  4355. description: 现货仓库ID
  4356. type: string
  4357. warehousename:
  4358. description: 仓库名称
  4359. type: string
  4360. warehousetype:
  4361. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4362. type: integer
  4363. wrstandardcode:
  4364. description: 品类代码
  4365. type: string
  4366. wrstandardid:
  4367. description: 品类ID
  4368. type: integer
  4369. wrstandardname:
  4370. description: 品类名称
  4371. type: string
  4372. type: object
  4373. models.Ermcp3AreaStockApplySum:
  4374. properties:
  4375. brandname:
  4376. description: 品牌名称
  4377. type: string
  4378. inouttype:
  4379. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4380. type: integer
  4381. spotcontractid:
  4382. description: 关联现货合同ID
  4383. type: string
  4384. spotgoodsbrandid:
  4385. description: 品牌id
  4386. type: integer
  4387. totalqty:
  4388. description: 总数量
  4389. type: number
  4390. wrstandardid:
  4391. description: 品类id
  4392. type: integer
  4393. wrstandardname:
  4394. description: 品类名称
  4395. type: string
  4396. type: object
  4397. models.Ermcp3AreaStockReportEx:
  4398. properties:
  4399. begindate:
  4400. description: 开始交易日
  4401. type: string
  4402. brandname:
  4403. description: 品牌名称
  4404. type: string
  4405. curstock:
  4406. description: 期末库存量
  4407. type: number
  4408. cycletime:
  4409. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4410. type: string
  4411. cycletype:
  4412. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4413. type: integer
  4414. deliverygoodscode:
  4415. description: 现货品种代码
  4416. type: string
  4417. deliverygoodsid:
  4418. description: 现货品种id
  4419. type: integer
  4420. deliverygoodsname:
  4421. description: 现货品种名称
  4422. type: string
  4423. diffqty:
  4424. description: 库存变化量 = 期末 - 期初
  4425. type: number
  4426. enddate:
  4427. description: 结束交易日
  4428. type: string
  4429. enumdicname:
  4430. description: 单位名称
  4431. type: string
  4432. goodsunitid:
  4433. description: 现货单位id
  4434. type: integer
  4435. oristock:
  4436. description: 期初库存量
  4437. type: number
  4438. reckondate:
  4439. description: 日照时期(yyyyMMdd)
  4440. type: string
  4441. spotgoodsbrandid:
  4442. description: 现货品牌ID
  4443. type: integer
  4444. todaybuyinqty:
  4445. description: 今采购入库量
  4446. type: number
  4447. todayproduceinqty:
  4448. description: 今内部入库量
  4449. type: number
  4450. todayproduceoutqty:
  4451. description: 今内部出库量
  4452. type: number
  4453. todayselloutqty:
  4454. description: 今销售出库量
  4455. type: number
  4456. unbuyinqty:
  4457. description: 采购未入库量(数据库未找到相关字段?)
  4458. type: number
  4459. unitid:
  4460. description: 品类单位id
  4461. type: integer
  4462. unselloutqty:
  4463. description: 销售未出库量(数据库未找到相关字段?)
  4464. type: number
  4465. updatetime:
  4466. description: 更新时间
  4467. type: string
  4468. userid:
  4469. description: 机构ID
  4470. type: integer
  4471. username:
  4472. description: 机构名称
  4473. type: string
  4474. warehousecode:
  4475. description: 仓库代码
  4476. type: string
  4477. warehouseinfoid:
  4478. description: 仓库ID
  4479. type: string
  4480. warehousename:
  4481. description: 仓库名称
  4482. type: string
  4483. warehousetype:
  4484. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4485. type: integer
  4486. wrstandardcode:
  4487. description: 品类代码
  4488. type: string
  4489. wrstandardid:
  4490. description: 品类ID
  4491. type: integer
  4492. wrstandardname:
  4493. description: 品类名称
  4494. type: string
  4495. type: object
  4496. models.Ermcp3ArealSumPL:
  4497. properties:
  4498. accountname:
  4499. description: 机构名称
  4500. type: string
  4501. areauserid:
  4502. description: 所属机构\交易用户ID
  4503. type: integer
  4504. begindate:
  4505. description: 开始交易日
  4506. type: string
  4507. currencyid:
  4508. description: 结算币种ID
  4509. type: integer
  4510. currencyname:
  4511. description: 币种名称
  4512. type: string
  4513. cycletime:
  4514. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4515. type: string
  4516. cycletype:
  4517. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4518. type: integer
  4519. enddate:
  4520. description: 结束交易日
  4521. type: string
  4522. enumdicname:
  4523. description: 单位名称(套保品种)
  4524. type: string
  4525. futureactualpl:
  4526. description: 期货损益
  4527. type: number
  4528. futurefloatpl:
  4529. description: 期货浮动损益
  4530. type: number
  4531. futurespotratio:
  4532. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  4533. type: number
  4534. goodsunitid:
  4535. description: 套保品种单位id
  4536. type: integer
  4537. hedgeexposurepl:
  4538. description: 套保敞口损益
  4539. type: number
  4540. middlegoodscode:
  4541. description: 套保品种代码
  4542. type: string
  4543. middlegoodsid:
  4544. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  4545. type: integer
  4546. middlegoodsname:
  4547. description: 套保品种名称
  4548. type: string
  4549. reckondate:
  4550. description: 日照时期(yyyyMMdd)
  4551. type: string
  4552. spotactualpl:
  4553. description: 现货损益
  4554. type: number
  4555. spotfloatpl:
  4556. description: 现货浮动损益
  4557. type: number
  4558. sumactualpl:
  4559. description: 实际损益 = (ActualPL + FutureActualPL)
  4560. type: number
  4561. sumpl:
  4562. description: 总敞口损益 | 汇总损益
  4563. type: number
  4564. totalfutureqty:
  4565. description: 期货头寸总量
  4566. type: number
  4567. totalneedhedgeqty:
  4568. description: 应套保总量
  4569. type: number
  4570. totalspotqty:
  4571. description: 现货头寸总量
  4572. type: number
  4573. updatetime:
  4574. description: 更新时间
  4575. type: string
  4576. type: object
  4577. models.Ermcp3Brand:
  4578. properties:
  4579. areauserid:
  4580. description: 用户id
  4581. type: integer
  4582. brandid:
  4583. description: 品牌id
  4584. type: integer
  4585. brandname:
  4586. description: 品牌名称
  4587. type: string
  4588. deliverygoodsid:
  4589. description: 品种ID
  4590. type: integer
  4591. isvalid:
  4592. description: 是否有效
  4593. type: integer
  4594. type: object
  4595. models.Ermcp3Contract:
  4596. properties:
  4597. accountid:
  4598. description: 期货账户id
  4599. type: string
  4600. amount:
  4601. description: 金额 [1:一口价、3:暂定价]
  4602. type: number
  4603. attachment:
  4604. description: 附件
  4605. type: string
  4606. auditremark:
  4607. description: 审核意见
  4608. type: string
  4609. audittime:
  4610. description: 审核时间
  4611. type: string
  4612. biztype:
  4613. description: 业务类型 1-套保 2-套利
  4614. type: integer
  4615. brandname:
  4616. description: 品牌名称
  4617. type: string
  4618. buynickname:
  4619. description: 销售方昵称
  4620. type: string
  4621. buyuserid:
  4622. description: 采购方ID
  4623. type: integer
  4624. buyusername:
  4625. description: 采购方名称
  4626. type: string
  4627. contracctstatus:
  4628. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4629. type: integer
  4630. contractmargin:
  4631. description: 合同保证金
  4632. type: number
  4633. contractno:
  4634. description: 现货合同编号
  4635. type: string
  4636. contracttype:
  4637. description: 现货合同类型 - 1:采购 -1:销售
  4638. type: integer
  4639. convertfactor:
  4640. description: 标仓系数(品类)
  4641. type: number
  4642. createtime:
  4643. description: 创建时间
  4644. type: string
  4645. currencyid:
  4646. description: 币种id
  4647. type: integer
  4648. currencyname:
  4649. description: 币种名称
  4650. type: string
  4651. deliveryenddate:
  4652. description: 交收期(结束)
  4653. type: string
  4654. deliverygoodscode:
  4655. description: 现货品种代码
  4656. type: string
  4657. deliverygoodsid:
  4658. description: 现货品种ID
  4659. type: integer
  4660. deliverygoodsname:
  4661. description: 现货品种名称
  4662. type: string
  4663. deliverystartdate:
  4664. description: 交收期(开始)
  4665. type: string
  4666. enddate:
  4667. description: 点价结束日期 [2:点价 3:暂定价]
  4668. type: string
  4669. enumdicname:
  4670. description: 单位名称
  4671. type: string
  4672. goodscode:
  4673. description: 点价合约代码
  4674. type: string
  4675. goodsid:
  4676. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  4677. type: integer
  4678. goodsname:
  4679. description: 点价商品名称
  4680. type: string
  4681. margin:
  4682. description: 当前保证金
  4683. type: number
  4684. meruserid:
  4685. description: 跟单员id
  4686. type: integer
  4687. meruserlogincode:
  4688. description: 跟单员登录代码
  4689. type: string
  4690. merusername:
  4691. description: 跟单员名称
  4692. type: string
  4693. price:
  4694. description: 价格\暂定价 [1:一口价、3:暂定价]
  4695. type: number
  4696. pricemove:
  4697. description: 升贴水 [2:点价 3:暂定价]
  4698. type: number
  4699. pricetype:
  4700. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4701. type: integer
  4702. producttype:
  4703. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4704. type: integer
  4705. qty:
  4706. description: 数量
  4707. type: number
  4708. remark:
  4709. description: 备注
  4710. type: string
  4711. saleuserid:
  4712. description: 业务员id
  4713. type: integer
  4714. saleuserlogincode:
  4715. description: 业务员登录代码
  4716. type: string
  4717. saleusername:
  4718. description: 业务员名称
  4719. type: string
  4720. sellnickname:
  4721. description: 采购方昵称
  4722. type: string
  4723. selluserid:
  4724. description: 销售方ID
  4725. type: integer
  4726. sellusername:
  4727. description: 销售方名称
  4728. type: string
  4729. spotcontractid:
  4730. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  4731. type: string
  4732. spotgoodsbrandid:
  4733. description: 现货品牌ID(DGFactoryItem表的ID)
  4734. type: integer
  4735. spotgoodsdesc:
  4736. description: 商品型号
  4737. type: string
  4738. startdate:
  4739. description: 点价开始日期 [2:点价 3:暂定价]
  4740. type: string
  4741. subjectid:
  4742. description: 交易主体ID
  4743. type: string
  4744. subjectname:
  4745. description: 交易主体名称
  4746. type: string
  4747. tradeuserid:
  4748. description: 交易员id
  4749. type: integer
  4750. tradeuserlogincode:
  4751. description: 交易员登录代码
  4752. type: string
  4753. tradeusername:
  4754. description: 交易员名称
  4755. type: string
  4756. unitid:
  4757. description: 单位id(取品类上的单位id)
  4758. type: integer
  4759. updatetime:
  4760. description: 更新时间
  4761. type: string
  4762. userid:
  4763. description: 所属机构ID
  4764. type: integer
  4765. vatrate:
  4766. description: 增值税率
  4767. type: number
  4768. wrstandardcode:
  4769. description: 品类代码
  4770. type: string
  4771. wrstandardid:
  4772. description: 品类ID
  4773. type: integer
  4774. wrstandardname:
  4775. description: 品类名称
  4776. type: string
  4777. type: object
  4778. models.Ermcp3ExposureContractDetail:
  4779. properties:
  4780. biztype:
  4781. description: 业务类型 1-套保 2-套利
  4782. type: integer
  4783. brandname:
  4784. description: 品牌名称
  4785. type: string
  4786. buyuserid:
  4787. description: 采购方id
  4788. type: integer
  4789. buyusername:
  4790. description: 采购方名称
  4791. type: string
  4792. contractno:
  4793. description: 合同编号
  4794. type: string
  4795. contracttype:
  4796. description: 现货合同类型 - 1:采购 -1:销售
  4797. type: integer
  4798. convertfactor:
  4799. description: 标仓系数
  4800. type: number
  4801. convertratio:
  4802. description: 折算系数(套保品种)
  4803. type: number
  4804. curqty:
  4805. description: 今定价量
  4806. type: number
  4807. deliverygoodscode:
  4808. description: 现货商品代码
  4809. type: string
  4810. deliverygoodsid:
  4811. description: 现货商品id
  4812. type: integer
  4813. deliverygoodsname:
  4814. description: 现货商品名称
  4815. type: string
  4816. diffhedgeqty:
  4817. description: 套保变动量
  4818. type: number
  4819. diffneedhedgeqty:
  4820. description: 应套保变动量
  4821. type: number
  4822. diffqty:
  4823. description: 套保品种今变动量
  4824. type: number
  4825. enumdicname:
  4826. description: 单位名称
  4827. type: string
  4828. mgunitname:
  4829. description: 套保品种单位名称
  4830. type: string
  4831. middlegoodscode:
  4832. description: 套保品种代码
  4833. type: string
  4834. middlegoodsid:
  4835. description: 套保品种id
  4836. type: integer
  4837. middlegoodsname:
  4838. description: 套保品种名称
  4839. type: string
  4840. needarbitrageratio:
  4841. description: 应套利比例
  4842. type: number
  4843. needhedgeratio:
  4844. description: 应套保比例
  4845. type: number
  4846. pricedqty:
  4847. description: 已定价量
  4848. type: number
  4849. qty:
  4850. description: 合同量
  4851. type: number
  4852. selluserid:
  4853. description: 销售方id
  4854. type: integer
  4855. sellusername:
  4856. description: 销售方名称
  4857. type: string
  4858. spotcontractid:
  4859. description: 合同id
  4860. type: string
  4861. todaypricedqty:
  4862. description: 今定价量
  4863. type: number
  4864. tradedate:
  4865. description: 交易日
  4866. type: string
  4867. unitid:
  4868. description: 品类单位id
  4869. type: integer
  4870. userid:
  4871. description: 机构id
  4872. type: integer
  4873. username:
  4874. description: 交易用户
  4875. type: string
  4876. wrstandardcode:
  4877. description: 品类代码
  4878. type: string
  4879. wrstandardid:
  4880. description: 品类id
  4881. type: integer
  4882. wrstandardname:
  4883. description: 品类名称
  4884. type: string
  4885. type: object
  4886. models.Ermcp3ExposureDetail:
  4887. properties:
  4888. areauserid:
  4889. description: 机构ID
  4890. type: integer
  4891. changeQty:
  4892. description: 套保变动量
  4893. type: number
  4894. contracttype:
  4895. description: 现货合同类型 - 1:采购 -1:销售
  4896. type: integer
  4897. convertfactor:
  4898. description: 标仓系数
  4899. type: number
  4900. convertratio:
  4901. description: 折算系数
  4902. type: number
  4903. createtime:
  4904. description: 时间
  4905. type: string
  4906. enumdicname:
  4907. description: 现货商品单位名称
  4908. type: string
  4909. logtype:
  4910. description: 类型 - 1:套保计划 2:现货合同
  4911. type: integer
  4912. mgunitid:
  4913. description: 套保品种单位id
  4914. type: integer
  4915. mgunitidname:
  4916. description: 套保品种单位名称
  4917. type: string
  4918. middlegoodsId:
  4919. description: 套保商品id
  4920. type: integer
  4921. middlegoodscode:
  4922. description: 套保商品代码
  4923. type: string
  4924. middlegoodsname:
  4925. description: 套保商品名称
  4926. type: string
  4927. qty:
  4928. description: 数量
  4929. type: number
  4930. relateNo:
  4931. description: 现货合同/套保计划编号
  4932. type: string
  4933. unitid:
  4934. description: 现货商品单位id
  4935. type: integer
  4936. wrstandardcode:
  4937. description: 现货商品代码
  4938. type: string
  4939. wrstandardid:
  4940. description: 现货商品ID(SEQ_WRSTANDARD)
  4941. type: integer
  4942. wrstandardname:
  4943. description: 现货商品名称
  4944. type: string
  4945. type: object
  4946. models.Ermcp3ExposureFutuDetail:
  4947. properties:
  4948. accountid:
  4949. description: 交易账户id
  4950. type: integer
  4951. accountname:
  4952. description: 交易账户
  4953. type: string
  4954. begindate:
  4955. description: 开始交易日
  4956. type: string
  4957. buyorsell:
  4958. description: 方向 0-买 1-卖
  4959. type: integer
  4960. diffmgqty:
  4961. description: 套保品种今变化量
  4962. type: number
  4963. diffneedqty:
  4964. description: 应套保总量变化量
  4965. type: number
  4966. difftradeqty:
  4967. description: 交易品种今变化量
  4968. type: number
  4969. enddate:
  4970. description: 结束交易日
  4971. type: string
  4972. enumdicname:
  4973. description: 单位名称
  4974. type: string
  4975. goodscode:
  4976. description: 商品代码
  4977. type: string
  4978. goodsid:
  4979. description: 商品id
  4980. type: integer
  4981. goodsname:
  4982. description: 商品名称
  4983. type: string
  4984. holdqty:
  4985. description: 期末持仓量
  4986. type: number
  4987. middlegoodscode:
  4988. description: 套保商品代码
  4989. type: string
  4990. middlegoodsid:
  4991. description: 套保商品id
  4992. type: integer
  4993. middlegoodsname:
  4994. description: 套保商品名称
  4995. type: string
  4996. oriholdqty:
  4997. description: 期初持仓量
  4998. type: number
  4999. todaycloseqty:
  5000. description: 今平仓量
  5001. type: number
  5002. todayopenqty:
  5003. description: 今开仓量
  5004. type: number
  5005. tradedate:
  5006. description: 交易日
  5007. type: string
  5008. type: object
  5009. models.Ermcp3ExposureHedgeplanDetail:
  5010. properties:
  5011. biztype:
  5012. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5013. type: integer
  5014. changqty:
  5015. description: 应套保总量变化量
  5016. type: number
  5017. contracttype:
  5018. description: 计划类型 - 1:采购 -1:销售
  5019. type: integer
  5020. convertratio:
  5021. description: 折算系数(套保品种)
  5022. type: number
  5023. deliverygoodscode:
  5024. description: 现货商品代码
  5025. type: string
  5026. deliverygoodsid:
  5027. description: 现货商品id
  5028. type: integer
  5029. deliverygoodsname:
  5030. description: 现货商吕名称
  5031. type: string
  5032. dgunitid:
  5033. description: 现货商品单位id
  5034. type: integer
  5035. dgunitidname:
  5036. description: 单位名称(现货商品)
  5037. type: string
  5038. diffqty:
  5039. description: 套保品种今变动量
  5040. type: number
  5041. enumdicname:
  5042. description: 单位名称(品类)
  5043. type: string
  5044. hedgeplanid:
  5045. description: 套保计划id
  5046. type: string
  5047. hedgeplanno:
  5048. description: 套保计划名称
  5049. type: string
  5050. hedgeplanstatus:
  5051. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5052. type: integer
  5053. mgunitidname:
  5054. description: 单位名称(套保商品)
  5055. type: string
  5056. middlegoodscode:
  5057. description: 套保品种代码
  5058. type: string
  5059. middlegoodsid:
  5060. description: 套保品种id
  5061. type: integer
  5062. middlegoodsname:
  5063. description: 套保品种名称
  5064. type: string
  5065. needarbitrageratio:
  5066. description: 应套利比例
  5067. type: number
  5068. needhedgeratio:
  5069. description: 应套保比例
  5070. type: number
  5071. pricedqty:
  5072. description: 已定价量
  5073. type: number
  5074. qty:
  5075. description: 合同量
  5076. type: number
  5077. tradedate:
  5078. description: 交易日(登记日)
  5079. type: string
  5080. unitid:
  5081. description: 品类单位id
  5082. type: integer
  5083. userid:
  5084. description: 机构id
  5085. type: integer
  5086. wrstandardcode:
  5087. description: 品类代码
  5088. type: string
  5089. wrstandardid:
  5090. description: 品类id
  5091. type: integer
  5092. wrstandardname:
  5093. description: 品类名称
  5094. type: string
  5095. type: object
  5096. models.Ermcp3ExposureParamChLog:
  5097. properties:
  5098. accountid:
  5099. description: 期货账户ID (作废, 默认为0)
  5100. type: integer
  5101. aftervalue:
  5102. description: 应套保\套利量变更后(调整后应套保总量)
  5103. type: number
  5104. areauserid:
  5105. description: 所属机构\交易用户ID
  5106. type: integer
  5107. beforevalue:
  5108. description: 应套保\套利量变更前(调整前应套保总量)
  5109. type: number
  5110. begindate:
  5111. description: 开始交易日
  5112. type: string
  5113. changelogtype:
  5114. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5115. type: integer
  5116. curvalue:
  5117. description: 当前套保\套利量(套保总量|套利总量)
  5118. type: number
  5119. diffvalue:
  5120. description: 应套保总量变化量
  5121. type: number
  5122. enddate:
  5123. description: 结束交易日
  5124. type: string
  5125. logdatetime:
  5126. description: 流水日期
  5127. type: string
  5128. logid:
  5129. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5130. type: string
  5131. middlegoodscode:
  5132. description: 套保品种代码
  5133. type: string
  5134. middlegoodsid:
  5135. description: 套保品种
  5136. type: integer
  5137. middlegoodsname:
  5138. description: 套保品种名称
  5139. type: string
  5140. paramaftervalue:
  5141. description: 参数变更后(调整后参数值)
  5142. type: number
  5143. parambeforevalue:
  5144. description: 参数变更前(调整前参数值)
  5145. type: number
  5146. tradedate:
  5147. description: 交易日(yyyyMMdd)
  5148. type: string
  5149. type: object
  5150. models.Ermcp3ExpourseReport:
  5151. properties:
  5152. accountid:
  5153. description: 期货账户ID (作废, 默认为0)
  5154. type: integer
  5155. accountname:
  5156. description: 机构名称
  5157. type: string
  5158. arbitrageqty:
  5159. description: 套利量
  5160. type: number
  5161. areauserid:
  5162. description: 所属机构\交易用户ID
  5163. type: integer
  5164. begindate:
  5165. description: 开始交易日
  5166. type: string
  5167. buyfutureqty:
  5168. description: 买入期货数量
  5169. type: number
  5170. buyplanqty:
  5171. description: 采购计划数量
  5172. type: number
  5173. buypricedqty:
  5174. description: 采购合同已定价数量
  5175. type: number
  5176. cycletime:
  5177. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5178. type: string
  5179. cycletype:
  5180. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5181. type: integer
  5182. diffexposure:
  5183. description: 变动量(套保敞口)
  5184. type: number
  5185. difffutuqty:
  5186. description: 变动量(期货)
  5187. type: number
  5188. diffhedgeqty:
  5189. description: 变动量(现货应套保总量)
  5190. type: number
  5191. diffmgqtya:
  5192. description: 套保变动量
  5193. type: number
  5194. diffmgqtyb:
  5195. description: 套利变动量
  5196. type: number
  5197. diffqty:
  5198. description: 变动量(总敞口)
  5199. type: number
  5200. diffspotqty:
  5201. description: 变动量(现货)
  5202. type: number
  5203. enddate:
  5204. description: 结束交易日
  5205. type: string
  5206. enumdicname:
  5207. description: 单位名称
  5208. type: string
  5209. hedgeqty:
  5210. description: 套保量
  5211. type: number
  5212. mgneedhedgeratio:
  5213. description: 套保比例(套保品的)
  5214. type: number
  5215. middlegoodsid:
  5216. description: 套保品种ID
  5217. type: integer
  5218. middlegoodsname:
  5219. description: 套保商品名称
  5220. type: string
  5221. middlgoodscode:
  5222. description: 套保商品代码
  5223. type: string
  5224. needarbitrageqty:
  5225. description: 应套利量
  5226. type: number
  5227. needarbitrageratio:
  5228. description: 套利比例(套保品的)
  5229. type: number
  5230. needhedgeexposoure:
  5231. description: 应套保敞口(套保敞口)
  5232. type: number
  5233. needhedgeqty:
  5234. description: 应套保量
  5235. type: number
  5236. needhedgeratio:
  5237. description: 应套保敞口比例
  5238. type: number
  5239. oriarbitrageqty:
  5240. description: 期初套利量
  5241. type: number
  5242. oribuyfutureqty:
  5243. description: 期初买入期货数量
  5244. type: number
  5245. oribuyplanqty:
  5246. description: 期初采购计划数量
  5247. type: number
  5248. oribuypricedqty:
  5249. description: 期初采购合同已定价数量
  5250. type: number
  5251. orihedgeqty:
  5252. description: 期初套保量
  5253. type: number
  5254. orineedarbitrageqty:
  5255. description: 期初应套利量
  5256. type: number
  5257. orineedhedgeexposoure:
  5258. description: 期初应套保敞口
  5259. type: number
  5260. orineedhedgeqty:
  5261. description: 期初应套保量
  5262. type: number
  5263. orisellfutureqty:
  5264. description: 期初卖出期货数量
  5265. type: number
  5266. orisellplanqty:
  5267. description: 期初销售计划数量
  5268. type: number
  5269. orisellpricedqty:
  5270. description: 期初销售合同已定价数量
  5271. type: number
  5272. oritotalexposure:
  5273. description: 期初实时总敞口
  5274. type: number
  5275. oritotalfutureqty:
  5276. description: 期初期货头寸总量
  5277. type: number
  5278. oritotalneedhedgeqty:
  5279. description: 期初应套保总量
  5280. type: number
  5281. oritotalspotqty:
  5282. description: 期初现货头寸总量
  5283. type: number
  5284. reckondate:
  5285. description: 日照时期(yyyyMMdd)
  5286. type: string
  5287. sellfutureqty:
  5288. description: 卖出期货数量
  5289. type: number
  5290. sellplanqty:
  5291. description: 销售计划数量
  5292. type: number
  5293. sellpricedqty:
  5294. description: 销售合同已定价数量
  5295. type: number
  5296. totalexposure:
  5297. description: 实时总敞口(总敞口)
  5298. type: number
  5299. totalfutureqty:
  5300. description: 期货头寸总量(期货总量)
  5301. type: number
  5302. totalhedgeratio:
  5303. description: 敞口比例
  5304. type: number
  5305. totalneedhedgeqty:
  5306. description: 应套保总量(现货应套保总量)
  5307. type: number
  5308. totalspotqty:
  5309. description: 现货头寸总量
  5310. type: number
  5311. unitid:
  5312. description: 单位id
  5313. type: integer
  5314. updatetime:
  5315. description: 更新时间
  5316. type: string
  5317. type: object
  5318. models.Ermcp3FinanceReport:
  5319. properties:
  5320. accountname:
  5321. description: 机构名称
  5322. type: string
  5323. areauserid:
  5324. description: 所属机构\交易用户ID
  5325. type: integer
  5326. begindate:
  5327. description: 开始交易日
  5328. type: string
  5329. biztype:
  5330. description: 业务类型 - 1:套保 2:套利
  5331. type: integer
  5332. brandname:
  5333. description: 品牌名称
  5334. type: string
  5335. buypreinvoicedamount:
  5336. description: 采购预收票额(预收票额)
  5337. type: number
  5338. buyprepaidamount:
  5339. description: 采购预付款额(预付货款额)
  5340. type: number
  5341. buytodayinvoiceamount:
  5342. description: 采购今收票额(今收票额)
  5343. type: number
  5344. buytodayrefundamount:
  5345. description: 采购今收退款额(今收退款额)
  5346. type: number
  5347. buytodaysettleamount:
  5348. description: 采购今付款额(今付货款额)
  5349. type: number
  5350. buyuninvoicedamount:
  5351. description: 采购应收票额(应收票额)
  5352. type: number
  5353. buyunpaidamount:
  5354. description: 采购应付款额(应付货款额)
  5355. type: number
  5356. currencyid:
  5357. description: 结算币种ID
  5358. type: integer
  5359. currencyname:
  5360. description: 币种名称
  5361. type: string
  5362. cycletime:
  5363. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5364. type: string
  5365. cycletype:
  5366. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5367. type: integer
  5368. deliverygoodscode:
  5369. description: 现货品种代码
  5370. type: string
  5371. deliverygoodsid:
  5372. description: 现货品种ID
  5373. type: integer
  5374. deliverygoodsname:
  5375. description: 现货品种名称
  5376. type: string
  5377. enddate:
  5378. description: 结束交易日
  5379. type: string
  5380. reckondate:
  5381. description: 日照时期(yyyyMMdd)
  5382. type: string
  5383. sellpreinvoicedamount:
  5384. description: 销售预开票额(预开票额)
  5385. type: number
  5386. sellprepaidamount:
  5387. description: 销售预收款额(预收货款额)
  5388. type: number
  5389. selltodayinvoiceamount:
  5390. description: 销售今开票额(今开票额)
  5391. type: number
  5392. selltodayrefundamount:
  5393. description: 销售今付退款额(今付退款额)
  5394. type: number
  5395. selltodaysettleamount:
  5396. description: 销售今收款额(今收货款额)
  5397. type: number
  5398. selluninvoicedamount:
  5399. description: 销售应开票额(应开票额)
  5400. type: number
  5401. sellunpaidamount:
  5402. description: 销售应收款额(应收货款额)
  5403. type: number
  5404. spotgoodsbrandid:
  5405. description: 现货品牌ID
  5406. type: integer
  5407. todaypaysum:
  5408. description: 今付款合计
  5409. type: number
  5410. todayreceivesum:
  5411. description: 今收款合计
  5412. type: number
  5413. updatetime:
  5414. description: 更新时间
  5415. type: string
  5416. wrfactortypeid:
  5417. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  5418. type: integer
  5419. wrstandardcode:
  5420. description: 品类代码
  5421. type: string
  5422. wrstandardid:
  5423. description: 现货商品ID
  5424. type: integer
  5425. wrstandardname:
  5426. description: 品类名称
  5427. type: string
  5428. type: object
  5429. models.Ermcp3GoodsGroup:
  5430. properties:
  5431. agreeunit:
  5432. description: 合约单位
  5433. type: number
  5434. areauserid:
  5435. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  5436. type: integer
  5437. canshort:
  5438. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  5439. type: integer
  5440. closepricemode:
  5441. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5442. type: integer
  5443. createtime:
  5444. description: 创建时间
  5445. type: string
  5446. creatorid:
  5447. description: 创建人
  5448. type: integer
  5449. currencyid:
  5450. description: 报价货币ID
  5451. type: integer
  5452. decimalplace:
  5453. description: 报价小数位
  5454. type: integer
  5455. enumdicname:
  5456. description: 单位名称
  5457. type: string
  5458. exchangefullname:
  5459. description: 交易所全称
  5460. type: string
  5461. excludecfg:
  5462. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  5463. type: integer
  5464. exexchangecode:
  5465. description: 交易所代码
  5466. type: string
  5467. exexchangeid:
  5468. description: 外部交易所ID[通道交易]
  5469. type: integer
  5470. exexchangename:
  5471. description: 交易所名称
  5472. type: string
  5473. goodsgroupid:
  5474. description: 商品组ID(自增ID)
  5475. type: integer
  5476. goodsgroupname:
  5477. description: 商品组名称
  5478. type: string
  5479. goodsgroupstatus:
  5480. description: 商品组状态 - 1:正常 2:注销
  5481. type: integer
  5482. goodunitid:
  5483. description: 报价单位ID
  5484. type: integer
  5485. groupcategroyid:
  5486. description: 品种分类ID
  5487. type: integer
  5488. innerdealmode:
  5489. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5490. type: integer
  5491. marketid:
  5492. description: 所属市场ID
  5493. type: integer
  5494. modifierid:
  5495. description: 修改人
  5496. type: integer
  5497. modifytime:
  5498. description: 修改时间
  5499. type: string
  5500. outerdealmode:
  5501. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5502. type: integer
  5503. outergroupcode:
  5504. description: 外部商品组代码[通道交易]
  5505. type: string
  5506. quoteminunit:
  5507. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5508. type: integer
  5509. quotesourcegroupid:
  5510. description: 所属行情源分组ID[参考行情市场用\通道交易]
  5511. type: integer
  5512. syncgoodsqty:
  5513. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  5514. type: integer
  5515. required:
  5516. - areauserid
  5517. type: object
  5518. models.Ermcp3HedgePlan:
  5519. properties:
  5520. accountid:
  5521. description: 资金账号
  5522. type: integer
  5523. areauserid:
  5524. description: 用户ID
  5525. type: integer
  5526. auditid:
  5527. description: 审核id
  5528. type: integer
  5529. auditname:
  5530. description: 审核人名称
  5531. type: string
  5532. auditremark:
  5533. description: 审核备注
  5534. type: string
  5535. auditsrc:
  5536. description: 审核来源 1-管理端 2-终端
  5537. type: integer
  5538. audittime:
  5539. description: 审核时间
  5540. type: string
  5541. contracttype:
  5542. description: 计划类型 - 1:采购 -1:销售
  5543. type: integer
  5544. convertfactor:
  5545. description: 标仓系数
  5546. type: number
  5547. createtime:
  5548. description: 创建时间
  5549. type: string
  5550. currencyid:
  5551. description: 币种id
  5552. type: integer
  5553. currencyname:
  5554. description: 币种名称
  5555. type: string
  5556. deliverygoodscode:
  5557. description: 现货品种代码
  5558. type: string
  5559. deliverygoodsid:
  5560. description: 现货品种ID
  5561. type: integer
  5562. deliverygoodsname:
  5563. description: 现货品种名称
  5564. type: string
  5565. enumdicname:
  5566. description: 单位名称(现货商品)
  5567. type: string
  5568. hedgeplanid:
  5569. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  5570. type: string
  5571. hedgeplanno:
  5572. description: 套保计划编号(名称)
  5573. type: string
  5574. hedgeplanstatus:
  5575. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5576. type: integer
  5577. planqty:
  5578. description: 计划数量
  5579. type: number
  5580. plantime:
  5581. description: 计划时间
  5582. type: string
  5583. producttype:
  5584. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5585. type: integer
  5586. remark:
  5587. description: 备注
  5588. type: string
  5589. spotgoodsdesc:
  5590. description: 商品型号
  5591. type: string
  5592. taaccountname:
  5593. description: 资金账号名称
  5594. type: string
  5595. tradeuserid:
  5596. description: 交易用户id
  5597. type: integer
  5598. tradeusername:
  5599. description: 交易用户名称
  5600. type: string
  5601. unitid:
  5602. description: 单位id(现货商品)
  5603. type: integer
  5604. updatetime:
  5605. description: 更新时间
  5606. type: string
  5607. vatrate:
  5608. description: 增值税率
  5609. type: number
  5610. wrstandardcode:
  5611. description: 品类代码
  5612. type: string
  5613. wrstandardid:
  5614. description: 品类id
  5615. type: integer
  5616. wrstandardname:
  5617. description: 品类名称
  5618. type: string
  5619. wrunitid:
  5620. description: 品类单位id
  5621. type: integer
  5622. wrunitidame:
  5623. description: 品类单位名称
  5624. type: string
  5625. type: object
  5626. models.Ermcp3InnerTradeLink:
  5627. properties:
  5628. accountid:
  5629. description: 期货账号代码 | 资金账号ID
  5630. type: integer
  5631. buyorsell:
  5632. description: 方向 - 0:买 1:卖
  5633. type: integer
  5634. channelbuildtype:
  5635. description: 委托单据类型 0:无 1:建仓 2:平仓
  5636. type: integer
  5637. currencyid:
  5638. description: 币种id
  5639. type: integer
  5640. currencyname:
  5641. description: 结算币种 名称
  5642. type: string
  5643. goodscode:
  5644. description: 商品代码
  5645. type: string
  5646. goodsid:
  5647. description: 商品ID
  5648. type: integer
  5649. goodsname:
  5650. description: 商品名称
  5651. type: string
  5652. outtradeid:
  5653. description: 外部成交单号
  5654. type: string
  5655. taname:
  5656. description: 期货账户名称
  5657. type: string
  5658. tradeid:
  5659. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5660. type: string
  5661. tradeprice:
  5662. description: 成交价格
  5663. type: number
  5664. tradeqty:
  5665. description: 期货成交数量
  5666. type: integer
  5667. tradetime:
  5668. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  5669. type: string
  5670. username:
  5671. description: 用户名称
  5672. type: string
  5673. type: object
  5674. models.Ermcp3OutTradeLink:
  5675. properties:
  5676. buyorsell:
  5677. description: 买卖方向 - 0:买 1:卖
  5678. type: integer
  5679. channelbuildtype:
  5680. description: 开平标志- 0:无 1:建仓 2:平仓
  5681. type: integer
  5682. currencyname:
  5683. description: 币种名称
  5684. type: string
  5685. exexchangecode:
  5686. description: 交易所代码
  5687. type: string
  5688. exexchangename:
  5689. description: 交易所名称
  5690. type: string
  5691. goodscode:
  5692. description: 合约代码
  5693. type: string
  5694. goodsid:
  5695. description: 合约id
  5696. type: integer
  5697. goodsname:
  5698. description: 合约名称
  5699. type: string
  5700. hasinnerorder:
  5701. description: 是否有内部单关联 - 0:无 1:有
  5702. type: integer
  5703. hedgeaccountcode:
  5704. description: 外部账号 | 对冲账号
  5705. type: string
  5706. outtradeid:
  5707. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5708. type: string
  5709. tradeprice:
  5710. description: 成交价格
  5711. type: number
  5712. tradeqty:
  5713. description: 成交数量
  5714. type: integer
  5715. tradetime:
  5716. description: 成交时间
  5717. type: string
  5718. type: object
  5719. models.Ermcp3PaAreaAuditCfg:
  5720. properties:
  5721. areauserid:
  5722. description: 用户ID
  5723. type: integer
  5724. buyinauditflag:
  5725. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  5726. type: integer
  5727. costratioauditflag:
  5728. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  5729. type: integer
  5730. customerauditflag:
  5731. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  5732. type: integer
  5733. deliveryauditflag:
  5734. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  5735. type: integer
  5736. invoiceauditflag:
  5737. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  5738. type: integer
  5739. mgneedhedgeratioauditflag:
  5740. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  5741. type: integer
  5742. moneyauditflag:
  5743. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  5744. type: integer
  5745. operatorid:
  5746. description: 操作人
  5747. type: integer
  5748. operatorsrc:
  5749. description: 操作来源 - 1:管理端 2:终端
  5750. type: integer
  5751. pointpriceauditflag:
  5752. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  5753. type: integer
  5754. produceinauditflag:
  5755. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  5756. type: integer
  5757. produceoutauditflag:
  5758. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  5759. type: integer
  5760. selloutauditflag:
  5761. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  5762. type: integer
  5763. sgconvertratioauditflag:
  5764. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  5765. type: integer
  5766. sgvtaratioauditflag:
  5767. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  5768. type: integer
  5769. spotcontractauditflag:
  5770. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  5771. type: integer
  5772. updatetime:
  5773. description: 更新时间
  5774. type: string
  5775. type: object
  5776. models.Ermcp3PaAreaSubject:
  5777. properties:
  5778. areauserid:
  5779. description: 所属机构
  5780. type: integer
  5781. canmodify:
  5782. description: 是否可修改 - 0:否 1:是
  5783. type: integer
  5784. createtime:
  5785. description: 创建时间
  5786. type: string
  5787. creatorid:
  5788. description: 创建人ID
  5789. type: string
  5790. creatorsrc:
  5791. description: 创建人来源 - 1:管理端 2:终端 3:交易
  5792. type: integer
  5793. modifierid:
  5794. description: 修改人
  5795. type: string
  5796. modifiersrc:
  5797. description: 修改人来源 - 1:管理端 2:终端
  5798. type: integer
  5799. modifytime:
  5800. description: 修改时间
  5801. type: string
  5802. parentsubjectid:
  5803. description: 上级主体ID
  5804. type: string
  5805. remark:
  5806. description: 备注
  5807. type: string
  5808. subjectid:
  5809. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  5810. type: integer
  5811. subjectname:
  5812. description: 主体名称
  5813. type: string
  5814. subjectstatus:
  5815. description: '主体状态 - 1:正常 2: 停用'
  5816. type: integer
  5817. subjecttype:
  5818. description: 主体类型 - 1:交易主体 2:业务部门
  5819. type: integer
  5820. type: object
  5821. models.Ermcp3PaTradeLink:
  5822. properties:
  5823. accountid:
  5824. description: 期货账户代码 | 账号ID
  5825. type: integer
  5826. agreeunit:
  5827. description: 合约乘数
  5828. type: number
  5829. buyorsell:
  5830. description: 方向 - 0:买 1:卖
  5831. type: integer
  5832. channelbuildtype:
  5833. description: 委托单据类型 0:无 1:建仓 2:平仓
  5834. type: integer
  5835. charge:
  5836. description: 手续费
  5837. type: number
  5838. closepl:
  5839. description: 平仓盈亏
  5840. type: number
  5841. closetype:
  5842. description: 平仓方式 - 0:无 1:平今 2:平昨
  5843. type: integer
  5844. convertratio:
  5845. description: 折算系数
  5846. type: number
  5847. enumdicname:
  5848. description: 单位名称
  5849. type: string
  5850. executeprice:
  5851. description: 执行价 [期权]
  5852. type: integer
  5853. goodscode:
  5854. description: 合约代码
  5855. type: string
  5856. goodsgroupid:
  5857. description: 对冲品种ID[期货合约商品组ID]
  5858. type: integer
  5859. goodsid:
  5860. description: 商品ID
  5861. type: integer
  5862. goodsname:
  5863. description: 合约名称
  5864. type: string
  5865. goodunitid:
  5866. description: 单位id
  5867. type: integer
  5868. hedgeflag:
  5869. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  5870. type: integer
  5871. marketid:
  5872. description: 市场ID
  5873. type: integer
  5874. middlegoodsid:
  5875. description: 套保品种ID
  5876. type: integer
  5877. middlegoodsqty:
  5878. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  5879. type: number
  5880. optioncode:
  5881. description: 期权代码 [期权]
  5882. type: string
  5883. ordertype:
  5884. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  5885. type: integer
  5886. ordertypename:
  5887. description: 订单类型
  5888. type: string
  5889. parentaccountid:
  5890. description: 所属母账户
  5891. type: integer
  5892. premium:
  5893. description: 权利金 [期权]
  5894. type: number
  5895. relatedlot:
  5896. description: 已关联数量(已关联数量手) | db:关联手数
  5897. type: number
  5898. relatedouttradeid:
  5899. description: 关联外部成交单ID
  5900. type: string
  5901. relatedqty:
  5902. description: 关联数量
  5903. type: number
  5904. spotcontractid:
  5905. description: 现货合同ID [4:套期保值\10\11]
  5906. type: string
  5907. taname:
  5908. description: 期货账户名称
  5909. type: string
  5910. tradeamount:
  5911. description: 成交金额(账户)
  5912. type: number
  5913. tradedate:
  5914. description: 交易日(yyyyMMdd)
  5915. type: string
  5916. tradeid:
  5917. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5918. type: string
  5919. tradelot:
  5920. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  5921. type: integer
  5922. tradeprice:
  5923. description: 成交价格
  5924. type: number
  5925. tradetime:
  5926. description: 时间 | db:成交时间
  5927. type: string
  5928. tradetype:
  5929. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  5930. type: integer
  5931. userid:
  5932. description: 所属机构 - 所属母账户的UserID
  5933. type: string
  5934. username:
  5935. description: 用户名称
  5936. type: string
  5937. type: object
  5938. models.Ermcp3ParamChangeApp:
  5939. properties:
  5940. aftervalue:
  5941. description: 变更后
  5942. type: number
  5943. applicationid:
  5944. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  5945. type: string
  5946. applyid:
  5947. description: 申请人
  5948. type: string
  5949. applyname:
  5950. description: 申请人名称(代码)
  5951. type: string
  5952. applyremark:
  5953. description: 申请备注
  5954. type: string
  5955. applysrc:
  5956. description: 申请来源 - 1:管理端 2:终端
  5957. type: integer
  5958. applystatus:
  5959. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  5960. type: integer
  5961. applytime:
  5962. description: 申请时间
  5963. type: string
  5964. areauserid:
  5965. description: 所属机构用户ID
  5966. type: integer
  5967. auditid:
  5968. description: 审核人
  5969. type: string
  5970. auditname:
  5971. description: 审核人名称(代码)
  5972. type: string
  5973. auditremark:
  5974. description: 审核备注
  5975. type: string
  5976. auditsrc:
  5977. description: 审核来源 - 1:管理端 2:终端
  5978. type: integer
  5979. audittime:
  5980. description: 审核时间
  5981. type: string
  5982. audittradedate:
  5983. description: 审核交易日(yyyyMMdd)
  5984. type: string
  5985. beforevalue:
  5986. description: 变更前
  5987. type: number
  5988. deliverygoodscode:
  5989. description: 品种代码
  5990. type: string
  5991. deliverygoodsid:
  5992. description: 品种id
  5993. type: integer
  5994. deliverygoodsname:
  5995. description: 品种名称
  5996. type: string
  5997. middlegoodscode:
  5998. description: 套保品种代码
  5999. type: string
  6000. middlegoodsid:
  6001. description: 套保品种ID [ParamChangeType = 2,3,4]
  6002. type: integer
  6003. middlegoodsname:
  6004. description: 套保品种名称
  6005. type: string
  6006. operatetype:
  6007. description: 操作类型 - 1:新增 2:修改
  6008. type: integer
  6009. paramchangetype:
  6010. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6011. type: integer
  6012. wrstandardcode:
  6013. description: 现货商品代码
  6014. type: string
  6015. wrstandardid:
  6016. description: 现货商品ID [ParamChangeType = 1,2,3]
  6017. type: integer
  6018. wrstandardname:
  6019. description: 现货商品名称
  6020. type: string
  6021. type: object
  6022. models.Ermcp3RootUserAccount:
  6023. properties:
  6024. accountname:
  6025. description: 账户名称(机构名称)
  6026. type: string
  6027. accountstatus:
  6028. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6029. type: integer
  6030. applysrc:
  6031. description: 申请来源 - 1:管理端 2:终端
  6032. type: integer
  6033. auditremark:
  6034. description: 审核备注
  6035. type: string
  6036. auditsrc:
  6037. description: 审核来源 - 1:管理端 2:终端
  6038. type: integer
  6039. audittime:
  6040. description: 审核时间
  6041. type: string
  6042. audituserid:
  6043. description: 审核人
  6044. type: integer
  6045. broker:
  6046. description: 所属经纪人ID
  6047. type: integer
  6048. canceltime:
  6049. description: 销户时间
  6050. type: string
  6051. canceluserid:
  6052. description: 销户人
  6053. type: integer
  6054. canrecommend:
  6055. description: 是否可推荐 - 0:不可 1;可
  6056. type: integer
  6057. createtime:
  6058. description: 创建时间
  6059. type: string
  6060. creatorid:
  6061. description: 创建人
  6062. type: integer
  6063. hasauth:
  6064. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6065. type: integer
  6066. isanonymous:
  6067. description: 是否匿名下单 - 0:否 1:是
  6068. type: integer
  6069. maxinvestornum:
  6070. description: 最大用户数(经纪会员下投资者个数)
  6071. type: integer
  6072. memberuserid:
  6073. description: 所属会员ID
  6074. type: integer
  6075. modifierid:
  6076. description: 修改人
  6077. type: integer
  6078. modifyremark:
  6079. description: 变更备注
  6080. type: string
  6081. modifystatus:
  6082. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6083. type: integer
  6084. modifytime:
  6085. description: 修改时间
  6086. type: string
  6087. parenttopuser:
  6088. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  6089. type: string
  6090. parentuserid:
  6091. description: 所属机构ID
  6092. type: integer
  6093. reckonaccountid:
  6094. description: 默认结算资金账号ID(机构分润使用) 作废
  6095. type: integer
  6096. refercount:
  6097. description: 推荐总人数
  6098. type: integer
  6099. refereeuserid:
  6100. description: 推荐人ID
  6101. type: integer
  6102. refernum:
  6103. description: 推荐码
  6104. type: string
  6105. rootuserid:
  6106. description: 根用户ID
  6107. type: integer
  6108. subaccountlevel:
  6109. description: 子账户层数
  6110. type: integer
  6111. subarealevelpath:
  6112. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6113. type: string
  6114. userid:
  6115. description: 用户ID
  6116. type: integer
  6117. usertype:
  6118. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6119. type: integer
  6120. type: object
  6121. models.Ermcp3SCMiddleGoods:
  6122. properties:
  6123. biztype:
  6124. description: 业务类型 1:套保 2:套利
  6125. type: integer
  6126. contractno:
  6127. description: 合同编号
  6128. type: string
  6129. contracttype:
  6130. description: 合同类型 1:采购 -1:销售
  6131. type: integer
  6132. customername:
  6133. description: 对手手名称
  6134. type: string
  6135. customeruserid:
  6136. description: 对手id
  6137. type: integer
  6138. deliverygoodscode:
  6139. description: 现货品种代码
  6140. type: string
  6141. deliverygoodsid:
  6142. description: 现货品种ID
  6143. type: integer
  6144. deliverygoodsname:
  6145. description: 现货品种名称
  6146. type: string
  6147. enumdicname:
  6148. description: 现货单位名称
  6149. type: string
  6150. middlegoodsid:
  6151. description: 套保品种ID
  6152. type: integer
  6153. middlegoodspricedqty3:
  6154. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  6155. type: number
  6156. needhedgeratio:
  6157. description: 套保比例
  6158. type: number
  6159. pricedqty:
  6160. description: 已定价量
  6161. type: number
  6162. relatedmiddlegoodsqty:
  6163. description: 已关联量(套保品种)(期货)
  6164. type: number
  6165. spotcontractid:
  6166. description: 合同编号
  6167. type: string
  6168. unitid:
  6169. description: 现货单位id
  6170. type: integer
  6171. userid:
  6172. description: 用户id
  6173. type: integer
  6174. vatrate:
  6175. description: 增值税率
  6176. type: number
  6177. wrstandardcode:
  6178. description: 现货商品代码
  6179. type: string
  6180. wrstandardid:
  6181. description: 现货商品id
  6182. type: integer
  6183. wrstandardname:
  6184. description: 现货商品名称
  6185. type: string
  6186. type: object
  6187. models.Ermcp3SCMiddleGoodsReport:
  6188. properties:
  6189. begindate:
  6190. description: 开始交易日
  6191. type: string
  6192. contractno:
  6193. description: 合同编号
  6194. type: string
  6195. contracttype:
  6196. description: 合同类型 1:采购 -1:销售
  6197. type: integer
  6198. convertratio:
  6199. description: 折算系数
  6200. type: number
  6201. cycletime:
  6202. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6203. type: string
  6204. cycletype:
  6205. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6206. type: integer
  6207. deliverygoodscode:
  6208. description: 品种代码
  6209. type: string
  6210. deliverygoodsid:
  6211. description: 现货品种ID
  6212. type: integer
  6213. deliverygoodsname:
  6214. description: 品种名称
  6215. type: string
  6216. diffprice:
  6217. description: 现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价
  6218. type: number
  6219. diffqty:
  6220. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  6221. type: number
  6222. enddate:
  6223. description: 结束交易日
  6224. type: string
  6225. hedgeplanqty:
  6226. description: 套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例
  6227. type: number
  6228. matchname:
  6229. description: 交易对手方(个人:用户名称 企业:简称)
  6230. type: string
  6231. middlegoodscode:
  6232. description: 套保品种代码
  6233. type: string
  6234. middlegoodsid:
  6235. description: 套保品种ID
  6236. type: integer
  6237. middlegoodsname:
  6238. description: 套保品种名称
  6239. type: string
  6240. middlegoodspricedqty:
  6241. description: 已定价量(套保品种 - 税前) = PricedQty * 折算系数
  6242. type: number
  6243. middlegoodspricedqty2:
  6244. description: 已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))
  6245. type: number
  6246. middlegoodspricedqty3:
  6247. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  6248. type: number
  6249. needhedgeratio:
  6250. description: 套保系数
  6251. type: number
  6252. pricedamount:
  6253. description: 已定价额(现货)
  6254. type: number
  6255. pricedamount2:
  6256. description: 已定价额(现货-基价额)
  6257. type: number
  6258. pricedqty:
  6259. description: 已定价量(现货)
  6260. type: number
  6261. reckondate:
  6262. description: 日照时期(yyyyMMdd)
  6263. type: string
  6264. relatedmiddlegoodsamount:
  6265. description: 已关联额(期货)
  6266. type: number
  6267. relatedmiddlegoodsqty:
  6268. description: 已关联量(套保品种)(期货)
  6269. type: number
  6270. spotcontractid:
  6271. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  6272. type: string
  6273. todayavgfutuprice:
  6274. description: 今日期货成交均价 = TodayRelatedMiddleGoodsAmount /TodayRelatedMiddleGoodsQty
  6275. type: number
  6276. todayavgprice:
  6277. description: 今日定价均价 = TodayPricedAmount / TodayPricedQty
  6278. type: number
  6279. todayavgprice2:
  6280. description: 今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty
  6281. type: number
  6282. todaypricedamount:
  6283. description: 今日定价额(现货)
  6284. type: number
  6285. todaypricedamount2:
  6286. description: 今日定价额(现货-基价额)
  6287. type: number
  6288. todaypricedqty:
  6289. description: 今日定价量(现货)
  6290. type: number
  6291. todayrelatedmiddlegoodsamount:
  6292. description: 今日关联额(期货)
  6293. type: number
  6294. todayrelatedmiddlegoodsqty:
  6295. description: 今日关联量(期货)
  6296. type: number
  6297. updatetime:
  6298. description: 更新时间
  6299. type: string
  6300. userid:
  6301. description: 合同所属用户id
  6302. type: integer
  6303. vatrate:
  6304. description: 增值税率
  6305. type: number
  6306. wrstandardcode:
  6307. description: 商品(品类) 代码
  6308. type: string
  6309. wrstandardid:
  6310. description: 现货商品ID
  6311. type: integer
  6312. wrstandardname:
  6313. description: 商品(品类) 名称
  6314. type: string
  6315. type: object
  6316. models.Ermcp3SellBuyContract:
  6317. properties:
  6318. accountid:
  6319. description: 期货账户id
  6320. type: string
  6321. accountname:
  6322. description: 账户名称
  6323. type: string
  6324. attachment:
  6325. description: 附件
  6326. type: string
  6327. audittime:
  6328. description: 审核时间
  6329. type: string
  6330. biztype:
  6331. description: 业务类型 1-套保 2-套利
  6332. type: integer
  6333. brandname:
  6334. description: 品牌名称
  6335. type: string
  6336. contracctstatus:
  6337. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6338. type: integer
  6339. contractmargin:
  6340. description: 合同保证金
  6341. type: number
  6342. contractno:
  6343. description: 合同编号
  6344. type: string
  6345. contracttype:
  6346. description: 合同类型 1-采购, -1-销售
  6347. type: integer
  6348. convertfactor:
  6349. description: 标仓系数(品类)
  6350. type: number
  6351. createtime:
  6352. description: 创建时间
  6353. type: string
  6354. currencyid:
  6355. description: 币种id
  6356. type: integer
  6357. currencyname:
  6358. description: 币种名称
  6359. type: string
  6360. daikaiamount:
  6361. description: 应收(开)票额
  6362. type: number
  6363. deliveryenddate:
  6364. description: 交割结束日
  6365. type: string
  6366. deliverygoodscode:
  6367. description: 现货品种代码
  6368. type: string
  6369. deliverygoodsid:
  6370. description: 现货商品ID
  6371. type: integer
  6372. deliverygoodsname:
  6373. description: 现货品种名称
  6374. type: string
  6375. deliverystartdate:
  6376. description: 交割开始日
  6377. type: string
  6378. enddate:
  6379. description: 点价结束日
  6380. type: string
  6381. enumdicname:
  6382. description: 单位名称
  6383. type: string
  6384. goodscode:
  6385. description: 点价商品代码
  6386. type: string
  6387. goodsid:
  6388. description: 点价商品ID
  6389. type: integer
  6390. goodsname:
  6391. description: 点价商品名称
  6392. type: string
  6393. invoiceamount:
  6394. description: 已开票额
  6395. type: number
  6396. loanamount:
  6397. description: 贷款总额=已定价额+调整金额
  6398. type: number
  6399. margin:
  6400. description: 保证金
  6401. type: number
  6402. meruserid:
  6403. description: 跟单员id
  6404. type: integer
  6405. meruserlogincode:
  6406. description: 跟单员登录代码
  6407. type: string
  6408. merusername:
  6409. description: 跟单员名称
  6410. type: string
  6411. nickname:
  6412. description: 账户昵称
  6413. type: string
  6414. payamount:
  6415. description: 已收付额(收款或付款)
  6416. type: number
  6417. preinvoiceamount:
  6418. description: 预收(开)票额
  6419. type: number
  6420. prepayamount:
  6421. description: 预收付额
  6422. type: number
  6423. price:
  6424. description: 价格
  6425. type: number
  6426. pricedamount:
  6427. description: 已定价额
  6428. type: number
  6429. pricedavg:
  6430. description: 已点均价
  6431. type: number
  6432. pricedqty:
  6433. description: 已定价量
  6434. type: number
  6435. pricemove:
  6436. description: 升贴水
  6437. type: number
  6438. pricetype:
  6439. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  6440. type: integer
  6441. producttype:
  6442. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6443. type: integer
  6444. qty:
  6445. description: 合同量
  6446. type: number
  6447. reckonadjustamount:
  6448. description: 调整金额
  6449. type: number
  6450. reckonedamount:
  6451. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  6452. type: number
  6453. reckonotheramount:
  6454. description: 其它费用
  6455. type: number
  6456. reckonrealqty:
  6457. description: 已确定量
  6458. type: number
  6459. remark:
  6460. description: 备注
  6461. type: string
  6462. saleuserid:
  6463. description: 业务员id
  6464. type: integer
  6465. saleuserlogincode:
  6466. description: 业务员登录代码
  6467. type: string
  6468. saleusername:
  6469. description: 业务员名称
  6470. type: string
  6471. spotcontractid:
  6472. description: 合同ID
  6473. type: string
  6474. spotgoodsbrandid:
  6475. description: 现货品牌ID(DGFactoryItem表的ID)
  6476. type: integer
  6477. spotgoodsdesc:
  6478. description: 商品型号(商品规格)
  6479. type: string
  6480. startdate:
  6481. description: 点价开始日
  6482. type: string
  6483. subjectid:
  6484. description: 交易主体ID
  6485. type: string
  6486. subjectname:
  6487. description: 交易主体名称
  6488. type: string
  6489. totalamount:
  6490. description: 合计总额
  6491. type: number
  6492. tradeuserid:
  6493. description: 交易员id
  6494. type: integer
  6495. tradeuserlogincode:
  6496. description: 交易员登录代码
  6497. type: string
  6498. tradeusername:
  6499. description: 交易员名称
  6500. type: string
  6501. unpayamount:
  6502. description: 应收付款额(应支付或应收款)
  6503. type: number
  6504. unpricedqty:
  6505. description: 未定价量
  6506. type: number
  6507. unsureqty:
  6508. description: 未确定量
  6509. type: number
  6510. userid:
  6511. description: 机构ID
  6512. type: integer
  6513. vatrate:
  6514. description: 增值税率
  6515. type: number
  6516. wrstandardcode:
  6517. description: 品类代码
  6518. type: string
  6519. wrstandardid:
  6520. description: 品类ID
  6521. type: integer
  6522. wrstandardname:
  6523. description: 品类名称
  6524. type: string
  6525. type: object
  6526. models.Ermcp3SpotGoodsPrice:
  6527. properties:
  6528. areauserid:
  6529. description: 所属机构id
  6530. type: integer
  6531. brandname:
  6532. description: 品牌名称
  6533. type: string
  6534. currencyid:
  6535. description: 报价货币ID
  6536. type: integer
  6537. currencyname:
  6538. description: 币种名称
  6539. type: string
  6540. deliverygoodscode:
  6541. description: 现货商品代码
  6542. type: string
  6543. deliverygoodsid:
  6544. description: 现货商品id
  6545. type: integer
  6546. deliverygoodsname:
  6547. description: 现货商品名称
  6548. type: string
  6549. enumdicname:
  6550. description: 现货商品单位名称
  6551. type: string
  6552. gbenumdicname:
  6553. description: 品类单位名称
  6554. type: string
  6555. gmunitid:
  6556. description: 品类单位id
  6557. type: integer
  6558. isvalid:
  6559. description: 是否有效 - 0:无效 1:有效
  6560. type: integer
  6561. operateid:
  6562. description: 最后操作人
  6563. type: integer
  6564. operatesrc:
  6565. description: 最后操作来源 - 1:管理端 2:终端
  6566. type: integer
  6567. operatetime:
  6568. description: 最后操作时间
  6569. type: string
  6570. operatorname:
  6571. description: 操作人名称
  6572. type: string
  6573. spotgoodsbrandid:
  6574. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6575. type: integer
  6576. spotgoodsprice:
  6577. description: 现货价格
  6578. type: number
  6579. tradedate:
  6580. description: 交易日(yyyyMMdd)
  6581. type: string
  6582. unitid:
  6583. description: 现货商品单位id
  6584. type: integer
  6585. wrstandardcode:
  6586. description: 品类代码
  6587. type: string
  6588. wrstandardid:
  6589. description: 现货品类ID(通用则为0)
  6590. type: integer
  6591. wrstandardname:
  6592. description: 品类名称
  6593. type: string
  6594. type: object
  6595. models.Ermcp3SpotGoodsPriceLog:
  6596. properties:
  6597. areauserid:
  6598. description: 所属机构id
  6599. type: integer
  6600. brandname:
  6601. description: 品牌名称
  6602. type: string
  6603. currencyid:
  6604. description: 报价货币ID
  6605. type: integer
  6606. deliverygoodscode:
  6607. description: 现货商品代码
  6608. type: string
  6609. deliverygoodsid:
  6610. description: 现货商品id
  6611. type: integer
  6612. deliverygoodsname:
  6613. description: 现货商品名称
  6614. type: string
  6615. enumdicname:
  6616. description: 现货商品单位名称
  6617. type: string
  6618. gbenumdicname:
  6619. description: 品类单位名称
  6620. type: string
  6621. gmunitid:
  6622. description: 品类单位id
  6623. type: integer
  6624. logid:
  6625. description: 日志id
  6626. type: integer
  6627. operateid:
  6628. description: 最后操作人
  6629. type: integer
  6630. operatesrc:
  6631. description: 最后操作来源 - 1:管理端 2:终端
  6632. type: integer
  6633. operatetime:
  6634. description: 最后操作时间
  6635. type: string
  6636. operatorname:
  6637. description: 操作人名称
  6638. type: string
  6639. spotgoodsbrandid:
  6640. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6641. type: integer
  6642. spotgoodsprice:
  6643. description: 现货价格
  6644. type: number
  6645. tradedate:
  6646. description: 交易日(yyyyMMdd)
  6647. type: string
  6648. unitid:
  6649. description: 现货商品单位id
  6650. type: integer
  6651. wrstandardcode:
  6652. description: 品类代码
  6653. type: string
  6654. wrstandardid:
  6655. description: 现货品类ID(通用则为0)
  6656. type: integer
  6657. wrstandardname:
  6658. description: 品类名称
  6659. type: string
  6660. type: object
  6661. models.Ermcp3SubTaaccount:
  6662. properties:
  6663. accountid:
  6664. description: 资金账户ID
  6665. type: integer
  6666. parentaccountcode:
  6667. description: 所属根账号代码(母账号代码)
  6668. type: string
  6669. parentaccountid:
  6670. description: 所属根账号(母账号)
  6671. type: integer
  6672. taname:
  6673. description: 资金账号名称
  6674. type: string
  6675. tradestatus:
  6676. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  6677. type: integer
  6678. username:
  6679. description: 交易用户
  6680. type: string
  6681. type: object
  6682. models.Ermcp3TaFutuReDataReport:
  6683. properties:
  6684. accountid:
  6685. description: 交易账户
  6686. type: integer
  6687. accountname:
  6688. description: 交易账号名称
  6689. type: string
  6690. agreeunit:
  6691. description: 商品合约单位
  6692. type: number
  6693. begindate:
  6694. description: 开始交易日
  6695. type: string
  6696. buyorsell:
  6697. description: 持仓方向
  6698. type: integer
  6699. charge:
  6700. description: 手续费
  6701. type: number
  6702. closeavgprice:
  6703. description: 平仓均价
  6704. type: number
  6705. closepl:
  6706. description: 平仓损益
  6707. type: number
  6708. currencyid:
  6709. description: 结算币种ID
  6710. type: integer
  6711. currencyname:
  6712. description: 币种名称
  6713. type: string
  6714. cycletime:
  6715. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6716. type: string
  6717. cycletype:
  6718. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6719. type: integer
  6720. enddate:
  6721. description: 结束交易日
  6722. type: string
  6723. enumdicname:
  6724. description: 单位名称
  6725. type: string
  6726. floatpl:
  6727. description: 浮动损益
  6728. type: number
  6729. goodscode:
  6730. description: 交易合约代码
  6731. type: string
  6732. goodsgroupid:
  6733. description: 交易品种
  6734. type: integer
  6735. goodsgroupname:
  6736. description: 交易品种名称
  6737. type: string
  6738. goodsgroupspotqty:
  6739. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  6740. type: number
  6741. goodsid:
  6742. description: 交易合约
  6743. type: integer
  6744. goodsname:
  6745. description: 交易合约名称
  6746. type: string
  6747. goodunitid:
  6748. description: 交易合约单位id
  6749. type: integer
  6750. holdamount:
  6751. description: 期末持仓额
  6752. type: number
  6753. holdqty:
  6754. description: 期末持仓量
  6755. type: number
  6756. lastholdamount:
  6757. description: 当前持仓额
  6758. type: number
  6759. lastprice:
  6760. description: 最新价
  6761. type: number
  6762. middlegoodsid:
  6763. description: 套保品种id
  6764. type: integer
  6765. middlegoodsname:
  6766. description: 套保商品名称
  6767. type: string
  6768. middlegoodsqty:
  6769. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  6770. type: number
  6771. middlgoodscode:
  6772. description: 套保商品代码
  6773. type: string
  6774. openamount:
  6775. description: 期末开仓额
  6776. type: number
  6777. openavgprice:
  6778. description: 开仓均价
  6779. type: number
  6780. oriholdamount:
  6781. description: 期初持仓额
  6782. type: number
  6783. oriholdqty:
  6784. description: 期初持仓量
  6785. type: number
  6786. oriopenamount:
  6787. description: 期初开仓额
  6788. type: number
  6789. outergroupcode:
  6790. description: 交易品种代码
  6791. type: string
  6792. qtydecimalplace:
  6793. description: 成交量小数位
  6794. type: integer
  6795. reckondate:
  6796. description: 日照时期(yyyyMMdd)
  6797. type: string
  6798. reckonholdamount:
  6799. description: 结算持仓额
  6800. type: number
  6801. reckonpl:
  6802. description: 结算损益
  6803. type: number
  6804. reckonpl2:
  6805. description: 结算逐笔盈亏
  6806. type: number
  6807. reckonprice:
  6808. description: 结算价
  6809. type: number
  6810. relateduserid:
  6811. description: 账户关联用户ID
  6812. type: integer
  6813. todaycloseamount:
  6814. description: 今平仓额
  6815. type: number
  6816. todaycloseqty:
  6817. description: 今平仓量
  6818. type: number
  6819. todaygoodsgroupspotqty:
  6820. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  6821. type: number
  6822. todaymiddlegoodsqty:
  6823. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  6824. type: number
  6825. todayopenamount:
  6826. description: 今开仓额
  6827. type: number
  6828. todayopenqty:
  6829. description: 今开仓量
  6830. type: number
  6831. userid:
  6832. description: 账户所属用户ID
  6833. type: integer
  6834. type: object
  6835. models.Ermcp3TradeLinkDetail:
  6836. properties:
  6837. accountid:
  6838. description: 资金账号
  6839. type: integer
  6840. agreeunit:
  6841. description: 合约乘数
  6842. type: number
  6843. areauserid:
  6844. description: 所属机构
  6845. type: string
  6846. bizsubjectid:
  6847. description: 归属业务部门ID - SubjectID
  6848. type: string
  6849. buyorsell:
  6850. description: 方向 - 0:买 1:卖
  6851. type: integer
  6852. channelbuildtype:
  6853. description: 委托单据类型 0:无 1:建仓 2:平仓
  6854. type: integer
  6855. contractno:
  6856. description: 现货编号 (合同编号)
  6857. type: string
  6858. convertratio:
  6859. description: 折算系数
  6860. type: number
  6861. createtime:
  6862. description: 关联时间 | 创建时间
  6863. type: string
  6864. creatorid:
  6865. description: 创建人ID
  6866. type: string
  6867. creatorsrc:
  6868. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6869. type: integer
  6870. enumdicname:
  6871. description: 单位名称
  6872. type: string
  6873. goodscode:
  6874. description: 合约代码
  6875. type: string
  6876. goodsgroupid:
  6877. description: 对冲品种ID[期货合约商品组ID]
  6878. type: integer
  6879. goodsid:
  6880. description: 商品ID
  6881. type: integer
  6882. goodsname:
  6883. description: 合约名称
  6884. type: string
  6885. hedgeflag:
  6886. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6887. type: integer
  6888. linkdetailid:
  6889. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  6890. type: string
  6891. linkstatus:
  6892. description: 关联状态 - 1:成功 2:失败 3:解绑
  6893. type: integer
  6894. middlegoodscode:
  6895. description: 套保品种代码
  6896. type: string
  6897. middlegoodsid:
  6898. description: 套保品种ID
  6899. type: integer
  6900. middlegoodsname:
  6901. description: 套保品种名称
  6902. type: string
  6903. relatedlot:
  6904. description: 关联手数
  6905. type: number
  6906. relatedmode:
  6907. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  6908. type: integer
  6909. relatedqty:
  6910. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  6911. type: number
  6912. retcode:
  6913. description: 返回码
  6914. type: integer
  6915. saleuserid:
  6916. description: 业务员ID
  6917. type: string
  6918. spotcontractid:
  6919. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  6920. type: string
  6921. taname:
  6922. description: 期货账户
  6923. type: string
  6924. tradedate:
  6925. description: 关联交易日(yyyyMMdd)
  6926. type: string
  6927. tradeid:
  6928. description: 期货订单号 | 内部成交单ID
  6929. type: string
  6930. tradelot:
  6931. description: 成交数量 | 成交手数
  6932. type: integer
  6933. tradeprice:
  6934. description: 成交价格
  6935. type: number
  6936. tradetime:
  6937. description: 期货成交时间
  6938. type: string
  6939. tradetradedate:
  6940. description: 成交交易日(yyyyMMdd)
  6941. type: string
  6942. username:
  6943. description: 用户名称
  6944. type: string
  6945. type: object
  6946. models.Ermcp3Wrstandard:
  6947. properties:
  6948. areauserid:
  6949. description: 所属机构
  6950. type: integer
  6951. cantrade:
  6952. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  6953. type: integer
  6954. convertfactor:
  6955. description: 标仓系数
  6956. type: number
  6957. createtime:
  6958. description: 创建时间
  6959. type: string
  6960. creatorid:
  6961. description: 创建人
  6962. type: integer
  6963. deliverygoodsid:
  6964. description: 现货品种ID
  6965. type: integer
  6966. enumdicname:
  6967. description: 品类单位名称
  6968. type: string
  6969. isvalid:
  6970. description: 是否有效 0-无效(停用) 1-有效(正常)
  6971. type: integer
  6972. minivalue:
  6973. description: 最小变动值
  6974. type: integer
  6975. minivaluedp:
  6976. description: 最小变动值小数位
  6977. type: integer
  6978. realminivalue:
  6979. description: 实际最小变动值
  6980. type: integer
  6981. realminivaluedp:
  6982. description: 实际最小变动值小数位
  6983. type: integer
  6984. remark:
  6985. description: 备注
  6986. type: string
  6987. unitid:
  6988. description: 品类单位ID
  6989. type: integer
  6990. updatetime:
  6991. description: 更新时间
  6992. type: string
  6993. wrstandardcode:
  6994. description: 品类代码
  6995. type: string
  6996. wrstandardid:
  6997. description: 品类ID(SEQ_WRSTANDARD)
  6998. type: integer
  6999. wrstandardname:
  7000. description: 品类名称
  7001. type: string
  7002. type: object
  7003. models.ErmcpBizGroupEx:
  7004. properties:
  7005. acclist:
  7006. description: 账号列表
  7007. items:
  7008. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  7009. type: array
  7010. bizgroupid:
  7011. description: 业务分组id
  7012. type: integer
  7013. biztype:
  7014. description: 业务类型 1-套保 2-套利
  7015. type: integer
  7016. wrlist:
  7017. description: 现货商品表
  7018. items:
  7019. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  7020. type: array
  7021. type: object
  7022. models.ErmcpBizGroupSpotGoods:
  7023. properties:
  7024. areauserid:
  7025. description: 所属机构id
  7026. type: integer
  7027. bizgroupid:
  7028. description: 分组id
  7029. type: integer
  7030. biztype:
  7031. description: 业务类型 1-套保 2-套利
  7032. type: integer
  7033. deliverygoodscode:
  7034. description: 现货商品代码
  7035. type: string
  7036. deliverygoodsid:
  7037. description: 现货商品id
  7038. type: integer
  7039. deliverygoodsname:
  7040. description: 现货商品名称
  7041. type: string
  7042. unitid:
  7043. description: 现货商品单位id
  7044. type: integer
  7045. type: object
  7046. models.ErmcpBizGroupTaAccount:
  7047. properties:
  7048. accountid:
  7049. description: 账号id
  7050. type: integer
  7051. accountname:
  7052. description: 账号名称
  7053. type: string
  7054. areauserid:
  7055. description: 所属机构id
  7056. type: integer
  7057. bizgroupid:
  7058. description: 业务分组id
  7059. type: integer
  7060. ismain:
  7061. description: 是否主账号 1-是 0-否
  7062. type: integer
  7063. type: object
  7064. models.ErmcpDGFactoryItem:
  7065. properties:
  7066. areauserid:
  7067. description: 用户id
  7068. type: integer
  7069. deliverygoodsid:
  7070. description: 现货品种ID
  7071. type: integer
  7072. dgfactoryitemid:
  7073. description: 选择项ID(SEQ_DGFACTORYITEM)
  7074. type: integer
  7075. dgfactoryitemtypeid:
  7076. description: 要素项类型
  7077. type: integer
  7078. dgfactoryitemvalue:
  7079. description: 要素项值(类型为仓库时填写仓库名称)
  7080. type: string
  7081. isvalid:
  7082. description: 是否有效 - 0:无效 1:有效
  7083. type: integer
  7084. orderindex:
  7085. description: 顺序
  7086. type: integer
  7087. warehouseid:
  7088. description: 仓库ID(类型为仓库时填写)
  7089. type: integer
  7090. type: object
  7091. models.ErmcpDeliveryGoods:
  7092. properties:
  7093. agreeunit:
  7094. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  7095. type: integer
  7096. areauserid:
  7097. description: 所属机构
  7098. type: integer
  7099. auditflag:
  7100. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  7101. type: integer
  7102. categoryid:
  7103. description: 类别ID(SEQ_WRCATEGORY)
  7104. type: integer
  7105. deliverygoodscode:
  7106. description: 现货品种代码
  7107. type: string
  7108. deliverygoodsid:
  7109. description: 现货品种ID(SEQ_DELIVERYGOODS)
  7110. type: integer
  7111. deliverygoodsname:
  7112. description: 现货品种名称
  7113. type: string
  7114. deliverygoodstype:
  7115. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  7116. type: integer
  7117. dgstatus:
  7118. description: 品种状态 - 作废 - 0:未激活 1:正常
  7119. type: integer
  7120. enumdicname:
  7121. description: 现货品种单位名称
  7122. type: string
  7123. goodsunitid:
  7124. description: 现货品种单位ID
  7125. type: integer
  7126. isvalid:
  7127. description: 是否有效 - 0:无效 1:有效
  7128. type: integer
  7129. qtydecimalplace:
  7130. description: 成交量小数位
  7131. type: integer
  7132. remark:
  7133. description: 备注
  7134. type: string
  7135. standardqty:
  7136. description: 标准数量(库位数量) [标准品特有]
  7137. type: integer
  7138. standardqtyrange:
  7139. description: 标准数量偏差范围 [标准品特有]
  7140. type: integer
  7141. type: object
  7142. models.ErmcpFuturesCompany:
  7143. properties:
  7144. brokerid:
  7145. description: 经纪公司代码
  7146. type: string
  7147. channeladdress:
  7148. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  7149. type: string
  7150. channelid:
  7151. description: 对冲渠道ID
  7152. type: string
  7153. createtime:
  7154. description: 创建时间
  7155. type: string
  7156. creatorid:
  7157. description: 创建人
  7158. type: string
  7159. fcid:
  7160. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  7161. type: integer
  7162. fcname:
  7163. description: 期货公司名称
  7164. type: string
  7165. isvalid:
  7166. description: 是否有效 - 0:无效 1:有效
  7167. type: integer
  7168. mhpaddress:
  7169. description: MHP服务地址(IP:Port)
  7170. type: string
  7171. riskrulegroupid:
  7172. description: 风控规则组ID
  7173. type: string
  7174. tradefeetmpid:
  7175. description: 手续费模板ID[TradeConfigTmpType为2]
  7176. type: string
  7177. trademargintmpid:
  7178. description: 保证金模板ID [TradeConfigTmpType为1]
  7179. type: string
  7180. traderatetmpid:
  7181. description: 汇率模板ID[TradeConfigTmpType为3]
  7182. type: string
  7183. updatetime:
  7184. description: 更新时间
  7185. type: string
  7186. updatorid:
  7187. description: 更新人
  7188. type: string
  7189. type: object
  7190. models.ErmcpGGConvertCfg:
  7191. properties:
  7192. convertratio:
  7193. description: 折算系数
  7194. type: number
  7195. destgoodsgroupid:
  7196. description: 目标品种ID
  7197. type: integer
  7198. dstcode:
  7199. description: 目录品种代码
  7200. type: string
  7201. dstexchangecode:
  7202. description: 目标期货交易所
  7203. type: string
  7204. dstname:
  7205. description: 目标品种名称
  7206. type: string
  7207. dstunitid:
  7208. description: 目标品种单位ID
  7209. type: integer
  7210. dstunitidname:
  7211. description: 目标品种单位名称
  7212. type: string
  7213. modifytime:
  7214. description: 修改时间
  7215. type: string
  7216. srccode:
  7217. description: 源品种代码
  7218. type: string
  7219. srcexchangecode:
  7220. description: 源期货交易所
  7221. type: string
  7222. srcgoodsgroupid:
  7223. description: 源品种ID
  7224. type: integer
  7225. srcname:
  7226. description: 源品种名称
  7227. type: string
  7228. srcunitid:
  7229. description: 源品种单位ID
  7230. type: integer
  7231. srcunitidname:
  7232. description: 源品种单位名称
  7233. type: string
  7234. type: object
  7235. models.ErmcpGoods:
  7236. properties:
  7237. agreeunit:
  7238. description: 合约单位
  7239. type: number
  7240. areauserid:
  7241. description: 所属机构
  7242. type: integer
  7243. auditaccountid:
  7244. description: 审核操作员账号
  7245. type: integer
  7246. audittime:
  7247. description: 审核时间
  7248. type: string
  7249. cancelaccountid:
  7250. description: 注销操作员账号
  7251. type: integer
  7252. canceltime:
  7253. description: 注销时间
  7254. type: string
  7255. closepricemode:
  7256. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7257. type: integer
  7258. closepriceparam:
  7259. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7260. type: number
  7261. createtime:
  7262. description: 创建时间
  7263. type: string
  7264. creatorid:
  7265. description: 创建人
  7266. type: integer
  7267. currencyid:
  7268. description: 报价货币ID
  7269. type: integer
  7270. cutmode:
  7271. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7272. type: integer
  7273. decimalplace:
  7274. description: 报价小数位
  7275. type: integer
  7276. delistingdate:
  7277. description: 商品退市时间(状态:退市) -- 已作废
  7278. type: string
  7279. delistingmode:
  7280. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7281. type: integer
  7282. deliveryflag:
  7283. description: 交割标志 - 0:不可交割 1:可交割
  7284. type: integer
  7285. enumdicname:
  7286. description: 单位名称
  7287. type: string
  7288. forceclosemode:
  7289. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7290. type: integer
  7291. forceclosevalue:
  7292. description: 定期强平参数 [收益权]
  7293. type: integer
  7294. goodscode:
  7295. description: 商品代码(内部)
  7296. type: string
  7297. goodscurrencyid:
  7298. description: 合约货币ID
  7299. type: integer
  7300. goodsgroupid:
  7301. description: 所属商品组ID
  7302. type: integer
  7303. goodsid:
  7304. description: 商品ID(自增ID SEQ_GOODS)
  7305. type: integer
  7306. goodsname:
  7307. description: 商品名称
  7308. type: string
  7309. goodsquotetype:
  7310. description: '合约报价类型: 1-直接报价 2-间接报价'
  7311. type: integer
  7312. goodsstatus:
  7313. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7314. type: integer
  7315. goodstradetype:
  7316. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7317. type: integer
  7318. goodunitid:
  7319. description: 报价单位ID
  7320. type: integer
  7321. hasquoter:
  7322. description: 是否有报价商 - 0:无报价商 1:有报价商
  7323. type: integer
  7324. hqprotecttime:
  7325. description: 行情保护时间(秒)
  7326. type: integer
  7327. innerdealmode:
  7328. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7329. type: integer
  7330. isbuylimited:
  7331. description: 是否限制建仓量 - 0:不限制 1:限制
  7332. type: integer
  7333. isvisible:
  7334. description: 游客是否可见 - 0:不可见 1:可见
  7335. type: integer
  7336. lasttradedate:
  7337. description: 最后交易日期(状态:待退市)
  7338. type: string
  7339. listingdate:
  7340. description: 交易开始日期
  7341. type: string
  7342. marketid:
  7343. description: 所属市场ID
  7344. type: integer
  7345. modifierid:
  7346. description: 修改人
  7347. type: integer
  7348. modifystatus:
  7349. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7350. type: integer
  7351. modifytime:
  7352. description: 修改时间
  7353. type: string
  7354. outerdealmode:
  7355. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7356. type: integer
  7357. outgoodscode:
  7358. description: 商品代码(外部)
  7359. type: string
  7360. pictureurl:
  7361. description: 商品图片
  7362. type: string
  7363. qtydecimalplace:
  7364. description: 成交量小数位
  7365. type: integer
  7366. quotegear:
  7367. description: 行情档位(1-10)
  7368. type: integer
  7369. quoteminunit:
  7370. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7371. type: integer
  7372. quoteshowtype:
  7373. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7374. type: integer
  7375. quoteshowtypeinterval:
  7376. description: 行情报价间隔时间(秒)(成交价时为0)
  7377. type: integer
  7378. relatedgoodsid:
  7379. description: 关联参考商品ID
  7380. type: integer
  7381. remark:
  7382. description: 备注
  7383. type: string
  7384. trademode:
  7385. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  7386. type: integer
  7387. required:
  7388. - goodscode
  7389. - goodsid
  7390. - goodsname
  7391. - marketid
  7392. type: object
  7393. models.ErmcpGoodsBrand:
  7394. properties:
  7395. areauserid:
  7396. description: 所属机构
  7397. type: integer
  7398. brandid:
  7399. description: BrandID(SEQ_SPOTGOODSBRAND)
  7400. type: integer
  7401. brandname:
  7402. description: 品牌名称
  7403. type: string
  7404. createtime:
  7405. description: 创建时间
  7406. type: string
  7407. creatorid:
  7408. description: 创建人
  7409. type: integer
  7410. creatorsrc:
  7411. description: 创建人来源 - 1:管理端 2:终端
  7412. type: integer
  7413. deliverygoodsid:
  7414. description: 现货品种ID
  7415. type: integer
  7416. isvalid:
  7417. description: 是否有效 - 0:无效 1:有效
  7418. type: integer
  7419. updatetime:
  7420. description: 更新时间
  7421. type: string
  7422. updatorid:
  7423. description: 更新人
  7424. type: integer
  7425. updatorsrc:
  7426. description: 更新人来源 - 1:管理端 2:终端
  7427. type: integer
  7428. wrstandardid:
  7429. description: 现货商品ID
  7430. type: integer
  7431. type: object
  7432. models.ErmcpGoodsModel:
  7433. properties:
  7434. areauserid:
  7435. description: 所属机构
  7436. type: integer
  7437. convertfactor:
  7438. description: 标仓系数
  7439. type: number
  7440. createtime:
  7441. description: 创建时间
  7442. type: string
  7443. creatorid:
  7444. description: 创建人
  7445. type: integer
  7446. creatorsrc:
  7447. description: 创建人来源 - 1:管理端 2:终端
  7448. type: integer
  7449. deliverygoodsid:
  7450. description: 现货品种ID
  7451. type: integer
  7452. isvalid:
  7453. description: 是否有效 - 0:无效 1:有效
  7454. type: integer
  7455. modelid:
  7456. description: ModelID(SEQ_SPOTGOODSMODEL)
  7457. type: integer
  7458. modelname:
  7459. description: 型号名称
  7460. type: string
  7461. updatetime:
  7462. description: 更新时间
  7463. type: string
  7464. updatorid:
  7465. description: 更新人
  7466. type: integer
  7467. updatorsrc:
  7468. description: 更新人来源 - 1:管理端 2:终端
  7469. type: integer
  7470. wrstandardid:
  7471. description: 现货商品ID
  7472. type: integer
  7473. type: object
  7474. models.ErmcpHisExposure:
  7475. properties:
  7476. needhedgeexposoure:
  7477. description: 应套保敞口
  7478. type: number
  7479. reckondate:
  7480. description: 日照时期(yyyyMMdd)
  7481. type: string
  7482. totalexposure:
  7483. description: 总敞口
  7484. type: number
  7485. type: object
  7486. models.ErmcpLoginTaAccount:
  7487. properties:
  7488. accountid:
  7489. description: 账号id
  7490. type: integer
  7491. accountname:
  7492. description: 账号名称
  7493. type: string
  7494. type: object
  7495. models.ErmcpLoginUser:
  7496. properties:
  7497. acclist:
  7498. description: 关联资金账号
  7499. items:
  7500. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  7501. type: array
  7502. accountname:
  7503. description: 用户名称
  7504. type: string
  7505. clientroleid:
  7506. description: 角色id(usertype=2)
  7507. type: integer
  7508. createtime:
  7509. description: 创建时间
  7510. type: string
  7511. logincode:
  7512. description: 登录代码
  7513. type: string
  7514. loginid:
  7515. description: 登录id(LOGINID)
  7516. type: integer
  7517. loginname:
  7518. description: 登录名称(loginaccount表中的accountname字段)
  7519. type: string
  7520. loginstatus:
  7521. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  7522. type: integer
  7523. memberuserid:
  7524. description: 所属会员id
  7525. type: integer
  7526. mobile:
  7527. description: 手机号
  7528. type: string
  7529. modifytime:
  7530. description: 修改时间
  7531. type: string
  7532. password:
  7533. description: 密码(不可解密)
  7534. type: string
  7535. rolename:
  7536. description: 角色名称
  7537. type: string
  7538. rolestatus:
  7539. description: 角色状态 1-启用 2-停用
  7540. type: integer
  7541. roletype:
  7542. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  7543. type: string
  7544. userid:
  7545. description: 用户id
  7546. type: integer
  7547. usertype:
  7548. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  7549. type: integer
  7550. type: object
  7551. models.ErmcpLoginUserEx:
  7552. properties:
  7553. accountstatus:
  7554. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  7555. type: integer
  7556. mobile:
  7557. description: 手机号
  7558. type: string
  7559. querytype:
  7560. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  7561. type: integer
  7562. roleid:
  7563. description: 角色id(交易账户->用户id)
  7564. type: integer
  7565. rolename:
  7566. description: 角色名称(交易账户->用户名称)
  7567. type: string
  7568. userlist:
  7569. description: 用户列表
  7570. items:
  7571. $ref: '#/definitions/models.ErmcpLoginUser'
  7572. type: array
  7573. usertype:
  7574. description: 用户类型 2-机构 7-企业成员(云平台)
  7575. type: integer
  7576. type: object
  7577. models.ErmcpMiddleGoodsModel:
  7578. properties:
  7579. areauserid:
  7580. description: 机构用户ID
  7581. type: integer
  7582. createtime:
  7583. description: 修改时间
  7584. type: string
  7585. enumdicname:
  7586. description: 单位名称
  7587. type: string
  7588. evaluateratio:
  7589. description: 估价系数
  7590. type: number
  7591. goodsgroupid:
  7592. description: 关联期货品种ID
  7593. type: integer
  7594. goodsunitid:
  7595. description: 单位ID
  7596. type: integer
  7597. isvalid:
  7598. description: 状态 0-无效(停用) 1-有效(正常)
  7599. type: integer
  7600. middlegoodscode:
  7601. description: 套保品种代码
  7602. type: string
  7603. middlegoodsid:
  7604. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  7605. type: integer
  7606. middlegoodsname:
  7607. description: 套保品种名称
  7608. type: string
  7609. modifytime:
  7610. description: 修改时间
  7611. type: string
  7612. needarbitrageratio:
  7613. description: 套利比例
  7614. type: number
  7615. needhedgeratio:
  7616. description: 套保比率
  7617. type: number
  7618. qtydecimalplace:
  7619. description: 数量小数位
  7620. type: integer
  7621. relatedgoodsid:
  7622. description: 关联交易商品ID
  7623. type: integer
  7624. relatedgoodstype:
  7625. description: 关联商品类型 - 1:期货合约 2:现货品种
  7626. type: integer
  7627. remark:
  7628. description: 备注
  7629. type: string
  7630. type: object
  7631. models.ErmcpMiddlegoodsRelateGoods:
  7632. properties:
  7633. agreeunit:
  7634. description: 合约乘数
  7635. type: number
  7636. convertratio:
  7637. description: 折算系数
  7638. type: number
  7639. enumdicname:
  7640. description: 单位名称(交易商品)
  7641. type: string
  7642. goodscode:
  7643. description: 交易商品代码
  7644. type: string
  7645. goodsgroupid:
  7646. description: 交易品种id
  7647. type: integer
  7648. goodsid:
  7649. description: 商品Id
  7650. type: integer
  7651. goodsname:
  7652. description: 交易商品名称
  7653. type: string
  7654. goodunitid:
  7655. description: 交易商品单位id
  7656. type: integer
  7657. middlegoodsid:
  7658. description: 套保商品id
  7659. type: integer
  7660. middlegoodsname:
  7661. description: 套保商品名称
  7662. type: string
  7663. middlegoodsswcode:
  7664. description: 套保商品代码
  7665. type: string
  7666. needarbitrageratio:
  7667. description: 应套利比例
  7668. type: number
  7669. needhedgeratio:
  7670. description: 应套保比例
  7671. type: number
  7672. type: object
  7673. models.ErmcpRole:
  7674. properties:
  7675. areauserid:
  7676. description: 所属机构
  7677. type: integer
  7678. autoid:
  7679. description: 角色ID(自增ID)
  7680. type: integer
  7681. modifierid:
  7682. description: 修改人(创建人)
  7683. type: integer
  7684. modifiername:
  7685. description: 修改人名称
  7686. type: string
  7687. modifytime:
  7688. description: 修改时间(创建时间)
  7689. type: string
  7690. rolename:
  7691. description: 角色名称
  7692. type: string
  7693. rolestatus:
  7694. description: 角色状态 - 1:启用 2:停用
  7695. type: integer
  7696. roletype:
  7697. description: 角色类型 - 1- 管理端 2- 交易端
  7698. type: integer
  7699. type: object
  7700. models.ErmcpRoleMenu:
  7701. properties:
  7702. iconame:
  7703. description: 菜单图标
  7704. type: string
  7705. ishadrole:
  7706. description: 是否有权限
  7707. type: boolean
  7708. menutype:
  7709. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  7710. type: integer
  7711. parentcode:
  7712. description: 上级资源代码
  7713. type: string
  7714. remark:
  7715. description: 菜单备注
  7716. type: string
  7717. resourcecode:
  7718. description: 菜单代码
  7719. type: string
  7720. resourcelevel:
  7721. description: 级别
  7722. type: integer
  7723. resourcename:
  7724. description: 菜单名称
  7725. type: string
  7726. roleid:
  7727. description: 角色id
  7728. type: integer
  7729. sort:
  7730. description: 排序
  7731. type: integer
  7732. url:
  7733. description: URL
  7734. type: string
  7735. userid:
  7736. description: 用户id
  7737. type: integer
  7738. type: object
  7739. models.ErmcpRoleMenuEx:
  7740. properties:
  7741. menu:
  7742. $ref: '#/definitions/models.ErmcpRoleMenu'
  7743. description: 父级菜单
  7744. subMenu:
  7745. description: 子级菜单
  7746. items:
  7747. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  7748. type: array
  7749. type: object
  7750. models.ErmcpTaAccount:
  7751. properties:
  7752. accountid:
  7753. description: 账户id
  7754. type: integer
  7755. accountname:
  7756. description: 账户名称
  7757. type: string
  7758. currencyid:
  7759. description: 币种id
  7760. type: integer
  7761. hedgeaccountcode:
  7762. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7763. type: string
  7764. ismain:
  7765. description: 是否主账户 0-否 1-是
  7766. type: integer
  7767. parentaccountid:
  7768. description: 父账户id
  7769. type: integer
  7770. relateduserid:
  7771. description: 关联userid
  7772. type: integer
  7773. tradefeetmpid:
  7774. description: 手续费模板id
  7775. type: integer
  7776. tradefeetmpname:
  7777. description: 手续费模板名称
  7778. type: string
  7779. trademargintmpid:
  7780. description: 保证金模板id
  7781. type: integer
  7782. trademargintmpname:
  7783. description: 保证金模板名称
  7784. type: string
  7785. traderatetmpid:
  7786. description: 汇率模板id
  7787. type: integer
  7788. traderatetmpname:
  7789. description: 汇率模板名称
  7790. type: string
  7791. tradestatus:
  7792. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7793. type: integer
  7794. userid:
  7795. description: 用户id
  7796. type: integer
  7797. type: object
  7798. models.ErmcpTaAccountEx:
  7799. properties:
  7800. mainAcc:
  7801. $ref: '#/definitions/models.ErmcpTaAccountM'
  7802. description: 主账号
  7803. subacclist:
  7804. description: 子账号列表
  7805. items:
  7806. $ref: '#/definitions/models.ErmcpTaAccount'
  7807. type: array
  7808. type: object
  7809. models.ErmcpTaAccountInfo:
  7810. properties:
  7811. accountid:
  7812. description: 资金账户ID
  7813. type: integer
  7814. accountname:
  7815. description: 账户名称
  7816. type: string
  7817. balance:
  7818. description: 期初余额
  7819. type: number
  7820. capitalbalance:
  7821. description: 本金余额[外部子账户实际出入金余额]
  7822. type: number
  7823. closepl:
  7824. description: 今日平仓盈亏
  7825. type: number
  7826. creditdecrease:
  7827. description: 今日授信减少
  7828. type: number
  7829. creditincrease:
  7830. description: 今日授信增加
  7831. type: number
  7832. curdebt:
  7833. description: 期末欠款
  7834. type: number
  7835. currencyid:
  7836. description: 货币ID
  7837. type: integer
  7838. currentbalance:
  7839. description: 期末余额
  7840. type: number
  7841. freezecharge:
  7842. description: 手续费冻结
  7843. type: number
  7844. freezemargin:
  7845. description: 冻结保证金
  7846. type: number
  7847. fromaccountid:
  7848. description: 所属上级账户
  7849. type: integer
  7850. inamount:
  7851. description: 今日入金金额(包括三方入金)
  7852. type: number
  7853. ismain:
  7854. description: 是否母账号 0:不是母账户 1:是母账户
  7855. type: integer
  7856. mortgagecredit:
  7857. description: 授信金额
  7858. type: number
  7859. oridebt:
  7860. description: 期初欠款
  7861. type: number
  7862. orifreezecharge:
  7863. description: 期初手续费冻结
  7864. type: number
  7865. orifreezemargin:
  7866. description: 期初冻结保证金
  7867. type: number
  7868. orimortgagecredit:
  7869. description: 期初授信金额
  7870. type: number
  7871. oriothercredit:
  7872. description: 期初其它授信金额
  7873. type: number
  7874. oriotherfreezemargin:
  7875. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  7876. type: number
  7877. orioutamountfreeze:
  7878. description: 期初出金冻结
  7879. type: number
  7880. oriusedmargin:
  7881. description: 期初占用保证金
  7882. type: number
  7883. othercredit:
  7884. description: 其它授信金额
  7885. type: number
  7886. othercreditdecrease:
  7887. description: 今日其它授信减少
  7888. type: number
  7889. othercreditincrease:
  7890. description: 今日其它授信增加
  7891. type: number
  7892. otherfreezemargin:
  7893. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  7894. type: number
  7895. outamount:
  7896. description: 今日出金金额(包括三方出金)
  7897. type: number
  7898. outamountfreeze:
  7899. description: 出金冻结
  7900. type: number
  7901. outthreshold:
  7902. description: 出金阈值
  7903. type: number
  7904. parentaccountid:
  7905. description: 所属根账号
  7906. type: integer
  7907. paycharge:
  7908. description: 今日手续费支出
  7909. type: number
  7910. relateduserid:
  7911. description: 关联用户
  7912. type: integer
  7913. signstatus:
  7914. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  7915. type: integer
  7916. sublevelpath:
  7917. description: 账号层级路径(逗号分隔,首尾加逗号)
  7918. type: string
  7919. taaccounttype:
  7920. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  7921. type: integer
  7922. thirdinamount:
  7923. description: 今日三方入金
  7924. type: number
  7925. thirdoutamount:
  7926. description: 今日三方出金
  7927. type: number
  7928. tradestatus:
  7929. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7930. type: integer
  7931. transferamount:
  7932. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  7933. type: number
  7934. usedmargin:
  7935. description: 占用保证金
  7936. type: number
  7937. userid:
  7938. description: 用户ID
  7939. type: integer
  7940. type: object
  7941. models.ErmcpTaAccountM:
  7942. properties:
  7943. accountid:
  7944. description: 账户id
  7945. type: integer
  7946. accountname:
  7947. description: 账户名称
  7948. type: string
  7949. currencyid:
  7950. description: 币种id
  7951. type: integer
  7952. fcid:
  7953. description: 期货公司id
  7954. type: integer
  7955. fcname:
  7956. description: 期货公司代码
  7957. type: string
  7958. hedgeaccountcode:
  7959. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7960. type: string
  7961. ismain:
  7962. description: 是否主账户 0-否 1-是
  7963. type: integer
  7964. parentaccountid:
  7965. description: 父账户id
  7966. type: integer
  7967. relateduserid:
  7968. description: 关联userid
  7969. type: integer
  7970. tradefeetmpid:
  7971. description: 手续费模板id
  7972. type: integer
  7973. tradefeetmpname:
  7974. description: 手续费模板名称
  7975. type: string
  7976. trademargintmpid:
  7977. description: 保证金模板id
  7978. type: integer
  7979. trademargintmpname:
  7980. description: 保证金模板名称
  7981. type: string
  7982. traderatetmpid:
  7983. description: 汇率模板id
  7984. type: integer
  7985. traderatetmpname:
  7986. description: 汇率模板名称
  7987. type: string
  7988. tradestatus:
  7989. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7990. type: integer
  7991. userid:
  7992. description: 用户id
  7993. type: integer
  7994. type: object
  7995. models.ErmcpTradeConfigTMP:
  7996. properties:
  7997. areauserid:
  7998. description: 所属机构
  7999. type: integer
  8000. basiccurrencyid:
  8001. description: 基本币种ID[汇率] - 目标币种
  8002. type: integer
  8003. mainaccountid:
  8004. description: 主账户ID
  8005. type: integer
  8006. modifierid:
  8007. description: 修改人
  8008. type: integer
  8009. remark:
  8010. description: 备注
  8011. type: string
  8012. tradeconfigtmpid:
  8013. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  8014. type: integer
  8015. tradeconfigtmpname:
  8016. description: 交易配置模板名称
  8017. type: string
  8018. tradeconfigtmptype:
  8019. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  8020. type: integer
  8021. updatetime:
  8022. description: 更新时间
  8023. type: string
  8024. type: object
  8025. models.Externalexchange:
  8026. properties:
  8027. autoid:
  8028. description: AutoID - SEQ_EXTERNALEXCHANGE
  8029. type: integer
  8030. exchangefullname:
  8031. description: 外部交易所全称
  8032. type: string
  8033. exexchangecode:
  8034. description: 外部交易所代码
  8035. type: string
  8036. exexchangename:
  8037. description: 外部交易所名称(简称)
  8038. type: string
  8039. ismarketprice:
  8040. description: 是否支持市价 - 0:不支持 1:支持
  8041. type: integer
  8042. quotegear:
  8043. description: 行情档位(1-10)
  8044. type: integer
  8045. showbrokerflag:
  8046. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  8047. type: integer
  8048. updatetime:
  8049. description: 更新时间
  8050. type: string
  8051. required:
  8052. - autoid
  8053. type: object
  8054. models.Funcmenulist:
  8055. properties:
  8056. iconame:
  8057. description: 菜单图标
  8058. type: string
  8059. menutype:
  8060. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  8061. type: integer
  8062. parentcode:
  8063. description: 上级资源代码
  8064. type: string
  8065. remark:
  8066. description: 备注
  8067. type: string
  8068. resourcecode:
  8069. description: 资源代码
  8070. type: string
  8071. resourcelevel:
  8072. description: 级别 1-一级 2-二级 3-三级 4-四级
  8073. type: integer
  8074. resourcename:
  8075. description: 资源名
  8076. type: string
  8077. sort:
  8078. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  8079. type: integer
  8080. url:
  8081. description: URL
  8082. type: string
  8083. required:
  8084. - resourcecode
  8085. type: object
  8086. models.Goods:
  8087. properties:
  8088. agreeunit:
  8089. description: 合约单位
  8090. type: number
  8091. areauserid:
  8092. description: 所属机构
  8093. type: integer
  8094. auditaccountid:
  8095. description: 审核操作员账号
  8096. type: integer
  8097. audittime:
  8098. description: 审核时间
  8099. type: string
  8100. cancelaccountid:
  8101. description: 注销操作员账号
  8102. type: integer
  8103. canceltime:
  8104. description: 注销时间
  8105. type: string
  8106. closepricemode:
  8107. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8108. type: integer
  8109. closepriceparam:
  8110. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8111. type: number
  8112. createtime:
  8113. description: 创建时间
  8114. type: string
  8115. creatorid:
  8116. description: 创建人
  8117. type: integer
  8118. currencyid:
  8119. description: 报价货币ID
  8120. type: integer
  8121. cutmode:
  8122. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8123. type: integer
  8124. decimalplace:
  8125. description: 报价小数位
  8126. type: integer
  8127. delistingdate:
  8128. description: 商品退市时间(状态:退市) -- 已作废
  8129. type: string
  8130. delistingmode:
  8131. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8132. type: integer
  8133. deliveryflag:
  8134. description: 交割标志 - 0:不可交割 1:可交割
  8135. type: integer
  8136. forceclosemode:
  8137. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8138. type: integer
  8139. forceclosevalue:
  8140. description: 定期强平参数 [收益权]
  8141. type: integer
  8142. goodscode:
  8143. description: 商品代码(内部)
  8144. type: string
  8145. goodscurrencyid:
  8146. description: 合约货币ID
  8147. type: integer
  8148. goodsgroupid:
  8149. description: 所属商品组ID
  8150. type: integer
  8151. goodsid:
  8152. description: 商品ID(自增ID SEQ_GOODS)
  8153. type: integer
  8154. goodsname:
  8155. description: 商品名称
  8156. type: string
  8157. goodsquotetype:
  8158. description: '合约报价类型: 1-直接报价 2-间接报价'
  8159. type: integer
  8160. goodsstatus:
  8161. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8162. type: integer
  8163. goodstradetype:
  8164. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8165. type: integer
  8166. goodunitid:
  8167. description: 报价单位ID
  8168. type: integer
  8169. hasquoter:
  8170. description: 是否有报价商 - 0:无报价商 1:有报价商
  8171. type: integer
  8172. hqprotecttime:
  8173. description: 行情保护时间(秒)
  8174. type: integer
  8175. innerdealmode:
  8176. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8177. type: integer
  8178. isbuylimited:
  8179. description: 是否限制建仓量 - 0:不限制 1:限制
  8180. type: integer
  8181. isvisible:
  8182. description: 游客是否可见 - 0:不可见 1:可见
  8183. type: integer
  8184. lasttradedate:
  8185. description: 最后交易日期(状态:待退市)
  8186. type: string
  8187. listingdate:
  8188. description: 交易开始日期
  8189. type: string
  8190. marketid:
  8191. description: 所属市场ID
  8192. type: integer
  8193. modifierid:
  8194. description: 修改人
  8195. type: integer
  8196. modifystatus:
  8197. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8198. type: integer
  8199. modifytime:
  8200. description: 修改时间
  8201. type: string
  8202. outerdealmode:
  8203. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8204. type: integer
  8205. outgoodscode:
  8206. description: 商品代码(外部)
  8207. type: string
  8208. pictureurl:
  8209. description: 商品图片
  8210. type: string
  8211. qtydecimalplace:
  8212. description: 成交量小数位
  8213. type: integer
  8214. quotegear:
  8215. description: 行情档位(1-10)
  8216. type: integer
  8217. quoteminunit:
  8218. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8219. type: integer
  8220. quoteshowtype:
  8221. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8222. type: integer
  8223. quoteshowtypeinterval:
  8224. description: 行情报价间隔时间(秒)(成交价时为0)
  8225. type: integer
  8226. remark:
  8227. description: 备注
  8228. type: string
  8229. required:
  8230. - goodscode
  8231. - goodsid
  8232. - goodsname
  8233. - marketid
  8234. type: object
  8235. models.GoodsIDAndName:
  8236. properties:
  8237. goodscode:
  8238. description: 商品代码(内部)
  8239. type: string
  8240. goodsid:
  8241. description: 商品ID(自增ID SEQ_GOODS)
  8242. type: integer
  8243. goodsname:
  8244. description: 商品名称
  8245. type: string
  8246. marketid:
  8247. description: 所属市场ID
  8248. type: integer
  8249. required:
  8250. - goodscode
  8251. - goodsid
  8252. - goodsname
  8253. - marketid
  8254. type: object
  8255. models.Goodsgroup:
  8256. properties:
  8257. agreeunit:
  8258. description: 合约单位
  8259. type: number
  8260. canshort:
  8261. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  8262. type: integer
  8263. closepricemode:
  8264. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8265. type: integer
  8266. closepriceparam:
  8267. description: 强平最新价浮动比例 - 方式为2时使用
  8268. type: number
  8269. createtime:
  8270. description: 创建时间
  8271. type: string
  8272. creatorid:
  8273. description: 创建人
  8274. type: integer
  8275. currencyid:
  8276. description: 报价货币ID
  8277. type: integer
  8278. decimalplace:
  8279. description: 报价小数位
  8280. type: integer
  8281. exercisetype:
  8282. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  8283. type: integer
  8284. exexchangeid:
  8285. description: 外部交易所ID[通道交易]
  8286. type: integer
  8287. goodsgroupid:
  8288. description: 商品组ID(自增ID)
  8289. type: integer
  8290. goodsgroupname:
  8291. description: 商品组名称
  8292. type: string
  8293. goodsgroupstatus:
  8294. description: 商品组状态 - 1:正常 2:注销
  8295. type: integer
  8296. goodunitid:
  8297. description: 报价单位ID
  8298. type: integer
  8299. innerdealmode:
  8300. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8301. type: integer
  8302. isbuylimited:
  8303. description: 是否限制建仓量 - 0:不限制 1:限制
  8304. type: integer
  8305. marketid:
  8306. description: 所属市场ID
  8307. type: integer
  8308. modifierid:
  8309. description: 修改人
  8310. type: integer
  8311. modifytime:
  8312. description: 修改时间
  8313. type: string
  8314. outerdealmode:
  8315. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8316. type: integer
  8317. outergroupcode:
  8318. description: 外部商品组代码[通道交易]
  8319. type: string
  8320. premiumdecimalplace:
  8321. description: 权利金小数位[场外期权]
  8322. type: integer
  8323. premiumspreadalgorithm:
  8324. description: 权利金点差方式[场外期权] 1:比率 2:固定
  8325. type: integer
  8326. premiumspreadvalue:
  8327. description: 权利金点差值[场外期权]
  8328. type: number
  8329. qtydecimalplace:
  8330. description: 成交量小数位
  8331. type: integer
  8332. quotegear:
  8333. description: 行情档位(1-10)
  8334. type: integer
  8335. quoteminunit:
  8336. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8337. type: integer
  8338. quoterid:
  8339. description: 报价商ID[场外期权]
  8340. type: integer
  8341. quotesourcegroupid:
  8342. description: 所属行情源分组ID[参考行情市场用\通道交易]
  8343. type: integer
  8344. syncgoodsqty:
  8345. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  8346. type: integer
  8347. required:
  8348. - goodsgroupid
  8349. - goodsgroupname
  8350. - goodsgroupstatus
  8351. - marketid
  8352. type: object
  8353. models.Goodssortbypreposition:
  8354. properties:
  8355. goodscode:
  8356. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  8357. type: string
  8358. goodsgroupcode:
  8359. description: 品种代码
  8360. type: string
  8361. prepositionqty:
  8362. description: 昨持仓量
  8363. type: integer
  8364. sortindex:
  8365. description: 排序
  8366. type: integer
  8367. tradedate:
  8368. description: 交易日
  8369. type: string
  8370. updatetime:
  8371. description: 更新时间
  8372. type: string
  8373. required:
  8374. - goodscode
  8375. - tradedate
  8376. type: object
  8377. models.Hedgeinnerholderdetail:
  8378. properties:
  8379. accountid:
  8380. description: 账号ID
  8381. type: integer
  8382. buyorsell:
  8383. description: 方向 - 0:买 1:卖
  8384. type: integer
  8385. freezeqty:
  8386. description: 冻结数量 - 按单平使用
  8387. type: integer
  8388. goodsid:
  8389. description: 商品ID
  8390. type: integer
  8391. holderamount:
  8392. description: 持仓金额 [商品币种]
  8393. type: number
  8394. holderdays:
  8395. description: 剩余冻结天数
  8396. type: integer
  8397. holderprice:
  8398. description: 持仓价格
  8399. type: number
  8400. holderqty:
  8401. description: 持仓数量
  8402. type: integer
  8403. marketid:
  8404. description: 市场ID
  8405. type: integer
  8406. openprice:
  8407. description: 建仓价格
  8408. type: number
  8409. openqty:
  8410. description: 建仓数量
  8411. type: integer
  8412. parentaccountid:
  8413. description: 所属母账户
  8414. type: integer
  8415. releaseamount:
  8416. description: 释放持仓金额[商品币种]
  8417. type: number
  8418. tradeamount:
  8419. description: 成交金额[账户]
  8420. type: number
  8421. tradedate:
  8422. description: 交易日(yyyyMMdd)
  8423. type: string
  8424. tradeid:
  8425. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8426. type: string
  8427. tradetime:
  8428. description: 交易时间
  8429. type: string
  8430. required:
  8431. - buyorsell
  8432. - tradeid
  8433. type: object
  8434. models.Hedgemarketopenlog:
  8435. properties:
  8436. accountid:
  8437. description: 资金账号[外部母账户]
  8438. type: integer
  8439. fcname:
  8440. description: 期货公司名称
  8441. type: string
  8442. handlestatus:
  8443. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  8444. type: integer
  8445. marketid:
  8446. description: 市场ID
  8447. type: integer
  8448. status:
  8449. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  8450. type: integer
  8451. tradedate:
  8452. description: 交易日(yyyyMMdd)
  8453. type: string
  8454. updatetime:
  8455. description: 更新时间
  8456. type: string
  8457. required:
  8458. - accountid
  8459. type: object
  8460. models.HsbyBuyMyPayOrder:
  8461. properties:
  8462. agreeunit:
  8463. description: 合约单位
  8464. type: number
  8465. buyaccountid:
  8466. description: 买方账号ID[报价币种]
  8467. type: integer
  8468. buyorderid:
  8469. description: 买方委托单号
  8470. type: string
  8471. createtime:
  8472. description: 创建时间
  8473. type: string
  8474. currencysign:
  8475. description: 货币符号
  8476. type: string
  8477. decimalplace:
  8478. description: 报价小数位
  8479. type: integer
  8480. goodscode:
  8481. description: 商品代码(内部)
  8482. type: string
  8483. goodsid:
  8484. description: 商品ID
  8485. type: integer
  8486. goodsname:
  8487. description: 商品名称
  8488. type: string
  8489. marketid:
  8490. description: 市场ID
  8491. type: integer
  8492. offamount:
  8493. description: 优惠金额
  8494. type: number
  8495. originalamount:
  8496. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  8497. type: number
  8498. payamount:
  8499. description: 支付金额 = TradeAmount + TradeCharge
  8500. type: number
  8501. payflag:
  8502. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8503. type: integer
  8504. paylimitedtime:
  8505. description: 支付期限
  8506. type: string
  8507. paytime:
  8508. description: 付款时间
  8509. type: string
  8510. picurls1:
  8511. description: 预售商品介绍图片[多张用逗号分隔]
  8512. type: string
  8513. picurls2:
  8514. description: 挂牌商品介绍图片[多张用逗号分隔]
  8515. type: string
  8516. sellaccountid:
  8517. description: 卖方账号ID[报价币种]
  8518. type: integer
  8519. sellorderid:
  8520. description: 卖方委托单号
  8521. type: string
  8522. tradeamount:
  8523. description: 成交金额
  8524. type: number
  8525. tradecharge:
  8526. description: 成交手续费(买方)
  8527. type: number
  8528. tradedate:
  8529. description: 交易日(yyyyMMdd)
  8530. type: string
  8531. tradeid:
  8532. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8533. type: string
  8534. trademode:
  8535. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8536. type: integer
  8537. tradeprice:
  8538. description: 成交价格
  8539. type: number
  8540. tradeqty:
  8541. description: 成交数量
  8542. type: integer
  8543. vendorname1:
  8544. description: 预售商品供应商名称
  8545. type: string
  8546. vendorname2:
  8547. description: 挂牌商品供应商名称
  8548. type: string
  8549. required:
  8550. - goodscode
  8551. - goodsname
  8552. - tradeid
  8553. - trademode
  8554. type: object
  8555. models.HsbyBuyMyTradeDetail:
  8556. properties:
  8557. accountid:
  8558. description: 账户ID[报价币种]
  8559. type: integer
  8560. agreeunit:
  8561. description: 合约单位
  8562. type: number
  8563. amount:
  8564. description: 金额 = 价格 * 数量 * 合约单位
  8565. type: number
  8566. buyorsell:
  8567. description: 买卖 - 0:买 1:卖
  8568. type: integer
  8569. currencysign:
  8570. description: 货币符号
  8571. type: string
  8572. decimalplace:
  8573. description: 报价小数位
  8574. type: integer
  8575. goodscode:
  8576. description: 商品代码(内部)
  8577. type: string
  8578. goodsid:
  8579. description: 商品ID
  8580. type: integer
  8581. goodsname:
  8582. description: 商品名称
  8583. type: string
  8584. marketid:
  8585. description: 市场ID
  8586. type: integer
  8587. orderamount:
  8588. description: 委托金额
  8589. type: number
  8590. orderid:
  8591. description: 单号(成交单号)
  8592. type: string
  8593. picurls1:
  8594. description: 预售商品介绍图片[多张用逗号分隔]
  8595. type: string
  8596. picurls2:
  8597. description: 挂牌商品介绍图片[多张用逗号分隔]
  8598. type: string
  8599. price:
  8600. description: 价格
  8601. type: number
  8602. qty:
  8603. description: 数量
  8604. type: integer
  8605. time:
  8606. description: 时间
  8607. type: string
  8608. trademode:
  8609. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8610. type: integer
  8611. vendorname1:
  8612. description: 预售商品供应商名称
  8613. type: string
  8614. vendorname2:
  8615. description: 挂牌商品供应商名称
  8616. type: string
  8617. required:
  8618. - accountid
  8619. - buyorsell
  8620. - goodscode
  8621. - goodsid
  8622. - goodsname
  8623. - marketid
  8624. - orderid
  8625. - qty
  8626. - time
  8627. - trademode
  8628. type: object
  8629. models.HsbyGoodsOrderDetail:
  8630. properties:
  8631. buyorsell:
  8632. description: 买卖 - 0:买 1:卖
  8633. type: integer
  8634. currencysign:
  8635. description: 货币符号
  8636. type: string
  8637. customername:
  8638. description: 客户名称(企业名称),已脱敏
  8639. type: string
  8640. enableqty:
  8641. description: 可用数量
  8642. type: integer
  8643. goodunit:
  8644. description: 报价单位
  8645. type: string
  8646. orderid:
  8647. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8648. type: string
  8649. orderprice:
  8650. description: 委托价格
  8651. type: number
  8652. ordertime:
  8653. description: 委托时间
  8654. type: string
  8655. required:
  8656. - buyorsell
  8657. - orderid
  8658. - ordertime
  8659. type: object
  8660. models.HsbyListingGoodsDetail:
  8661. properties:
  8662. agreeunit:
  8663. description: 合约单位
  8664. type: number
  8665. buymaxqty:
  8666. description: 购买上限 [71] - 0为不限
  8667. type: integer
  8668. currency:
  8669. description: 货币
  8670. type: string
  8671. currencysign:
  8672. description: 货币符号
  8673. type: string
  8674. decimalplace:
  8675. description: 报价小数位
  8676. type: integer
  8677. desccityid:
  8678. description: 目的地(市)ID
  8679. type: integer
  8680. descprovinceid:
  8681. description: 目的地(省)ID
  8682. type: integer
  8683. goodscode:
  8684. description: 商品代码(内部)
  8685. type: string
  8686. goodsdesc:
  8687. description: 商品详情
  8688. type: string
  8689. goodsid:
  8690. description: 商品ID(自增ID SEQ_GOODS)
  8691. type: integer
  8692. goodsname:
  8693. description: 商品名称
  8694. type: string
  8695. goodsprice:
  8696. description: 商品价格
  8697. type: number
  8698. hotindex:
  8699. description: 景点热度
  8700. type: integer
  8701. last:
  8702. description: 现价
  8703. type: number
  8704. limitdown:
  8705. description: 跌停价
  8706. type: number
  8707. limitup:
  8708. description: 涨停价
  8709. type: number
  8710. lotsize:
  8711. description: 手数最小变动单位
  8712. type: integer
  8713. marketid:
  8714. description: 所属市场ID
  8715. type: integer
  8716. picurls:
  8717. description: 介绍图片[多张用逗号分隔]
  8718. type: string
  8719. quoteminunit:
  8720. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8721. type: integer
  8722. stepvalue:
  8723. description: 价格最小变动单位
  8724. type: number
  8725. trademode:
  8726. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8727. type: integer
  8728. vendorattr:
  8729. description: 供应商附件(多张,逗号分隔)
  8730. type: string
  8731. vendorname:
  8732. description: 供应商名称
  8733. type: string
  8734. vendorphone:
  8735. description: 供应商客服电话
  8736. type: string
  8737. videourls:
  8738. description: 介绍视频[多张用逗号分隔]
  8739. type: string
  8740. required:
  8741. - goodscode
  8742. - goodsid
  8743. - goodsname
  8744. - marketid
  8745. - trademode
  8746. type: object
  8747. models.HsbyMarketGoods:
  8748. properties:
  8749. accountid:
  8750. description: 账户ID[报价币种]
  8751. type: integer
  8752. agreeunit:
  8753. description: 合约单位
  8754. type: number
  8755. buyorsell:
  8756. description: 买卖 - 0:买 1:卖
  8757. type: integer
  8758. categoryid:
  8759. description: 类别ID(WRCATEGORY)
  8760. type: integer
  8761. currency:
  8762. description: 货币
  8763. type: string
  8764. currencysign:
  8765. description: 货币符号
  8766. type: string
  8767. customername:
  8768. description: 卖家名称
  8769. type: string
  8770. decimalplace:
  8771. description: 报价小数位
  8772. type: integer
  8773. goodscode:
  8774. description: 商品代码(内部)
  8775. type: string
  8776. goodsid:
  8777. description: 商品ID
  8778. type: integer
  8779. goodsname:
  8780. description: 商品名称
  8781. type: string
  8782. goodsprice:
  8783. description: 商品价格
  8784. type: number
  8785. hascoupon:
  8786. description: 是否可用优惠卷
  8787. type: boolean
  8788. hotindex:
  8789. description: 景点热度
  8790. type: integer
  8791. marketid:
  8792. description: 市场ID
  8793. type: integer
  8794. orderid:
  8795. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8796. type: string
  8797. orderprice:
  8798. description: 委托价格
  8799. type: number
  8800. orderstatus:
  8801. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  8802. type: integer
  8803. picurls:
  8804. description: 介绍图片[多张用逗号分隔]
  8805. type: string
  8806. quoteminunit:
  8807. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8808. type: integer
  8809. sellUserID:
  8810. description: 卖方UserID
  8811. type: integer
  8812. trademode:
  8813. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8814. type: integer
  8815. videourls:
  8816. description: 介绍视频[多张用逗号分隔]
  8817. type: string
  8818. required:
  8819. - accountid
  8820. - buyorsell
  8821. - goodscode
  8822. - goodsid
  8823. - goodsname
  8824. - marketid
  8825. - orderid
  8826. - trademode
  8827. type: object
  8828. models.HsbyMarketGoodsDetail:
  8829. properties:
  8830. accountid:
  8831. description: 账户ID[报价币种]
  8832. type: integer
  8833. agreeunit:
  8834. description: 合约单位
  8835. type: number
  8836. buymaxqty:
  8837. description: 购买上限 [71] - 0为不限
  8838. type: integer
  8839. buyorsell:
  8840. description: 买卖 - 0:买 1:卖
  8841. type: integer
  8842. cancelqty:
  8843. description: 撤单数量
  8844. type: integer
  8845. categoryid:
  8846. description: 类别ID(WRCATEGORY)
  8847. type: integer
  8848. currency:
  8849. description: 货币
  8850. type: string
  8851. currencysign:
  8852. description: 货币符号
  8853. type: string
  8854. customername:
  8855. description: 卖家名称
  8856. type: string
  8857. decimalplace:
  8858. description: 报价小数位
  8859. type: integer
  8860. goodscode:
  8861. description: 商品代码(内部)
  8862. type: string
  8863. goodsdesc:
  8864. description: 商品详情
  8865. type: string
  8866. goodsid:
  8867. description: 商品ID
  8868. type: integer
  8869. goodsname:
  8870. description: 商品名称
  8871. type: string
  8872. goodsprice:
  8873. description: 商品价格
  8874. type: number
  8875. hotindex:
  8876. description: 景点热度
  8877. type: integer
  8878. lotsize:
  8879. description: 手数最小变动单位
  8880. type: integer
  8881. marketid:
  8882. description: 市场ID
  8883. type: integer
  8884. orderid:
  8885. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8886. type: string
  8887. orderprice:
  8888. description: 委托价格
  8889. type: number
  8890. orderqty:
  8891. description: 委托数量
  8892. type: integer
  8893. orderstatus:
  8894. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  8895. type: integer
  8896. picurls:
  8897. description: 介绍图片[多张用逗号分隔]
  8898. type: string
  8899. quoteminunit:
  8900. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8901. type: integer
  8902. sellUserID:
  8903. description: 卖方UserID
  8904. type: integer
  8905. trademode:
  8906. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8907. type: integer
  8908. tradeqty:
  8909. description: 成交数量
  8910. type: integer
  8911. vendorattr:
  8912. description: 供应商附件(多张,逗号分隔)
  8913. type: string
  8914. vendorname:
  8915. description: 供应商名称
  8916. type: string
  8917. vendorphone:
  8918. description: 供应商客服电话
  8919. type: string
  8920. videourls:
  8921. description: 介绍视频[多张用逗号分隔]
  8922. type: string
  8923. required:
  8924. - accountid
  8925. - buyorsell
  8926. - goodscode
  8927. - goodsid
  8928. - goodsname
  8929. - marketid
  8930. - orderid
  8931. - orderqty
  8932. - trademode
  8933. type: object
  8934. models.HsbyMarketInfo:
  8935. properties:
  8936. marketid:
  8937. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8938. type: integer
  8939. marketname:
  8940. description: 市场名称
  8941. type: string
  8942. marketstatus:
  8943. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8944. type: integer
  8945. trademode:
  8946. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8947. type: integer
  8948. required:
  8949. - marketid
  8950. - marketstatus
  8951. - trademode
  8952. type: object
  8953. models.HsbyMyGoods:
  8954. properties:
  8955. accountid:
  8956. description: 账号Id
  8957. type: integer
  8958. agreeunit:
  8959. description: 合约单位
  8960. type: number
  8961. buyaverageprice:
  8962. description: 持仓均价
  8963. type: number
  8964. buycurholderamount:
  8965. description: 买当前持仓总金额[商品币种]
  8966. type: number
  8967. buycurpositionqty:
  8968. description: 买当前持仓总数量
  8969. type: integer
  8970. buymaxqty:
  8971. description: 购买上限 [71] - 0为不限
  8972. type: integer
  8973. currencysign:
  8974. description: 货币符号
  8975. type: string
  8976. decimalplace:
  8977. description: 报价小数位
  8978. type: integer
  8979. enableqty:
  8980. description: 可用数量
  8981. type: integer
  8982. goodscode:
  8983. description: 商品代码(内部)
  8984. type: string
  8985. goodsid:
  8986. description: 商品Id
  8987. type: integer
  8988. goodsname:
  8989. description: 商品名称
  8990. type: string
  8991. goodsprice:
  8992. description: 商品价格
  8993. type: number
  8994. goodsstatus:
  8995. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8996. type: integer
  8997. last:
  8998. description: 现价(仅使用于挂牌点选)
  8999. type: number
  9000. limitdown:
  9001. description: 跌停价(仅使用于挂牌点选)
  9002. type: number
  9003. limitup:
  9004. description: 涨停价(仅使用于挂牌点选)
  9005. type: number
  9006. lotsize:
  9007. description: 手数最小变动单位
  9008. type: integer
  9009. marketid:
  9010. description: 所属市场ID
  9011. type: integer
  9012. picurls:
  9013. description: 介绍图片[多张用逗号分隔]
  9014. type: string
  9015. quoteminunit:
  9016. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9017. type: integer
  9018. stepvalue:
  9019. description: 价格最小变动单位
  9020. type: number
  9021. trademode:
  9022. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9023. type: integer
  9024. required:
  9025. - accountid
  9026. - goodscode
  9027. - goodsid
  9028. - goodsname
  9029. - marketid
  9030. - trademode
  9031. type: object
  9032. models.HsbyMyPackage:
  9033. properties:
  9034. accountid:
  9035. description: 账户ID
  9036. type: integer
  9037. address:
  9038. description: 提货人详细地址
  9039. type: string
  9040. agreeunit:
  9041. description: 合约单位
  9042. type: number
  9043. amount:
  9044. description: 提货金额
  9045. type: number
  9046. auditer:
  9047. description: 审核人
  9048. type: integer
  9049. audittime:
  9050. description: 审核时间
  9051. type: string
  9052. averageprice:
  9053. description: 均价
  9054. type: number
  9055. cardnum:
  9056. description: 提货人证件号码
  9057. type: string
  9058. cardtypeid:
  9059. description: 提货人证件类型
  9060. type: integer
  9061. checkremark:
  9062. description: 审核备注
  9063. type: string
  9064. currencysign:
  9065. description: 货币符号
  9066. type: string
  9067. decimalplace:
  9068. description: 报价小数位
  9069. type: integer
  9070. goodscode:
  9071. description: 商品代码(内部)
  9072. type: string
  9073. goodsid:
  9074. description: 商品ID
  9075. type: integer
  9076. goodsname:
  9077. description: 商品名称
  9078. type: string
  9079. handlestatus:
  9080. description: 处理状态
  9081. type: integer
  9082. marketid:
  9083. description: 市场ID
  9084. type: integer
  9085. phonenum:
  9086. description: 提货人联系方式
  9087. type: string
  9088. picurls:
  9089. description: 介绍图片[多张用逗号分隔]
  9090. type: string
  9091. qty:
  9092. description: 提货数量
  9093. type: number
  9094. recivername:
  9095. description: 提货人姓名
  9096. type: string
  9097. reqtime:
  9098. description: 更新时间
  9099. type: string
  9100. takemode:
  9101. description: 提货方式 - 2:自提 3:配送
  9102. type: integer
  9103. takeorderid:
  9104. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  9105. type: string
  9106. takeorderstatus:
  9107. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  9108. type: integer
  9109. takeremark:
  9110. description: 提货备注
  9111. type: string
  9112. tradedate:
  9113. description: 交易日(yyyyMMdd)
  9114. type: string
  9115. trademode:
  9116. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9117. type: integer
  9118. userid:
  9119. description: 用户ID
  9120. type: integer
  9121. vendorname:
  9122. description: 供应商名称
  9123. type: string
  9124. required:
  9125. - goodscode
  9126. - goodsname
  9127. - takeorderid
  9128. - trademode
  9129. type: object
  9130. models.HsbyPreGoods:
  9131. properties:
  9132. agreeunit:
  9133. description: 合约单位
  9134. type: number
  9135. currency:
  9136. description: 货币
  9137. type: string
  9138. currencysign:
  9139. description: 货币符号
  9140. type: string
  9141. decimalplace:
  9142. description: 报价小数位
  9143. type: integer
  9144. desccityid:
  9145. description: 目的地(市)
  9146. type: integer
  9147. descprovinceid:
  9148. description: 目的地(省)
  9149. type: integer
  9150. enableqty:
  9151. description: 剩余数量
  9152. type: integer
  9153. goodscode:
  9154. description: 商品代码(内部)
  9155. type: string
  9156. goodsid:
  9157. description: 商品ID(自增ID SEQ_GOODS)
  9158. type: integer
  9159. goodsname:
  9160. description: 商品名称
  9161. type: string
  9162. goodsstatus:
  9163. description: 商品状态- 2:未上市 3:上市
  9164. type: integer
  9165. lasttradedate:
  9166. description: 最后交易日期(状态:待退市)
  9167. type: string
  9168. listingdate:
  9169. description: 交易开始日期
  9170. type: string
  9171. marketid:
  9172. description: 所属市场ID
  9173. type: integer
  9174. picurls:
  9175. description: 介绍图片[多张用逗号分隔]
  9176. type: string
  9177. presaledqty:
  9178. description: 已预售量(预售结束时更新)
  9179. type: integer
  9180. presaleqty:
  9181. description: 预售数量
  9182. type: integer
  9183. quoteminunit:
  9184. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9185. type: integer
  9186. refprice:
  9187. description: 参考价格[一口价]
  9188. type: number
  9189. relatedgoodsid:
  9190. description: 关联交易合约ID
  9191. type: integer
  9192. trademode:
  9193. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9194. type: integer
  9195. videourls:
  9196. description: 介绍视频[多张用逗号分隔]
  9197. type: string
  9198. required:
  9199. - goodscode
  9200. - goodsid
  9201. - goodsname
  9202. - marketid
  9203. - trademode
  9204. type: object
  9205. models.HsbyPreGoodsDetail:
  9206. properties:
  9207. agreeunit:
  9208. description: 合约单位
  9209. type: number
  9210. buymaxqty:
  9211. description: 购买上限 [71] - 0为不限
  9212. type: integer
  9213. currency:
  9214. description: 货币
  9215. type: string
  9216. currencysign:
  9217. description: 货币符号
  9218. type: string
  9219. customername:
  9220. description: 发行单位
  9221. type: string
  9222. decimalplace:
  9223. description: 报价小数位
  9224. type: integer
  9225. desccityid:
  9226. description: 目的地(市)ID
  9227. type: integer
  9228. descprovinceid:
  9229. description: 目的地(省)ID
  9230. type: integer
  9231. enableqty:
  9232. description: 剩余数量
  9233. type: integer
  9234. goodscode:
  9235. description: 商品代码(内部)
  9236. type: string
  9237. goodsdesc:
  9238. description: 商品详情
  9239. type: string
  9240. goodsid:
  9241. description: 商品ID(自增ID SEQ_GOODS)
  9242. type: integer
  9243. goodsname:
  9244. description: 商品名称
  9245. type: string
  9246. goodsstatus:
  9247. description: 商品状态- 2:未上市 3:上市
  9248. type: integer
  9249. goodunit:
  9250. description: 报价单位
  9251. type: string
  9252. lasttradedate:
  9253. description: 最后交易日期(状态:待退市)
  9254. type: string
  9255. listingdate:
  9256. description: 交易开始日期
  9257. type: string
  9258. lotsize:
  9259. description: 手数最小变动单位
  9260. type: integer
  9261. marketid:
  9262. description: 所属市场ID
  9263. type: integer
  9264. picurls:
  9265. description: 介绍图片[多张用逗号分隔]
  9266. type: string
  9267. presaledqty:
  9268. description: 已预售量(预售结束时更新)
  9269. type: integer
  9270. presaleqty:
  9271. description: 预售数量
  9272. type: integer
  9273. quoteminunit:
  9274. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9275. type: integer
  9276. refprice:
  9277. description: 参考价格[一口价]
  9278. type: number
  9279. relatedgoodsid:
  9280. description: 关联交易合约ID
  9281. type: integer
  9282. stepvalue:
  9283. description: 价格最小变动单位
  9284. type: number
  9285. trademode:
  9286. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9287. type: integer
  9288. vendorattr:
  9289. description: 供应商附件(多张,逗号分隔)
  9290. type: string
  9291. vendorname:
  9292. description: 供应商名称
  9293. type: string
  9294. vendorphone:
  9295. description: 供应商客服电话
  9296. type: string
  9297. videourls:
  9298. description: 介绍视频[多张用逗号分隔]
  9299. type: string
  9300. required:
  9301. - goodscode
  9302. - goodsid
  9303. - goodsname
  9304. - marketid
  9305. - trademode
  9306. type: object
  9307. models.HsbySellCollectionOrder:
  9308. properties:
  9309. agreeunit:
  9310. description: 合约单位
  9311. type: number
  9312. buyaccountid:
  9313. description: 买方账号ID[报价币种]
  9314. type: integer
  9315. buyorderid:
  9316. description: 买方委托单号
  9317. type: string
  9318. createtime:
  9319. description: 创建时间
  9320. type: string
  9321. currencysign:
  9322. description: 货币符号
  9323. type: string
  9324. decimalplace:
  9325. description: 报价小数位
  9326. type: integer
  9327. goodscode:
  9328. description: 商品代码(内部)
  9329. type: string
  9330. goodsid:
  9331. description: 商品ID
  9332. type: integer
  9333. goodsname:
  9334. description: 商品名称
  9335. type: string
  9336. marketid:
  9337. description: 市场ID
  9338. type: integer
  9339. offamount:
  9340. description: 优惠金额
  9341. type: number
  9342. payamount:
  9343. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  9344. type: number
  9345. payflag:
  9346. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  9347. type: integer
  9348. paylimitedtime:
  9349. description: 支付期限
  9350. type: string
  9351. paytime:
  9352. description: 付款时间
  9353. type: string
  9354. picurls:
  9355. description: 商品介绍图片[多张用逗号分隔]
  9356. type: string
  9357. sellaccountid:
  9358. description: 卖方账号ID[报价币种]
  9359. type: integer
  9360. sellorderid:
  9361. description: 卖方委托单号
  9362. type: string
  9363. tradeamount:
  9364. description: 成交金额
  9365. type: number
  9366. tradecharge:
  9367. description: 成交手续费(买方)
  9368. type: number
  9369. tradedate:
  9370. description: 交易日(yyyyMMdd)
  9371. type: string
  9372. tradeid:
  9373. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9374. type: string
  9375. trademode:
  9376. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9377. type: integer
  9378. tradeprice:
  9379. description: 成交价格
  9380. type: number
  9381. tradeqty:
  9382. description: 成交数量
  9383. type: integer
  9384. required:
  9385. - goodscode
  9386. - goodsname
  9387. - tradeid
  9388. - trademode
  9389. type: object
  9390. models.HsbySellMyDetail:
  9391. properties:
  9392. accountid:
  9393. description: 账户ID[报价币种]
  9394. type: integer
  9395. agreeunit:
  9396. description: 合约单位
  9397. type: number
  9398. buyorsell:
  9399. description: 买卖 - 0:买 1:卖
  9400. type: integer
  9401. currencysign:
  9402. description: 货币符号
  9403. type: string
  9404. decimalplace:
  9405. description: 报价小数位
  9406. type: integer
  9407. goodscode:
  9408. description: 商品代码(内部)
  9409. type: string
  9410. goodsid:
  9411. description: 商品ID
  9412. type: integer
  9413. goodsname:
  9414. description: 商品名称
  9415. type: string
  9416. marketid:
  9417. description: 市场ID
  9418. type: integer
  9419. orderid:
  9420. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  9421. type: string
  9422. ordertype:
  9423. description: 单据类型:0 - 发布中, 1 - 已完成
  9424. type: integer
  9425. picurls:
  9426. description: 介绍图片[多张用逗号分隔]
  9427. type: string
  9428. price:
  9429. description: 价格
  9430. type: number
  9431. qty:
  9432. description: 数量
  9433. type: integer
  9434. time:
  9435. description: 时间
  9436. type: string
  9437. trademode:
  9438. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9439. type: integer
  9440. vendorname:
  9441. description: 供应商名称
  9442. type: string
  9443. required:
  9444. - accountid
  9445. - buyorsell
  9446. - goodscode
  9447. - goodsid
  9448. - goodsname
  9449. - marketid
  9450. - orderid
  9451. - time
  9452. - trademode
  9453. type: object
  9454. models.HsbyTopGoods:
  9455. properties:
  9456. agreeunit:
  9457. description: 合约单位
  9458. type: number
  9459. currency:
  9460. description: 货币
  9461. type: string
  9462. currencysign:
  9463. description: 货币符号
  9464. type: string
  9465. decimalplace:
  9466. description: 报价小数位
  9467. type: integer
  9468. desccityid:
  9469. description: 目的地(市)
  9470. type: integer
  9471. descprovinceid:
  9472. description: 目的地(省)
  9473. type: integer
  9474. goodscode:
  9475. description: 商品代码(内部)
  9476. type: string
  9477. goodsid:
  9478. description: 商品ID(自增ID SEQ_GOODS)
  9479. type: integer
  9480. goodsname:
  9481. description: 商品名称
  9482. type: string
  9483. hotindex:
  9484. description: 景点热度
  9485. type: integer
  9486. last:
  9487. description: 现价
  9488. type: number
  9489. marketid:
  9490. description: 所属市场ID
  9491. type: integer
  9492. picurls:
  9493. description: 介绍图片[多张用逗号分隔]
  9494. type: string
  9495. quoteminunit:
  9496. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9497. type: integer
  9498. trademode:
  9499. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9500. type: integer
  9501. videourls:
  9502. description: 介绍视频[多张用逗号分隔]
  9503. type: string
  9504. required:
  9505. - goodscode
  9506. - goodsid
  9507. - goodsname
  9508. - marketid
  9509. - trademode
  9510. type: object
  9511. models.HybsMyBuyOrderDetail:
  9512. properties:
  9513. accountid:
  9514. description: 账户ID[报价币种]
  9515. type: integer
  9516. agreeunit:
  9517. description: 合约单位
  9518. type: number
  9519. buyorsell:
  9520. description: 买卖 - 0:买 1:卖
  9521. type: integer
  9522. cancelqty:
  9523. description: 撤单数量
  9524. type: integer
  9525. currencysign:
  9526. description: 货币符号
  9527. type: string
  9528. decimalplace:
  9529. description: 报价小数位
  9530. type: integer
  9531. goodscode:
  9532. description: 商品代码(内部)
  9533. type: string
  9534. goodsid:
  9535. description: 商品ID
  9536. type: integer
  9537. goodsname:
  9538. description: 商品名称
  9539. type: string
  9540. listingselecttype:
  9541. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9542. type: integer
  9543. marketid:
  9544. description: 市场ID
  9545. type: integer
  9546. mybuystatus:
  9547. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  9548. type: integer
  9549. orderamount:
  9550. description: 委托金额
  9551. type: number
  9552. orderid:
  9553. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9554. type: string
  9555. orderprice:
  9556. description: 委托价格
  9557. type: number
  9558. orderqty:
  9559. description: 委托数量
  9560. type: integer
  9561. orderstatus:
  9562. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  9563. type: integer
  9564. ordertime:
  9565. description: 委托时间
  9566. type: string
  9567. picurls1:
  9568. description: 预售商品介绍图片[多张用逗号分隔]
  9569. type: string
  9570. picurls2:
  9571. description: 挂牌商品介绍图片[多张用逗号分隔]
  9572. type: string
  9573. trademode:
  9574. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9575. type: integer
  9576. tradeqty:
  9577. description: 成交数量
  9578. type: integer
  9579. vendorname1:
  9580. description: 预售商品供应商名称
  9581. type: string
  9582. vendorname2:
  9583. description: 挂牌商品供应商名称
  9584. type: string
  9585. required:
  9586. - accountid
  9587. - buyorsell
  9588. - goodscode
  9589. - goodsid
  9590. - goodsname
  9591. - marketid
  9592. - orderid
  9593. - orderqty
  9594. - ordertime
  9595. - trademode
  9596. type: object
  9597. models.Loginaccount:
  9598. properties:
  9599. accountname:
  9600. description: 账户名称
  9601. type: string
  9602. canoutin:
  9603. description: 是否可出入金 - 0:不可 1:可
  9604. type: integer
  9605. clientroleid:
  9606. description: 终端角色ID
  9607. type: integer
  9608. haslogined:
  9609. description: 是否已登录 - 0:未登录 1:已登录
  9610. type: integer
  9611. hasupdatedpwd:
  9612. description: 是否已更改密码 - 0:未修改 1:已修改
  9613. type: integer
  9614. lastloginip:
  9615. description: 最新登录地址
  9616. type: string
  9617. lastloginmode:
  9618. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9619. type: integer
  9620. lastloginremark:
  9621. description: 最新登录描述
  9622. type: string
  9623. lastlogintime:
  9624. description: 最新登录时间
  9625. type: string
  9626. logincode:
  9627. description: 登录代码
  9628. type: string
  9629. loginfailnum:
  9630. description: 连续登录失败次数(登录成功时清零)
  9631. type: integer
  9632. loginid:
  9633. description: 登陆账号
  9634. type: integer
  9635. loginport:
  9636. description: 最新登录端口
  9637. type: integer
  9638. loginstatus:
  9639. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  9640. type: integer
  9641. loginusertype:
  9642. description: 登录账号类型 - 1:投资者 2:机构交易员
  9643. type: integer
  9644. mobile:
  9645. description: 手机号码(加密存储)
  9646. type: string
  9647. modifierid:
  9648. description: 修改人
  9649. type: integer
  9650. modifysrc:
  9651. description: 审核来源 - 1:管理端 2:终端
  9652. type: integer
  9653. modifytime:
  9654. description: 修改时间
  9655. type: string
  9656. password:
  9657. description: 登陆密码
  9658. type: string
  9659. pwdwrongcount:
  9660. description: 密码错误次数
  9661. type: integer
  9662. relateduserid:
  9663. description: 关联用户ID(机构)
  9664. type: integer
  9665. taaccountrighttype:
  9666. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  9667. type: integer
  9668. unfreezetime:
  9669. description: 账户解冻时间
  9670. type: string
  9671. userid:
  9672. description: 用户ID
  9673. type: integer
  9674. required:
  9675. - loginid
  9676. type: object
  9677. models.MainAccountInfo:
  9678. properties:
  9679. accountid:
  9680. description: 账号id
  9681. type: integer
  9682. accountname:
  9683. description: 账号名称(taaccount表中的名称)
  9684. type: string
  9685. appid:
  9686. description: AppID
  9687. type: string
  9688. authcode:
  9689. description: 授权码
  9690. type: string
  9691. brokerid:
  9692. description: 经纪商id
  9693. type: string
  9694. fcid:
  9695. description: 期货公司id
  9696. type: integer
  9697. fcname:
  9698. description: 期货公司代码
  9699. type: string
  9700. hedgeaccountcode:
  9701. description: 外部账号代码(主账号登录代码)
  9702. type: string
  9703. hedgeaccountpwd:
  9704. description: 密码
  9705. type: string
  9706. ismain:
  9707. description: 是否主账号
  9708. type: integer
  9709. relateduserid:
  9710. description: 关联用户id
  9711. type: integer
  9712. userid:
  9713. description: 关联用户id
  9714. type: integer
  9715. type: object
  9716. models.Market:
  9717. properties:
  9718. auctionwrtype:
  9719. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  9720. type: integer
  9721. canacceptquote:
  9722. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  9723. type: integer
  9724. cangoodsexercise:
  9725. description: '[期权]是否可现货行权- 0:否 1:是'
  9726. type: integer
  9727. cangoodsexercisetype:
  9728. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  9729. type: integer
  9730. canmanualquotestrike:
  9731. description: 是否可手动报行权价- 0:否 1:是 [期权]
  9732. type: integer
  9733. canmutistage:
  9734. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  9735. type: integer
  9736. canpreexercise:
  9737. description: '[期权]是否可预申报- 0:否 1:是'
  9738. type: integer
  9739. clearinterval:
  9740. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  9741. type: integer
  9742. contracttmp:
  9743. description: 合同模板[荷兰式][竞价式][仓单贸易]
  9744. type: string
  9745. exchareaid:
  9746. description: 所属交易所,可以没有
  9747. type: integer
  9748. goodstype:
  9749. description: 商品类型 - 1:交易商品 2:仓单商品
  9750. type: integer
  9751. hasrebate:
  9752. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  9753. type: integer
  9754. hastradecredit:
  9755. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  9756. type: integer
  9757. haswr:
  9758. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  9759. type: integer
  9760. isdeductmargin:
  9761. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  9762. type: integer
  9763. isrecordsource:
  9764. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  9765. type: integer
  9766. isreleasemargin:
  9767. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  9768. type: integer
  9769. marginformula:
  9770. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9771. type: integer
  9772. marginformula2:
  9773. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9774. type: integer
  9775. marketid:
  9776. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9777. type: integer
  9778. marketname:
  9779. description: 市场名称
  9780. type: string
  9781. marketserviceid:
  9782. description: 市场服务ID
  9783. type: integer
  9784. marketstatus:
  9785. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9786. type: integer
  9787. markettype:
  9788. description: 市场类型- 1:非交易服务 2:交易服务
  9789. type: integer
  9790. matchermode:
  9791. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9792. type: integer
  9793. openmethod:
  9794. description: 开盘模式 - 0 自动 1手动
  9795. type: integer
  9796. otcuserid:
  9797. description: 场外期权做市商[场外期权]
  9798. type: integer
  9799. outersynctime:
  9800. description: 外部同步时间点(h24:mi:ss)[场外期权]
  9801. type: string
  9802. pendingflag:
  9803. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  9804. type: integer
  9805. pendingtime:
  9806. description: 待开市时间[通道交易-对冲](HH:mm)
  9807. type: string
  9808. performancetempid:
  9809. description: 履约计划模板ID - 作废
  9810. type: integer
  9811. premiumquotemode:
  9812. description: 权利金报价方式 - 1:自动 2:手动
  9813. type: integer
  9814. rebateratio:
  9815. description: 返利比率[竞价式]
  9816. type: number
  9817. reckonorder:
  9818. description: 结算顺序
  9819. type: integer
  9820. reckonpricealgorithm:
  9821. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价'
  9822. type: integer
  9823. reckonpriceparam:
  9824. description: 结算价参数
  9825. type: integer
  9826. reckontime:
  9827. description: 结算时间[通道交易-对冲](HH:mm)
  9828. type: string
  9829. roleprioritytype:
  9830. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  9831. type: integer
  9832. selllistingauditflag:
  9833. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  9834. type: integer
  9835. trademarkettype:
  9836. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9837. type: integer
  9838. trademode:
  9839. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9840. type: integer
  9841. tradeproperty:
  9842. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权
  9843. type: integer
  9844. tradetype:
  9845. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9846. type: integer
  9847. required:
  9848. - marketid
  9849. - marketstatus
  9850. - openmethod
  9851. - reckonpricealgorithm
  9852. - trademode
  9853. - tradeproperty
  9854. type: object
  9855. models.Marketrun:
  9856. properties:
  9857. afternexttradedate:
  9858. description: 下下交易日
  9859. type: string
  9860. clearquoteflag:
  9861. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9862. type: integer
  9863. lastreckondate:
  9864. description: 最新交易日(结算成功)
  9865. type: string
  9866. machinedate:
  9867. description: 机器时间
  9868. type: string
  9869. manualflag:
  9870. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9871. type: integer
  9872. marketid:
  9873. description: 市场ID
  9874. type: integer
  9875. nexttradedate:
  9876. description: 下一交易日
  9877. type: string
  9878. pretradedate:
  9879. description: 上一交易日
  9880. type: string
  9881. reckonflag:
  9882. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9883. type: integer
  9884. runstatus:
  9885. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内) 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始 62.今日免清算
  9886. type: integer
  9887. sectionid:
  9888. description: 时间段号[多时段时用]
  9889. type: integer
  9890. tradedate:
  9891. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9892. type: string
  9893. tradedate2:
  9894. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9895. type: string
  9896. updatetime:
  9897. description: 更新时间
  9898. type: string
  9899. required:
  9900. - marketid
  9901. - nexttradedate
  9902. - reckonflag
  9903. - runstatus
  9904. - tradedate
  9905. - tradedate2
  9906. type: object
  9907. models.Messageboard:
  9908. properties:
  9909. contactnum:
  9910. description: 联系电话
  9911. type: string
  9912. createtime:
  9913. description: 创建时间
  9914. type: string
  9915. message:
  9916. description: 留言信息
  9917. type: string
  9918. messageboardid:
  9919. description: 留言簿ID(SEQ_MessageBoard)
  9920. type: integer
  9921. userid:
  9922. description: 用户ID
  9923. type: integer
  9924. required:
  9925. - messageboardid
  9926. type: object
  9927. models.MyCoupon:
  9928. properties:
  9929. accountid:
  9930. description: 资金账户ID
  9931. type: integer
  9932. areauserid:
  9933. description: 所属机构
  9934. type: integer
  9935. conditionvalue:
  9936. description: 条件阈值(可为0)
  9937. type: number
  9938. couponcategroy:
  9939. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  9940. type: integer
  9941. couponname:
  9942. description: 优惠券名称
  9943. type: string
  9944. coupontypeid:
  9945. description: 优惠券类型ID
  9946. type: string
  9947. couponvalue:
  9948. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9949. type: number
  9950. curfreezeqty:
  9951. description: 期末冻结数量
  9952. type: integer
  9953. curqty:
  9954. description: 期末数量
  9955. type: integer
  9956. isgeneral:
  9957. description: 是否通用券 - 0:否 1:是
  9958. type: integer
  9959. isunusable:
  9960. description: 是否不可用
  9961. type: boolean
  9962. limitedflag:
  9963. description: 是否指定商品 - 0:不限 1:限制
  9964. type: integer
  9965. limitedgoodsids:
  9966. description: 指定商品IDs[逗号分隔,前后加逗号]
  9967. type: string
  9968. orifreezeqty:
  9969. description: 期初冻结数量
  9970. type: integer
  9971. oriqty:
  9972. description: 期初数量
  9973. type: integer
  9974. reasontype:
  9975. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  9976. type: integer
  9977. todaydecrease:
  9978. description: 今日减少
  9979. type: integer
  9980. todayincrease:
  9981. description: 今日增加
  9982. type: integer
  9983. userid:
  9984. description: 用户ID
  9985. type: integer
  9986. userscope:
  9987. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  9988. type: string
  9989. required:
  9990. - accountid
  9991. - coupontypeid
  9992. type: object
  9993. models.MyCouponHold:
  9994. properties:
  9995. accountid:
  9996. description: 资金账户ID
  9997. type: integer
  9998. conditionvalue:
  9999. description: 条件阈值(可为0)
  10000. type: number
  10001. couponcategroy:
  10002. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  10003. type: integer
  10004. couponholdid:
  10005. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  10006. type: string
  10007. couponname:
  10008. description: 优惠券名称
  10009. type: string
  10010. coupontypeid:
  10011. description: 优惠券类型ID - SEQ_COUPONTYPE
  10012. type: string
  10013. couponvalue:
  10014. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  10015. type: number
  10016. createtime:
  10017. description: 创建时间
  10018. type: string
  10019. enddate:
  10020. description: 结束日期
  10021. type: string
  10022. giveapplyid:
  10023. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  10024. type: integer
  10025. holdstatus:
  10026. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  10027. type: integer
  10028. isgeneral:
  10029. description: 是否通用券 - 0:否 1:是
  10030. type: integer
  10031. limitedflag:
  10032. description: 是否指定商品 - 0:不限 1:限制
  10033. type: integer
  10034. limitedgoodsids:
  10035. description: 指定商品IDs[逗号分隔]
  10036. type: string
  10037. qty:
  10038. description: 数量(按1平铺)
  10039. type: integer
  10040. startdate:
  10041. description: 开始日期
  10042. type: string
  10043. userid:
  10044. description: 用户ID
  10045. type: integer
  10046. userscope:
  10047. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  10048. type: string
  10049. required:
  10050. - couponholdid
  10051. type: object
  10052. models.MyUsedCoupon:
  10053. properties:
  10054. accountid:
  10055. description: 资金账户ID(买方)
  10056. type: integer
  10057. conditionvalue:
  10058. description: 条件阈值(可为0)
  10059. type: number
  10060. couponcategroy:
  10061. description: 种类 - 1:现金券 2:折扣券
  10062. type: integer
  10063. couponname:
  10064. description: 优惠券名称
  10065. type: string
  10066. coupontypeid:
  10067. description: 优惠券类型ID(买方)
  10068. type: string
  10069. couponvalue:
  10070. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  10071. type: number
  10072. createtime:
  10073. description: 创建时间
  10074. type: string
  10075. goodsid:
  10076. description: 商品ID
  10077. type: integer
  10078. handlestatus:
  10079. description: 处理状态
  10080. type: integer
  10081. marketid:
  10082. description: 市场ID
  10083. type: integer
  10084. offamount:
  10085. description: 优惠金额
  10086. type: number
  10087. orderid:
  10088. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10089. type: string
  10090. sellaccountid:
  10091. description: 资金账户ID(卖方)
  10092. type: integer
  10093. tradeamount:
  10094. description: 成交金额
  10095. type: number
  10096. tradeid:
  10097. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10098. type: string
  10099. usedqty:
  10100. description: 使用数量
  10101. type: integer
  10102. required:
  10103. - coupontypeid
  10104. - orderid
  10105. type: object
  10106. models.OperationPrimaryMenu:
  10107. properties:
  10108. Children:
  10109. description: 二级功能菜单
  10110. items:
  10111. $ref: '#/definitions/models.OperationSecondaryMenu'
  10112. type: array
  10113. Key:
  10114. description: 菜单KEY
  10115. type: string
  10116. Label:
  10117. description: 菜单标题
  10118. type: string
  10119. type: object
  10120. models.OperationSecondaryMenu:
  10121. properties:
  10122. Key:
  10123. description: 菜单KEY
  10124. type: string
  10125. Label:
  10126. description: 菜单标题
  10127. type: string
  10128. TabList:
  10129. description: 三级功能菜单
  10130. items:
  10131. $ref: '#/definitions/models.OperationTabMenu'
  10132. type: array
  10133. type: object
  10134. models.OperationTabMenu:
  10135. properties:
  10136. Key:
  10137. description: 菜单KEY
  10138. type: string
  10139. Label:
  10140. description: 菜单标题
  10141. type: string
  10142. type: object
  10143. models.QhjAccountOutInApply:
  10144. properties:
  10145. accountcode:
  10146. description: 资金账号
  10147. type: string
  10148. accountname:
  10149. description: 用户名称(名称)
  10150. type: string
  10151. accountpwd:
  10152. description: 资金密码
  10153. type: string
  10154. accountticket:
  10155. description: 最新账户服务流水号
  10156. type: string
  10157. amount:
  10158. description: 金额
  10159. type: number
  10160. applyremark:
  10161. description: 申请备注
  10162. type: string
  10163. applystatus:
  10164. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败; 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22: 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  10165. type: integer
  10166. auditid:
  10167. description: 审核人
  10168. type: integer
  10169. audittime:
  10170. description: 审核时间
  10171. type: string
  10172. bank_apply_ticket:
  10173. description: 银行申请流水
  10174. type: string
  10175. bankaccountname:
  10176. description: 银行账户名
  10177. type: string
  10178. bankaccountno:
  10179. description: 银行卡号
  10180. type: string
  10181. bankid:
  10182. description: 银行编号
  10183. type: string
  10184. bankticket:
  10185. description: 银行流水
  10186. type: string
  10187. branchbankid:
  10188. description: 银行支行号
  10189. type: string
  10190. branchbankname:
  10191. description: 银行支行名称
  10192. type: string
  10193. capamountout:
  10194. description: 出金(劣后本金) - 外部子账户
  10195. type: number
  10196. certificatephotourl:
  10197. description: 凭证地址
  10198. type: string
  10199. charge:
  10200. description: 手续费
  10201. type: number
  10202. checkerrorflag:
  10203. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10204. type: integer
  10205. currency:
  10206. description: 币种
  10207. type: string
  10208. cusbankid:
  10209. description: 托管银行编号
  10210. type: string
  10211. exchticket:
  10212. description: 银行服务流水号
  10213. type: string
  10214. executetype:
  10215. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金'
  10216. type: integer
  10217. extendinfo:
  10218. description: 扩展信息
  10219. type: string
  10220. extoperateid:
  10221. description: 交易服务流水号
  10222. type: integer
  10223. infamount:
  10224. description: 劣后金额(自有)
  10225. type: number
  10226. logincode:
  10227. description: 登录账号(账号)
  10228. type: string
  10229. netaddr:
  10230. description: 调转网址
  10231. type: string
  10232. priamount:
  10233. description: 优先金额(授信)
  10234. type: number
  10235. reauditid:
  10236. description: 复审人
  10237. type: integer
  10238. reauditremark:
  10239. description: 复审备注
  10240. type: string
  10241. reaudittime:
  10242. description: 复审时间
  10243. type: string
  10244. relatedorderid:
  10245. description: 三方关联ID
  10246. type: string
  10247. remark:
  10248. description: 备注
  10249. type: string
  10250. remark2:
  10251. description: 备注(失败原因)
  10252. type: string
  10253. soucreamount:
  10254. description: 原始出入金金额
  10255. type: number
  10256. soucrecurrencyid:
  10257. description: 原始出入金币种
  10258. type: integer
  10259. tradedate:
  10260. description: 交易日(yyyyMMdd)
  10261. type: string
  10262. updatetime:
  10263. description: 更新时间(申请时间)
  10264. type: string
  10265. userid:
  10266. description: 用户id
  10267. type: integer
  10268. userinfotype:
  10269. description: 账户类型 1-个人 2-企业
  10270. type: integer
  10271. type: object
  10272. models.QhjAgreementChangeLog:
  10273. properties:
  10274. agreementcontent:
  10275. description: 协议内容
  10276. type: string
  10277. agreementfrequency:
  10278. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10279. type: integer
  10280. agreementid:
  10281. description: 协议ID
  10282. type: integer
  10283. agreementname:
  10284. description: 协议名称
  10285. type: string
  10286. agreementno:
  10287. description: 协议编号
  10288. type: string
  10289. agreementtype:
  10290. description: 协议类型 - 1:注册 2:登录 3:交易
  10291. type: integer
  10292. agreementversion:
  10293. description: 协议版本号
  10294. type: integer
  10295. logid:
  10296. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  10297. type: integer
  10298. reviserid:
  10299. description: 修改人
  10300. type: integer
  10301. revisersrc:
  10302. description: 修改来源 - 1:管理端 2:终端
  10303. type: integer
  10304. updatetime:
  10305. description: 更新时间
  10306. type: string
  10307. type: object
  10308. models.QhjAgreementConfig:
  10309. properties:
  10310. agreementcontent:
  10311. description: 协议内容
  10312. type: string
  10313. agreementfrequency:
  10314. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10315. type: integer
  10316. agreementid:
  10317. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  10318. type: integer
  10319. agreementname:
  10320. description: 协议名称
  10321. type: string
  10322. agreementno:
  10323. description: 协议编号
  10324. type: string
  10325. agreementtype:
  10326. description: 协议类型 - 1:注册 2:登录 3:交易
  10327. type: integer
  10328. agreementversion:
  10329. description: 协议版本号(从1开始每次修改加1)
  10330. type: integer
  10331. createtime:
  10332. description: 创建时间
  10333. type: string
  10334. creatorid:
  10335. description: 创建人
  10336. type: integer
  10337. creatorsrc:
  10338. description: 创建来源 - 1:管理端 2:终端
  10339. type: integer
  10340. isvalid:
  10341. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  10342. type: integer
  10343. reviserid:
  10344. description: 修改人
  10345. type: integer
  10346. revisersrc:
  10347. description: 修改来源 - 1:管理端 2:终端
  10348. type: integer
  10349. updatetime:
  10350. description: 更新时间
  10351. type: string
  10352. type: object
  10353. models.QhjAreaFinanceConfig:
  10354. properties:
  10355. additionalratio:
  10356. description: 追加款比例
  10357. type: number
  10358. advanceratio:
  10359. description: 预付款比例
  10360. type: number
  10361. alarmratio:
  10362. description: 告警比例
  10363. type: number
  10364. consumptiondirectreward:
  10365. description: 消费直推奖励值
  10366. type: number
  10367. consumptionenabled:
  10368. description: 是否启用消费奖励 - 0:不启用 1:启用
  10369. type: integer
  10370. consumptionindirectreward:
  10371. description: 消费间推奖励值
  10372. type: number
  10373. consumptionmodel:
  10374. description: 消费奖励方式 - 1:比率 2:固定
  10375. type: integer
  10376. customerservicenum:
  10377. description: 客服电话
  10378. type: string
  10379. dayinterestrate:
  10380. description: 日利率
  10381. type: number
  10382. disableconsumptiontips:
  10383. description: 关闭消费奖励提示
  10384. type: string
  10385. modifierid:
  10386. description: 修改人ID
  10387. type: integer
  10388. modifysrc:
  10389. description: 审核来源 - 1:管理端 2:终端
  10390. type: integer
  10391. modifytime:
  10392. description: 修改时间
  10393. type: string
  10394. promotionvalue:
  10395. description: 推广奖励值(固定)
  10396. type: number
  10397. scoreconfigvalue1:
  10398. description: 提货积分配置1
  10399. type: integer
  10400. scoreconfigvalue2:
  10401. description: 提货积分配置2
  10402. type: integer
  10403. userid:
  10404. description: 机构用户ID其他做市关系,都设置为 1
  10405. type: integer
  10406. username:
  10407. description: 用户名称
  10408. type: string
  10409. type: object
  10410. models.QhjBankAccountSign:
  10411. properties:
  10412. accountcode:
  10413. description: 资金账号
  10414. type: string
  10415. accountname:
  10416. description: 资金账号对应的账号名(UserName)
  10417. type: string
  10418. accountname2:
  10419. description: 资金账号对应的账号名(UserName) - 密文
  10420. type: string
  10421. accounttype:
  10422. description: 账户类型(UserType)
  10423. type: integer
  10424. applicationtime:
  10425. description: 最后一次更新的时间
  10426. type: string
  10427. applyexchticket:
  10428. description: 申请流水
  10429. type: string
  10430. auditid:
  10431. description: 审核人
  10432. type: integer
  10433. audittime:
  10434. description: 审核时间
  10435. type: string
  10436. bankaccountname:
  10437. description: 签约银行卡账号名
  10438. type: string
  10439. bankaccountname2:
  10440. description: 签约银行卡账号名 - 密文
  10441. type: string
  10442. bankaccountno:
  10443. description: 银行卡号
  10444. type: string
  10445. bankaccountno2:
  10446. description: 银行卡号 - 密文
  10447. type: string
  10448. bankaccounttype:
  10449. description: 银行账户类型 - 1-对私; 2-对公
  10450. type: integer
  10451. bankcardtype:
  10452. description: 银行卡类型
  10453. type: integer
  10454. bankchildaccount:
  10455. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  10456. type: string
  10457. bankcity:
  10458. description: 开户行城市
  10459. type: string
  10460. bankid:
  10461. description: 签约银行ID
  10462. type: string
  10463. bankname:
  10464. description: 签约银行名称
  10465. type: string
  10466. bankprovince:
  10467. description: 开户行省份
  10468. type: string
  10469. branchbankid:
  10470. description: 签约银行支行号
  10471. type: string
  10472. branchbankname:
  10473. description: 签约银行支行名称
  10474. type: string
  10475. cardno:
  10476. description: 证件号码
  10477. type: string
  10478. cardno2:
  10479. description: 证件号码 - 密文
  10480. type: string
  10481. cardtype:
  10482. description: 证件类型
  10483. type: string
  10484. currency:
  10485. description: 币种
  10486. type: string
  10487. cusbankid:
  10488. description: 托管银行编号
  10489. type: string
  10490. direct:
  10491. description: 方向(可以判断那方先发起的签约)
  10492. type: integer
  10493. exchticket:
  10494. description: 最后一次签约成功的流水号
  10495. type: string
  10496. extendinfo:
  10497. description: 扩展信息(JSON字符串)
  10498. type: string
  10499. mobilephone:
  10500. description: 手机号
  10501. type: string
  10502. mobilephone2:
  10503. description: 手机号 - 密文
  10504. type: string
  10505. netaddr:
  10506. description: 调转网址
  10507. type: string
  10508. relateduserid:
  10509. description: 关联使用者userid
  10510. type: integer
  10511. signstatus:
  10512. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核
  10513. type: integer
  10514. updatetime:
  10515. description: 更新时间(签解约更新时间)
  10516. type: string
  10517. type: object
  10518. models.QhjBankInfo:
  10519. properties:
  10520. bankid:
  10521. description: 银行ID
  10522. type: string
  10523. bankname:
  10524. description: 银行名称
  10525. type: string
  10526. clearbankno:
  10527. description: 清算系统银行编号
  10528. type: string
  10529. orderindex:
  10530. description: 排序顺序
  10531. type: integer
  10532. status:
  10533. description: 状态 - 0:正常 1:注销
  10534. type: integer
  10535. type: object
  10536. models.QhjBrokerApply:
  10537. properties:
  10538. applicantid:
  10539. description: 申请人
  10540. type: integer
  10541. applysrc:
  10542. description: 申请来源 - 1:管理端 2:终端
  10543. type: integer
  10544. applystatus:
  10545. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10546. type: integer
  10547. applytime:
  10548. description: 申请时间
  10549. type: string
  10550. auditorid:
  10551. description: 审核人
  10552. type: integer
  10553. auditremark:
  10554. description: 审核备注
  10555. type: string
  10556. auditsrc:
  10557. description: 审核来源 - 1:管理端 2:终端
  10558. type: integer
  10559. audittime:
  10560. description: 审核时间
  10561. type: string
  10562. audittradedate:
  10563. description: 审核交易日(yyyyMMdd)
  10564. type: string
  10565. brokerapplyid:
  10566. description: 申请ID(SEQ_BROKERAPPLY)
  10567. type: integer
  10568. cardbackphotourl:
  10569. description: 证件背面图片地址
  10570. type: string
  10571. cardfrontphotourl:
  10572. description: 证件正面图片地址
  10573. type: string
  10574. cardnum:
  10575. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  10576. type: string
  10577. customername:
  10578. description: 姓名
  10579. type: string
  10580. logincode:
  10581. description: 登录代码
  10582. type: string
  10583. mobile:
  10584. description: 手机号码
  10585. type: string
  10586. parentuserid:
  10587. description: 所属机构id
  10588. type: integer
  10589. parentusername:
  10590. description: 所属机构名称
  10591. type: string
  10592. refereeuserid:
  10593. description: 推荐人id(经纪人)
  10594. type: integer
  10595. refernum:
  10596. description: 推荐码
  10597. type: string
  10598. remark:
  10599. description: 备注
  10600. type: string
  10601. subarealevelpath:
  10602. description: 层级路径
  10603. type: string
  10604. tradedate:
  10605. description: 交易日(yyyyMMdd)
  10606. type: string
  10607. userid:
  10608. description: 申请人用户ID
  10609. type: integer
  10610. userinfotype:
  10611. description: 用户类型 1-个人 2-企业
  10612. type: integer
  10613. username:
  10614. description: 用户名称
  10615. type: string
  10616. type: object
  10617. models.QhjBrokerApplyEx:
  10618. properties:
  10619. applylist:
  10620. description: 经纪人申请记录(只返回最新一条)
  10621. items:
  10622. $ref: '#/definitions/models.QhjBrokerApply'
  10623. type: array
  10624. canrecommend:
  10625. description: 是否经纪人 0-不是 1-是
  10626. type: integer
  10627. refernum:
  10628. description: 推荐码
  10629. type: string
  10630. userid:
  10631. description: 用户id
  10632. type: integer
  10633. userinfotype:
  10634. description: 用户类型 1-个人 2-企业
  10635. type: integer
  10636. type: object
  10637. models.QhjBrokerRewardLog:
  10638. properties:
  10639. accountid:
  10640. description: 资金账号ID
  10641. type: integer
  10642. createtime:
  10643. description: 创建时间(时间)
  10644. type: string
  10645. handlestatus:
  10646. description: 处理状态
  10647. type: integer
  10648. logid:
  10649. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10650. type: string
  10651. marketid:
  10652. description: 市场ID
  10653. type: integer
  10654. mmaccountid:
  10655. description: 做市商资金账号ID
  10656. type: string
  10657. mmuserid:
  10658. description: 做市商用户ID
  10659. type: string
  10660. rewardamount:
  10661. description: 奖励金额
  10662. type: number
  10663. rewardmodel:
  10664. description: 消费奖励方式 - 1:比率 2:固定
  10665. type: integer
  10666. rewardtype:
  10667. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  10668. type: integer
  10669. rewardvalue:
  10670. description: 配置奖励值
  10671. type: number
  10672. srcamount:
  10673. description: 成交金额 [消费奖励] (金额)
  10674. type: number
  10675. srcgoodsid:
  10676. description: 来源商品ID [消费奖励]
  10677. type: string
  10678. srctime:
  10679. description: 来源时间 (成交时间) [消费奖励]
  10680. type: string
  10681. srctradeid:
  10682. description: 来源成交单ID [消费奖励] - 排除提货成交
  10683. type: string
  10684. srcuserid:
  10685. description: 来源用户ID(推广账户)
  10686. type: string
  10687. srcusername:
  10688. description: 推广账户名称
  10689. type: string
  10690. tradedate:
  10691. description: 交易日(yyyyMMdd)
  10692. type: string
  10693. userid:
  10694. description: 经纪人用户ID
  10695. type: integer
  10696. type: object
  10697. models.QhjContract:
  10698. properties:
  10699. contractconfirmtime:
  10700. description: 合同确认时间(时间)
  10701. type: string
  10702. currisklevel:
  10703. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10704. type: integer
  10705. decimalplace:
  10706. description: 商品报价小数位
  10707. type: integer
  10708. enumdicname:
  10709. description: 单位名称
  10710. type: string
  10711. goodscode:
  10712. description: 商品代码
  10713. type: string
  10714. goodsid:
  10715. description: 商品ID [5:融资单]
  10716. type: integer
  10717. goodsname:
  10718. description: 商品名称
  10719. type: string
  10720. goodunitid:
  10721. description: 商品单位id
  10722. type: integer
  10723. initmargin:
  10724. description: 初始保证金(首付款)
  10725. type: number
  10726. lenderamount:
  10727. description: 贷款金额(总额|订单总额)
  10728. type: number
  10729. marginratio:
  10730. description: 保证金比率(首付比例)
  10731. type: number
  10732. payamount:
  10733. description: 已付(已付货款)
  10734. type: number
  10735. reckonrecovermargin:
  10736. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10737. type: number
  10738. recoveredmargin:
  10739. description: 已追缴保证金
  10740. type: number
  10741. remainamount:
  10742. description: 合同剩余金额(融资额)
  10743. type: number
  10744. scfcontractid:
  10745. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10746. type: string
  10747. scfcontractstatus:
  10748. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  10749. type: integer
  10750. scfcontracttype:
  10751. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10752. type: integer
  10753. totalinterest:
  10754. description: 已计总利息(利息)
  10755. type: number
  10756. tradeprice:
  10757. description: 成交价格(成本价格)
  10758. type: number
  10759. userid:
  10760. description: 用户ID
  10761. type: integer
  10762. username:
  10763. description: 用户名称
  10764. type: string
  10765. wrqty:
  10766. description: 仓单数量(数量)
  10767. type: number
  10768. type: object
  10769. models.QhjContractLog:
  10770. properties:
  10771. amount:
  10772. description: 支付金额
  10773. type: number
  10774. amounttype:
  10775. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  10776. type: integer
  10777. logid:
  10778. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10779. type: string
  10780. remainamount:
  10781. description: 剩余货款
  10782. type: number
  10783. scfcontractid:
  10784. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10785. type: integer
  10786. updatetime:
  10787. description: 更新时间
  10788. type: string
  10789. type: object
  10790. models.QhjCusBankSignBankEx:
  10791. properties:
  10792. banklst:
  10793. description: 银行列表
  10794. items:
  10795. $ref: '#/definitions/models.QhjBankInfo'
  10796. type: array
  10797. canallot:
  10798. description: 是否支持跨行调拨 - 0:不支持 1:支持
  10799. type: integer
  10800. canallotquery:
  10801. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  10802. type: integer
  10803. canbindcard:
  10804. description: 是否可绑卡与解卡 - 0:不可 1:可以
  10805. type: integer
  10806. caninamount:
  10807. description: 是否可入金 - 0:不可 1:可以
  10808. type: integer
  10809. caninamount2:
  10810. description: 是否可入金(网银端) - 0:不可 1:可以
  10811. type: integer
  10812. canmodifybankcard:
  10813. description: 是否可修改银行卡号 - 0:不可 1:可以
  10814. type: integer
  10815. canmodifyphone:
  10816. description: 是否可修改手机号 - 0:不可 1:可以
  10817. type: integer
  10818. canmodifysigninfo:
  10819. description: 是否可修改签约信息 - 0:不可 1:可以
  10820. type: integer
  10821. canoutamount:
  10822. description: 是否可出金 - 0:不可 1:可以
  10823. type: integer
  10824. canoutamount2:
  10825. description: 是否可出金(网银端) - 0:不可 1:可以
  10826. type: integer
  10827. canrelease:
  10828. description: 是否可解约 - 0:不可 1:可以
  10829. type: integer
  10830. canrelease2:
  10831. description: 是否可解约(网银端) - 0:不可 1:可以
  10832. type: integer
  10833. cansign:
  10834. description: 是否可签约 - 0:不可 1:可以
  10835. type: integer
  10836. cansign2:
  10837. description: 是否可签约(网银端) - 0:不可 1:可以
  10838. type: integer
  10839. currency:
  10840. description: 币种
  10841. type: string
  10842. cusbankid:
  10843. description: 托管银行编号(对应清算中心TRAN_NO)
  10844. type: string
  10845. cusbankname:
  10846. description: 银行业务名称
  10847. type: string
  10848. cusbankshortname:
  10849. description: 银行业务简称
  10850. type: string
  10851. exchbankid:
  10852. description: 交易所开户银行ID
  10853. type: string
  10854. exchpaybankaccname:
  10855. description: 交易所支出结算账户户名
  10856. type: string
  10857. exchpaybankaccno:
  10858. description: 交易所支出结算账户
  10859. type: string
  10860. isneedcheck:
  10861. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  10862. type: integer
  10863. isneedclear:
  10864. description: 是否需要清算 - 0:不需要 1:需要
  10865. type: integer
  10866. lastcheckstatus:
  10867. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  10868. type: integer
  10869. lastchecktime:
  10870. description: 最后对账时间
  10871. type: string
  10872. lastclearstatus:
  10873. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  10874. type: integer
  10875. lastcleartime:
  10876. description: 最后清算时间
  10877. type: string
  10878. lastsignintime:
  10879. description: 最后签到时间
  10880. type: string
  10881. lastsignouttime:
  10882. description: 最后签退时间
  10883. type: string
  10884. riskinfo:
  10885. description: 签约风险提示书
  10886. type: string
  10887. signstatus:
  10888. description: 当前签到/签退状态 - 1:签到 2:签退
  10889. type: integer
  10890. tradedate:
  10891. description: 交易日(yyyyMMdd)
  10892. type: string
  10893. updatetime:
  10894. description: 当前签到/签退更新时间
  10895. type: string
  10896. type: object
  10897. models.QhjCustomer:
  10898. properties:
  10899. address:
  10900. description: 通讯地址
  10901. type: string
  10902. attachment1:
  10903. description: 附件1
  10904. type: string
  10905. attachment2:
  10906. description: 附件2
  10907. type: string
  10908. audittime:
  10909. description: 审核时间
  10910. type: string
  10911. cardbackphotourl:
  10912. description: 证件反面图片地址
  10913. type: string
  10914. cardfrontphotourl:
  10915. description: 证件正面图片地址
  10916. type: string
  10917. cardnum:
  10918. description: 证件号码
  10919. type: string
  10920. cardtype:
  10921. description: 证件类型
  10922. type: integer
  10923. cardtypename:
  10924. description: 证件类型名称
  10925. type: string
  10926. cityid:
  10927. description: 市
  10928. type: integer
  10929. cityname:
  10930. description: 城市名称
  10931. type: string
  10932. contactname:
  10933. description: 联系人
  10934. type: string
  10935. countryid:
  10936. description: 国家
  10937. type: integer
  10938. countryname:
  10939. description: 国家名称
  10940. type: string
  10941. createtime:
  10942. description: 创建时间
  10943. type: string
  10944. customername:
  10945. description: 客户名称
  10946. type: string
  10947. districtid:
  10948. description: 区域
  10949. type: integer
  10950. districtname:
  10951. description: 地区名称
  10952. type: string
  10953. email:
  10954. description: 邮件
  10955. type: string
  10956. legalpersonname:
  10957. description: 法人姓名(企业)
  10958. type: string
  10959. logincode:
  10960. description: 登录账号(代码)
  10961. type: string
  10962. memberuserid:
  10963. description: 所属机构ID(所属会员)
  10964. type: integer
  10965. memberusername:
  10966. description: 所属会员名称
  10967. type: string
  10968. mobile:
  10969. description: 手机号码
  10970. type: string
  10971. modifytime:
  10972. description: 修改时间
  10973. type: string
  10974. nickname:
  10975. description: 昵称
  10976. type: string
  10977. parentuserid:
  10978. description: 上级机构(所属机构)
  10979. type: integer
  10980. parentusername:
  10981. description: 所属机构名称
  10982. type: string
  10983. provinceid:
  10984. description: 省
  10985. type: integer
  10986. provincename:
  10987. description: 省名称
  10988. type: string
  10989. proxystatementurl:
  10990. description: 授权委托书
  10991. type: string
  10992. remark:
  10993. description: 备注
  10994. type: string
  10995. status:
  10996. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  10997. type: integer
  10998. statusdesc:
  10999. description: 账户状态中文描述
  11000. type: string
  11001. taxpayernum:
  11002. description: 纳税人识别号
  11003. type: string
  11004. telphone:
  11005. description: 联系电话
  11006. type: string
  11007. userid:
  11008. description: 用户ID
  11009. type: integer
  11010. userinfotype:
  11011. description: 客户类型 1-个人 2-企业
  11012. type: integer
  11013. username:
  11014. description: 用户名称
  11015. type: string
  11016. type: object
  11017. models.QhjCustomerSignLog:
  11018. properties:
  11019. agreementcontent:
  11020. description: 协议内容
  11021. type: string
  11022. agreementid:
  11023. description: 协议ID
  11024. type: integer
  11025. agreementname:
  11026. description: 协议名称
  11027. type: string
  11028. agreementno:
  11029. description: 协议编号
  11030. type: string
  11031. agreementtype:
  11032. description: 协议类型 - 1:注册 2:登录 3:交易
  11033. type: integer
  11034. agreementversion:
  11035. description: 协议版本号
  11036. type: integer
  11037. createtime:
  11038. description: 创建时间
  11039. type: string
  11040. goodscode:
  11041. description: 商品代码
  11042. type: string
  11043. goodsid:
  11044. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11045. type: integer
  11046. goodsname:
  11047. description: 商品名称
  11048. type: string
  11049. logid:
  11050. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  11051. type: integer
  11052. nodetype:
  11053. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11054. type: integer
  11055. signadressurl:
  11056. description: 签约文件地址
  11057. type: string
  11058. signtimestamp:
  11059. description: 签约状态时间戳
  11060. type: string
  11061. userid:
  11062. description: 客户ID
  11063. type: integer
  11064. username:
  11065. description: 客户名称
  11066. type: string
  11067. type: object
  11068. models.QhjCustomerSignStatus:
  11069. properties:
  11070. createtime:
  11071. description: 创建时间
  11072. type: string
  11073. goodscode:
  11074. description: 商品代码
  11075. type: string
  11076. goodsid:
  11077. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11078. type: integer
  11079. goodsname:
  11080. description: 商品名称
  11081. type: string
  11082. nodetype:
  11083. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  11084. type: integer
  11085. signtimestamp:
  11086. description: 签约状态时间戳
  11087. type: string
  11088. tradedate:
  11089. description: 创建交易日(yyyyMMdd)
  11090. type: string
  11091. updatetime:
  11092. description: 更新时间
  11093. type: string
  11094. userid:
  11095. description: 客户ID
  11096. type: integer
  11097. username:
  11098. description: 客户名称
  11099. type: string
  11100. type: object
  11101. models.QhjMgrAccountOutInApply:
  11102. properties:
  11103. accountcode:
  11104. description: 资金账号
  11105. type: string
  11106. accountname:
  11107. description: 用户名称(名称)
  11108. type: string
  11109. accountpwd:
  11110. description: 资金密码
  11111. type: string
  11112. accountticket:
  11113. description: 最新账户服务流水号
  11114. type: string
  11115. amount:
  11116. description: 金额
  11117. type: number
  11118. applyremark:
  11119. description: 申请备注
  11120. type: string
  11121. applystatus:
  11122. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败; 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22: 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  11123. type: integer
  11124. auditid:
  11125. description: 审核人
  11126. type: integer
  11127. audittime:
  11128. description: 审核时间
  11129. type: string
  11130. bank_apply_ticket:
  11131. description: 银行申请流水
  11132. type: string
  11133. bankaccountname:
  11134. description: 银行账户名
  11135. type: string
  11136. bankaccountno:
  11137. description: 银行卡号
  11138. type: string
  11139. bankid:
  11140. description: 银行编号
  11141. type: string
  11142. bankname:
  11143. description: 银行名称
  11144. type: string
  11145. bankticket:
  11146. description: 银行流水
  11147. type: string
  11148. branchbankid:
  11149. description: 银行支行号
  11150. type: string
  11151. branchbankname:
  11152. description: 银行支行名称
  11153. type: string
  11154. capamountout:
  11155. description: 出金(劣后本金) - 外部子账户
  11156. type: number
  11157. certificatephotourl:
  11158. description: 凭证地址
  11159. type: string
  11160. charge:
  11161. description: 手续费
  11162. type: number
  11163. checkerrorflag:
  11164. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  11165. type: integer
  11166. currency:
  11167. description: 币种
  11168. type: string
  11169. cusbankid:
  11170. description: 托管银行编号
  11171. type: string
  11172. exchticket:
  11173. description: 银行服务流水号
  11174. type: string
  11175. executetype:
  11176. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金'
  11177. type: integer
  11178. extendinfo:
  11179. description: 扩展信息
  11180. type: string
  11181. extoperateid:
  11182. description: 交易服务流水号
  11183. type: integer
  11184. infamount:
  11185. description: 劣后金额(自有)
  11186. type: number
  11187. logincode:
  11188. description: 登录账号(账号)
  11189. type: string
  11190. netaddr:
  11191. description: 调转网址
  11192. type: string
  11193. priamount:
  11194. description: 优先金额(授信)
  11195. type: number
  11196. reauditid:
  11197. description: 复审人
  11198. type: integer
  11199. reauditremark:
  11200. description: 复审备注
  11201. type: string
  11202. reaudittime:
  11203. description: 复审时间
  11204. type: string
  11205. relatedorderid:
  11206. description: 三方关联ID
  11207. type: string
  11208. remark:
  11209. description: 备注
  11210. type: string
  11211. remark2:
  11212. description: 备注(失败原因)
  11213. type: string
  11214. soucreamount:
  11215. description: 原始出入金金额
  11216. type: number
  11217. soucrecurrencyid:
  11218. description: 原始出入金币种
  11219. type: integer
  11220. tradedate:
  11221. description: 交易日(yyyyMMdd)
  11222. type: string
  11223. updatetime:
  11224. description: 更新时间(申请时间)
  11225. type: string
  11226. userid:
  11227. description: 用户id
  11228. type: integer
  11229. userinfotype:
  11230. description: 账户类型 1-个人 2-企业
  11231. type: integer
  11232. type: object
  11233. models.QhjMgrBrokerApply:
  11234. properties:
  11235. applicantid:
  11236. description: 申请人
  11237. type: integer
  11238. applysrc:
  11239. description: 申请来源 - 1:管理端 2:终端
  11240. type: integer
  11241. applystatus:
  11242. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  11243. type: integer
  11244. applytime:
  11245. description: 申请时间
  11246. type: string
  11247. auditorid:
  11248. description: 审核人
  11249. type: integer
  11250. auditremark:
  11251. description: 审核备注
  11252. type: string
  11253. auditsrc:
  11254. description: 审核来源 - 1:管理端 2:终端
  11255. type: integer
  11256. audittime:
  11257. description: 审核时间
  11258. type: string
  11259. audittradedate:
  11260. description: 审核交易日(yyyyMMdd)
  11261. type: string
  11262. brokerapplyid:
  11263. description: 申请ID(SEQ_BROKERAPPLY)
  11264. type: integer
  11265. cardbackphotourl:
  11266. description: 证件背面图片地址
  11267. type: string
  11268. cardfrontphotourl:
  11269. description: 证件正面图片地址
  11270. type: string
  11271. cardnum:
  11272. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  11273. type: string
  11274. customername:
  11275. description: 姓名
  11276. type: string
  11277. filterstatus:
  11278. description: 筛选条件
  11279. type: string
  11280. logincode:
  11281. description: 登录代码
  11282. type: string
  11283. mobile:
  11284. description: 手机号码
  11285. type: string
  11286. parentuserid:
  11287. description: 所属机构id
  11288. type: integer
  11289. parentusername:
  11290. description: 所属机构名称
  11291. type: string
  11292. refereeuserid:
  11293. description: 推荐人id(经纪人)
  11294. type: integer
  11295. refernum:
  11296. description: 推荐码
  11297. type: string
  11298. remark:
  11299. description: 备注
  11300. type: string
  11301. subarealevelpath:
  11302. description: 层级路径
  11303. type: string
  11304. tradedate:
  11305. description: 交易日(yyyyMMdd)
  11306. type: string
  11307. userid:
  11308. description: 申请人用户ID
  11309. type: integer
  11310. userinfotype:
  11311. description: 用户类型 1-个人 2-企业
  11312. type: integer
  11313. username:
  11314. description: 用户名称
  11315. type: string
  11316. type: object
  11317. models.QhjMgrBrokerRewardReport:
  11318. properties:
  11319. createtime:
  11320. description: 创建时间(注册时间)
  11321. type: string
  11322. cycletime:
  11323. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  11324. type: string
  11325. cycletype:
  11326. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  11327. type: integer
  11328. directtotalnum:
  11329. description: 直推总人数【期末】
  11330. type: integer
  11331. indirecttotalnum:
  11332. description: 间推总人数【期末】
  11333. type: integer
  11334. mobile:
  11335. description: 电话号码
  11336. type: string
  11337. refereeuserid:
  11338. description: 推荐人id(经纪人id)
  11339. type: integer
  11340. refereeusername:
  11341. description: 推荐人名称(经纪人) 上级经纪人名称
  11342. type: string
  11343. refernum:
  11344. description: 推荐码
  11345. type: string
  11346. subarealevelpath:
  11347. description: 用户层级路径
  11348. type: string
  11349. todayrewardamount:
  11350. description: 奖励总金额【汇总】
  11351. type: number
  11352. updatetime:
  11353. description: 更新时间
  11354. type: string
  11355. userid:
  11356. description: 经纪人用户ID
  11357. type: integer
  11358. userinfotype:
  11359. description: 用户类型 1-个人 2-企业
  11360. type: integer
  11361. username:
  11362. description: 用户名称
  11363. type: string
  11364. type: object
  11365. models.QhjMgrContract:
  11366. properties:
  11367. contractconfirmtime:
  11368. description: 合同确认时间(时间)
  11369. type: string
  11370. currisklevel:
  11371. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  11372. type: integer
  11373. decimalplace:
  11374. description: 商品报价小数位
  11375. type: integer
  11376. enumdicname:
  11377. description: 单位名称
  11378. type: string
  11379. goodscode:
  11380. description: 商品代码
  11381. type: string
  11382. goodsid:
  11383. description: 商品ID [5:融资单]
  11384. type: integer
  11385. goodsname:
  11386. description: 商品名称
  11387. type: string
  11388. goodunitid:
  11389. description: 商品单位id
  11390. type: integer
  11391. initmargin:
  11392. description: 初始保证金(首付款)
  11393. type: number
  11394. lenderamount:
  11395. description: 贷款金额(总额|订单总额)
  11396. type: number
  11397. logincode:
  11398. description: 账号(登录代码)
  11399. type: string
  11400. marginratio:
  11401. description: 保证金比率(首付比例)
  11402. type: number
  11403. mobile:
  11404. description: 电话号码(用户资料里的电话)
  11405. type: string
  11406. payamount:
  11407. description: 已付(已付货款)
  11408. type: number
  11409. reckonrecovermargin:
  11410. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  11411. type: number
  11412. recoveredmargin:
  11413. description: 已追缴保证金
  11414. type: number
  11415. remainamount:
  11416. description: 合同剩余金额(融资额)
  11417. type: number
  11418. scfcontractid:
  11419. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  11420. type: string
  11421. scfcontractstatus:
  11422. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  11423. type: integer
  11424. scfcontracttype:
  11425. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  11426. type: integer
  11427. totalinterest:
  11428. description: 已计总利息(利息)
  11429. type: number
  11430. tradedate:
  11431. description: 交易日
  11432. type: string
  11433. tradeprice:
  11434. description: 成交价格(成本价格)
  11435. type: number
  11436. userid:
  11437. description: 用户ID
  11438. type: integer
  11439. userinfotype:
  11440. description: 用户类型 1-个人 2-企业
  11441. type: integer
  11442. username:
  11443. description: 用户名称
  11444. type: string
  11445. wrqty:
  11446. description: 仓单数量(数量)
  11447. type: number
  11448. type: object
  11449. models.QhjMgrCustomer:
  11450. properties:
  11451. address:
  11452. description: 通讯地址
  11453. type: string
  11454. attachment1:
  11455. description: 附件1
  11456. type: string
  11457. audittime:
  11458. description: 审核时间
  11459. type: string
  11460. birthday:
  11461. description: 生日
  11462. type: string
  11463. brokerid:
  11464. description: 所属客户经理id
  11465. type: integer
  11466. brokername:
  11467. description: 所属客户经理名称
  11468. type: string
  11469. cardbackphotourl:
  11470. description: 证件反面图片地址
  11471. type: string
  11472. cardfrontphotourl:
  11473. description: 证件正面图片地址
  11474. type: string
  11475. cardnum:
  11476. description: 证件号码
  11477. type: string
  11478. cardtype:
  11479. description: 证件类型
  11480. type: integer
  11481. cardtypename:
  11482. description: 证件类型名称
  11483. type: string
  11484. cityid:
  11485. description: 市
  11486. type: integer
  11487. cityname:
  11488. description: 城市名称
  11489. type: string
  11490. contactname:
  11491. description: 联系人
  11492. type: string
  11493. countryid:
  11494. description: 国家
  11495. type: integer
  11496. countryname:
  11497. description: 国家名称
  11498. type: string
  11499. createtime:
  11500. description: 创建时间
  11501. type: string
  11502. customername:
  11503. description: 客户名称
  11504. type: string
  11505. districtid:
  11506. description: 区域
  11507. type: integer
  11508. districtname:
  11509. description: 地区名称
  11510. type: string
  11511. email:
  11512. description: 邮件
  11513. type: string
  11514. legalpersonname:
  11515. description: 法人姓名(企业)
  11516. type: string
  11517. logincode:
  11518. description: 登录账号(代码)
  11519. type: string
  11520. memberuserid:
  11521. description: 所属机构ID(所属会员)
  11522. type: integer
  11523. memberusername:
  11524. description: 所属会员名称
  11525. type: string
  11526. mobile:
  11527. description: 手机号码
  11528. type: string
  11529. modifytime:
  11530. description: 修改时间
  11531. type: string
  11532. nickname:
  11533. description: 昵称
  11534. type: string
  11535. parentuserid:
  11536. description: 上级机构(所属机构)
  11537. type: integer
  11538. parentusername:
  11539. description: 所属机构名称
  11540. type: string
  11541. provinceid:
  11542. description: 省
  11543. type: integer
  11544. provincename:
  11545. description: 省名称
  11546. type: string
  11547. proxystatementurl:
  11548. description: 授权委托书
  11549. type: string
  11550. querytype:
  11551. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  11552. type: integer
  11553. remark:
  11554. description: 备注
  11555. type: string
  11556. sex:
  11557. description: 性别 0-女 1-男
  11558. type: integer
  11559. status:
  11560. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  11561. type: integer
  11562. statusdesc:
  11563. description: 账户状态中文描述
  11564. type: string
  11565. taxpayernum:
  11566. description: 纳税人识别号
  11567. type: string
  11568. telphone:
  11569. description: 联系电话
  11570. type: string
  11571. userid:
  11572. description: 用户ID
  11573. type: integer
  11574. userinfotype:
  11575. description: 客户类型 1-个人 2-企业
  11576. type: integer
  11577. username:
  11578. description: 用户名称
  11579. type: string
  11580. type: object
  11581. models.QhjMgrPickGoods:
  11582. properties:
  11583. enumdicname:
  11584. description: 单位名称(提货商品)
  11585. type: string
  11586. goodsid:
  11587. description: 商品id
  11588. type: integer
  11589. imageaddress:
  11590. description: 图片
  11591. type: string
  11592. modifierid:
  11593. description: 修改人
  11594. type: integer
  11595. modifiername:
  11596. description: 修改人名称
  11597. type: string
  11598. modifysrc:
  11599. description: 修改来源 - 1:管理端 2:终端
  11600. type: integer
  11601. pickupgoodsagreeunit:
  11602. description: 合约乘数
  11603. type: number
  11604. pickupgoodsdesc:
  11605. description: 描述
  11606. type: string
  11607. pickupgoodsid:
  11608. description: 提货商品ID
  11609. type: string
  11610. pickupgoodsname:
  11611. description: 提货商品名称
  11612. type: string
  11613. pickupgoodsstatus:
  11614. description: 状态 - 1:正常 2:停用 3:注销
  11615. type: integer
  11616. pickupgoodsunitid:
  11617. description: 单位ID
  11618. type: integer
  11619. pickupratio:
  11620. description: 提货系数
  11621. type: number
  11622. preparedays:
  11623. description: 备货期(天)
  11624. type: integer
  11625. remark:
  11626. description: 备注
  11627. type: string
  11628. updatetime:
  11629. description: 更新时间
  11630. type: string
  11631. type: object
  11632. models.QhjMgrPositionRsp:
  11633. properties:
  11634. accountid:
  11635. description: 账号Id
  11636. type: integer
  11637. accountname:
  11638. description: 用户名称
  11639. type: string
  11640. agreeunit:
  11641. description: 合约乘数
  11642. type: number
  11643. averageprice:
  11644. description: 均价
  11645. type: number
  11646. avialqty:
  11647. description: 可用数量
  11648. type: number
  11649. decimalplace:
  11650. description: 报价小数位
  11651. type: integer
  11652. enumdicname:
  11653. description: 单位名称(商品)
  11654. type: string
  11655. frozenqty:
  11656. description: 冻结数量
  11657. type: number
  11658. goodscode:
  11659. description: 商品代码(内部)
  11660. type: string
  11661. goodsid:
  11662. description: 商品Id
  11663. type: integer
  11664. goodsname:
  11665. description: 商品名称
  11666. type: string
  11667. goodunitid:
  11668. description: 报价单位ID
  11669. type: integer
  11670. holderamount:
  11671. description: 金额
  11672. type: number
  11673. holderqty:
  11674. description: 持有数量
  11675. type: number
  11676. holdertype:
  11677. description: 持仓类别 - 1:单边持仓 2:双边持仓
  11678. type: integer
  11679. logincode:
  11680. description: 登录代码(账户)
  11681. type: string
  11682. marketid:
  11683. description: 市场id
  11684. type: integer
  11685. qtydecimalplace:
  11686. description: 成交量小数位
  11687. type: integer
  11688. trademode:
  11689. description: 交易模式
  11690. type: integer
  11691. userid:
  11692. description: 用户id
  11693. type: integer
  11694. userinfotype:
  11695. description: 账户类型 1-个人 2-企业
  11696. type: integer
  11697. type: object
  11698. models.QhjMgrSubArea:
  11699. properties:
  11700. accountname:
  11701. description: 账户名称(机构名称)
  11702. type: string
  11703. memberuserid:
  11704. description: 所属会员ID
  11705. type: integer
  11706. parenttopuser:
  11707. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  11708. type: string
  11709. parentuserid:
  11710. description: 所属机构ID
  11711. type: integer
  11712. rootuserid:
  11713. description: 根用户ID
  11714. type: string
  11715. subaccountlevel:
  11716. description: 子账户层数
  11717. type: integer
  11718. subarealevelpath:
  11719. description: 子机构层级路径(逗号分隔,首尾加逗号)
  11720. type: string
  11721. userid:
  11722. description: 用户ID
  11723. type: integer
  11724. usertype:
  11725. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11726. type: integer
  11727. type: object
  11728. models.QhjMgrTradeDetailRsp:
  11729. properties:
  11730. accountid:
  11731. description: 资金账号
  11732. type: integer
  11733. accountname:
  11734. description: 用户名称
  11735. type: string
  11736. agreeunit:
  11737. description: 合约乘数
  11738. type: number
  11739. buyorsell:
  11740. description: 成交类型(方向) 0:买 1:卖
  11741. type: integer
  11742. decimalplace:
  11743. description: 报价小数位
  11744. type: integer
  11745. enumdicname:
  11746. description: 单位名称(商品)
  11747. type: string
  11748. goodscode:
  11749. description: 商品代码(内部)
  11750. type: string
  11751. goodsid:
  11752. description: 商品id
  11753. type: integer
  11754. goodsname:
  11755. description: 商品名称
  11756. type: string
  11757. goodunitid:
  11758. description: 报价单位ID
  11759. type: integer
  11760. logincode:
  11761. description: 登录代码(账户)
  11762. type: string
  11763. marketid:
  11764. description: 市场id
  11765. type: integer
  11766. orderid:
  11767. description: 关联委托单号
  11768. type: string
  11769. qtydecimalplace:
  11770. description: 成交量小数位
  11771. type: integer
  11772. tradeamount:
  11773. description: 金额
  11774. type: number
  11775. tradedate:
  11776. description: 交易日
  11777. type: string
  11778. tradeid:
  11779. description: 成交单号
  11780. type: string
  11781. trademode:
  11782. description: 交易模式
  11783. type: integer
  11784. tradeprice:
  11785. description: 价格
  11786. type: number
  11787. tradeqty:
  11788. description: 数量
  11789. type: number
  11790. tradetime:
  11791. description: 成交时间
  11792. type: string
  11793. userid:
  11794. description: 用户id
  11795. type: integer
  11796. userinfotype:
  11797. description: 账户类型 1-个人 2-企业
  11798. type: integer
  11799. type: object
  11800. models.QhjMgrTradeOrderDetailRsp:
  11801. properties:
  11802. accountid:
  11803. description: 资金账号
  11804. type: integer
  11805. accountname:
  11806. description: 用户名称
  11807. type: string
  11808. agreeunit:
  11809. description: 合约乘数
  11810. type: number
  11811. amount:
  11812. description: 金额
  11813. type: number
  11814. decimalplace:
  11815. description: 报价小数位
  11816. type: integer
  11817. enumdicname:
  11818. description: 单位名称(商品)
  11819. type: string
  11820. goodscode:
  11821. description: 商品代码(内部)
  11822. type: string
  11823. goodsid:
  11824. description: 商品id
  11825. type: integer
  11826. goodsname:
  11827. description: 商品名称
  11828. type: string
  11829. goodunitid:
  11830. description: 报价单位ID
  11831. type: integer
  11832. logincode:
  11833. description: 登录代码(账户)
  11834. type: string
  11835. marketid:
  11836. description: 市场id
  11837. type: integer
  11838. orderid:
  11839. description: 关联委托单号
  11840. type: string
  11841. orderprice:
  11842. description: 价格
  11843. type: number
  11844. orderqty:
  11845. description: 数量
  11846. type: number
  11847. orderstatus:
  11848. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  11849. type: integer
  11850. ordertime:
  11851. description: 委托时间
  11852. type: string
  11853. qtydecimalplace:
  11854. description: 成交量小数位
  11855. type: integer
  11856. tradedate:
  11857. description: 交易日
  11858. type: string
  11859. trademode:
  11860. description: 交易模式
  11861. type: integer
  11862. userid:
  11863. description: 用户id
  11864. type: integer
  11865. userinfotype:
  11866. description: 账户类型 1-个人 2-企业
  11867. type: integer
  11868. type: object
  11869. models.QhjMgrTradePayOrder:
  11870. properties:
  11871. accountname:
  11872. description: 用户名称
  11873. type: string
  11874. advanceratio:
  11875. description: 首付比率
  11876. type: number
  11877. agreeunit:
  11878. description: 合约乘数
  11879. type: number
  11880. buyaccountid:
  11881. description: 买方账号ID[报价币种]
  11882. type: integer
  11883. buyorderid:
  11884. description: 买方委托单号(关联单号)
  11885. type: string
  11886. createtime:
  11887. description: 创建时间
  11888. type: string
  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. offamount:
  11914. description: 优惠金额
  11915. type: number
  11916. operatetype:
  11917. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11918. type: integer
  11919. payamount:
  11920. description: 支付金额(金额)
  11921. type: number
  11922. payflag:
  11923. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11924. type: integer
  11925. paylimitedtime:
  11926. description: 支付期限
  11927. type: string
  11928. paytime:
  11929. description: 付款时间
  11930. type: string
  11931. qtydecimalplace:
  11932. description: 成交量小数位
  11933. type: integer
  11934. sellaccountid:
  11935. description: 卖方账号ID[报价币种]
  11936. type: integer
  11937. sellorderid:
  11938. description: 卖方委托单号
  11939. type: string
  11940. tradeamount:
  11941. description: 成交金额(优惠后金额)
  11942. type: number
  11943. tradecharge:
  11944. description: 成交手续费(买方)
  11945. type: number
  11946. tradedate:
  11947. description: 交易日(yyyyMMdd)
  11948. type: string
  11949. tradeid:
  11950. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11951. type: string
  11952. trademode:
  11953. description: 交易模式
  11954. type: integer
  11955. tradeprice:
  11956. description: 成交价格(价格)
  11957. type: number
  11958. tradeqty:
  11959. description: 成交数量(数量)
  11960. type: number
  11961. tradetime:
  11962. description: 成交时间
  11963. type: string
  11964. userid:
  11965. description: 用户id
  11966. type: integer
  11967. userinfotype:
  11968. description: 账户类型 1-个人 2-企业
  11969. type: integer
  11970. type: object
  11971. models.QhjMyTeamEx:
  11972. properties:
  11973. accountname:
  11974. description: 用户名称
  11975. type: string
  11976. accountstatus:
  11977. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  11978. type: integer
  11979. createtime:
  11980. description: 创建时间
  11981. type: string
  11982. mobile:
  11983. description: 手机号码
  11984. type: string
  11985. refereeuserid:
  11986. description: 推荐人id
  11987. type: integer
  11988. refernum:
  11989. description: 推荐码
  11990. type: string
  11991. subList:
  11992. items:
  11993. $ref: '#/definitions/models.QhjMyTeamEx'
  11994. type: array
  11995. userid:
  11996. description: 用户id
  11997. type: integer
  11998. userinfotype:
  11999. description: 用户类型 1-个人 2-企业
  12000. type: integer
  12001. type: object
  12002. models.QhjNodeAgreementConfig:
  12003. properties:
  12004. agreementcontent:
  12005. description: 协议内容
  12006. type: string
  12007. agreementid:
  12008. description: 协议ID
  12009. type: integer
  12010. agreementname:
  12011. description: 协议名称
  12012. type: string
  12013. agreementno:
  12014. description: 协议编号
  12015. type: string
  12016. agreementtype:
  12017. description: 协议类型 - 1:注册 2:登录 3:交易
  12018. type: integer
  12019. agreementversion:
  12020. description: 协议版本号
  12021. type: integer
  12022. configid:
  12023. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12024. type: integer
  12025. createtime:
  12026. description: 创建时间
  12027. type: string
  12028. goodsid:
  12029. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12030. type: integer
  12031. nodetype:
  12032. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12033. type: integer
  12034. type: object
  12035. models.QhjParentAreaList:
  12036. properties:
  12037. accountname:
  12038. description: 账户名称(机构名称)
  12039. type: string
  12040. userid:
  12041. description: 用户ID
  12042. type: integer
  12043. usertype:
  12044. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12045. type: integer
  12046. type: object
  12047. models.QhjPayOrder:
  12048. properties:
  12049. advanceratio:
  12050. description: 首付比率
  12051. type: number
  12052. buyaccountid:
  12053. description: 买方账号ID[报价币种]
  12054. type: integer
  12055. buyorderid:
  12056. description: 买方委托单号
  12057. type: string
  12058. createtime:
  12059. description: 创建时间
  12060. type: string
  12061. decimalplace:
  12062. description: 商品报价小数位
  12063. type: integer
  12064. enumdicname:
  12065. description: 单位名称
  12066. type: string
  12067. goodscode:
  12068. description: 商品代码
  12069. type: string
  12070. goodsid:
  12071. description: 商品ID
  12072. type: integer
  12073. goodsname:
  12074. description: 商品名称
  12075. type: string
  12076. goodunitid:
  12077. description: 商品单位id
  12078. type: integer
  12079. marketid:
  12080. description: 市场ID
  12081. type: integer
  12082. offamount:
  12083. description: 优惠金额
  12084. type: number
  12085. operatetype:
  12086. description: 买委托操作类型 - 1:正常下单 16:融资买入
  12087. type: integer
  12088. payamount:
  12089. description: 支付金额
  12090. type: number
  12091. payflag:
  12092. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12093. type: integer
  12094. paylimitedtime:
  12095. description: 支付期限
  12096. type: string
  12097. paytime:
  12098. description: 付款时间
  12099. type: string
  12100. qtydecimalplace:
  12101. description: 成交量小数位
  12102. type: integer
  12103. sellaccountid:
  12104. description: 卖方账号ID[报价币种]
  12105. type: integer
  12106. sellorderid:
  12107. description: 卖方委托单号
  12108. type: string
  12109. tradeamount:
  12110. description: 成交金额(优惠后金额)
  12111. type: number
  12112. tradecharge:
  12113. description: 成交手续费(买方)
  12114. type: number
  12115. tradedate:
  12116. description: 交易日(yyyyMMdd)
  12117. type: string
  12118. tradeid:
  12119. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12120. type: string
  12121. tradeprice:
  12122. description: 成交价格
  12123. type: number
  12124. tradeqty:
  12125. description: 成交数量
  12126. type: number
  12127. type: object
  12128. models.QhjPickArea:
  12129. properties:
  12130. address:
  12131. description: 详细地址
  12132. type: string
  12133. cityid:
  12134. description: 市
  12135. type: integer
  12136. cityname:
  12137. description: 城市名称
  12138. type: string
  12139. countryid:
  12140. description: 国家
  12141. type: integer
  12142. countryname:
  12143. description: 国家名称
  12144. type: string
  12145. districtid:
  12146. description: 地区
  12147. type: integer
  12148. districtname:
  12149. description: 地区名称
  12150. type: string
  12151. fromuserid:
  12152. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  12153. type: integer
  12154. fromusername:
  12155. description: 所属机构名称
  12156. type: string
  12157. provinceid:
  12158. description: 省
  12159. type: integer
  12160. provincename:
  12161. description: 省名称
  12162. type: string
  12163. suborgtype:
  12164. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  12165. type: integer
  12166. userid:
  12167. description: 机构用户ID 其他做市关系,都设置为 1
  12168. type: integer
  12169. username:
  12170. description: 机构用户名称(门店门称)
  12171. type: string
  12172. type: object
  12173. models.QhjPickGoods:
  12174. properties:
  12175. enumdicname:
  12176. description: 单位名称(提货商品)
  12177. type: string
  12178. goodsid:
  12179. description: 商品id
  12180. type: integer
  12181. imageaddress:
  12182. description: 图片
  12183. type: string
  12184. modifierid:
  12185. description: 修改人
  12186. type: integer
  12187. modifiername:
  12188. description: 修改人名称
  12189. type: string
  12190. modifysrc:
  12191. description: 修改来源 - 1:管理端 2:终端
  12192. type: integer
  12193. pickupgoodsagreeunit:
  12194. description: 合约乘数
  12195. type: number
  12196. pickupgoodsdesc:
  12197. description: 描述
  12198. type: string
  12199. pickupgoodsid:
  12200. description: 提货商品ID
  12201. type: string
  12202. pickupgoodsname:
  12203. description: 提货商品名称
  12204. type: string
  12205. pickupgoodsstatus:
  12206. description: 状态 - 1:正常 2:停用 3:注销
  12207. type: integer
  12208. pickupgoodsunitid:
  12209. description: 单位ID
  12210. type: integer
  12211. pickupratio:
  12212. description: 提货系数
  12213. type: number
  12214. preparedays:
  12215. description: 备货期(天)
  12216. type: integer
  12217. remark:
  12218. description: 备注
  12219. type: string
  12220. updatetime:
  12221. description: 更新时间
  12222. type: string
  12223. type: object
  12224. models.QhjRSTriggerLog:
  12225. properties:
  12226. accountid:
  12227. description: 用户资金账户
  12228. type: integer
  12229. accountname:
  12230. description: 账号名称(ACCOUNTID对应的名称)
  12231. type: string
  12232. currencyid:
  12233. description: 币种id
  12234. type: integer
  12235. currencyname:
  12236. description: 币种名称
  12237. type: string
  12238. decimalplace:
  12239. description: 商品报价小数位
  12240. type: integer
  12241. enumdicname:
  12242. description: 单位名称
  12243. type: string
  12244. goodscode:
  12245. description: 定投商品代码
  12246. type: string
  12247. goodsid:
  12248. description: 定投商品ID
  12249. type: integer
  12250. goodsname:
  12251. description: 定投商品名称
  12252. type: string
  12253. goodunitid:
  12254. description: 定投商品单位id
  12255. type: integer
  12256. logid:
  12257. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  12258. type: string
  12259. logincode:
  12260. description: 账号(登录代码)
  12261. type: string
  12262. qtydecimalplace:
  12263. description: 成交量小数位
  12264. type: integer
  12265. regularlycycle:
  12266. description: 定投频率 - 1:每周 2:每月
  12267. type: integer
  12268. regularlycyclevalue:
  12269. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12270. type: string
  12271. regularlymode:
  12272. description: 定投方式 - 1:按数量 2:按金额
  12273. type: integer
  12274. regularlymodevalue:
  12275. description: 定投方式值 - 数量或金额
  12276. type: number
  12277. regularlystrategyid:
  12278. description: 定投策略ID
  12279. type: integer
  12280. retcode:
  12281. description: 错误码
  12282. type: string
  12283. tradeid:
  12284. description: 成交单ID
  12285. type: string
  12286. triggeramount:
  12287. description: 触发金额
  12288. type: number
  12289. triggerqty:
  12290. description: 触发数量
  12291. type: number
  12292. triggerstatus:
  12293. description: 触发状态 - 1:成功 2:失败
  12294. type: integer
  12295. triggertime:
  12296. description: 触发时间
  12297. type: string
  12298. triggertradedate:
  12299. description: 触发交易日
  12300. type: string
  12301. userid:
  12302. description: 所属用户ID
  12303. type: integer
  12304. userinfotype:
  12305. description: 用户类型 1-个人 2-企业
  12306. type: integer
  12307. username:
  12308. description: 用户名称(userid对应的名称)
  12309. type: string
  12310. type: object
  12311. models.QhjRStrategy:
  12312. properties:
  12313. accountid:
  12314. description: 用户资金账户
  12315. type: integer
  12316. accountname:
  12317. description: 账号名称(ACCOUNTID对应的名称)
  12318. type: string
  12319. currencyid:
  12320. description: 币种id
  12321. type: integer
  12322. currencyname:
  12323. description: 币种名称
  12324. type: string
  12325. decimalplace:
  12326. description: 商品报价小数位
  12327. type: integer
  12328. enumdicname:
  12329. description: 单位名称
  12330. type: string
  12331. goodscode:
  12332. description: 定投商品代码
  12333. type: string
  12334. goodsid:
  12335. description: 定投商品ID
  12336. type: integer
  12337. goodsname:
  12338. description: 定投商品名称
  12339. type: string
  12340. goodunitid:
  12341. description: 定投商品单位id
  12342. type: integer
  12343. lasteffecttradedate:
  12344. description: 最新生效交易日
  12345. type: string
  12346. laststoptradedate:
  12347. description: 最新暂停交易日
  12348. type: string
  12349. lasttriggertradedate:
  12350. description: 最新触发交易日
  12351. type: string
  12352. logincode:
  12353. description: 账号(登录代码)
  12354. type: string
  12355. nexttriggeramount:
  12356. description: 下次触发金额
  12357. type: number
  12358. nexttriggerdate:
  12359. description: 下次触发日期
  12360. type: string
  12361. nexttriggerqty:
  12362. description: 下次触发数量 [按小数位放大值]
  12363. type: number
  12364. qtydecimalplace:
  12365. description: 成交量小数位
  12366. type: integer
  12367. regularlycycle:
  12368. description: 定投频率 - 1:每周 2:每月
  12369. type: integer
  12370. regularlycyclevalue:
  12371. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12372. type: string
  12373. regularlymode:
  12374. description: 定投方式 - 1:按数量 2:按金额
  12375. type: integer
  12376. regularlymodevalue:
  12377. description: 定投方式值 - 数量或金额
  12378. type: number
  12379. regularlystrategyid:
  12380. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  12381. type: integer
  12382. regularlystrategystatus:
  12383. description: 策略状态 - 1:正常 2:暂停 3:终止
  12384. type: integer
  12385. remark:
  12386. description: 备注
  12387. type: string
  12388. triggersuccesstimes:
  12389. description: 累计定投成功次数
  12390. type: string
  12391. triggertotalamount:
  12392. description: 累计定投金额(成功)
  12393. type: number
  12394. triggertotalqty:
  12395. description: 累计定投数量(成功) [按小数位放大值]
  12396. type: number
  12397. triggertotaltimes:
  12398. description: 累计定投总次数
  12399. type: string
  12400. updatesrc:
  12401. description: 更新来源 - 1:管理端 2:终端
  12402. type: integer
  12403. updatetime:
  12404. description: 更新时间
  12405. type: string
  12406. updatorid:
  12407. description: 更新人
  12408. type: string
  12409. userid:
  12410. description: 所属用户ID
  12411. type: integer
  12412. userinfotype:
  12413. description: 用户类型 1-个人 2-企业
  12414. type: integer
  12415. username:
  12416. description: 用户名称(userid对应的名称)
  12417. type: string
  12418. type: object
  12419. models.QhjReckonPriceLog:
  12420. properties:
  12421. decimalplace:
  12422. description: 商品报价小数位
  12423. type: integer
  12424. goodscode:
  12425. description: 商品代码
  12426. type: string
  12427. goodsid:
  12428. description: 商品ID
  12429. type: integer
  12430. goodsname:
  12431. description: 商品名称
  12432. type: string
  12433. lastreckonprice:
  12434. description: 上日结算价
  12435. type: number
  12436. nextdnlimitprice:
  12437. description: 下个交易日跌停价
  12438. type: number
  12439. nexttrade:
  12440. description: 下个交易日
  12441. type: string
  12442. nextuplimitprice:
  12443. description: 下个交易日涨停价
  12444. type: number
  12445. reckonprice:
  12446. description: 今日结算价(定投价)
  12447. type: number
  12448. reckontime:
  12449. description: 结算时间
  12450. type: string
  12451. totalholderqty:
  12452. description: 总持仓数
  12453. type: integer
  12454. totalstock:
  12455. description: 总库存
  12456. type: integer
  12457. tradedate:
  12458. description: 交易日
  12459. type: string
  12460. updowncount:
  12461. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  12462. type: integer
  12463. updownflag:
  12464. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  12465. type: integer
  12466. updownrate:
  12467. description: 今日涨跌幅
  12468. type: number
  12469. updownrate_2d:
  12470. description: 连续两日涨跌幅
  12471. type: number
  12472. updownrate_3d:
  12473. description: 连续三日涨跌幅
  12474. type: number
  12475. type: object
  12476. models.QhjScoreLog:
  12477. properties:
  12478. accountid:
  12479. description: 账户ID
  12480. type: integer
  12481. createtime:
  12482. description: 创建时间(时间)
  12483. type: string
  12484. goodsid:
  12485. description: 商品ID
  12486. type: integer
  12487. hasuploaded:
  12488. description: 是否已同步(千海金) 0:未同步 1;已同步
  12489. type: integer
  12490. logid:
  12491. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12492. type: string
  12493. marketid:
  12494. description: 市场ID
  12495. type: integer
  12496. relatedamount:
  12497. description: 关联金额
  12498. type: number
  12499. relatedorderid:
  12500. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  12501. type: string
  12502. scoreconfigvalue1:
  12503. description: 积分配置1
  12504. type: integer
  12505. scoreconfigvalue2:
  12506. description: 积分配置1
  12507. type: integer
  12508. scoretype:
  12509. description: 积分类型 - 1:提货积分
  12510. type: integer
  12511. scorevalue:
  12512. description: 积分
  12513. type: number
  12514. tradedate:
  12515. description: 交易日(yyyyMMdd)
  12516. type: string
  12517. uploadedtime:
  12518. description: 同步时间
  12519. type: string
  12520. userid:
  12521. description: 用户ID
  12522. type: integer
  12523. type: object
  12524. models.QhjSiteColumnDetail:
  12525. properties:
  12526. author:
  12527. description: 作者
  12528. type: string
  12529. brief:
  12530. description: 简介
  12531. type: string
  12532. columnid:
  12533. description: 所属栏目
  12534. type: integer
  12535. context:
  12536. description: 内容
  12537. type: string
  12538. coverimage:
  12539. description: 封面图片
  12540. type: string
  12541. creaedate:
  12542. description: 创建时间
  12543. type: string
  12544. creatorid:
  12545. description: 创建人
  12546. type: integer
  12547. hits:
  12548. description: 点击数
  12549. type: integer
  12550. id:
  12551. description: ID(SEQ_SITE_COLUMNDETAIL)
  12552. type: integer
  12553. isshow:
  12554. description: 是否展示 - 0:不展示 1:展示
  12555. type: integer
  12556. istop:
  12557. description: 是否置顶 - 0:不置 1:置顶
  12558. type: integer
  12559. modifierid:
  12560. description: 操作人
  12561. type: integer
  12562. publishdate:
  12563. description: 发布日期
  12564. type: string
  12565. status:
  12566. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  12567. type: integer
  12568. title:
  12569. description: 标题
  12570. type: string
  12571. updatedate:
  12572. description: 修改时间
  12573. type: string
  12574. userid:
  12575. description: 用户ID(默认为0, 核心为为机构用户ID)
  12576. type: integer
  12577. username:
  12578. description: 用户名称
  12579. type: string
  12580. type: object
  12581. models.QhjTeamOrder:
  12582. properties:
  12583. accountid:
  12584. description: 账户ID[报价币种]
  12585. type: integer
  12586. accountname:
  12587. description: 账户名称
  12588. type: string
  12589. agreeunit:
  12590. description: 合约乘数
  12591. type: number
  12592. buyorsell:
  12593. description: 方向 - 0:买 1:卖
  12594. type: integer
  12595. decimalplace:
  12596. description: 报价小数位
  12597. type: integer
  12598. enumdicname:
  12599. description: 单位名称
  12600. type: string
  12601. goodscode:
  12602. description: 商品代码(内部)
  12603. type: string
  12604. goodsid:
  12605. description: 商品ID
  12606. type: integer
  12607. goodsname:
  12608. description: 商品名称
  12609. type: string
  12610. goodunitid:
  12611. description: 报价单位ID
  12612. type: integer
  12613. marketid:
  12614. description: 市场ID
  12615. type: integer
  12616. marketname:
  12617. description: 市场名称
  12618. type: string
  12619. qtydecimalplace:
  12620. description: 成交量小数位
  12621. type: integer
  12622. refereeuserid:
  12623. description: 推荐人ID
  12624. type: integer
  12625. tradeamount:
  12626. description: 成交金额[账户币种,用于所有权]
  12627. type: number
  12628. tradedate:
  12629. description: 交易日(yyyyMMdd)
  12630. type: string
  12631. trademode:
  12632. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  12633. type: integer
  12634. tradeprice:
  12635. description: 成交价格
  12636. type: number
  12637. tradeqty:
  12638. description: 成交数量
  12639. type: number
  12640. tradetime:
  12641. description: 成交时间
  12642. type: string
  12643. userid:
  12644. description: 用户ID
  12645. type: integer
  12646. type: object
  12647. models.QhjTradeGoodsPickup:
  12648. properties:
  12649. accountid:
  12650. description: 账户ID
  12651. type: integer
  12652. address:
  12653. description: 提货人详细地址
  12654. type: string
  12655. amount:
  12656. description: 提货金额
  12657. type: number
  12658. artradedate:
  12659. description: 自动收货交易日(yyyyMMdd)
  12660. type: string
  12661. auditer:
  12662. description: 审核人
  12663. type: integer
  12664. auditsrc:
  12665. description: 更新来源 - 1:管理端 2:终端
  12666. type: integer
  12667. audittime:
  12668. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  12669. type: string
  12670. audittradedate:
  12671. description: 审核交易日(yyyyMMdd)
  12672. type: string
  12673. cardnum:
  12674. description: 提货人证件号码
  12675. type: string
  12676. cardtypeid:
  12677. description: 提货人证件类型
  12678. type: integer
  12679. checkremark:
  12680. description: 审核备注
  12681. type: string
  12682. cityid:
  12683. description: 市
  12684. type: integer
  12685. cityname:
  12686. description: 城市名称
  12687. type: string
  12688. confirmtime:
  12689. description: 取货时间 或 收货时间
  12690. type: string
  12691. countryid:
  12692. description: 国家
  12693. type: integer
  12694. countryname:
  12695. description: 国家名称
  12696. type: string
  12697. decimalplace:
  12698. description: 商品报价小数位
  12699. type: integer
  12700. districtid:
  12701. description: 地区
  12702. type: integer
  12703. districtname:
  12704. description: 地区名称
  12705. type: string
  12706. enumdicname:
  12707. description: 单位名称(提货商品)
  12708. type: string
  12709. expresscompany:
  12710. description: 物流公司
  12711. type: string
  12712. expressnum:
  12713. description: 物流单号
  12714. type: string
  12715. goodsagreeunit:
  12716. description: 交易商品乘数
  12717. type: number
  12718. goodscode:
  12719. description: 商品代码
  12720. type: string
  12721. goodsid:
  12722. description: 商品ID
  12723. type: integer
  12724. goodsname:
  12725. description: 商品名称
  12726. type: string
  12727. goodsqty:
  12728. description: 交易商品手数(69模式按成交量小数位放大取整)
  12729. type: number
  12730. handlestatus:
  12731. description: 处理状态
  12732. type: integer
  12733. logincode:
  12734. description: 账号(登录代码, 有可能为空)
  12735. type: string
  12736. marketid:
  12737. description: 市场ID
  12738. type: integer
  12739. phonenum:
  12740. description: 提货人联系方式
  12741. type: string
  12742. pickupgoodsagreeunit:
  12743. description: 提货商品合约乘数
  12744. type: number
  12745. pickupgoodsid:
  12746. description: 提货商品ID
  12747. type: string
  12748. pickupgoodsname:
  12749. description: 提货商品名称
  12750. type: string
  12751. pickupgoodsqty:
  12752. description: 提货商品手数(数量)
  12753. type: number
  12754. pickupgoodsunitid:
  12755. description: 单位ID(提货商品)
  12756. type: integer
  12757. pickupratio:
  12758. description: 提货系数
  12759. type: number
  12760. preparedays:
  12761. description: 备货期(天)-提货单明细表
  12762. type: integer
  12763. provinceid:
  12764. description: 省
  12765. type: integer
  12766. provincename:
  12767. description: 省名称
  12768. type: string
  12769. qty:
  12770. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  12771. type: number
  12772. qtydecimalplace:
  12773. description: 商品数量小数位
  12774. type: integer
  12775. recivername:
  12776. description: 提货人姓名
  12777. type: string
  12778. reqtime:
  12779. description: 提货申请时间
  12780. type: string
  12781. storeuserid:
  12782. description: 门店用户ID (千海金)
  12783. type: integer
  12784. storeusername:
  12785. description: 门店用户名称
  12786. type: string
  12787. takemode:
  12788. description: 提货方式 - 2:自提 3:配送(邮寄)
  12789. type: integer
  12790. takeorderid:
  12791. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12792. type: string
  12793. takeorderstatus:
  12794. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销
  12795. type: integer
  12796. takeremark:
  12797. description: 提货备注
  12798. type: string
  12799. tradedate:
  12800. description: 交易日(yyyyMMdd)
  12801. type: string
  12802. updatetime:
  12803. description: 更新时间
  12804. type: string
  12805. userid:
  12806. description: 用户ID
  12807. type: integer
  12808. userinfotype:
  12809. description: 客户类型 1-个人 2-企业
  12810. type: integer
  12811. username:
  12812. description: 用户名称
  12813. type: string
  12814. type: object
  12815. models.QhjUserNodeCfgAndStatus:
  12816. properties:
  12817. agreementcontent:
  12818. description: 协议内容
  12819. type: string
  12820. agreementid:
  12821. description: 协议ID
  12822. type: integer
  12823. agreementname:
  12824. description: 协议名称
  12825. type: string
  12826. agreementno:
  12827. description: 协议编号
  12828. type: string
  12829. agreementtype:
  12830. description: 协议类型 - 1:注册 2:登录 3:交易
  12831. type: integer
  12832. agreementversion:
  12833. description: 协议版本号
  12834. type: integer
  12835. configid:
  12836. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12837. type: integer
  12838. createtime:
  12839. description: 创建时间
  12840. type: string
  12841. goodsid:
  12842. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12843. type: integer
  12844. nodetype:
  12845. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12846. type: integer
  12847. signtimestamp:
  12848. description: 签约状态时间戳(最近一次)
  12849. type: string
  12850. tradedate:
  12851. description: 签约交易日(yyyyMMdd)
  12852. type: string
  12853. userid:
  12854. description: 客户ID
  12855. type: integer
  12856. type: object
  12857. models.Qhjgoodsex:
  12858. properties:
  12859. canfinance:
  12860. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  12861. type: integer
  12862. canregularlybuy:
  12863. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  12864. type: integer
  12865. defaulttradeuserid:
  12866. description: 默认交易用户ID
  12867. type: integer
  12868. deliverygoodsid:
  12869. description: 现货品种ID
  12870. type: integer
  12871. goodsid:
  12872. description: 商品ID(自增ID SEQ_GOODS)
  12873. type: integer
  12874. minamount:
  12875. description: 最小购买金额
  12876. type: number
  12877. regularlybuyminamount:
  12878. description: 定投最小金额
  12879. type: number
  12880. regularlybuyminqty:
  12881. description: 定投最小数量
  12882. type: number
  12883. spotgoodsbrandid:
  12884. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  12885. type: integer
  12886. visibilityforenterprise:
  12887. description: 企业客户是否可见 - 0:不可见 1:可见
  12888. type: integer
  12889. visibilityforpersonal:
  12890. description: 个人客户是否可见 - 0:不可见 1:可见
  12891. type: integer
  12892. wrstandardid:
  12893. description: 现货商品ID
  12894. type: integer
  12895. type: object
  12896. models.QueryErrorInfosRsp:
  12897. properties:
  12898. description:
  12899. description: 异常描述
  12900. type: string
  12901. errorcode:
  12902. description: 异常代码
  12903. type: string
  12904. errorid:
  12905. description: 异常ID
  12906. type: integer
  12907. modulecode:
  12908. description: 所属模块
  12909. type: string
  12910. operatecode:
  12911. description: 所属操作
  12912. type: string
  12913. rownumber:
  12914. description: 行号
  12915. type: string
  12916. required:
  12917. - errorid
  12918. type: object
  12919. models.QueryHedgeOrderDetailRsp:
  12920. properties:
  12921. accountid:
  12922. description: 账户ID
  12923. type: integer
  12924. buyorsell:
  12925. description: 买卖 - 0:买 1:卖
  12926. type: integer
  12927. cancellogincode:
  12928. description: 撤单人
  12929. type: string
  12930. channelbuildtype:
  12931. description: 开平标志 - 0:无 1:建仓 2:平仓
  12932. type: integer
  12933. channelinnerorderstatus:
  12934. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交
  12935. type: integer
  12936. channeloperatetype:
  12937. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  12938. type: integer
  12939. closetype:
  12940. description: 平仓方式 - 0:无 1:平今 2:平昨
  12941. type: integer
  12942. curexchangerate:
  12943. description: 当前汇率
  12944. type: number
  12945. exchangefullname:
  12946. description: 外部交易所全称
  12947. type: string
  12948. goodscode:
  12949. description: 商品代码(内部)
  12950. type: string
  12951. goodsid:
  12952. description: 商品ID
  12953. type: integer
  12954. goodsname:
  12955. description: 商品名称
  12956. type: string
  12957. marketid:
  12958. description: 市场ID
  12959. type: integer
  12960. openfreezemargin:
  12961. description: 冻结保证金(冻结交易金额)
  12962. type: number
  12963. orderid:
  12964. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12965. type: string
  12966. orderlogincode:
  12967. description: 委托人
  12968. type: string
  12969. orderprice:
  12970. description: 委托价格(账户)
  12971. type: number
  12972. orderqty:
  12973. description: 委托数量
  12974. type: integer
  12975. ordertime:
  12976. description: 委托时间
  12977. type: string
  12978. pricemode:
  12979. description: '取价方式 - 1:市价 2: 限价'
  12980. type: integer
  12981. tradedate:
  12982. description: 交易日(yyyyMMdd)
  12983. type: string
  12984. tradeqty:
  12985. description: 成交数量
  12986. type: integer
  12987. type: object
  12988. models.QueryHedgeTradeDetailRsp:
  12989. properties:
  12990. accountid:
  12991. description: 账号ID
  12992. type: integer
  12993. buyorsell:
  12994. description: 方向 - 0:买 1:卖
  12995. type: integer
  12996. channelbuildtype:
  12997. description: 委托单据类型 0:无 1:建仓 2:平仓
  12998. type: integer
  12999. closecharge:
  13000. description: 平仓手续费(账户)
  13001. type: number
  13002. closecharge2:
  13003. description: 平仓手续费(商品)
  13004. type: number
  13005. closepl:
  13006. description: 平仓盈亏(账户)
  13007. type: number
  13008. closepl2:
  13009. description: 平仓盈亏(商品)
  13010. type: number
  13011. closepl3:
  13012. description: 平仓盈亏(账户)(逐笔)
  13013. type: number
  13014. closepl4:
  13015. description: 平仓盈亏(商品)(逐笔)
  13016. type: number
  13017. closetype:
  13018. description: 平仓方式 - 0:无 1:平今 2:平昨
  13019. type: integer
  13020. curexchangerate:
  13021. description: 当前汇率
  13022. type: number
  13023. exchangefullname:
  13024. description: 外部交易所全称
  13025. type: string
  13026. goodscode:
  13027. description: 商品代码(内部)
  13028. type: string
  13029. goodsid:
  13030. description: 商品ID
  13031. type: integer
  13032. goodsname:
  13033. description: 商品名称
  13034. type: string
  13035. marketid:
  13036. description: 市场ID
  13037. type: integer
  13038. opencharge:
  13039. description: 建仓手续费(账户)
  13040. type: number
  13041. opencharge2:
  13042. description: 建仓手续费(商品)
  13043. type: number
  13044. orderid:
  13045. description: 委托单号
  13046. type: string
  13047. orderlogincode:
  13048. description: 委托人
  13049. type: string
  13050. tradeamount:
  13051. description: 成交金额(账户)
  13052. type: number
  13053. tradedate:
  13054. description: 交易日(yyyyMMdd)
  13055. type: string
  13056. tradeid:
  13057. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13058. type: string
  13059. tradeprice:
  13060. description: 成交价格
  13061. type: number
  13062. tradeqty:
  13063. description: 成交数量
  13064. type: integer
  13065. tradetime:
  13066. description: 成交时间
  13067. type: string
  13068. tradetype:
  13069. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  13070. type: integer
  13071. type: object
  13072. models.QuotePrimaryMenu:
  13073. properties:
  13074. Index:
  13075. description: 序号
  13076. type: integer
  13077. Key:
  13078. description: 键名
  13079. type: string
  13080. Name:
  13081. description: 菜单名称
  13082. type: string
  13083. SubMenus:
  13084. description: 子菜单
  13085. items:
  13086. $ref: '#/definitions/models.QuoteSecondaryMenu'
  13087. type: array
  13088. SubTitleType:
  13089. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  13090. type: integer
  13091. TradeModes:
  13092. description: 包含市场交易类型
  13093. type: string
  13094. type: object
  13095. models.QuoteSecondaryMenu:
  13096. properties:
  13097. ExExchangeCode:
  13098. description: 外部交易所代码
  13099. type: string
  13100. ExExchangeID:
  13101. description: 外部交易所ID
  13102. type: integer
  13103. GoodsGroupIDs:
  13104. description: 商品组ID列表
  13105. items:
  13106. type: integer
  13107. type: array
  13108. Index:
  13109. description: 序号
  13110. type: integer
  13111. MarketID:
  13112. description: 市场ID
  13113. type: integer
  13114. MenuTitle:
  13115. description: 菜单标题(市场名称或外部交易所名称)
  13116. type: string
  13117. TradeMode:
  13118. description: 交易模式
  13119. type: integer
  13120. type: object
  13121. models.RoleMenu:
  13122. properties:
  13123. hasright:
  13124. description: 是否有权限 0-没有权限 1-有权限
  13125. type: integer
  13126. iconame:
  13127. description: 菜单图标
  13128. type: string
  13129. menutype:
  13130. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  13131. type: integer
  13132. parentcode:
  13133. description: 上级资源代码
  13134. type: string
  13135. remark:
  13136. description: 菜单备注
  13137. type: string
  13138. resourcecode:
  13139. description: 菜单代码
  13140. type: string
  13141. resourcelevel:
  13142. description: 级别
  13143. type: integer
  13144. resourcename:
  13145. description: 菜单名称
  13146. type: string
  13147. roleid:
  13148. description: 角色id
  13149. type: integer
  13150. sort:
  13151. description: 排序
  13152. type: integer
  13153. subMenu:
  13154. description: 子级菜单(结构同上层一样, swag解析不出来)
  13155. items:
  13156. $ref: '#/definitions/models.RoleMenu'
  13157. type: array
  13158. url:
  13159. description: URL
  13160. type: string
  13161. userid:
  13162. description: 用户id
  13163. type: integer
  13164. type: object
  13165. models.SearchGoods:
  13166. properties:
  13167. goodscode:
  13168. description: 商品代码(内部)
  13169. type: string
  13170. goodsid:
  13171. description: 商品ID(自增ID SEQ_GOODS)
  13172. type: integer
  13173. goodsname:
  13174. description: 商品名称
  13175. type: string
  13176. marketid:
  13177. description: 所属市场ID
  13178. type: integer
  13179. marketname:
  13180. description: 市场名称
  13181. type: string
  13182. trademode:
  13183. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  13184. type: integer
  13185. required:
  13186. - goodscode
  13187. - goodsid
  13188. - goodsname
  13189. - marketid
  13190. - trademode
  13191. type: object
  13192. models.Systemparam:
  13193. properties:
  13194. loginid:
  13195. description: 更新用户账号,登录账号
  13196. type: string
  13197. modifyflag:
  13198. description: 修改标志0 不允许修改 1 允许修改
  13199. type: integer
  13200. paramcode:
  13201. description: 参数代码
  13202. type: string
  13203. paramname:
  13204. description: 参数名
  13205. type: string
  13206. paramtype:
  13207. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  13208. type: integer
  13209. paramvalue:
  13210. description: 参数值
  13211. type: string
  13212. paramvalue2:
  13213. description: 参数值(CLOB)
  13214. type: string
  13215. regexpress:
  13216. description: 正则表达式
  13217. type: string
  13218. remark:
  13219. description: 备注
  13220. type: string
  13221. serverip:
  13222. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  13223. type: string
  13224. showflag:
  13225. description: 是否显示0 不显示 1 显示
  13226. type: integer
  13227. updatetime:
  13228. description: 更新时间
  13229. type: string
  13230. userid:
  13231. description: 更新用户ID
  13232. type: integer
  13233. required:
  13234. - paramcode
  13235. type: object
  13236. models.Szdz3convertconfig:
  13237. properties:
  13238. canin:
  13239. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  13240. type: integer
  13241. canout:
  13242. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  13243. type: integer
  13244. converttype:
  13245. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)
  13246. type: integer
  13247. createtime:
  13248. description: 创建时间
  13249. type: string
  13250. creatorid:
  13251. description: 创建人
  13252. type: integer
  13253. daymaxvalue:
  13254. description: 当日最大转入限制
  13255. type: number
  13256. freezedays:
  13257. description: 冻结天数 [5:花生米转交易]
  13258. type: integer
  13259. innergoodsid:
  13260. description: 内部商品ID[交易]
  13261. type: integer
  13262. inratio:
  13263. description: 目标值
  13264. type: integer
  13265. modifierid:
  13266. description: 修改人
  13267. type: integer
  13268. modifytime:
  13269. description: 修改时间
  13270. type: string
  13271. outergoodscode:
  13272. description: 外部商品代码[JD\PD]
  13273. type: string
  13274. outratio:
  13275. description: 源值
  13276. type: integer
  13277. pddecimalplace:
  13278. description: PD小数位
  13279. type: integer
  13280. timemaxvalue:
  13281. description: 单次最大转入限制
  13282. type: number
  13283. timeminvalue:
  13284. description: 单次最小转入限制
  13285. type: number
  13286. required:
  13287. - converttype
  13288. - innergoodsid
  13289. - outergoodscode
  13290. type: object
  13291. models.Szdz3searchwhitelist:
  13292. properties:
  13293. createtime:
  13294. description: 创建时间
  13295. type: string
  13296. creatorid:
  13297. description: 创建人
  13298. type: integer
  13299. modifierid:
  13300. description: 修改人
  13301. type: integer
  13302. modifytime:
  13303. description: 修改时间
  13304. type: string
  13305. userid:
  13306. description: 用户ID
  13307. type: integer
  13308. required:
  13309. - userid
  13310. type: object
  13311. models.TBGoods:
  13312. properties:
  13313. agreeunit:
  13314. description: 合约乘数
  13315. type: number
  13316. enumdicname:
  13317. description: 单位名称
  13318. type: string
  13319. goodscode:
  13320. description: 商品代码(内部)
  13321. type: string
  13322. goodsid:
  13323. description: 商品ID(自增ID SEQ_GOODS)
  13324. type: integer
  13325. goodsname:
  13326. description: 商品名称
  13327. type: string
  13328. type: object
  13329. models.TBGoodsGroup:
  13330. properties:
  13331. convertratio:
  13332. description: 折算系数
  13333. type: number
  13334. enumdicname:
  13335. description: 单位名称
  13336. type: string
  13337. exexchangecode:
  13338. description: 交易所代码
  13339. type: string
  13340. exexchangename:
  13341. description: 交易所名称
  13342. type: string
  13343. gdlst:
  13344. description: 商品列表
  13345. items:
  13346. $ref: '#/definitions/models.TBGoods'
  13347. type: array
  13348. goodsgroupid:
  13349. description: 商品组ID(自增ID)
  13350. type: integer
  13351. goodsgroupname:
  13352. description: 商品组名称
  13353. type: string
  13354. goodunitid:
  13355. description: 报价单位ID
  13356. type: integer
  13357. type: object
  13358. models.TBMiddleGoods:
  13359. properties:
  13360. areauserid:
  13361. description: 机构用户ID
  13362. type: integer
  13363. enumdicname:
  13364. description: 单位名称
  13365. type: string
  13366. goodsunitid:
  13367. description: 套保品种单位id
  13368. type: integer
  13369. gplst:
  13370. description: 期货品种列表
  13371. items:
  13372. $ref: '#/definitions/models.TBGoodsGroup'
  13373. type: array
  13374. middlegoodscode:
  13375. description: 套保品种代码
  13376. type: string
  13377. middlegoodsid:
  13378. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  13379. type: integer
  13380. middlegoodsname:
  13381. description: 套保品种名称
  13382. type: string
  13383. needarbitrageratio:
  13384. description: 套利比率
  13385. type: number
  13386. needhedgeratio:
  13387. description: 套保比率
  13388. type: number
  13389. wdlst:
  13390. description: 商品信息列表(现货品类)
  13391. items:
  13392. $ref: '#/definitions/models.TBWrstandard'
  13393. type: array
  13394. type: object
  13395. models.TBWrstandard:
  13396. properties:
  13397. convertratio:
  13398. description: 折算系数
  13399. type: number
  13400. deliverygoodsname:
  13401. description: 品种名称
  13402. type: string
  13403. enumdicname:
  13404. description: 单位名称
  13405. type: string
  13406. vatrate:
  13407. description: 增值税率
  13408. type: number
  13409. wrstandardcode:
  13410. description: 现货商品代码
  13411. type: string
  13412. wrstandardid:
  13413. description: 现货商品ID(SEQ_WRSTANDARD)
  13414. type: integer
  13415. wrstandardname:
  13416. description: 现货商品名称
  13417. type: string
  13418. type: object
  13419. models.Taaccount:
  13420. properties:
  13421. accountflag:
  13422. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  13423. type: integer
  13424. accountid:
  13425. description: 资金账户ID
  13426. type: integer
  13427. accountname:
  13428. description: 账户名称
  13429. type: string
  13430. balance:
  13431. description: 期初余额
  13432. type: number
  13433. capitalbalance:
  13434. description: 本金余额[外部子账户实际出入金余额]
  13435. type: number
  13436. changeflag:
  13437. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  13438. type: integer
  13439. changetime:
  13440. description: 账户状态变更时间
  13441. type: string
  13442. closepl:
  13443. description: 今日平仓盈亏
  13444. type: number
  13445. creditdecrease:
  13446. description: 今日授信减少
  13447. type: number
  13448. creditincrease:
  13449. description: 今日授信增加
  13450. type: number
  13451. curamount:
  13452. description: 总市值(从持仓中统计)
  13453. type: number
  13454. currencyid:
  13455. description: 货币ID
  13456. type: integer
  13457. currentbalance:
  13458. description: 期末余额
  13459. type: number
  13460. freezecharge:
  13461. description: 手续费冻结
  13462. type: number
  13463. freezemargin:
  13464. description: 冻结保证金
  13465. type: number
  13466. fromaccountid:
  13467. description: 所属上级账户
  13468. type: integer
  13469. inamount:
  13470. description: 今日入金金额(包括三方入金)
  13471. type: number
  13472. ismain:
  13473. description: 是否母账号 0:不是母账户 1:是母账户
  13474. type: integer
  13475. ismarketaccount:
  13476. description: 是否机构接单账号 0:不是 1:是
  13477. type: integer
  13478. isreckonaccount:
  13479. description: 是否机构分润账号 0:不是 1:是
  13480. type: integer
  13481. mortgagecredit:
  13482. description: 授信金额
  13483. type: number
  13484. orifreezecharge:
  13485. description: 期初手续费冻结
  13486. type: number
  13487. orifreezemargin:
  13488. description: 期初冻结保证金
  13489. type: number
  13490. orimortgagecredit:
  13491. description: 期初授信金额
  13492. type: number
  13493. oriothercredit:
  13494. description: 期初其它授信金额
  13495. type: number
  13496. oriotherfreezemargin:
  13497. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  13498. type: number
  13499. orioutamountfreeze:
  13500. description: 期初出金冻结
  13501. type: number
  13502. oriusedmargin:
  13503. description: 期初占用保证金
  13504. type: number
  13505. othercredit:
  13506. description: 其它授信金额
  13507. type: number
  13508. othercreditdecrease:
  13509. description: 今日其它授信减少
  13510. type: number
  13511. othercreditincrease:
  13512. description: 今日其它授信增加
  13513. type: number
  13514. otherfreezemargin:
  13515. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  13516. type: number
  13517. otherincome:
  13518. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  13519. type: number
  13520. otherpay:
  13521. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  13522. type: number
  13523. outamount:
  13524. description: 今日出金金额(包括三方出金)
  13525. type: number
  13526. outamountfreeze:
  13527. description: 出金冻结
  13528. type: number
  13529. outthreshold:
  13530. description: 出金阈值
  13531. type: number
  13532. parentaccountid:
  13533. description: 所属根账号
  13534. type: integer
  13535. paycharge:
  13536. description: 今日手续费支出
  13537. type: number
  13538. relatedaccountstatus:
  13539. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  13540. type: integer
  13541. relateduserid:
  13542. description: 关联用户
  13543. type: integer
  13544. remainamount:
  13545. description: 融资额(从融资合同中统计)
  13546. type: number
  13547. serivcegroup:
  13548. description: 服务分组
  13549. type: integer
  13550. signstatus:
  13551. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  13552. type: integer
  13553. sublevelpath:
  13554. description: 账号层级路径(逗号分隔,首尾加逗号)
  13555. type: string
  13556. taaccounttype:
  13557. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  13558. type: integer
  13559. thirdinamount:
  13560. description: 今日三方入金
  13561. type: number
  13562. thirdoutamount:
  13563. description: 今日三方出金
  13564. type: number
  13565. tradestatus:
  13566. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  13567. type: integer
  13568. tradestatuschangetime:
  13569. description: 激活时间
  13570. type: string
  13571. transferamount:
  13572. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  13573. type: number
  13574. usedmargin:
  13575. description: 占用保证金
  13576. type: number
  13577. userid:
  13578. description: 用户ID
  13579. type: integer
  13580. required:
  13581. - accountid
  13582. - userid
  13583. type: object
  13584. models.Tablecolumnconfig:
  13585. properties:
  13586. aligntype:
  13587. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  13588. type: integer
  13589. autoid:
  13590. description: AutoID
  13591. type: integer
  13592. columnfield:
  13593. description: 列字段
  13594. type: string
  13595. columntitle:
  13596. description: 列Title
  13597. type: string
  13598. columnwidth:
  13599. description: 列宽
  13600. type: string
  13601. formatterstring:
  13602. description: 格式化字符
  13603. type: string
  13604. formattertype:
  13605. description: 格式化类型
  13606. type: string
  13607. groupname:
  13608. description: 表头分组名称
  13609. type: string
  13610. isshow:
  13611. description: 是否显示 - 0:不显示 1:显示
  13612. type: integer
  13613. needsummary:
  13614. description: 是否需要汇总 - 0:不需要 1:需要
  13615. type: integer
  13616. orderindex:
  13617. description: 顺序
  13618. type: integer
  13619. remark:
  13620. description: 备注
  13621. type: string
  13622. summarytype:
  13623. description: 汇总类型 - 1:加总 2:最后一个
  13624. type: integer
  13625. tablekey:
  13626. description: 列表Key
  13627. type: string
  13628. required:
  13629. - autoid
  13630. type: object
  13631. models.TjmdQuoteGoods:
  13632. properties:
  13633. buyqty:
  13634. description: 买量(暂不做, 无值, 保留字段)
  13635. type: number
  13636. goodscode:
  13637. description: 合约代码
  13638. type: string
  13639. goodsgroupid:
  13640. description: 商品组ID(自增ID)
  13641. type: integer
  13642. goodsgroupname:
  13643. description: 商品组名称
  13644. type: string
  13645. goodsid:
  13646. description: 合约id
  13647. type: integer
  13648. goodsname:
  13649. description: 合约名称
  13650. type: string
  13651. refgoodscode:
  13652. description: 标的合约代码
  13653. type: string
  13654. refgoodsid:
  13655. description: 标的合约id
  13656. type: integer
  13657. refgoodsname:
  13658. description: 标的合约名称
  13659. type: string
  13660. sellqty:
  13661. description: 卖量(暂不做, 无值, 保留字段)
  13662. type: number
  13663. type: object
  13664. models.TjmdTodayAccountMargin:
  13665. properties:
  13666. accountid:
  13667. description: 账号ID
  13668. type: integer
  13669. goodsid:
  13670. description: 商品ID
  13671. type: integer
  13672. infoc:
  13673. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  13674. description: 配置参数
  13675. marketid:
  13676. description: 市场ID
  13677. type: integer
  13678. type: object
  13679. models.TjmdTradeOrderDetail:
  13680. properties:
  13681. buyorsell:
  13682. description: 买卖方向 0-买 1-卖
  13683. type: integer
  13684. goodsid:
  13685. description: 商品id
  13686. type: integer
  13687. marketmaxsub:
  13688. description: 市价最大偏移范围 [浮动价 - 点差]
  13689. type: number
  13690. orderid:
  13691. description: 委托单号
  13692. type: string
  13693. orderprice:
  13694. description: 委托价格
  13695. type: number
  13696. orderqty:
  13697. description: 委托数量
  13698. type: integer
  13699. pricemode:
  13700. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  13701. type: integer
  13702. userid:
  13703. description: 用户id
  13704. type: integer
  13705. username:
  13706. description: 用户名称(已脱敏)
  13707. type: string
  13708. type: object
  13709. models.TjmdTransferApply:
  13710. properties:
  13711. applyid:
  13712. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  13713. type: integer
  13714. applystatus:
  13715. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  13716. type: integer
  13717. applytime:
  13718. description: 申请时间(时间)
  13719. type: string
  13720. auditremark:
  13721. description: 审核备注(拒绝原因?)
  13722. type: string
  13723. buyorsell:
  13724. description: 买卖 - 0:买 1:卖
  13725. type: integer
  13726. goodscode:
  13727. description: 商品代码
  13728. type: string
  13729. goodsid:
  13730. description: 商品ID
  13731. type: integer
  13732. goodsname:
  13733. description: 商品名称
  13734. type: string
  13735. marketid:
  13736. description: 市场ID
  13737. type: integer
  13738. qty:
  13739. description: 转让数量(数量)
  13740. type: number
  13741. tradeid:
  13742. description: 成交单号(关联持仓)
  13743. type: string
  13744. transferamount:
  13745. description: 转让总金额(金额)
  13746. type: number
  13747. transferprice:
  13748. description: 转让价格(协议价格)
  13749. type: number
  13750. type: object
  13751. models.TradeHolderDetail:
  13752. properties:
  13753. accountid:
  13754. description: 账号ID
  13755. type: integer
  13756. agreeunit:
  13757. description: 合约乘数
  13758. type: number
  13759. buyorsell:
  13760. description: 方向 - 0:买 1:卖
  13761. type: integer
  13762. currencyid:
  13763. description: 商品币种id
  13764. type: integer
  13765. currencyname:
  13766. description: 币种名称
  13767. type: string
  13768. decimalplace:
  13769. description: 商品价格小数位
  13770. type: integer
  13771. enumdicname:
  13772. description: 商品单位名称
  13773. type: string
  13774. expirecycle:
  13775. description: 行权周期(天) - 1:滚动行权时填写
  13776. type: integer
  13777. expiredate:
  13778. description: 行权日(yyyyMMdd) - 到期日
  13779. type: string
  13780. expiretype:
  13781. description: 行权日类型 - 1:滚动行权 2:固定日行权
  13782. type: integer
  13783. freezeqty:
  13784. description: 冻结数量
  13785. type: number
  13786. goodscode:
  13787. description: 商品代码
  13788. type: string
  13789. goodsid:
  13790. description: 商品ID
  13791. type: integer
  13792. goodsname:
  13793. description: 商品名称
  13794. type: string
  13795. goodunitid:
  13796. description: 商品单位id
  13797. type: integer
  13798. holderamount:
  13799. description: 持仓金额
  13800. type: number
  13801. holdercredit:
  13802. description: 持仓授信金额
  13803. type: number
  13804. holderdays:
  13805. description: 剩余冻结天数
  13806. type: integer
  13807. holderprice:
  13808. description: 持仓价格
  13809. type: number
  13810. holderqty:
  13811. description: 持仓数量
  13812. type: number
  13813. isconfirmexercise:
  13814. description: 是否确认行权- 0:否 1:是
  13815. type: integer
  13816. ispreexercise:
  13817. description: 是否预申报- 0:否 1:是 2:不可行权
  13818. type: integer
  13819. marketid:
  13820. description: 市场id
  13821. type: integer
  13822. marketname:
  13823. description: 市场名称
  13824. type: string
  13825. openprice:
  13826. description: 建仓价格
  13827. type: number
  13828. openqty:
  13829. description: 建仓数量
  13830. type: number
  13831. optiontype:
  13832. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  13833. type: integer
  13834. preexerciseprice:
  13835. description: 预申报价格
  13836. type: number
  13837. premium:
  13838. description: 权利金
  13839. type: number
  13840. qtydecimalplace:
  13841. description: 商品成交量小数位
  13842. type: integer
  13843. refgoodscode:
  13844. description: 标的合约代码
  13845. type: string
  13846. refgoodsid:
  13847. description: 标的合约id
  13848. type: integer
  13849. releaseamount:
  13850. description: 释放持仓金额
  13851. type: number
  13852. releaseholdercredit:
  13853. description: 释放持仓授信金额
  13854. type: number
  13855. taname:
  13856. description: 资金账号名称
  13857. type: string
  13858. tradeamount:
  13859. description: 成交金额
  13860. type: number
  13861. tradedate:
  13862. description: 交易日(yyyyMMdd)
  13863. type: string
  13864. tradeid:
  13865. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13866. type: string
  13867. trademode:
  13868. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期
  13869. type: integer
  13870. tradeproperty:
  13871. description: 交易属性
  13872. type: integer
  13873. tradetime:
  13874. description: 交易时间
  13875. type: string
  13876. userid:
  13877. description: 用户id
  13878. type: integer
  13879. username:
  13880. description: 用户名称
  13881. type: string
  13882. type: object
  13883. models.UserCollectConfig:
  13884. properties:
  13885. accountstatus:
  13886. description: 账户状态 - 1:正常 2:停用 3:注销
  13887. type: integer
  13888. collectaccountname:
  13889. description: 收款人账户名称
  13890. type: string
  13891. collectaccountno:
  13892. description: 收款人账户
  13893. type: string
  13894. collectbankname:
  13895. description: 收款人开户行
  13896. type: string
  13897. collectbranchbankname:
  13898. description: 收款人开户支行
  13899. type: string
  13900. collectconfigid:
  13901. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  13902. type: string
  13903. remark:
  13904. description: 备注
  13905. type: string
  13906. userid:
  13907. description: 收款人用户ID
  13908. type: integer
  13909. type: object
  13910. models.UserReceiveInfo:
  13911. properties:
  13912. address:
  13913. description: 提货人详细地址
  13914. type: string
  13915. autoid:
  13916. description: AutoID
  13917. type: integer
  13918. cardnum:
  13919. description: 证件号码(加密存储)
  13920. type: string
  13921. cardtypeid:
  13922. description: 证件类型
  13923. type: integer
  13924. cityid:
  13925. description: 市
  13926. type: integer
  13927. cityname:
  13928. description: 城市名称
  13929. type: string
  13930. countryid:
  13931. description: 国家
  13932. type: integer
  13933. countryname:
  13934. description: 国家名称
  13935. type: string
  13936. districtid:
  13937. description: 地区
  13938. type: integer
  13939. districtname:
  13940. description: 地区名称
  13941. type: string
  13942. hasencrypt:
  13943. description: 数据是否已加密 - 0:未加密 1:已加密
  13944. type: integer
  13945. isdefault:
  13946. description: 是否默认地址 - 0:否 1:是
  13947. type: integer
  13948. phonenum:
  13949. description: 提货人联系方式(加密存储)
  13950. type: string
  13951. provinceid:
  13952. description: 省
  13953. type: integer
  13954. provincename:
  13955. description: 省名称
  13956. type: string
  13957. receivername:
  13958. description: 提货人姓名
  13959. type: string
  13960. takeremark:
  13961. description: 提货备注
  13962. type: string
  13963. userid:
  13964. description: 用户ID
  13965. type: integer
  13966. type: object
  13967. models.Useraccount:
  13968. properties:
  13969. accountname:
  13970. description: 账户名称(机构名称)
  13971. type: string
  13972. accountstatus:
  13973. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  13974. type: integer
  13975. applysrc:
  13976. description: 申请来源 - 1:管理端 2:终端
  13977. type: integer
  13978. auditremark:
  13979. description: 审核备注
  13980. type: string
  13981. auditsrc:
  13982. description: 审核来源 - 1:管理端 2:终端
  13983. type: integer
  13984. audittime:
  13985. description: 审核时间
  13986. type: string
  13987. audituserid:
  13988. description: 审核人
  13989. type: integer
  13990. broker:
  13991. description: 所属经纪人ID
  13992. type: integer
  13993. canceltime:
  13994. description: 销户时间
  13995. type: string
  13996. canceluserid:
  13997. description: 销户人
  13998. type: integer
  13999. canrecommend:
  14000. description: 是否可推荐 - 0:不可 1;可
  14001. type: integer
  14002. createtime:
  14003. description: 创建时间
  14004. type: string
  14005. creatorid:
  14006. description: 创建人
  14007. type: integer
  14008. hasauth:
  14009. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  14010. type: integer
  14011. isanonymous:
  14012. description: 是否匿名下单 - 0:否 1:是
  14013. type: integer
  14014. maxinvestornum:
  14015. description: 最大用户数(经纪会员下投资者个数)
  14016. type: integer
  14017. memberuserid:
  14018. description: 所属会员ID
  14019. type: integer
  14020. modifierid:
  14021. description: 修改人
  14022. type: integer
  14023. modifyremark:
  14024. description: 变更备注
  14025. type: string
  14026. modifystatus:
  14027. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  14028. type: integer
  14029. modifytime:
  14030. description: 修改时间
  14031. type: string
  14032. parenttopuser:
  14033. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  14034. type: string
  14035. parentuserid:
  14036. description: 所属机构ID
  14037. type: integer
  14038. reckonaccountid:
  14039. description: 默认结算资金账号ID(机构分润使用) 作废
  14040. type: integer
  14041. refercount:
  14042. description: 推荐总人数
  14043. type: integer
  14044. refereeuserid:
  14045. description: 推荐人ID
  14046. type: integer
  14047. refernum:
  14048. description: 推荐码
  14049. type: string
  14050. rootuserid:
  14051. description: 根用户ID
  14052. type: integer
  14053. subaccountlevel:
  14054. description: 子账户层数
  14055. type: integer
  14056. subarealevelpath:
  14057. description: 子机构层级路径(逗号分隔,首尾加逗号)
  14058. type: string
  14059. userid:
  14060. description: 用户ID
  14061. type: integer
  14062. usertype:
  14063. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14064. type: integer
  14065. required:
  14066. - userid
  14067. type: object
  14068. models.Userfavoritegoods:
  14069. properties:
  14070. goodsid:
  14071. description: 商品ID
  14072. type: integer
  14073. required:
  14074. - goodsid
  14075. type: object
  14076. models.Userinfo:
  14077. properties:
  14078. address:
  14079. description: 地址
  14080. type: string
  14081. attachment1:
  14082. description: 附件1
  14083. type: string
  14084. attachment2:
  14085. description: 附件2
  14086. type: string
  14087. bankaccount:
  14088. description: 银行帐号 (加密存储)
  14089. type: string
  14090. bankaccountname:
  14091. description: 收款人名称
  14092. type: string
  14093. bankcardfrontphotourl:
  14094. description: 银行卡正面照地址
  14095. type: string
  14096. bankid:
  14097. description: 银行编码
  14098. type: string
  14099. bankname:
  14100. description: 银行名称
  14101. type: string
  14102. biznature:
  14103. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  14104. type: integer
  14105. bizscope:
  14106. description: 企业经营范围(企业)
  14107. type: string
  14108. cardbackphotourl:
  14109. description: 证件背面图片地址
  14110. type: string
  14111. cardfrontphotourl:
  14112. description: 证件正面图片地址
  14113. type: string
  14114. cardnum:
  14115. description: 证件号码(加密存储)
  14116. type: string
  14117. cardtypeid:
  14118. description: 证件类型ID
  14119. type: integer
  14120. cityid:
  14121. description: 市
  14122. type: integer
  14123. company:
  14124. description: 公司(个人)
  14125. type: string
  14126. contactname:
  14127. description: 联系人
  14128. type: string
  14129. countryid:
  14130. description: 国家
  14131. type: integer
  14132. createtime:
  14133. description: 创建时间
  14134. type: string
  14135. creatorid:
  14136. description: 创建人
  14137. type: integer
  14138. customername:
  14139. description: 客户名称(企业名称)
  14140. type: string
  14141. districtid:
  14142. description: 地区
  14143. type: integer
  14144. email:
  14145. description: 邮件(加密存储)
  14146. type: string
  14147. fax:
  14148. description: 传真(加密存储)
  14149. type: string
  14150. halfbodyphotourl:
  14151. description: 半身照地址
  14152. type: string
  14153. hasencrypt:
  14154. description: 数据是否已加密 - 0:未加密 1:已加密
  14155. type: integer
  14156. headurl:
  14157. description: 头像地址
  14158. type: string
  14159. legalcardbackphotourl:
  14160. description: 法人身份证背面照地址
  14161. type: string
  14162. legalcardfrontphotourl:
  14163. description: 法人身份证正面照地址
  14164. type: string
  14165. legalpersonname:
  14166. description: 法人姓名(企业)
  14167. type: string
  14168. mobile:
  14169. description: 手机号码(加密存储)
  14170. type: string
  14171. mobile2:
  14172. description: 手机号码[明文-尚志]
  14173. type: string
  14174. modifierid:
  14175. description: 修改人
  14176. type: integer
  14177. modifiertime:
  14178. description: 修改时间
  14179. type: string
  14180. needinvoice:
  14181. description: 是否需要发票 - 0:不需要 1:需要
  14182. type: integer
  14183. nickname:
  14184. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  14185. type: string
  14186. openmode:
  14187. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  14188. type: integer
  14189. otherurl:
  14190. description: 其它图片地址[使用分号分隔]
  14191. type: string
  14192. postalcode:
  14193. description: 邮政编码
  14194. type: string
  14195. provinceid:
  14196. description: 省
  14197. type: integer
  14198. qq:
  14199. description: QQ(加密存储
  14200. type: string
  14201. remark:
  14202. description: 备注
  14203. type: string
  14204. sex:
  14205. description: '用户性别 0: 女 1: 男'
  14206. type: integer
  14207. signpdfurl:
  14208. description: 签约pdf文件
  14209. type: string
  14210. telphone:
  14211. description: 联系电话(加密存储)
  14212. type: string
  14213. userid:
  14214. description: 用户ID
  14215. type: integer
  14216. userinfotype:
  14217. description: 用户信息类型 - 1:个人 2:企业
  14218. type: integer
  14219. userstatus:
  14220. description: 用户状态 - 1:正常 2:注销
  14221. type: integer
  14222. usertype:
  14223. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  14224. type: integer
  14225. wechat:
  14226. description: 微信(加密存储)
  14227. type: string
  14228. wskhinfo:
  14229. description: 开户申请信息(JSON)
  14230. type: string
  14231. required:
  14232. - userid
  14233. type: object
  14234. models.WRSConverTDetail:
  14235. properties:
  14236. convertratio:
  14237. description: 套保系数
  14238. type: number
  14239. deliverygoodscode:
  14240. description: 现货商品代码
  14241. type: string
  14242. deliverygoodsid:
  14243. description: 现货品种ID
  14244. type: integer
  14245. deliverygoodsname:
  14246. description: 现货商品名称
  14247. type: string
  14248. enumdicname:
  14249. description: 单位名称
  14250. type: string
  14251. goodsunitid:
  14252. description: 套保品种单位id
  14253. type: integer
  14254. middlegoodscode:
  14255. description: 套保品种代码
  14256. type: string
  14257. middlegoodsid:
  14258. description: 套保品种ID
  14259. type: integer
  14260. middlegoodsname:
  14261. description: 套保品种名称
  14262. type: string
  14263. modifytime:
  14264. description: 修改时间
  14265. type: string
  14266. wrstandardid:
  14267. description: 品类ID
  14268. type: integer
  14269. type: object
  14270. models.WRStandardInfo:
  14271. properties:
  14272. areauserid:
  14273. description: 所属机构
  14274. type: integer
  14275. convertfactor:
  14276. description: 标仓系数
  14277. type: number
  14278. createtime:
  14279. description: 创建时间
  14280. type: string
  14281. creatorid:
  14282. description: 创建人
  14283. type: integer
  14284. deliverygoodsid:
  14285. description: 品种ID
  14286. type: integer
  14287. deliverygoodsname:
  14288. description: 交割商品名称
  14289. type: string
  14290. factoryitemjson:
  14291. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID, 逗号分隔'
  14292. type: string
  14293. isvalid:
  14294. description: 是否有效 - 0:无效 1:有效
  14295. type: integer
  14296. minivalue:
  14297. description: 最小变动值
  14298. type: integer
  14299. minivaluedp:
  14300. description: 最小变动值小数位
  14301. type: integer
  14302. realminivalue:
  14303. description: 实际最小变动值
  14304. type: integer
  14305. realminivaluedp:
  14306. description: 实际最小变动值小数位
  14307. type: integer
  14308. remark:
  14309. description: 备注
  14310. type: string
  14311. unitid:
  14312. description: 单位ID
  14313. type: integer
  14314. unitname:
  14315. description: 单位
  14316. type: string
  14317. updatetime:
  14318. description: 更新时间
  14319. type: string
  14320. updatorid:
  14321. description: 更新人
  14322. type: integer
  14323. wrsstatus:
  14324. description: 状态 - 作废 - 0:未激活 1:正常
  14325. type: integer
  14326. wrstandardcode:
  14327. description: 现货品类代码
  14328. type: string
  14329. wrstandardid:
  14330. description: 现货品类ID(SEQ_WRSTANDARD)
  14331. type: integer
  14332. wrstandardname:
  14333. description: 现货品类名称
  14334. type: string
  14335. required:
  14336. - wrstandardid
  14337. type: object
  14338. models.WRTradeBargainApply:
  14339. properties:
  14340. accountid:
  14341. description: 摘牌资金账号
  14342. type: integer
  14343. applyprice:
  14344. description: 申请价格(议价价格)
  14345. type: string
  14346. applyqty:
  14347. description: 摘牌数量(议价数量)
  14348. type: number
  14349. applyremark:
  14350. description: 申请备注
  14351. type: string
  14352. applystatus:
  14353. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  14354. type: integer
  14355. applytime:
  14356. description: 申请时间(议价时间)
  14357. type: string
  14358. buyorsell:
  14359. description: 买卖(挂牌类型) - 0:买 1:卖
  14360. type: integer
  14361. confirmremark:
  14362. description: 确认备注
  14363. type: string
  14364. confirmtime:
  14365. description: 确认时间
  14366. type: string
  14367. confirmuserid:
  14368. description: 确认人
  14369. type: integer
  14370. deliverygoodscode:
  14371. description: 品种代码
  14372. type: string
  14373. deliverygoodsid:
  14374. description: 品种ID
  14375. type: integer
  14376. deliverygoodsname:
  14377. description: 品种名称
  14378. type: string
  14379. deliverymonth:
  14380. description: 交收月
  14381. type: string
  14382. enumdicname:
  14383. description: 单位名称
  14384. type: string
  14385. fixedprice:
  14386. description: 挂牌价格
  14387. type: number
  14388. handlestatus:
  14389. description: 处理状态
  14390. type: integer
  14391. marginvalue:
  14392. description: 履约保证金比例
  14393. type: number
  14394. marketid:
  14395. description: 市场ID
  14396. type: integer
  14397. matchaccountid:
  14398. description: 挂牌方资金账号
  14399. type: integer
  14400. matchuserid:
  14401. description: 挂牌方用户id
  14402. type: integer
  14403. matchusername:
  14404. description: 挂牌方用户名称(已脱敏)
  14405. type: string
  14406. minivalue:
  14407. description: 现货商品最小变动值
  14408. type: integer
  14409. optioncompare:
  14410. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14411. type: string
  14412. orderqty:
  14413. description: 挂牌数量
  14414. type: integer
  14415. refprice:
  14416. description: 参考价格
  14417. type: string
  14418. retcode:
  14419. description: 委托返回代码
  14420. type: integer
  14421. templatename:
  14422. description: 履约方式(履约模板名称)
  14423. type: string
  14424. tradedate:
  14425. description: 交易日(yyyyMMdd)
  14426. type: string
  14427. userid:
  14428. description: 摘牌人用户ID(议价人ID)
  14429. type: integer
  14430. username:
  14431. description: 议价人名字(已脱敏)
  14432. type: string
  14433. validtime:
  14434. description: 有效期限
  14435. type: string
  14436. warehouseid:
  14437. description: 仓库ID
  14438. type: integer
  14439. warehousename:
  14440. description: 仓库名称
  14441. type: string
  14442. wrbargainid:
  14443. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  14444. type: string
  14445. wrfactortypeid:
  14446. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14447. type: string
  14448. wrfactortypename:
  14449. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14450. type: string
  14451. wrstandardcode:
  14452. description: 现货商品代码
  14453. type: string
  14454. wrstandardid:
  14455. description: 现货商品ID
  14456. type: integer
  14457. wrstandardname:
  14458. description: 商品名称
  14459. type: string
  14460. wrtradeorderid:
  14461. description: 关联委托单ID
  14462. type: string
  14463. wrtypename:
  14464. description: 商品
  14465. type: string
  14466. type: object
  14467. models.Warehouseinfo:
  14468. properties:
  14469. address:
  14470. description: 详细地址
  14471. type: string
  14472. areauserid:
  14473. description: 所属机构
  14474. type: integer
  14475. autoid:
  14476. description: 自增ID
  14477. type: integer
  14478. cityid:
  14479. description: 市
  14480. type: integer
  14481. contactname:
  14482. description: 联系人
  14483. type: string
  14484. contactnum:
  14485. description: 联系电话
  14486. type: string
  14487. countryid:
  14488. description: 国家
  14489. type: integer
  14490. createtime:
  14491. description: 创建时间
  14492. type: string
  14493. districtid:
  14494. description: 区
  14495. type: integer
  14496. hasvideo:
  14497. description: 是否有视频 - 0:无 1:有
  14498. type: integer
  14499. provinceid:
  14500. description: 省
  14501. type: integer
  14502. remark:
  14503. description: 审核备注
  14504. type: string
  14505. videourl:
  14506. description: 视频地址
  14507. type: string
  14508. warehousecode:
  14509. description: 仓库代码
  14510. type: string
  14511. warehousename:
  14512. description: 仓库名称
  14513. type: string
  14514. warehousestatus:
  14515. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  14516. type: integer
  14517. warehousetype:
  14518. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  14519. type: integer
  14520. required:
  14521. - autoid
  14522. - warehousecode
  14523. type: object
  14524. models.WrAverageTradePrice:
  14525. properties:
  14526. averageprice:
  14527. description: 成交均价
  14528. type: number
  14529. tradedate:
  14530. description: 交易日yyyymm
  14531. type: string
  14532. type: object
  14533. models.WrBsGoodsInfo:
  14534. properties:
  14535. buyorsell:
  14536. description: 买卖方向 0-买 1-卖
  14537. type: integer
  14538. goodsid:
  14539. description: 交易合约ID
  14540. type: integer
  14541. lstitem:
  14542. description: 商品信息项
  14543. items:
  14544. $ref: '#/definitions/models.WrTypeItem'
  14545. type: array
  14546. lststep:
  14547. description: 履约规则
  14548. items:
  14549. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14550. type: array
  14551. type: object
  14552. models.WrBuybackDetail:
  14553. properties:
  14554. buybackamount:
  14555. description: 回购金额
  14556. type: number
  14557. buybackqty:
  14558. description: 回购数量
  14559. type: number
  14560. buybackreleasemargin:
  14561. description: 回购释放保证金
  14562. type: number
  14563. buybacktime:
  14564. description: 回购时间
  14565. type: string
  14566. errordesc:
  14567. description: 错误描述
  14568. type: string
  14569. handlestatus:
  14570. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  14571. type: integer
  14572. relatedwrid:
  14573. description: 关联仓单ID
  14574. type: integer
  14575. scfcontractid:
  14576. description: SCF合同ID
  14577. type: string
  14578. scfwrbuybackid:
  14579. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  14580. type: integer
  14581. tradedate:
  14582. description: 交易日(yyyyMMdd)
  14583. type: string
  14584. type: object
  14585. models.WrDeliveryAvalidHoldLB:
  14586. properties:
  14587. accountid:
  14588. description: 资金账号
  14589. type: integer
  14590. avalidqty:
  14591. description: 数量(可点选数量)
  14592. type: number
  14593. deliverygoodsid:
  14594. description: 品种id
  14595. type: integer
  14596. enumdicname:
  14597. description: 单位名称
  14598. type: string
  14599. goodsid:
  14600. description: x合约商品id
  14601. type: integer
  14602. ladingbillid:
  14603. description: 提单id
  14604. type: string
  14605. pgoodscode:
  14606. description: p商品代码(点价合约)
  14607. type: string
  14608. pgoodsid:
  14609. description: p商品id(点价合约)
  14610. type: integer
  14611. pgoodsname:
  14612. description: p商品名称(点价合约)
  14613. type: string
  14614. pricemove:
  14615. description: 升贴水
  14616. type: number
  14617. subnum:
  14618. description: 提单子id
  14619. type: integer
  14620. userid:
  14621. description: 用户id
  14622. type: integer
  14623. username:
  14624. description: 仓单持有人
  14625. type: string
  14626. warehousecode:
  14627. description: 仓库代码
  14628. type: string
  14629. warehouseid:
  14630. description: 仓库id
  14631. type: integer
  14632. warehousename:
  14633. description: 仓库名称
  14634. type: string
  14635. wrfactortypeid:
  14636. description: 仓单要素id
  14637. type: string
  14638. wrstandardcode:
  14639. description: 品代码
  14640. type: string
  14641. wrstandardid:
  14642. description: 品类d
  14643. type: integer
  14644. wrstandardname:
  14645. description: 品类名称
  14646. type: string
  14647. wrtypename:
  14648. description: 商品
  14649. type: string
  14650. xgoodscode:
  14651. description: x合约代码
  14652. type: string
  14653. xgoodsname:
  14654. description: x合约名称
  14655. type: string
  14656. type: object
  14657. models.WrDeliveryDetail:
  14658. properties:
  14659. accountid:
  14660. description: 账号ID
  14661. type: integer
  14662. averageprice:
  14663. description: 交割均价 = 交割金额 / 交割数量
  14664. type: number
  14665. buyorsell:
  14666. description: 方向 - 0:买 1:卖
  14667. type: integer
  14668. deliveryamount:
  14669. description: 货款金额(X总货款+P总货款)
  14670. type: number
  14671. deliveryid:
  14672. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  14673. type: string
  14674. deliveryorderid:
  14675. description: 申报单号
  14676. type: string
  14677. deliverypricemove:
  14678. description: 升贴水(升贴水总额)
  14679. type: number
  14680. deliveryqty:
  14681. description: 交收数量(点选数量)
  14682. type: number
  14683. deliverystatus:
  14684. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  14685. type: integer
  14686. deliverytime:
  14687. description: 交割时间
  14688. type: string
  14689. deliverytotalamount:
  14690. description: 交收金额
  14691. type: number
  14692. enumdicname:
  14693. description: 单位名称
  14694. type: string
  14695. matchaccountid:
  14696. description: 对手账号ID
  14697. type: integer
  14698. matchusername:
  14699. description: 对手方名称(仓单持有人)
  14700. type: string
  14701. p1goodsremainamount:
  14702. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  14703. type: number
  14704. pdeliverycloseqty:
  14705. description: p合约平仓数量
  14706. type: number
  14707. pdeliveryprice:
  14708. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  14709. type: number
  14710. pgoodscode:
  14711. description: 商品代码
  14712. type: string
  14713. pgoodsid:
  14714. description: p点选合约id
  14715. type: integer
  14716. pgoodsname:
  14717. description: 商品名称
  14718. type: string
  14719. ppricemode:
  14720. description: 点价价格方式 - 1:商品价 2:固定值
  14721. type: integer
  14722. tradedate:
  14723. description: 交易日(yyyymmdd)
  14724. type: string
  14725. userid:
  14726. description: 用户id
  14727. type: integer
  14728. username:
  14729. description: 用户名称
  14730. type: string
  14731. warehousename:
  14732. description: 仓库名称
  14733. type: string
  14734. wrfactortypeid:
  14735. description: 仓单要素类型ID
  14736. type: string
  14737. wrtypename:
  14738. description: 商品
  14739. type: string
  14740. xdeliverycloseqty:
  14741. description: 合约数量
  14742. type: number
  14743. xgoodsamount:
  14744. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  14745. type: number
  14746. xgoodscode:
  14747. description: 商品代码
  14748. type: string
  14749. xgoodsid:
  14750. description: x交易合约ID
  14751. type: integer
  14752. xgoodsname:
  14753. description: 商品名称
  14754. type: string
  14755. type: object
  14756. models.WrDeliveryGoodsSection:
  14757. properties:
  14758. dglst:
  14759. description: 板块商品列表
  14760. items:
  14761. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  14762. type: array
  14763. imagepath:
  14764. description: 图片地址
  14765. type: string
  14766. orderindex:
  14767. description: 排序
  14768. type: integer
  14769. sectionid:
  14770. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数
  14771. type: integer
  14772. sectionname:
  14773. description: 版块名称
  14774. type: string
  14775. sectiontype:
  14776. description: 版块类型 - 1:指数版块 2:普通版块
  14777. type: integer
  14778. type: object
  14779. models.WrDeliveryGoodsSectionConfig:
  14780. properties:
  14781. deliverygoodscode:
  14782. description: 现货商品代码
  14783. type: string
  14784. deliverygoodsid:
  14785. description: 现货品种ID(SEQ_DELIVERYGOODS)
  14786. type: integer
  14787. deliverygoodsname:
  14788. description: 现货商品名称
  14789. type: string
  14790. orderindex:
  14791. description: 排序
  14792. type: integer
  14793. type: object
  14794. models.WrFAProductDetail:
  14795. properties:
  14796. accountid:
  14797. description: 资金账号
  14798. type: integer
  14799. areauserid:
  14800. description: 金融机构ID
  14801. type: integer
  14802. financingdays:
  14803. description: 天数(天)
  14804. type: integer
  14805. interestminlen:
  14806. description: 最小起息天数
  14807. type: integer
  14808. interestrate:
  14809. description: 利率
  14810. type: number
  14811. interestratemode:
  14812. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14813. type: integer
  14814. interestsettlemode:
  14815. description: 结息方式 - 1:按日结息 3:按月结息
  14816. type: integer
  14817. interestsettlevalue:
  14818. description: 结息方式值
  14819. type: integer
  14820. isautoloan:
  14821. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  14822. type: integer
  14823. loantag:
  14824. description: '放款标识: "放款快" 或者为空'
  14825. type: string
  14826. marginratio:
  14827. description: 保证金比率质押率 - [仓单质押]
  14828. type: number
  14829. productdetailid:
  14830. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  14831. type: integer
  14832. productid:
  14833. description: 金融产品ID
  14834. type: integer
  14835. productname:
  14836. description: 产品名称
  14837. type: string
  14838. updatetime:
  14839. description: 更新时间
  14840. type: string
  14841. username:
  14842. description: 融出方
  14843. type: string
  14844. type: object
  14845. models.WrFactorTypeInfo:
  14846. properties:
  14847. deliverygoodscode:
  14848. description: 品种代码
  14849. type: string
  14850. deliverygoodsname:
  14851. description: 品种名称
  14852. type: string
  14853. dgfactoryitemid:
  14854. description: 选择项id
  14855. type: integer
  14856. dgfactoryitemtypeid:
  14857. description: 要素选择项ID (1-仓库 2-品牌)
  14858. type: integer
  14859. dgfactoryitemvalue:
  14860. description: 要素项值
  14861. type: string
  14862. itemtypename:
  14863. description: 要素项名称
  14864. type: string
  14865. optioncompare:
  14866. description: 选择比较串
  14867. type: string
  14868. warehouseid:
  14869. description: 仓库id
  14870. type: integer
  14871. wrfactortypeid:
  14872. description: 仓单要素ID
  14873. type: string
  14874. wrfactortypename:
  14875. description: 要素名称
  14876. type: string
  14877. wrfactortypename2:
  14878. description: 要素名称(不含仓库)
  14879. type: string
  14880. wrstandardcode:
  14881. description: 品类代码
  14882. type: string
  14883. wrstandardid:
  14884. description: 品类id
  14885. type: integer
  14886. wrstandardname:
  14887. description: 品类名称
  14888. type: string
  14889. type: object
  14890. models.WrFilterItem:
  14891. properties:
  14892. itemcode:
  14893. description: 代码
  14894. type: string
  14895. itemid:
  14896. description: 项id
  14897. type: integer
  14898. itemname:
  14899. description: 名称
  14900. type: string
  14901. itemtype:
  14902. description: 类型 1-品种 2-品类(商品) 3-仓库
  14903. type: integer
  14904. type: object
  14905. models.WrFinanceBuyApply:
  14906. properties:
  14907. applydate:
  14908. description: 申请时间
  14909. type: string
  14910. applystatus:
  14911. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  14912. type: integer
  14913. applyuserid:
  14914. description: 申请人
  14915. type: integer
  14916. auditdate:
  14917. description: 审核时间
  14918. type: string
  14919. auditremark:
  14920. description: 审核备注
  14921. type: string
  14922. audituserid:
  14923. description: 审核人
  14924. type: integer
  14925. buyaccountid:
  14926. description: 买方资金账号
  14927. type: integer
  14928. buyorsell:
  14929. description: 买卖 - 0:买 1:卖
  14930. type: integer
  14931. buyuserid:
  14932. description: 买方用户ID
  14933. type: integer
  14934. buyusername:
  14935. description: 买方名称
  14936. type: string
  14937. buywrtradeorderid:
  14938. description: 融资方买委托单ID
  14939. type: string
  14940. deliverygoodscode:
  14941. description: 品种代码
  14942. type: string
  14943. deliverygoodsid:
  14944. description: 品种ID
  14945. type: integer
  14946. deliverygoodsname:
  14947. description: 品种名称
  14948. type: string
  14949. deliverymonth:
  14950. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  14951. type: string
  14952. enumdicname:
  14953. description: 单位名称
  14954. type: string
  14955. financeaccountid:
  14956. description: 融资方资金帐户ID
  14957. type: integer
  14958. financeapplyid:
  14959. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14960. type: string
  14961. financeareauserid:
  14962. description: 融资方用户ID
  14963. type: string
  14964. financename:
  14965. description: 融出方名称
  14966. type: string
  14967. financetype:
  14968. description: 融资类型 1-融资回购
  14969. type: integer
  14970. financingdays:
  14971. description: 天数(天)
  14972. type: integer
  14973. freezebuymargin:
  14974. description: 冻结融资保证金(买方)
  14975. type: number
  14976. handleremark:
  14977. description: 处理备注
  14978. type: string
  14979. handlestatus:
  14980. description: 处理状态
  14981. type: integer
  14982. interestminlen:
  14983. description: 最小起息天数
  14984. type: integer
  14985. interestrate:
  14986. description: 利率
  14987. type: number
  14988. interestratemode:
  14989. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14990. type: integer
  14991. interestsettlemode:
  14992. description: 结息方式 - 1:按日结息 3:按月结息
  14993. type: integer
  14994. interestsettlevalue:
  14995. description: 结息方式值
  14996. type: integer
  14997. isautoloan:
  14998. description: 是否自动放款 - 0:手动 1:自动
  14999. type: integer
  15000. marginratio:
  15001. description: 保证金比率质押率 - [仓单质押]
  15002. type: number
  15003. marketid:
  15004. description: 市场ID
  15005. type: integer
  15006. minivalue:
  15007. description: 现货商品最小变动值
  15008. type: integer
  15009. optioncompare:
  15010. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15011. type: string
  15012. orderqty:
  15013. description: 委托数量(商品数量)
  15014. type: number
  15015. productdetailid:
  15016. description: 产品组合ID
  15017. type: integer
  15018. productid:
  15019. description: 金融产品ID
  15020. type: integer
  15021. productname:
  15022. description: 产品名称
  15023. type: string
  15024. remark:
  15025. description: 备注
  15026. type: string
  15027. scfcontractid:
  15028. description: 仓单回购合同ID
  15029. type: string
  15030. sellaccountid:
  15031. description: 卖方资金账号
  15032. type: integer
  15033. selluserid:
  15034. description: 卖方用户ID
  15035. type: integer
  15036. sellwrtradeorderid:
  15037. description: 卖方委托单ID
  15038. type: string
  15039. tradeamount:
  15040. description: 成交金额(借款金额)
  15041. type: number
  15042. tradedate:
  15043. description: 交易日(yyyyMMdd)
  15044. type: string
  15045. tradeprice:
  15046. description: 成交价格
  15047. type: number
  15048. warehouseid:
  15049. description: 仓库ID
  15050. type: integer
  15051. warehousename:
  15052. description: 仓库名称
  15053. type: string
  15054. wrfactortypeid:
  15055. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15056. type: string
  15057. wrfactortypename:
  15058. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15059. type: string
  15060. wrpricetype:
  15061. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  15062. type: integer
  15063. wrstandardcode:
  15064. description: 现货商品代码
  15065. type: string
  15066. wrstandardid:
  15067. description: 现货商品ID
  15068. type: integer
  15069. wrstandardname:
  15070. description: 商品名称
  15071. type: string
  15072. wrtypename:
  15073. description: 商品
  15074. type: string
  15075. type: object
  15076. models.WrFriendApply:
  15077. properties:
  15078. applicantid:
  15079. description: 申请人
  15080. type: integer
  15081. applyname:
  15082. description: 申请人名称
  15083. type: string
  15084. applysrc:
  15085. description: 申请来源 - 1:管理端 2:终端
  15086. type: integer
  15087. applystatus:
  15088. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15089. type: integer
  15090. applytime:
  15091. description: 申请时间
  15092. type: string
  15093. auditname:
  15094. description: 审核人名称
  15095. type: string
  15096. auditorid:
  15097. description: 审核人
  15098. type: integer
  15099. auditremark:
  15100. description: 审核备注
  15101. type: string
  15102. auditsrc:
  15103. description: 审核来源 - 1:管理端 2:终端
  15104. type: integer
  15105. audittime:
  15106. description: 审核时间
  15107. type: string
  15108. friendapplyid:
  15109. description: 申请ID(SEQ_FRIENDAPPLY)
  15110. type: string
  15111. friendname:
  15112. description: 好友名字(已脱敏)
  15113. type: string
  15114. frienduserid:
  15115. description: 好友用户ID
  15116. type: string
  15117. remark:
  15118. description: 备注
  15119. type: string
  15120. userid:
  15121. description: 申请人用户ID
  15122. type: integer
  15123. type: object
  15124. models.WrFtDeliveryGoods:
  15125. properties:
  15126. deliverygoodscode:
  15127. description: 品种代码
  15128. type: string
  15129. deliverygoodsid:
  15130. description: 品种ID
  15131. type: integer
  15132. deliverygoodsname:
  15133. description: 品种名称
  15134. type: string
  15135. wdlst:
  15136. description: 商品列表
  15137. items:
  15138. $ref: '#/definitions/models.WrFtWrstandard'
  15139. type: array
  15140. type: object
  15141. models.WrFtWrstandard:
  15142. properties:
  15143. enumdicname:
  15144. description: 单位名称
  15145. type: string
  15146. minivalue:
  15147. description: 最小变动值
  15148. type: integer
  15149. wrstandardcode:
  15150. description: 现货商品代码
  15151. type: string
  15152. wrstandardid:
  15153. description: 现货商品ID
  15154. type: integer
  15155. wrstandardname:
  15156. description: 商品名称
  15157. type: string
  15158. type: object
  15159. models.WrGoodsInfo:
  15160. properties:
  15161. haswr:
  15162. description: 0:仓单预售 1:仓单贸易
  15163. type: integer
  15164. lstitem:
  15165. description: 商品信息项
  15166. items:
  15167. $ref: '#/definitions/models.WrTypeItem'
  15168. type: array
  15169. lststep:
  15170. description: 履约规则
  15171. items:
  15172. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15173. type: array
  15174. marketid:
  15175. description: 市场id
  15176. type: integer
  15177. type: object
  15178. models.WrGoodsPerformanceStep:
  15179. properties:
  15180. autoid:
  15181. description: AutoID
  15182. type: integer
  15183. isauto:
  15184. description: 是否自动 - 0:不自动 1:自动
  15185. type: integer
  15186. remark:
  15187. description: 备注
  15188. type: string
  15189. stepdate:
  15190. description: 天数信息(T+N)
  15191. type: string
  15192. stepdays:
  15193. description: 距离上一步天数
  15194. type: integer
  15195. stepindex:
  15196. description: 步骤序号
  15197. type: integer
  15198. stepinfo:
  15199. description: 步骤信息(步骤名称+步骤值)
  15200. type: string
  15201. steptypeid:
  15202. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15203. type: integer
  15204. steptypename:
  15205. description: 步骤名称
  15206. type: string
  15207. stepvalue:
  15208. description: 步骤值
  15209. type: number
  15210. templateid:
  15211. description: 履约计划模板ID
  15212. type: integer
  15213. type: object
  15214. models.WrHoldLB:
  15215. properties:
  15216. accountid:
  15217. description: 持有人帐户ID
  15218. type: integer
  15219. createtime:
  15220. description: 创建时间(过户时间)
  15221. type: string
  15222. deliverygoodscode:
  15223. description: 品种代码
  15224. type: string
  15225. deliverygoodsid:
  15226. description: 品种ID
  15227. type: integer
  15228. deliverygoodsname:
  15229. description: 品种名称
  15230. type: string
  15231. enableqty:
  15232. description: 可用数量
  15233. type: number
  15234. enumdicname:
  15235. description: 单位名称
  15236. type: string
  15237. freezerqty:
  15238. description: 冻结数量
  15239. type: number
  15240. ladingbillid:
  15241. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15242. type: string
  15243. minivalue:
  15244. description: 现货商品最小变动值
  15245. type: integer
  15246. optioncompare:
  15247. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15248. type: string
  15249. parentsubnum:
  15250. description: 拆分父子单号
  15251. type: integer
  15252. pledgeqty:
  15253. description: 质押数量
  15254. type: number
  15255. qty:
  15256. description: 数量
  15257. type: number
  15258. subnum:
  15259. description: 提单子单号
  15260. type: integer
  15261. tradedate:
  15262. description: 交易日(yyyyMMdd)
  15263. type: string
  15264. userid:
  15265. description: 持有人ID
  15266. type: integer
  15267. warehouseid:
  15268. description: 仓库ID
  15269. type: integer
  15270. warehousename:
  15271. description: 仓库名称
  15272. type: string
  15273. wrfactortypeid:
  15274. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15275. type: string
  15276. wrfactortypename:
  15277. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15278. type: string
  15279. wrholdeno:
  15280. description: 仓单编号
  15281. type: string
  15282. wrid:
  15283. description: 仓单变更ID
  15284. type: string
  15285. wrstandardcode:
  15286. description: 现货商品代码
  15287. type: string
  15288. wrstandardid:
  15289. description: 现货商品ID
  15290. type: integer
  15291. wrstandardname:
  15292. description: 商品名称
  15293. type: string
  15294. wrtypename:
  15295. description: 商品
  15296. type: string
  15297. type: object
  15298. models.WrMarketTradeConfig:
  15299. properties:
  15300. basisdownratio:
  15301. description: 浮动价基差下限比例(仓单贸易)
  15302. type: number
  15303. basisupratio:
  15304. description: 浮动价基差上限比例(仓单贸易)
  15305. type: number
  15306. buychargealgorithm:
  15307. description: 买方手续费收取方式 1:比率 2:固定
  15308. type: integer
  15309. buychargealgorithm2:
  15310. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  15311. type: integer
  15312. buychargealgorithmvalue:
  15313. description: 买方手续费设置值(交易所部分)
  15314. type: number
  15315. buychargealgorithmvalue2:
  15316. description: 买方手续费设置值(会员部分)
  15317. type: number
  15318. buychargealgorithmvalue3:
  15319. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  15320. type: number
  15321. buychargealgorithmvalue4:
  15322. description: 回购买方手续费设置值(会员部分) --77:现货商城
  15323. type: number
  15324. buyfirstmarginalgorithm:
  15325. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  15326. type: integer
  15327. buyfirstmarginvalue:
  15328. description: 买方出价保证金设置值 - [竞拍]
  15329. type: number
  15330. buymarginalgorithm:
  15331. description: 买方保证金方式 - 1:比率 2:固定
  15332. type: integer
  15333. buymarginvalue:
  15334. description: 买方保证金设置值
  15335. type: number
  15336. buyreleaseratio:
  15337. description: 买方释放比率[2:分步履约]
  15338. type: number
  15339. executemode:
  15340. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  15341. type: integer
  15342. executeside:
  15343. description: 执行方[2:分步履约] - 1:买方 2:卖方
  15344. type: integer
  15345. failedchargealgorithm:
  15346. description: 流拍手续费收取方式 1:比率 2:固定
  15347. type: integer
  15348. failedchargevalue:
  15349. description: 流拍手续费设置值
  15350. type: number
  15351. failedchargevalue2:
  15352. description: 流拍卖方手续费设置值
  15353. type: number
  15354. holddays:
  15355. description: 合同期限[2:分步履约]
  15356. type: integer
  15357. marketid:
  15358. description: 市场ID-仓单贸易、竞拍、预售
  15359. type: integer
  15360. minqty:
  15361. description: 最小执行量[2:分步履约]
  15362. type: number
  15363. modifierid:
  15364. description: 修改人
  15365. type: integer
  15366. performancetempid:
  15367. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)
  15368. type: integer
  15369. performancetempid2:
  15370. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行
  15371. type: integer
  15372. performanceway:
  15373. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  15374. type: integer
  15375. sellchargealgorithm:
  15376. description: 卖方手续费收取方式 1:比率 2:固定
  15377. type: integer
  15378. sellchargealgorithm2:
  15379. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  15380. type: integer
  15381. sellchargealgorithmvalue:
  15382. description: 卖方手续费设置值(交易所部分)
  15383. type: number
  15384. sellchargealgorithmvalue2:
  15385. description: 卖方手续费设置值(会员部分)
  15386. type: number
  15387. sellchargealgorithmvalue3:
  15388. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  15389. type: number
  15390. sellchargealgorithmvalue4:
  15391. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  15392. type: number
  15393. sellmarginalgorithm:
  15394. description: 卖方保证金方式 - 1:比率 2:固定
  15395. type: integer
  15396. sellmarginvalue:
  15397. description: 卖方保证金设置值
  15398. type: number
  15399. sellmarginvalue2:
  15400. description: 卖方保证金设置值(无仓单)
  15401. type: number
  15402. sellreleaseratio:
  15403. description: 卖方释放比率[2:分步履约]
  15404. type: number
  15405. updatetime:
  15406. description: 更新时间
  15407. type: string
  15408. type: object
  15409. models.WrOrderDetail:
  15410. properties:
  15411. accountid:
  15412. description: 交易账号(资金账号)
  15413. type: integer
  15414. allfriendsflag:
  15415. description: 是否全好友可见 - 0:否 1:是
  15416. type: integer
  15417. amount:
  15418. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  15419. type: number
  15420. buyorsell:
  15421. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15422. type: integer
  15423. canbargain:
  15424. description: 是否可议价 - 0:不可 1:可
  15425. type: integer
  15426. cancelqty:
  15427. description: 撤销数量
  15428. type: number
  15429. canpart:
  15430. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  15431. type: integer
  15432. delistminqty:
  15433. description: 起摘数量
  15434. type: integer
  15435. deliverygoodscode:
  15436. description: 品种代码
  15437. type: string
  15438. deliverygoodsid:
  15439. description: 品种ID
  15440. type: integer
  15441. deliverygoodsname:
  15442. description: 品种名称
  15443. type: string
  15444. deliverymonth:
  15445. description: 交收月
  15446. type: string
  15447. enumdicname:
  15448. description: 单位名称
  15449. type: string
  15450. fixedprice:
  15451. description: 固定价格 - [挂牌]
  15452. type: number
  15453. freezemargin:
  15454. description: 冻结保证金(保证金)
  15455. type: number
  15456. futupricemove:
  15457. description: 期货升贴水
  15458. type: number
  15459. futushow:
  15460. description: 期货合约/升贴水
  15461. type: string
  15462. goodscode:
  15463. description: 期货合约
  15464. type: string
  15465. goodsid:
  15466. description: 期货商品id
  15467. type: integer
  15468. goodsname:
  15469. description: 商品名称
  15470. type: string
  15471. haswr:
  15472. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15473. type: integer
  15474. isspecified:
  15475. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  15476. type: integer
  15477. ladingbillid:
  15478. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15479. type: string
  15480. marginvalue:
  15481. description: 保证金设置值(履约保证金)
  15482. type: number
  15483. marketid:
  15484. description: 市场ID
  15485. type: integer
  15486. matchusername:
  15487. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  15488. type: string
  15489. minivalue:
  15490. description: 现货商品最小变动值
  15491. type: integer
  15492. optioncompare:
  15493. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15494. type: string
  15495. orderqty:
  15496. description: 委托数量
  15497. type: number
  15498. ordertime:
  15499. description: 委托时间(挂牌时间)
  15500. type: string
  15501. performancetemplateid:
  15502. description: 履约模板id
  15503. type: integer
  15504. pricemove:
  15505. description: 升贴水(浮动价时填写) - [挂牌]
  15506. type: number
  15507. taname:
  15508. description: 交易用户名称(资金账号名称)
  15509. type: string
  15510. tradedate:
  15511. description: 交易日(yyyyMMdd)
  15512. type: string
  15513. tradeprice:
  15514. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  15515. type: number
  15516. tradeqty:
  15517. description: 成交数量
  15518. type: number
  15519. userid:
  15520. description: 用户ID
  15521. type: integer
  15522. validtime:
  15523. description: 挂牌有效期
  15524. type: string
  15525. warehouseid:
  15526. description: 仓库ID
  15527. type: integer
  15528. warehousename:
  15529. description: 仓库名称
  15530. type: string
  15531. wrfactortypeid:
  15532. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15533. type: string
  15534. wrfactortypename:
  15535. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15536. type: string
  15537. wrpricetype:
  15538. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15539. type: integer
  15540. wrstandardcode:
  15541. description: 现货商品代码
  15542. type: string
  15543. wrstandardid:
  15544. description: 现货商品ID
  15545. type: integer
  15546. wrstandardname:
  15547. description: 商品名称
  15548. type: string
  15549. wrtradeorderid:
  15550. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15551. type: string
  15552. wrtradeorderstatus:
  15553. 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:撤单解冻贷款失败
  15554. type: integer
  15555. wrtradetype:
  15556. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15557. type: integer
  15558. wrtypename:
  15559. description: 商品
  15560. type: string
  15561. type: object
  15562. models.WrOrderQuote:
  15563. properties:
  15564. buyprice:
  15565. description: 买价
  15566. type: number
  15567. buypricemove:
  15568. description: 买升贴水(基差)
  15569. type: number
  15570. buyqty:
  15571. description: 买量
  15572. type: number
  15573. deliverygoodscode:
  15574. description: 品种代码
  15575. type: string
  15576. deliverygoodsid:
  15577. description: 品种id
  15578. type: integer
  15579. deliverygoodsname:
  15580. description: 品种名称
  15581. type: string
  15582. deliverymonth:
  15583. description: 交收月
  15584. type: string
  15585. enumdicname:
  15586. description: 单位名称
  15587. type: string
  15588. goodscode:
  15589. description: 商品合约(浮动价列表才有)
  15590. type: string
  15591. goodsid:
  15592. description: 商品id(浮动价列表才有)
  15593. type: integer
  15594. minivalue:
  15595. description: 现货商品最小变动值
  15596. type: integer
  15597. sellprice:
  15598. description: 卖价
  15599. type: number
  15600. sellpricemove:
  15601. description: 卖升贴水(基差)
  15602. type: number
  15603. sellqty:
  15604. description: 卖量
  15605. type: number
  15606. warehousecode:
  15607. description: 仓库代码
  15608. type: string
  15609. warehouseid:
  15610. description: 仓库id
  15611. type: integer
  15612. warehousename:
  15613. description: 仓库名称
  15614. type: string
  15615. wrfactortypeid:
  15616. description: 仓单要素id
  15617. type: string
  15618. wrfactortypename:
  15619. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15620. type: string
  15621. wrgoodsname:
  15622. description: 商品(商品名称+仓库要素名称 拼接)
  15623. type: string
  15624. wrstandardcode:
  15625. description: 商品代码
  15626. type: string
  15627. wrstandardid:
  15628. description: 商品id
  15629. type: integer
  15630. wrstandardname:
  15631. description: 商品名称
  15632. type: string
  15633. type: object
  15634. models.WrOrderQuoteDetail:
  15635. properties:
  15636. buyorsell:
  15637. description: 买卖 - 0:买 1:卖
  15638. type: integer
  15639. delistminqty:
  15640. description: 起摘数量
  15641. type: number
  15642. deliverymonth:
  15643. description: 交收月
  15644. type: string
  15645. enumdicname:
  15646. description: 单位名称
  15647. type: string
  15648. fixedprice:
  15649. description: 买(卖)价
  15650. type: number
  15651. minivalue:
  15652. description: 现货商品最小变动值
  15653. type: integer
  15654. orderqty:
  15655. description: 买(卖)量(=委托量-成交量)
  15656. type: number
  15657. ordertime:
  15658. description: 委托时间
  15659. type: string
  15660. pricemove:
  15661. description: 买(卖)升贴水- 基差
  15662. type: number
  15663. userid:
  15664. description: 购买方(销售方)用户ID
  15665. type: integer
  15666. username:
  15667. description: 购买方(销售方)
  15668. type: string
  15669. wrtradeorderid:
  15670. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15671. type: string
  15672. type: object
  15673. models.WrOutInApply:
  15674. properties:
  15675. applyid:
  15676. description: 申请单id
  15677. type: string
  15678. applystatus:
  15679. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  15680. type: integer
  15681. applytime:
  15682. description: 申请时间
  15683. type: string
  15684. applytype:
  15685. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  15686. type: integer
  15687. deliverygoodscode:
  15688. description: 品种代码
  15689. type: string
  15690. deliverygoodsid:
  15691. description: 品种ID
  15692. type: integer
  15693. deliverygoodsname:
  15694. description: 品种名称
  15695. type: string
  15696. enumdicname:
  15697. description: 单位名称
  15698. type: string
  15699. expresscompany:
  15700. description: 物流公司
  15701. type: string
  15702. expressnum:
  15703. description: 物流单号
  15704. type: string
  15705. minivalue:
  15706. description: 现货商品最小变动值
  15707. type: integer
  15708. optioncompare:
  15709. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15710. type: string
  15711. qty:
  15712. description: 数量
  15713. type: integer
  15714. userid:
  15715. description: 用户id
  15716. type: integer
  15717. warehouseid:
  15718. description: 仓库ID
  15719. type: integer
  15720. warehousename:
  15721. description: 仓库名称
  15722. type: string
  15723. wrfactortypeid:
  15724. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15725. type: string
  15726. wrfactortypename:
  15727. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15728. type: string
  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.WrPerformancePlan:
  15743. properties:
  15744. activatemonth:
  15745. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  15746. type: string
  15747. amount:
  15748. description: 履约金额(总金额)
  15749. type: number
  15750. buyaccountid:
  15751. description: 买方账号
  15752. type: integer
  15753. buyerfreezeamount:
  15754. description: 履约冻结(买履约)
  15755. type: number
  15756. buyerfreezeamountremain:
  15757. description: 履约冻结剩余(买履约)
  15758. type: number
  15759. buyorsell:
  15760. description: 买卖方向 0-买 1-卖
  15761. type: integer
  15762. buypaidamount:
  15763. description: 买方已冻/已扣金额 (已付金额)
  15764. type: number
  15765. buyusername:
  15766. description: 买方名字
  15767. type: string
  15768. contractid:
  15769. description: 合同ID
  15770. type: integer
  15771. createtime:
  15772. description: 创建时间
  15773. type: string
  15774. creatorid:
  15775. description: 创建人
  15776. type: integer
  15777. curstepdeadline:
  15778. description: 当前步骤到期时间
  15779. type: string
  15780. curstepid:
  15781. description: 当前步骤ID
  15782. type: string
  15783. curstepname:
  15784. description: 当前步骤名称
  15785. type: string
  15786. deliverygoodscode:
  15787. description: 品种代码
  15788. type: string
  15789. deliverygoodsid:
  15790. description: 品种ID
  15791. type: integer
  15792. deliverygoodsname:
  15793. description: 品种名称
  15794. type: string
  15795. enumdicname:
  15796. description: 单位名称
  15797. type: string
  15798. expressfee:
  15799. description: 运费
  15800. type: number
  15801. expressfeeconfirmed:
  15802. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  15803. type: integer
  15804. hasovershort:
  15805. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  15806. type: integer
  15807. haswr:
  15808. description: 类型 0-仓单预售 1-仓单贸易
  15809. type: integer
  15810. marketid:
  15811. description: 市场ID
  15812. type: integer
  15813. middleaccountid:
  15814. description: 中间商资金账号ID
  15815. type: integer
  15816. middleuserid:
  15817. description: 中间商用户ID
  15818. type: integer
  15819. minivalue:
  15820. description: 现货商品最小变动值
  15821. type: integer
  15822. optioncompare:
  15823. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15824. type: string
  15825. overshortamount:
  15826. description: 溢短金额
  15827. type: number
  15828. overshortqty:
  15829. description: 溢短数量
  15830. type: number
  15831. paymenttype:
  15832. description: 付款方式 - 1:冻结 2:扣款
  15833. type: integer
  15834. performanceplanid:
  15835. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  15836. type: string
  15837. performancestatus:
  15838. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭
  15839. type: integer
  15840. performancetype:
  15841. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  15842. type: integer
  15843. qty:
  15844. description: 履约数量
  15845. type: number
  15846. relatedorderid:
  15847. description: 关联单号(履约类型的关联单号)
  15848. type: string
  15849. remark:
  15850. description: 备注
  15851. type: string
  15852. sellaccountid:
  15853. description: 卖方账号
  15854. type: integer
  15855. sellerfreezeamount:
  15856. description: 履约冻结(卖履约)
  15857. type: number
  15858. sellerfreezeamountremain:
  15859. description: 履约冻结剩余(卖履约)
  15860. type: number
  15861. sellreceivedamount:
  15862. description: 卖方已收金额
  15863. type: number
  15864. sellusername:
  15865. description: 卖方名字
  15866. type: string
  15867. shipremark:
  15868. description: 发货备注[物流单号]
  15869. type: string
  15870. starttime:
  15871. description: 开始时间
  15872. type: string
  15873. steptypeid:
  15874. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15875. type: integer
  15876. typename:
  15877. description: 履约类型 名称
  15878. type: string
  15879. unpaidamount:
  15880. description: 剩余款(待支付金额)
  15881. type: number
  15882. userid:
  15883. description: 用户id
  15884. type: integer
  15885. warehouseid:
  15886. description: 仓库ID
  15887. type: integer
  15888. warehousename:
  15889. description: 仓库名称
  15890. type: string
  15891. wrfactortypeid:
  15892. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15893. type: string
  15894. wrfactortypename:
  15895. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15896. type: string
  15897. wrstandardcode:
  15898. description: 现货商品代码
  15899. type: string
  15900. wrstandardid:
  15901. description: 现货商品ID
  15902. type: integer
  15903. wrstandardname:
  15904. description: 商品名称
  15905. type: string
  15906. wrtransferuserid:
  15907. description: 仓单受让用户
  15908. type: integer
  15909. wrtypename:
  15910. description: 商品
  15911. type: string
  15912. required:
  15913. - userid
  15914. type: object
  15915. models.WrPerformancePlanStep:
  15916. properties:
  15917. delaydays:
  15918. description: 延期申请天数
  15919. type: integer
  15920. deliverygoodscode:
  15921. description: 品种代码
  15922. type: string
  15923. deliverygoodsid:
  15924. description: 品种ID
  15925. type: integer
  15926. deliverygoodsname:
  15927. description: 品种名称
  15928. type: string
  15929. endtime:
  15930. description: 结束日期
  15931. type: string
  15932. enumdicname:
  15933. description: 单位名称
  15934. type: string
  15935. executeside:
  15936. description: 步骤执行方 - 1:买方 2:卖方
  15937. type: integer
  15938. handlestatus:
  15939. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  15940. type: integer
  15941. isauto:
  15942. description: 是否自动 - 0:不自动 1:自动
  15943. type: integer
  15944. islastreceivestep:
  15945. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  15946. type: integer
  15947. minivalue:
  15948. description: 现货商品最小变动值
  15949. type: integer
  15950. optioncompare:
  15951. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15952. type: string
  15953. overdays:
  15954. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  15955. type: integer
  15956. performancestepid:
  15957. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  15958. type: string
  15959. planid:
  15960. description: 所属履约计划ID
  15961. type: string
  15962. realamount:
  15963. description: 实际完成金额
  15964. type: number
  15965. relatedorderid:
  15966. description: 关联单号
  15967. type: string
  15968. remaindays:
  15969. description: 剩余天数
  15970. type: integer
  15971. remark:
  15972. description: 错误备注
  15973. type: string
  15974. starttime:
  15975. description: 开始日期
  15976. type: string
  15977. stepamount:
  15978. description: 步骤金额
  15979. type: number
  15980. stepdays:
  15981. description: 距离上一步天数(分钟)
  15982. type: integer
  15983. stepindex:
  15984. description: 步骤序号
  15985. type: integer
  15986. steplanchtype:
  15987. description: 步骤启动类型 - 1:系统自动 2:手动
  15988. type: integer
  15989. stepremark:
  15990. description: 步骤备注
  15991. type: string
  15992. stepstatus:
  15993. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  15994. type: integer
  15995. steptypeid:
  15996. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15997. type: integer
  15998. steptypename:
  15999. description: 步骤名称
  16000. type: string
  16001. stepvalue:
  16002. description: 步骤值
  16003. type: number
  16004. warehouseid:
  16005. description: 仓库ID
  16006. type: integer
  16007. warehousename:
  16008. description: 仓库名称
  16009. type: string
  16010. wrfactortypeid:
  16011. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16012. type: string
  16013. wrfactortypename:
  16014. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16015. type: string
  16016. wrstandardcode:
  16017. description: 现货商品代码
  16018. type: string
  16019. wrstandardid:
  16020. description: 现货商品ID
  16021. type: integer
  16022. wrstandardname:
  16023. description: 商品名称
  16024. type: string
  16025. wrtypename:
  16026. description: 商品
  16027. type: string
  16028. type: object
  16029. models.WrPerformanceStepType:
  16030. properties:
  16031. canauto:
  16032. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  16033. type: integer
  16034. steptypeid:
  16035. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  16036. type: integer
  16037. steptypename:
  16038. description: 步骤类型名称
  16039. type: string
  16040. type: object
  16041. models.WrPerformanceTemplateEx:
  16042. properties:
  16043. autoid:
  16044. description: AutoID 模板id
  16045. type: integer
  16046. createtime:
  16047. description: 创建时间
  16048. type: string
  16049. creatorid:
  16050. description: 创建人
  16051. type: integer
  16052. lstStep:
  16053. description: 步骤信息列表
  16054. items:
  16055. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  16056. type: array
  16057. paymenttype:
  16058. description: 支付方式 - 1:冻结 2:扣款
  16059. type: integer
  16060. takemode:
  16061. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  16062. type: integer
  16063. templatename:
  16064. description: 模板名称
  16065. type: string
  16066. templatetype:
  16067. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  16068. type: integer
  16069. userid:
  16070. description: 所属用户
  16071. type: integer
  16072. type: object
  16073. models.WrPosition:
  16074. properties:
  16075. accountid:
  16076. description: 帐户ID
  16077. type: integer
  16078. buyexcuteqty:
  16079. description: 采购履约中数量
  16080. type: number
  16081. creditcurqty:
  16082. description: 授信当前数量(预售仓单:预售当前量)
  16083. type: number
  16084. creditenableqty:
  16085. description: '授信可用数量(预售仓单: 可用数量)'
  16086. type: number
  16087. creditfreezeqty:
  16088. description: '授信冻结数量(预售仓单: 当前数量)'
  16089. type: number
  16090. credittotalqty:
  16091. description: 授信总数量(预售仓单:预售总量)
  16092. type: number
  16093. credittradeqty:
  16094. description: 授信成交数量(预售仓单:成交总量)
  16095. type: number
  16096. deliverygoodscode:
  16097. description: 品种代码
  16098. type: string
  16099. deliverygoodsid:
  16100. description: 品种ID
  16101. type: integer
  16102. deliverygoodsname:
  16103. description: 品种名称
  16104. type: string
  16105. enalbeqty:
  16106. description: 可用数量
  16107. type: number
  16108. enumdicname:
  16109. description: 单位名称
  16110. type: string
  16111. freezeqty:
  16112. description: 总冻结数量
  16113. type: number
  16114. haswr:
  16115. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16116. type: integer
  16117. minivalue:
  16118. description: 现货商品最小变动值
  16119. type: integer
  16120. modifytime:
  16121. description: 修改时间(过户时间)
  16122. type: string
  16123. optioncompare:
  16124. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16125. type: string
  16126. pledgeqty:
  16127. description: 质押数量
  16128. type: number
  16129. querytype:
  16130. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  16131. type: integer
  16132. sellexcuteqty:
  16133. description: 销售履约中数量
  16134. type: number
  16135. totalqty:
  16136. description: 总数量(库存数量)
  16137. type: number
  16138. warehouseid:
  16139. description: 仓库ID
  16140. type: integer
  16141. warehousename:
  16142. description: 仓库名称
  16143. type: string
  16144. wrfactortypeid:
  16145. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16146. type: string
  16147. wrfactortypename:
  16148. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16149. type: string
  16150. wrpositionid:
  16151. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  16152. type: string
  16153. wrpositionno:
  16154. description: 仓单编号
  16155. type: string
  16156. wrstandardcode:
  16157. description: 现货商品代码
  16158. type: string
  16159. wrstandardid:
  16160. description: 现货商品ID
  16161. type: integer
  16162. wrstandardname:
  16163. description: 商品名称
  16164. type: string
  16165. wrtypename:
  16166. description: 商品
  16167. type: string
  16168. wruserid:
  16169. description: 持有人ID
  16170. type: integer
  16171. type: object
  16172. models.WrQuoteOrderMyq:
  16173. properties:
  16174. buyorsell:
  16175. description: 买卖 - 0:买 1:卖
  16176. type: integer
  16177. canbargain:
  16178. description: 是否可议价 - 0:不可 1:可
  16179. type: integer
  16180. canpart:
  16181. description: 是否允许部份摘牌 - 0:不允许 1:允许
  16182. type: integer
  16183. delistminqty:
  16184. description: 起摘数量
  16185. type: number
  16186. deliverygoodscode:
  16187. description: 品种代码
  16188. type: string
  16189. deliverygoodsid:
  16190. description: 品种ID
  16191. type: integer
  16192. deliverygoodsname:
  16193. description: 品种名称
  16194. type: string
  16195. deliverymonth:
  16196. description: 交收月
  16197. type: string
  16198. enumdicname:
  16199. description: 单位名称
  16200. type: string
  16201. fixedprice:
  16202. description: 买(卖)价
  16203. type: number
  16204. goodscode:
  16205. description: 商品合约代码
  16206. type: string
  16207. marginflag:
  16208. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  16209. type: integer
  16210. marginvalue:
  16211. description: 保证金设置值
  16212. type: number
  16213. minivalue:
  16214. description: 现货商品最小变动值
  16215. type: integer
  16216. orderqty:
  16217. description: 买(卖)量(=委托量-成交量)
  16218. type: number
  16219. ordertime:
  16220. description: 委托时间
  16221. type: string
  16222. performancetemplateid:
  16223. description: 履约模板id
  16224. type: integer
  16225. pricemove:
  16226. description: 买(卖)升贴水- 基差
  16227. type: number
  16228. templatename:
  16229. description: 履约模板名称
  16230. type: string
  16231. userid:
  16232. description: 购买方(销售方)用户ID
  16233. type: integer
  16234. username:
  16235. description: 购买方(销售方)
  16236. type: string
  16237. validtime:
  16238. description: 有效期限
  16239. type: string
  16240. validtype:
  16241. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  16242. type: integer
  16243. warehousename:
  16244. description: 仓库名称
  16245. type: string
  16246. wrfactortypeid:
  16247. description: 仓单要素id
  16248. type: string
  16249. wrstandardcode:
  16250. description: 现货商品代码
  16251. type: string
  16252. wrstandardid:
  16253. description: 现货商品ID
  16254. type: integer
  16255. wrstandardname:
  16256. description: 商品名称
  16257. type: string
  16258. wrtradeorderid:
  16259. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16260. type: string
  16261. wrtypename:
  16262. description: 商品
  16263. type: string
  16264. type: object
  16265. models.WrScfContract:
  16266. properties:
  16267. borroweruserid:
  16268. description: 借款用户ID
  16269. type: integer
  16270. buybackwrpositionqty:
  16271. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  16272. type: number
  16273. closeinterest:
  16274. description: 已结利息 -> 已结费用
  16275. type: number
  16276. currisklevel:
  16277. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  16278. type: integer
  16279. deadline:
  16280. description: 截止日期(yyyyMMdd) -> 借款到期时间
  16281. type: string
  16282. deliverygoodscode:
  16283. description: 品种代码
  16284. type: string
  16285. deliverygoodsid:
  16286. description: 品种ID
  16287. type: integer
  16288. deliverygoodsname:
  16289. description: 品种名称
  16290. type: string
  16291. enumdicname:
  16292. description: 单位名称
  16293. type: string
  16294. financingdays:
  16295. description: 天数(天)
  16296. type: integer
  16297. initmargin:
  16298. description: 保证金 - [仓单回购]
  16299. type: number
  16300. interestamount:
  16301. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  16302. type: number
  16303. interestdebt:
  16304. description: 利息欠款(记录负数) -> 费用欠款
  16305. type: number
  16306. interestminlen:
  16307. description: 最小起息天数
  16308. type: integer
  16309. interestrate:
  16310. description: 利率
  16311. type: number
  16312. interestratemode:
  16313. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  16314. type: integer
  16315. interestsettlemode:
  16316. description: 结息方式 - 1:按日结息 3:按月结息
  16317. type: integer
  16318. interestsettlevalue:
  16319. description: 结息方式值
  16320. type: integer
  16321. isautoloan:
  16322. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  16323. type: integer
  16324. lastcloseinterestday:
  16325. description: 最近结息日(yyyyMMdd)
  16326. type: string
  16327. lenderamount:
  16328. description: 贷款金额 -> 借款金额
  16329. type: number
  16330. lenderuserid:
  16331. description: 贷款方用户ID -> 融出方用户ID
  16332. type: integer
  16333. lenderusername:
  16334. description: 融出方
  16335. type: string
  16336. marginratio:
  16337. description: 保证金比率质押率 - [仓单质押]
  16338. type: number
  16339. marketid:
  16340. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  16341. type: integer
  16342. minivalue:
  16343. description: 现货商品最小变动值
  16344. type: integer
  16345. optioncompare:
  16346. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16347. type: string
  16348. pricemove:
  16349. description: 估值升贴水值
  16350. type: number
  16351. productdetailid:
  16352. description: 产品组合ID
  16353. type: integer
  16354. productid:
  16355. description: 金融产品ID
  16356. type: integer
  16357. productname:
  16358. description: 产品名称
  16359. type: string
  16360. remainamount:
  16361. description: 合同剩余金额 -> 剩余金额
  16362. type: number
  16363. remainwrpositionqty:
  16364. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  16365. type: number
  16366. remark:
  16367. description: 备注
  16368. type: string
  16369. scfcontractid:
  16370. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  16371. type: string
  16372. scfcontractstatus:
  16373. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  16374. type: integer
  16375. scfcontracttype:
  16376. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  16377. type: integer
  16378. startinterestday:
  16379. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  16380. type: string
  16381. totalinterest:
  16382. description: 已计利息 -> 已计费用
  16383. type: number
  16384. unpaidinterest:
  16385. description: 未结费用
  16386. type: number
  16387. updatetime:
  16388. description: 更新时间
  16389. type: string
  16390. warehouseid:
  16391. description: 仓库ID
  16392. type: integer
  16393. warehousename:
  16394. description: 仓库名称
  16395. type: string
  16396. wrfactortypeid:
  16397. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16398. type: string
  16399. wrfactortypename:
  16400. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16401. type: string
  16402. wrqty:
  16403. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  16404. type: number
  16405. wrstandardcode:
  16406. description: 现货商品代码
  16407. type: string
  16408. wrstandardid:
  16409. description: 现货商品ID
  16410. type: integer
  16411. wrstandardname:
  16412. description: 商品名称
  16413. type: string
  16414. wrtypename:
  16415. description: 商品
  16416. type: string
  16417. type: object
  16418. models.WrScfContractInterest:
  16419. properties:
  16420. closeinterest:
  16421. description: 已结利息
  16422. type: number
  16423. closeintereststatus:
  16424. description: 结息状态 - 1:未结 2:已结
  16425. type: integer
  16426. closetime:
  16427. description: 结息时间
  16428. type: string
  16429. closetradedate:
  16430. description: 结息交易日
  16431. type: string
  16432. creatorid:
  16433. description: 操作人ID
  16434. type: integer
  16435. dayrate:
  16436. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  16437. type: number
  16438. interest:
  16439. description: 利息
  16440. type: number
  16441. interestamount:
  16442. description: 计息金额
  16443. type: number
  16444. interestday:
  16445. description: 计息日(yyyyMMdd)
  16446. type: string
  16447. scfcontractid:
  16448. description: SCF合同ID
  16449. type: string
  16450. scfcontractinterestid:
  16451. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  16452. type: integer
  16453. updatetime:
  16454. description: 更新时间
  16455. type: string
  16456. type: object
  16457. models.WrSiteColumnDetail:
  16458. properties:
  16459. brief:
  16460. description: 简介
  16461. type: string
  16462. context:
  16463. description: 内容
  16464. type: string
  16465. coverimage:
  16466. description: 封面图片
  16467. type: string
  16468. creaedate:
  16469. description: 创建时间
  16470. type: string
  16471. id:
  16472. description: ID(SEQ_SITE_COLUMNDETAIL)
  16473. type: integer
  16474. istop:
  16475. description: 是否置顶 - 0:不置 1:置顶
  16476. type: integer
  16477. publishdate:
  16478. description: 发布日期
  16479. type: string
  16480. title:
  16481. description: 标题
  16482. type: string
  16483. updatedate:
  16484. description: 修改时间
  16485. type: string
  16486. type: object
  16487. models.WrSpecialMatchOrder:
  16488. properties:
  16489. amount:
  16490. description: 金额 = 数量 * 价格
  16491. type: number
  16492. buyorsell:
  16493. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16494. type: integer
  16495. cancelqty:
  16496. description: 撤销数量
  16497. type: number
  16498. deliverygoodscode:
  16499. description: 品种代码
  16500. type: string
  16501. deliverygoodsid:
  16502. description: 品种ID
  16503. type: integer
  16504. deliverygoodsname:
  16505. description: 品种名称
  16506. type: string
  16507. enumdicname:
  16508. description: 单位名称
  16509. type: string
  16510. fixedprice:
  16511. description: 固定价格(价格)
  16512. type: number
  16513. haswr:
  16514. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16515. type: integer
  16516. marketid:
  16517. description: 市场ID
  16518. type: integer
  16519. matchuserid:
  16520. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  16521. type: integer
  16522. matchusername:
  16523. description: 指定方
  16524. type: string
  16525. minivalue:
  16526. description: 现货商品最小变动值
  16527. type: integer
  16528. optioncompare:
  16529. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16530. type: string
  16531. orderqty:
  16532. description: 委托数量
  16533. type: number
  16534. ordertime:
  16535. description: 委托时间
  16536. type: string
  16537. pricemove:
  16538. description: 升贴水(浮动价时填写) - [挂牌]
  16539. type: number
  16540. tradedate:
  16541. description: 交易日(yyyyMMdd)
  16542. type: string
  16543. tradeprice:
  16544. description: 成交价格
  16545. type: number
  16546. tradeqty:
  16547. description: 成交数量
  16548. type: number
  16549. userid:
  16550. description: 用户ID
  16551. type: integer
  16552. username:
  16553. description: 发起方
  16554. type: string
  16555. warehouseid:
  16556. description: 仓库ID
  16557. type: integer
  16558. warehousename:
  16559. description: 仓库名称
  16560. type: string
  16561. wrfactortypeid:
  16562. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16563. type: string
  16564. wrfactortypename:
  16565. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16566. type: string
  16567. wrpricetype:
  16568. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  16569. type: integer
  16570. wrstandardcode:
  16571. description: 现货商品代码
  16572. type: string
  16573. wrstandardid:
  16574. description: 现货商品ID
  16575. type: integer
  16576. wrstandardname:
  16577. description: 商品名称
  16578. type: string
  16579. wrtradeorderid:
  16580. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16581. type: string
  16582. wrtradeorderstatus:
  16583. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  16584. type: integer
  16585. wrtradetype:
  16586. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16587. type: integer
  16588. wrtypename:
  16589. description: 商品
  16590. type: string
  16591. type: object
  16592. models.WrSpotGroupTradeSum:
  16593. properties:
  16594. deliverygoodscode:
  16595. description: 现货品种代码
  16596. type: string
  16597. deliverygoodsid:
  16598. description: 现货品种ID(SEQ_DELIVERYGOODS)
  16599. type: integer
  16600. deliverygoodsname:
  16601. description: 现货品种名称
  16602. type: string
  16603. lastavgprice:
  16604. description: 上上个交易日价格(前2天价格)
  16605. type: string
  16606. lastreckondate:
  16607. description: 上上个交易日(前2天交易日)
  16608. type: string
  16609. reckondate:
  16610. description: 上个交易日(前1天交易日)
  16611. type: string
  16612. todayavgprice:
  16613. description: 上个交易日价格(前1天价格)
  16614. type: string
  16615. updown:
  16616. description: 涨跌
  16617. type: string
  16618. updownratio:
  16619. description: 涨幅(已格式化, 直接显示即可)
  16620. type: string
  16621. type: object
  16622. models.WrSpotGroupTradeSumDetail:
  16623. properties:
  16624. deliverygoodsid:
  16625. description: 现货商品id
  16626. type: integer
  16627. price:
  16628. description: 价格
  16629. type: number
  16630. reckondate:
  16631. description: 日期(yyymmdd, 如:20211031)
  16632. type: string
  16633. type: object
  16634. models.WrSpotGroupTradeSumEx:
  16635. properties:
  16636. lst:
  16637. description: 指数列表
  16638. items:
  16639. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  16640. type: array
  16641. prereckondate:
  16642. description: 上上个交易日(yyymmdd)
  16643. type: string
  16644. reckondate:
  16645. description: 上个交易日(yyyymmdd)
  16646. type: string
  16647. type: object
  16648. models.WrStandardFactoryItem:
  16649. properties:
  16650. dgfactoryitemid:
  16651. description: 选择项id
  16652. type: integer
  16653. dgfactoryitemvalue:
  16654. description: 要素项值
  16655. type: string
  16656. warehouseid:
  16657. description: 仓库id
  16658. type: integer
  16659. type: object
  16660. models.WrStandardFactoryItemEx:
  16661. properties:
  16662. dgfactoryitemtypeid:
  16663. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  16664. type: integer
  16665. itemlst:
  16666. description: 要素项列表
  16667. items:
  16668. $ref: '#/definitions/models.WrStandardFactoryItem'
  16669. type: array
  16670. itemtypename:
  16671. description: 要素项类型名称
  16672. type: string
  16673. wrstandardid:
  16674. description: 品类
  16675. type: integer
  16676. type: object
  16677. models.WrTradeDetail:
  16678. properties:
  16679. accountid:
  16680. description: 资金账号
  16681. type: integer
  16682. buyorsell:
  16683. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16684. type: integer
  16685. chargevalue:
  16686. description: 手续费
  16687. type: number
  16688. deliverygoodscode:
  16689. description: 品种代码
  16690. type: string
  16691. deliverygoodsid:
  16692. description: 品种ID
  16693. type: integer
  16694. deliverygoodsname:
  16695. description: 品种名称
  16696. type: string
  16697. deliverymonth:
  16698. description: 交收月
  16699. type: string
  16700. enumdicname:
  16701. description: 单位名称
  16702. type: string
  16703. haswr:
  16704. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16705. type: integer
  16706. marketid:
  16707. description: 市场ID
  16708. type: integer
  16709. matchaccountid:
  16710. description: 对手账号
  16711. type: integer
  16712. matchusername:
  16713. description: 对手方
  16714. type: string
  16715. minivalue:
  16716. description: 现货商品最小变动值
  16717. type: integer
  16718. optioncompare:
  16719. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16720. type: string
  16721. tradedate:
  16722. description: 交易日(yyyyMMdd)
  16723. type: string
  16724. tradeprice:
  16725. description: 成交价格
  16726. type: number
  16727. tradeqty:
  16728. description: 成交数量
  16729. type: number
  16730. tradetime:
  16731. description: 成交时间
  16732. type: string
  16733. userid:
  16734. description: 用户ID
  16735. type: integer
  16736. warehouseid:
  16737. description: 仓库ID
  16738. type: integer
  16739. warehousename:
  16740. description: 仓库名称
  16741. type: string
  16742. wrfactortypeid:
  16743. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16744. type: string
  16745. wrfactortypename:
  16746. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16747. type: string
  16748. wrstandardcode:
  16749. description: 现货商品代码
  16750. type: string
  16751. wrstandardid:
  16752. description: 现货商品ID
  16753. type: integer
  16754. wrstandardname:
  16755. description: 商品名称
  16756. type: string
  16757. wrtradedetailid:
  16758. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  16759. type: string
  16760. wrtradetype:
  16761. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16762. type: integer
  16763. wrtypename:
  16764. description: 商品
  16765. type: string
  16766. type: object
  16767. models.WrTradeOrderDetail:
  16768. properties:
  16769. buyorsell:
  16770. description: 买卖方向 0-买 1-卖
  16771. type: integer
  16772. goodsid:
  16773. description: 商品id
  16774. type: integer
  16775. orderid:
  16776. description: 委托单号
  16777. type: string
  16778. orderprice:
  16779. description: 委托价格
  16780. type: number
  16781. orderqty:
  16782. description: 委托数量
  16783. type: integer
  16784. userid:
  16785. description: 用户id
  16786. type: integer
  16787. username:
  16788. description: 用户名称(已脱敏)
  16789. type: string
  16790. type: object
  16791. models.WrTypeItem:
  16792. properties:
  16793. name:
  16794. description: 名称
  16795. type: string
  16796. value:
  16797. description: 值
  16798. type: string
  16799. type: object
  16800. models.WrUserFriend:
  16801. properties:
  16802. friendname:
  16803. description: 朋友名称(已脱敏)
  16804. type: string
  16805. frienduserid:
  16806. description: 朋友id
  16807. type: integer
  16808. isfriend:
  16809. description: 是否好友 0-不是 1-是
  16810. type: integer
  16811. userid:
  16812. description: 用户id
  16813. type: integer
  16814. type: object
  16815. models.WrUserReceiptInfo:
  16816. properties:
  16817. address:
  16818. description: 地址[发票类型:企业]
  16819. type: string
  16820. autoid:
  16821. description: AutoID
  16822. type: integer
  16823. contactinfo:
  16824. description: 联系方式
  16825. type: string
  16826. idnum:
  16827. description: 身份证号码[发票类型:个人]
  16828. type: string
  16829. isdefault:
  16830. description: 是否默认地址 - 0:否 1:是
  16831. type: integer
  16832. receiptaccount:
  16833. description: 发票帐号[发票类型:企业]
  16834. type: string
  16835. receiptbank:
  16836. description: 发票开户行[发票类型:企业]
  16837. type: string
  16838. receipttype:
  16839. description: 发票类型 - 1:个人 2:企业
  16840. type: integer
  16841. taxpayerid:
  16842. description: 纳税人识别号
  16843. type: string
  16844. userid:
  16845. description: 用户ID
  16846. type: integer
  16847. username:
  16848. description: 户名(个人姓名或企业名称)
  16849. type: string
  16850. type: object
  16851. models.XHBRAND:
  16852. properties:
  16853. brandid:
  16854. description: 品牌id
  16855. type: integer
  16856. brandname:
  16857. description: 品牌名称
  16858. type: string
  16859. isvalid:
  16860. description: 是否有效 0-无效 1-有效
  16861. type: integer
  16862. type: object
  16863. models.XHDeliveryGoods:
  16864. properties:
  16865. areauserid:
  16866. description: 所属机构
  16867. type: integer
  16868. bdlst:
  16869. description: 品牌列表
  16870. items:
  16871. $ref: '#/definitions/models.XHBRAND'
  16872. type: array
  16873. deliverygoodscode:
  16874. description: 现货品种代码
  16875. type: string
  16876. deliverygoodsid:
  16877. description: 现货品种ID(SEQ_DELIVERYGOODS)
  16878. type: integer
  16879. deliverygoodsname:
  16880. description: 现货品种名称
  16881. type: string
  16882. dgstatus:
  16883. description: 品种状态 - 作废 - 0:未激活 1:正常
  16884. type: integer
  16885. isvalid:
  16886. description: 是否有效 - 0:无效 1:有效
  16887. type: integer
  16888. remark:
  16889. description: 备注
  16890. type: string
  16891. unitid:
  16892. description: 单位id(目前看,数据库中是空值)
  16893. type: integer
  16894. wdlst:
  16895. description: 品类(现货商品)列表
  16896. items:
  16897. $ref: '#/definitions/models.XHWrstandard'
  16898. type: array
  16899. type: object
  16900. models.XHMiddleGoods:
  16901. properties:
  16902. convertratio:
  16903. description: 拆算系数
  16904. type: number
  16905. costratio:
  16906. description: 成本权重
  16907. type: number
  16908. deliverygoodsid:
  16909. description: 现货商品id
  16910. type: integer
  16911. enumdicname:
  16912. description: 单位名称
  16913. type: string
  16914. gplst:
  16915. description: 期货品种列表
  16916. items:
  16917. $ref: '#/definitions/models.TBGoodsGroup'
  16918. type: array
  16919. middlegoodscode:
  16920. description: 套保品种代码
  16921. type: string
  16922. middlegoodsid:
  16923. description: 套保品种id
  16924. type: integer
  16925. middlegoodsname:
  16926. description: 套保品种名称
  16927. type: string
  16928. unitid:
  16929. description: 单位id
  16930. type: integer
  16931. type: object
  16932. models.XHWrstandard:
  16933. properties:
  16934. deliverygoodsid:
  16935. description: 品种ID
  16936. type: integer
  16937. enumdicname:
  16938. description: 单位名称
  16939. type: string
  16940. mglst:
  16941. description: 套保品列表
  16942. items:
  16943. $ref: '#/definitions/models.XHMiddleGoods'
  16944. type: array
  16945. unitid:
  16946. description: 单位id
  16947. type: integer
  16948. vatrate:
  16949. description: 增值税率
  16950. type: number
  16951. wrstandardcode:
  16952. description: 现货商品代码
  16953. type: string
  16954. wrstandardid:
  16955. description: 现货商品ID(SEQ_WRSTANDARD)
  16956. type: integer
  16957. wrstandardname:
  16958. description: 现货商品名称
  16959. type: string
  16960. type: object
  16961. order.QueryHisTradeDetailRsp:
  16962. properties:
  16963. accountid:
  16964. description: 账户ID[报价币种]
  16965. type: integer
  16966. advanceratio:
  16967. description: 首付比率
  16968. type: number
  16969. buildtype:
  16970. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  16971. type: integer
  16972. buyorsell:
  16973. description: 方向 - 0:买 1:卖
  16974. type: integer
  16975. charge:
  16976. description: 手续费
  16977. type: number
  16978. closecharge:
  16979. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16980. type: number
  16981. closeexchagechargevalue:
  16982. description: 平仓交易所手续费设置值
  16983. type: number
  16984. closefeealgorithm:
  16985. description: 平仓手续费收取方式 1:比率 2:固定
  16986. type: integer
  16987. closememberchargevalue:
  16988. description: 平仓会员手续费设置值
  16989. type: number
  16990. closepl:
  16991. description: 平仓盈亏
  16992. type: number
  16993. closepl2:
  16994. description: 平仓盈亏[逐笔]
  16995. type: number
  16996. closeqty:
  16997. description: 平仓数量(先建后平操作 需要记录)
  16998. type: number
  16999. creditamount:
  17000. description: 授信金额
  17001. type: number
  17002. decimalplace:
  17003. description: 商品报价小数位
  17004. type: integer
  17005. enumdicname:
  17006. description: 单位名称
  17007. type: string
  17008. gcaccountid:
  17009. description: 账户ID[合约币种]
  17010. type: integer
  17011. goodscode:
  17012. description: 商品代码
  17013. type: string
  17014. goodsid:
  17015. description: 商品ID
  17016. type: integer
  17017. goodsname:
  17018. description: 商品名称
  17019. type: string
  17020. goodunitid:
  17021. description: 商品单位id
  17022. type: integer
  17023. histradedate:
  17024. description: 历史交易日
  17025. type: string
  17026. intclosepl:
  17027. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17028. type: integer
  17029. isconfirmexercise:
  17030. description: 是否确认行权- 0:否 1:是
  17031. type: integer
  17032. ismain:
  17033. description: 是否主单 - 0:不是 1:是
  17034. type: integer
  17035. ispreexercise:
  17036. description: 是否预申报- 0:否 1:是
  17037. type: integer
  17038. isreckoned:
  17039. description: 是否结算 - 0:未结算 1:已结算
  17040. type: integer
  17041. isvaliddata:
  17042. description: 是否有效 - 0:无效 1:有效
  17043. type: integer
  17044. listingselecttype:
  17045. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17046. type: integer
  17047. marketid:
  17048. description: 市场ID
  17049. type: integer
  17050. marketname:
  17051. description: 市场名称
  17052. type: string
  17053. matchaccountid:
  17054. description: 对手账号id
  17055. type: integer
  17056. memberuserid:
  17057. description: 会员id 个人投资者 需要填写
  17058. type: integer
  17059. opencharge:
  17060. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17061. type: number
  17062. openexchagechargevalue:
  17063. description: 建仓交易所手续费设置值
  17064. type: number
  17065. openfeealgorithm:
  17066. description: 建仓手续费收取方式 1:比率 2:固定
  17067. type: integer
  17068. openmemberchargevalue:
  17069. description: 建仓会员手续费设置值
  17070. type: number
  17071. openqty:
  17072. description: 开仓数量(先建后平操作 需要记录)
  17073. type: number
  17074. optiontype:
  17075. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17076. type: integer
  17077. orderid:
  17078. description: 委托单号
  17079. type: string
  17080. payamount:
  17081. description: 支付金额(付款金额)
  17082. type: number
  17083. performanceplanid:
  17084. description: 履约计划ID[期权]
  17085. type: integer
  17086. performancestatus:
  17087. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17088. type: integer
  17089. preexerciseprice:
  17090. description: 预申报价格
  17091. type: number
  17092. premium:
  17093. description: 权利金 - [持仓单的权利金]
  17094. type: number
  17095. qtydecimalplace:
  17096. description: 商品报价小数位
  17097. type: integer
  17098. recvamount:
  17099. description: 到账金额 = 成交金额 - 手续费
  17100. type: number
  17101. relatedouttradeid:
  17102. description: 关联外部成交单ID
  17103. type: integer
  17104. status:
  17105. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17106. type: integer
  17107. totalamount:
  17108. description: 订单总额 = 成交金额 + 手续费
  17109. type: number
  17110. tradeamount:
  17111. description: 成交金额[账户币种,用于所有权]
  17112. type: number
  17113. tradedate:
  17114. description: 交易日(yyyyMMdd)
  17115. type: string
  17116. tradeid:
  17117. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17118. type: string
  17119. trademode:
  17120. description: 交易模式
  17121. type: integer
  17122. tradeprice:
  17123. description: 成交价格
  17124. type: number
  17125. tradeproperty:
  17126. description: 交易属性
  17127. type: integer
  17128. tradeqty:
  17129. description: 成交数量
  17130. type: number
  17131. tradetime:
  17132. description: 成交时间
  17133. type: string
  17134. tradetype:
  17135. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17136. type: integer
  17137. required:
  17138. - accountid
  17139. - buyorsell
  17140. - goodsid
  17141. - histradedate
  17142. - marketid
  17143. - memberuserid
  17144. - orderid
  17145. - tradeamount
  17146. - tradedate
  17147. - tradeid
  17148. - tradeprice
  17149. - tradeqty
  17150. - tradetime
  17151. type: object
  17152. order.QueryHisTradeOrderDetailRsp:
  17153. properties:
  17154. accountid:
  17155. description: 账户ID[报价币种]
  17156. type: integer
  17157. buildtype:
  17158. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17159. type: integer
  17160. buyorsell:
  17161. description: 买卖 - 0:买 1:卖
  17162. type: integer
  17163. cancelorderid:
  17164. description: 撤单单号(撤单时填写)
  17165. type: string
  17166. cancelqty:
  17167. description: 撤单数量
  17168. type: number
  17169. clientordertime:
  17170. description: 客户端委托时间
  17171. type: string
  17172. clientticket:
  17173. description: 客户端流水号
  17174. type: string
  17175. clienttype:
  17176. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17177. type: integer
  17178. closeexchagechargevalue:
  17179. description: 平仓交易所手续费设置值
  17180. type: number
  17181. closefeealgorithm:
  17182. description: 平仓手续费收取方式 1:比率 2:固定
  17183. type: integer
  17184. closefreezecharge:
  17185. description: 平仓冻结手续费(先建后平操作,需要记录)
  17186. type: number
  17187. closememberchargevalue:
  17188. description: 平仓会员手续费设置值
  17189. type: number
  17190. closeqty:
  17191. description: 平仓数量(先建后平操作 需要记录)
  17192. type: number
  17193. closetradeqty:
  17194. description: 平仓成交数量(先建后平操作,需要记录)
  17195. type: number
  17196. closeunfreezecharge:
  17197. description: 平仓解冻手续费(先建后平操作,需要记录)
  17198. type: number
  17199. decimalplace:
  17200. description: 商品报价小数位
  17201. type: integer
  17202. delistingtype:
  17203. description: 摘牌类型 - 1:价格最优 2:点选成交
  17204. type: integer
  17205. enumdicname:
  17206. description: 单位名称
  17207. type: string
  17208. freezecharge:
  17209. description: 冻结手续费
  17210. type: number
  17211. freezemargin:
  17212. description: 冻结保证金(冻结交易金额)
  17213. type: number
  17214. gcaccountid:
  17215. description: 账户ID[合约币种]
  17216. type: integer
  17217. goodscode:
  17218. description: 商品代码
  17219. type: string
  17220. goodsid:
  17221. description: 商品ID
  17222. type: integer
  17223. goodsname:
  17224. description: 商品名称
  17225. type: string
  17226. goodunitid:
  17227. description: 商品单位id
  17228. type: integer
  17229. histradedate:
  17230. description: 历史交易日
  17231. type: string
  17232. isconfirmexercise:
  17233. description: 是否确认行权- 0:否 1:是
  17234. type: integer
  17235. ispreexercise:
  17236. description: 是否预申报- 0:否 1:是
  17237. type: integer
  17238. isvaliddata:
  17239. description: 是否有效 - 0:无效 1:有效
  17240. type: integer
  17241. listingselecttype:
  17242. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17243. type: integer
  17244. marginalgorithm:
  17245. description: 保证金收取方式 1:比率 2:固定
  17246. type: integer
  17247. marginvalue:
  17248. description: 即市保证金设置值
  17249. type: number
  17250. marketid:
  17251. description: 市场ID
  17252. type: integer
  17253. marketmaxsub:
  17254. description: 市价最大偏移范围
  17255. type: number
  17256. marketname:
  17257. description: 市场名称
  17258. type: string
  17259. memberuserid:
  17260. description: 所属会员UserID
  17261. type: integer
  17262. openexchagechargevalue:
  17263. description: 建仓交易所手续费设置值
  17264. type: number
  17265. openfeealgorithm:
  17266. description: 建仓手续费收取方式 1:比率 2:固定
  17267. type: integer
  17268. openfreezecharge:
  17269. description: 开仓冻结手续费(先建后平操作,需要记录)
  17270. type: number
  17271. openmemberchargevalue:
  17272. description: 建仓会员手续费设置值
  17273. type: number
  17274. openqty:
  17275. description: 开仓数量(先建后平操作,需要记录)
  17276. type: number
  17277. opentradeqty:
  17278. description: 开仓成交数量(先建后平操作,需要记录)
  17279. type: number
  17280. openunfreezecharge:
  17281. description: 开仓解冻手续费(先建后平操作,需要记录)
  17282. type: number
  17283. operatetype:
  17284. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  17285. type: integer
  17286. operatorid:
  17287. description: 登录账号(LoginID)
  17288. type: integer
  17289. optiontype:
  17290. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17291. type: integer
  17292. orderid:
  17293. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17294. type: string
  17295. orderprice:
  17296. description: 委托价格
  17297. type: number
  17298. orderqty:
  17299. description: 委托数量
  17300. type: number
  17301. ordersrc:
  17302. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17303. type: integer
  17304. orderstatus:
  17305. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  17306. type: integer
  17307. ordertime:
  17308. description: 委托时间
  17309. type: string
  17310. preexerciseprice:
  17311. description: 预申报价格
  17312. type: number
  17313. premium:
  17314. description: 权利金
  17315. type: number
  17316. preorderid:
  17317. description: 关联预埋单号(止盈止损单时填写)
  17318. type: string
  17319. pricemode:
  17320. description: '取价方式 - 1:市价 2: 限价'
  17321. type: integer
  17322. qtydecimalplace:
  17323. description: 成交量小数位
  17324. type: integer
  17325. quoteid:
  17326. description: 报价单ID
  17327. type: integer
  17328. relatedid:
  17329. description: 关联单号(交割单)
  17330. type: string
  17331. retcode:
  17332. description: 错误代码
  17333. type: integer
  17334. sessionid:
  17335. description: 会话ID
  17336. type: integer
  17337. tradedate:
  17338. description: 交易日(yyyyMMdd)
  17339. type: string
  17340. trademode:
  17341. description: 交易模式
  17342. type: integer
  17343. tradeproperty:
  17344. description: 交易属性
  17345. type: integer
  17346. tradeqty:
  17347. description: 成交数量
  17348. type: number
  17349. unfreezecharge:
  17350. description: 解冻手续费
  17351. type: number
  17352. unfreezemargin:
  17353. description: 解冻保证金
  17354. type: number
  17355. updatetime:
  17356. description: 更新时间
  17357. type: string
  17358. uuid:
  17359. description: 发起端唯一id
  17360. type: string
  17361. validtime:
  17362. description: 有效期限
  17363. type: string
  17364. validtype:
  17365. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17366. type: integer
  17367. volumetype:
  17368. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17369. type: integer
  17370. required:
  17371. - accountid
  17372. - buildtype
  17373. - buyorsell
  17374. - goodsid
  17375. - histradedate
  17376. - marketid
  17377. - memberuserid
  17378. - operatetype
  17379. - orderid
  17380. - orderqty
  17381. - ordertime
  17382. - pricemode
  17383. - tradedate
  17384. - validtype
  17385. type: object
  17386. order.QueryTradeDetailRsp:
  17387. properties:
  17388. accountid:
  17389. description: 账户ID[报价币种]
  17390. type: integer
  17391. advanceratio:
  17392. description: 首付比率
  17393. type: number
  17394. buildtype:
  17395. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17396. type: integer
  17397. buyorsell:
  17398. description: 方向 - 0:买 1:卖
  17399. type: integer
  17400. charge:
  17401. description: 手续费
  17402. type: number
  17403. closecharge:
  17404. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17405. type: number
  17406. closeexchagechargevalue:
  17407. description: 平仓交易所手续费设置值
  17408. type: number
  17409. closefeealgorithm:
  17410. description: 平仓手续费收取方式 1:比率 2:固定
  17411. type: integer
  17412. closememberchargevalue:
  17413. description: 平仓会员手续费设置值
  17414. type: number
  17415. closepl:
  17416. description: 平仓盈亏
  17417. type: number
  17418. closepl2:
  17419. description: 平仓盈亏[逐笔]
  17420. type: number
  17421. closeqty:
  17422. description: 平仓数量(先建后平操作 需要记录)
  17423. type: number
  17424. creditamount:
  17425. description: 授信金额
  17426. type: number
  17427. decimalplace:
  17428. description: 商品报价小数位
  17429. type: integer
  17430. enumdicname:
  17431. description: 单位名称
  17432. type: string
  17433. gcaccountid:
  17434. description: 账户ID[合约币种]
  17435. type: integer
  17436. goodscode:
  17437. description: 商品代码
  17438. type: string
  17439. goodsid:
  17440. description: 商品ID
  17441. type: integer
  17442. goodsname:
  17443. description: 商品名称
  17444. type: string
  17445. goodunitid:
  17446. description: 商品单位id
  17447. type: integer
  17448. intclosepl:
  17449. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17450. type: integer
  17451. isconfirmexercise:
  17452. description: 是否确认行权- 0:否 1:是
  17453. type: integer
  17454. ismain:
  17455. description: 是否主单 - 0:不是 1:是
  17456. type: integer
  17457. ispreexercise:
  17458. description: 是否预申报- 0:否 1:是
  17459. type: integer
  17460. isreckoned:
  17461. description: 是否结算 - 0:未结算 1:已结算
  17462. type: integer
  17463. listingselecttype:
  17464. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17465. type: integer
  17466. marketid:
  17467. description: 市场ID
  17468. type: integer
  17469. marketname:
  17470. description: 市场名称
  17471. type: string
  17472. matchaccountid:
  17473. description: 对手账号id
  17474. type: integer
  17475. memberuserid:
  17476. description: 会员id 个人投资者 需要填写
  17477. type: integer
  17478. opencharge:
  17479. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17480. type: number
  17481. openexchagechargevalue:
  17482. description: 建仓交易所手续费设置值
  17483. type: number
  17484. openfeealgorithm:
  17485. description: 建仓手续费收取方式 1:比率 2:固定
  17486. type: integer
  17487. openmemberchargevalue:
  17488. description: 建仓会员手续费设置值
  17489. type: number
  17490. openqty:
  17491. description: 开仓数量(先建后平操作 需要记录)
  17492. type: number
  17493. optiontype:
  17494. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17495. type: integer
  17496. orderid:
  17497. description: 委托单号
  17498. type: string
  17499. payamount:
  17500. description: 支付金额(付款金额)
  17501. type: number
  17502. performanceplanid:
  17503. description: 履约计划ID[期权]
  17504. type: integer
  17505. performancestatus:
  17506. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17507. type: integer
  17508. preexerciseprice:
  17509. description: 预申报价格
  17510. type: number
  17511. premium:
  17512. description: 权利金 - [持仓单的权利金]
  17513. type: number
  17514. qtydecimalplace:
  17515. description: 商品报价小数位
  17516. type: integer
  17517. recvamount:
  17518. description: 到账金额 = 成交金额 - 手续费
  17519. type: number
  17520. relatedouttradeid:
  17521. description: 关联外部成交单ID
  17522. type: integer
  17523. status:
  17524. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17525. type: integer
  17526. totalamount:
  17527. description: 订单总额 = 成交金额 + 手续费
  17528. type: number
  17529. tradeamount:
  17530. description: 成交金额[账户币种,用于所有权]
  17531. type: number
  17532. tradedate:
  17533. description: 交易日(yyyyMMdd)
  17534. type: string
  17535. tradeid:
  17536. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17537. type: string
  17538. trademode:
  17539. description: 交易模式
  17540. type: integer
  17541. tradeprice:
  17542. description: 成交价格
  17543. type: number
  17544. tradeproperty:
  17545. description: 交易属性
  17546. type: integer
  17547. tradeqty:
  17548. description: 成交数量
  17549. type: number
  17550. tradetime:
  17551. description: 成交时间
  17552. type: string
  17553. tradetype:
  17554. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17555. type: integer
  17556. required:
  17557. - accountid
  17558. - buyorsell
  17559. - goodsid
  17560. - marketid
  17561. - memberuserid
  17562. - orderid
  17563. - tradeamount
  17564. - tradedate
  17565. - tradeid
  17566. - tradeprice
  17567. - tradeqty
  17568. - tradetime
  17569. type: object
  17570. order.QueryTradeOrderDetailRsp:
  17571. properties:
  17572. accountid:
  17573. description: 账户ID[报价币种]
  17574. type: integer
  17575. buildtype:
  17576. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17577. type: integer
  17578. buyorsell:
  17579. description: 买卖 - 0:买 1:卖
  17580. type: integer
  17581. cancelorderid:
  17582. description: 撤单单号(撤单时填写)
  17583. type: string
  17584. cancelqty:
  17585. description: 撤单数量
  17586. type: number
  17587. clienttype:
  17588. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17589. type: integer
  17590. closefreezecharge:
  17591. description: 平仓冻结手续费(先建后平操作,需要记录)
  17592. type: number
  17593. closeqty:
  17594. description: 平仓数量(先建后平操作 需要记录)
  17595. type: number
  17596. closetradeqty:
  17597. description: 平仓成交数量(先建后平操作,需要记录)
  17598. type: number
  17599. closeunfreezecharge:
  17600. description: 平仓解冻手续费(先建后平操作,需要记录)
  17601. type: number
  17602. decimalplace:
  17603. description: 商品报价小数位
  17604. type: integer
  17605. delistingtype:
  17606. description: 摘牌类型 - 1:价格最优 2:点选成交
  17607. type: integer
  17608. enableqty:
  17609. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  17610. type: number
  17611. enumdicname:
  17612. description: 单位名称
  17613. type: string
  17614. freezecharge:
  17615. description: 冻结手续费
  17616. type: number
  17617. freezemargin:
  17618. description: 冻结保证金(冻结交易金额)
  17619. type: number
  17620. goodscode:
  17621. description: 商品代码
  17622. type: string
  17623. goodsid:
  17624. description: 商品ID
  17625. type: integer
  17626. goodsname:
  17627. description: 商品名称
  17628. type: string
  17629. goodunitid:
  17630. description: 商品单位id
  17631. type: integer
  17632. listingselecttype:
  17633. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17634. type: integer
  17635. marketid:
  17636. description: 市场ID
  17637. type: integer
  17638. marketname:
  17639. description: 市场名称
  17640. type: string
  17641. openfreezecharge:
  17642. description: 开仓冻结手续费(先建后平操作,需要记录)
  17643. type: number
  17644. openqty:
  17645. description: 开仓数量(先建后平操作,需要记录)
  17646. type: number
  17647. opentradeqty:
  17648. description: 开仓成交数量(先建后平操作,需要记录)
  17649. type: number
  17650. openunfreezecharge:
  17651. description: 开仓解冻手续费(先建后平操作,需要记录)
  17652. type: number
  17653. operatetype:
  17654. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  17655. type: integer
  17656. operatorid:
  17657. description: 登录账号(LoginID)
  17658. type: integer
  17659. orderid:
  17660. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17661. type: string
  17662. orderprice:
  17663. description: 委托价格
  17664. type: number
  17665. orderqty:
  17666. description: 委托数量
  17667. type: number
  17668. ordersrc:
  17669. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17670. type: integer
  17671. orderstatus:
  17672. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  17673. type: integer
  17674. ordertime:
  17675. description: 委托时间
  17676. type: string
  17677. preorderid:
  17678. description: 关联预埋单号(止盈止损单时填写)
  17679. type: string
  17680. pricemode:
  17681. description: '取价方式 - 1:市价 2: 限价'
  17682. type: integer
  17683. qtydecimalplace:
  17684. description: 商品报价小数位
  17685. type: integer
  17686. relatedid:
  17687. description: 关联单号(交割单)
  17688. type: string
  17689. tradedate:
  17690. description: 交易日(yyyyMMdd)
  17691. type: string
  17692. trademode:
  17693. description: 交易模式
  17694. type: integer
  17695. tradeqty:
  17696. description: 成交数量
  17697. type: number
  17698. unfreezecharge:
  17699. description: 解冻手续费
  17700. type: number
  17701. unfreezemargin:
  17702. description: 解冻保证金
  17703. type: number
  17704. validtime:
  17705. description: 有效期限
  17706. type: string
  17707. validtype:
  17708. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17709. type: integer
  17710. volumetype:
  17711. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17712. type: integer
  17713. required:
  17714. - accountid
  17715. - buildtype
  17716. - buyorsell
  17717. - goodsid
  17718. - marketid
  17719. - operatetype
  17720. - orderqty
  17721. - ordertime
  17722. - pricemode
  17723. - tradedate
  17724. - validtype
  17725. type: object
  17726. order.QueryTradePositionRsp:
  17727. properties:
  17728. accountid:
  17729. description: 资金账户
  17730. type: integer
  17731. agreeunit:
  17732. description: 合约单位
  17733. type: number
  17734. averageprice:
  17735. description: 持仓均价
  17736. type: number
  17737. buyorsell:
  17738. description: 方向 - 0:买 1:卖
  17739. type: integer
  17740. closetotalqty:
  17741. description: 平仓总数量
  17742. type: number
  17743. curholderamount:
  17744. description: 当前持仓总金额[商品币种]
  17745. type: number
  17746. curpositionqty:
  17747. description: 当前持仓总数量
  17748. type: number
  17749. currencyid:
  17750. description: 报价货币ID
  17751. type: integer
  17752. curtdposition:
  17753. description: 期末今日头寸
  17754. type: number
  17755. decimalplace:
  17756. description: 报价小数位
  17757. type: integer
  17758. enableqty:
  17759. description: 可用量
  17760. type: number
  17761. fretdposition:
  17762. description: 冻结今日头寸
  17763. type: number
  17764. frozenqty:
  17765. description: 持仓冻结数量
  17766. type: number
  17767. goodscode:
  17768. description: 商品代码
  17769. type: string
  17770. goodsid:
  17771. description: 商品Id
  17772. type: integer
  17773. goodsname:
  17774. description: 商品名称
  17775. type: string
  17776. goodunit:
  17777. description: 报价单位
  17778. type: string
  17779. goodunitid:
  17780. description: 报价单位ID
  17781. type: integer
  17782. holderamount:
  17783. description: 期初持仓总金额[商品币种]
  17784. type: number
  17785. lastprice:
  17786. description: 最新价
  17787. type: number
  17788. marketamount:
  17789. description: 市值
  17790. type: number
  17791. marketid:
  17792. description: 所属市场ID
  17793. type: integer
  17794. openreqqty:
  17795. description: 开仓申请数量(用于比较最大持仓数量)
  17796. type: number
  17797. opentotalqty:
  17798. description: 开仓总数量
  17799. type: number
  17800. otherfrozenqty:
  17801. description: 持仓其他冻结数量(交割冻结)
  17802. type: number
  17803. positionpl:
  17804. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  17805. type: number
  17806. positionplrate:
  17807. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  17808. type: number
  17809. positionqty:
  17810. description: 期初持仓数量
  17811. type: number
  17812. qtydecimalplace:
  17813. description: 成交量小数位
  17814. type: integer
  17815. refgoodscode:
  17816. description: 参考商品代码
  17817. type: string
  17818. refgoodsid:
  17819. description: 参考商品ID
  17820. type: integer
  17821. tnqty:
  17822. description: T+N冻结总量
  17823. type: number
  17824. tnusedqty:
  17825. description: T+N使用量(可以使用T+N的冻结数量)
  17826. type: number
  17827. trademode:
  17828. description: 交易模式
  17829. type: integer
  17830. tradeproperty:
  17831. description: 交易属性
  17832. type: integer
  17833. usedmargin:
  17834. description: 占用保证金[商品币种]
  17835. type: number
  17836. required:
  17837. - goodsid
  17838. type: object
  17839. pb.GoodsMarginCfgStruct:
  17840. properties:
  17841. CustomerTypeID:
  17842. description: 投资者客户类型
  17843. type: integer
  17844. GoodsID:
  17845. description: 商品ID
  17846. type: integer
  17847. IsDefault:
  17848. description: 是否默认标志位
  17849. type: integer
  17850. LockMarginValue:
  17851. description: 锁仓保证金
  17852. type: number
  17853. MarginAlgorithm:
  17854. description: 保证金计算方式
  17855. type: integer
  17856. MarketMarginValue:
  17857. description: 即市保证金值
  17858. type: number
  17859. RealMarginAlgorithm:
  17860. description: 实付保证金计算方式
  17861. type: integer
  17862. RealMarginValue:
  17863. description: 实付比例
  17864. type: number
  17865. ReckonMarginValue:
  17866. description: 结算保证金值
  17867. type: number
  17868. type: object
  17869. quote.HistoryData:
  17870. properties:
  17871. c:
  17872. description: 收盘价
  17873. type: number
  17874. f:
  17875. description: 是否补充数据
  17876. type: boolean
  17877. h:
  17878. description: 最高价
  17879. type: number
  17880. hv:
  17881. description: 持仓量
  17882. type: integer
  17883. l:
  17884. description: 最低价
  17885. type: number
  17886. o:
  17887. description: 开盘价
  17888. type: number
  17889. s:
  17890. description: 结算价,日线周期(包括)以上才有
  17891. type: number
  17892. ts:
  17893. description: 时间
  17894. type: string
  17895. tt:
  17896. description: 总金额
  17897. type: number
  17898. tv:
  17899. description: 总量(成交量)
  17900. type: integer
  17901. type: object
  17902. quote.HistoryTikData:
  17903. properties:
  17904. AV:
  17905. description: 卖量
  17906. type: integer
  17907. Ask:
  17908. description: 卖价
  17909. type: number
  17910. BV:
  17911. description: 买量
  17912. type: integer
  17913. Bid:
  17914. description: 买价
  17915. type: number
  17916. HI:
  17917. description: 单笔持仓
  17918. type: integer
  17919. HV:
  17920. description: 持仓量
  17921. type: integer
  17922. PE:
  17923. description: 现价
  17924. type: number
  17925. TDR:
  17926. description: 交易方向,0:买 1:卖
  17927. type: integer
  17928. TK:
  17929. description: 交易类型
  17930. type: integer
  17931. TS:
  17932. description: 行情时间文本
  17933. type: string
  17934. TT:
  17935. description: 现金额
  17936. type: number
  17937. Vol:
  17938. description: 现量
  17939. type: integer
  17940. type: object
  17941. quote.QueryQuoteDayRsp:
  17942. properties:
  17943. ask:
  17944. description: 卖1
  17945. type: number
  17946. ask2:
  17947. description: 卖2
  17948. type: number
  17949. ask3:
  17950. description: 卖3
  17951. type: number
  17952. ask4:
  17953. description: 卖4
  17954. type: number
  17955. ask5:
  17956. description: 卖5
  17957. type: number
  17958. ask6:
  17959. description: 卖6
  17960. type: number
  17961. ask7:
  17962. description: 卖7
  17963. type: number
  17964. ask8:
  17965. description: 卖8
  17966. type: number
  17967. ask9:
  17968. description: 卖9
  17969. type: number
  17970. ask10:
  17971. description: 卖10
  17972. type: number
  17973. askorderid:
  17974. description: 卖单号1
  17975. type: integer
  17976. askorderid2:
  17977. description: 卖单号2
  17978. type: integer
  17979. askorderid3:
  17980. description: 卖单号3
  17981. type: integer
  17982. askorderid4:
  17983. description: 卖单号4
  17984. type: integer
  17985. askorderid5:
  17986. description: 卖单号5
  17987. type: integer
  17988. askordervolume:
  17989. description: 卖单量1
  17990. type: integer
  17991. askordervolume2:
  17992. description: 卖单量2
  17993. type: integer
  17994. askordervolume3:
  17995. description: 卖单量3
  17996. type: integer
  17997. askordervolume4:
  17998. description: 卖单量4
  17999. type: integer
  18000. askordervolume5:
  18001. description: 卖单量5
  18002. type: integer
  18003. askordervolume6:
  18004. description: 卖单量6
  18005. type: integer
  18006. askordervolume7:
  18007. description: 卖单量7
  18008. type: integer
  18009. askordervolume8:
  18010. description: 卖单量8
  18011. type: integer
  18012. askordervolume9:
  18013. description: 卖单量9
  18014. type: integer
  18015. askordervolume10:
  18016. description: 卖单量10
  18017. type: integer
  18018. askqueueinfo:
  18019. description: 大利市卖港股用
  18020. type: string
  18021. askvolume:
  18022. description: 卖量1
  18023. type: integer
  18024. askvolume2:
  18025. description: 卖量2
  18026. type: integer
  18027. askvolume3:
  18028. description: 卖量3
  18029. type: integer
  18030. askvolume4:
  18031. description: 卖量4
  18032. type: integer
  18033. askvolume5:
  18034. description: 卖量5
  18035. type: integer
  18036. askvolume6:
  18037. description: 卖量6
  18038. type: integer
  18039. askvolume7:
  18040. description: 卖量7
  18041. type: integer
  18042. askvolume8:
  18043. description: 卖量8
  18044. type: integer
  18045. askvolume9:
  18046. description: 卖量9
  18047. type: integer
  18048. askvolume10:
  18049. description: 卖量10
  18050. type: integer
  18051. averageprice:
  18052. description: 均价
  18053. type: number
  18054. bid:
  18055. description: 买1
  18056. type: number
  18057. bid2:
  18058. description: 买2
  18059. type: number
  18060. bid3:
  18061. description: 买3
  18062. type: number
  18063. bid4:
  18064. description: 买4
  18065. type: number
  18066. bid5:
  18067. description: 买5
  18068. type: number
  18069. bid6:
  18070. description: 买6
  18071. type: number
  18072. bid7:
  18073. description: 买7
  18074. type: number
  18075. bid8:
  18076. description: 买8
  18077. type: number
  18078. bid9:
  18079. description: 买9
  18080. type: number
  18081. bid10:
  18082. description: 买10
  18083. type: number
  18084. bidorderid:
  18085. description: 买单号1
  18086. type: integer
  18087. bidorderid2:
  18088. description: 买单号2
  18089. type: integer
  18090. bidorderid3:
  18091. description: 买单号3
  18092. type: integer
  18093. bidorderid4:
  18094. description: 买单号4
  18095. type: integer
  18096. bidorderid5:
  18097. description: 买单号5
  18098. type: integer
  18099. bidordervolume:
  18100. description: 买单量1
  18101. type: integer
  18102. bidordervolume2:
  18103. description: 买单量2
  18104. type: integer
  18105. bidordervolume3:
  18106. description: 买单量3
  18107. type: integer
  18108. bidordervolume4:
  18109. description: 买单量4
  18110. type: integer
  18111. bidordervolume5:
  18112. description: 买单量5
  18113. type: integer
  18114. bidordervolume6:
  18115. description: 买单量6
  18116. type: integer
  18117. bidordervolume7:
  18118. description: 买单量7
  18119. type: integer
  18120. bidordervolume8:
  18121. description: 买单量8
  18122. type: integer
  18123. bidordervolume9:
  18124. description: 买单量9
  18125. type: integer
  18126. bidordervolume10:
  18127. description: 买单量10
  18128. type: integer
  18129. bidqueueinfo:
  18130. description: 大利市买港股用
  18131. type: string
  18132. bidvolume:
  18133. description: 买量1
  18134. type: integer
  18135. bidvolume2:
  18136. description: 买量2
  18137. type: integer
  18138. bidvolume3:
  18139. description: 买量3
  18140. type: integer
  18141. bidvolume4:
  18142. description: 买量4
  18143. type: integer
  18144. bidvolume5:
  18145. description: 买量5
  18146. type: integer
  18147. bidvolume6:
  18148. description: 买量6
  18149. type: integer
  18150. bidvolume7:
  18151. description: 买量7
  18152. type: integer
  18153. bidvolume8:
  18154. description: 买量8
  18155. type: integer
  18156. bidvolume9:
  18157. description: 买量9
  18158. type: integer
  18159. bidvolume10:
  18160. description: 买量10
  18161. type: integer
  18162. calloptionpremiums:
  18163. description: 认购期权1
  18164. type: integer
  18165. calloptionpremiums2:
  18166. description: 认购期权2
  18167. type: integer
  18168. calloptionpremiums3:
  18169. description: 认购期权3
  18170. type: integer
  18171. calloptionpremiums4:
  18172. description: 认购期权4
  18173. type: integer
  18174. calloptionpremiums5:
  18175. description: 认购期权5
  18176. type: integer
  18177. cleartime:
  18178. description: 清盘时间
  18179. type: integer
  18180. exchangecode:
  18181. description: 交易所代码
  18182. type: integer
  18183. exchangedate:
  18184. description: 交易日
  18185. type: integer
  18186. goodscode:
  18187. description: 商品代码
  18188. type: string
  18189. grepmarketprice:
  18190. description: 暗盘价 港股专用
  18191. type: number
  18192. highest:
  18193. description: 最高价
  18194. type: number
  18195. holdincrement:
  18196. description: 单笔持仓
  18197. type: integer
  18198. holdvolume:
  18199. description: 持仓
  18200. type: integer
  18201. iep:
  18202. description: 平衡价 港股专用
  18203. type: number
  18204. iev:
  18205. description: 平衡量 港股专用
  18206. type: number
  18207. inventory:
  18208. description: 库存
  18209. type: integer
  18210. iscleared:
  18211. description: 是否清盘标志
  18212. type: integer
  18213. issettled:
  18214. description: 是否结算标志
  18215. type: integer
  18216. last:
  18217. description: 最新价
  18218. type: number
  18219. lastlot:
  18220. description: 最新成交手数
  18221. type: integer
  18222. lasttime:
  18223. description: 行情时间(只有现价变化行情时间才变化)
  18224. type: string
  18225. lastturnover:
  18226. description: 最新成交金额
  18227. type: number
  18228. lastvolume:
  18229. description: 最新成交量
  18230. type: integer
  18231. limitdown:
  18232. description: 跌停价
  18233. type: number
  18234. limitup:
  18235. description: 涨停价
  18236. type: number
  18237. lowest:
  18238. description: 最低价
  18239. type: number
  18240. nontotalholdervolume:
  18241. description: 非交易持仓量
  18242. type: integer
  18243. nontotallot:
  18244. description: 非交易总手数
  18245. type: integer
  18246. nontotalturnover:
  18247. description: 非交易总金额
  18248. type: integer
  18249. nontotalvolume:
  18250. description: 非交易总量
  18251. type: integer
  18252. opened:
  18253. description: 开盘价
  18254. type: number
  18255. opentime:
  18256. description: 开盘时间
  18257. type: string
  18258. orderid:
  18259. description: 序号
  18260. type: integer
  18261. preclose:
  18262. description: 昨收
  18263. type: number
  18264. preholdvolume:
  18265. description: 昨持仓
  18266. type: integer
  18267. presettle:
  18268. description: 昨结价
  18269. type: number
  18270. publictradetype:
  18271. description: 公共交易标志类型 港股专用
  18272. type: string
  18273. putoptionpremiums:
  18274. description: 认沽期权1
  18275. type: integer
  18276. putoptionpremiums2:
  18277. description: 认沽期权2
  18278. type: integer
  18279. putoptionpremiums3:
  18280. description: 认沽期权3
  18281. type: integer
  18282. putoptionpremiums4:
  18283. description: 认沽期权4
  18284. type: integer
  18285. putoptionpremiums5:
  18286. description: 认沽期权5
  18287. type: integer
  18288. settle:
  18289. description: 结算价
  18290. type: number
  18291. strikeprice:
  18292. description: 发行价
  18293. type: number
  18294. totalaskvolume:
  18295. description: 内盘
  18296. type: integer
  18297. totalbidvolume:
  18298. description: 外盘
  18299. type: integer
  18300. totallot:
  18301. description: 总手数
  18302. type: integer
  18303. totalturnover:
  18304. description: 总金额
  18305. type: number
  18306. totalvolume:
  18307. description: 总量
  18308. type: integer
  18309. utclasttime:
  18310. description: utc的行情时间
  18311. type: string
  18312. type: object
  18313. quote.QueryTSDataRsp:
  18314. properties:
  18315. Count:
  18316. description: 交易日应有数据个数
  18317. type: integer
  18318. decimalPlace:
  18319. description: 小数位
  18320. type: integer
  18321. endTime:
  18322. description: 结束时间
  18323. type: string
  18324. goodsCode:
  18325. description: 商品代码
  18326. type: string
  18327. historyDatas:
  18328. description: 历史数据
  18329. items:
  18330. $ref: '#/definitions/quote.HistoryData'
  18331. type: array
  18332. outGoodsCode:
  18333. description: 外部商品代码
  18334. type: string
  18335. preSettle:
  18336. description: 昨结价
  18337. type: number
  18338. runSteps:
  18339. description: 交易日开休市计划
  18340. items:
  18341. $ref: '#/definitions/quote.TSDataRunStep'
  18342. type: array
  18343. startTime:
  18344. description: 开始时间
  18345. type: string
  18346. tradeDate:
  18347. description: 交易日
  18348. type: string
  18349. type: object
  18350. quote.TSDataRunStep:
  18351. properties:
  18352. end:
  18353. description: 真实结束时间
  18354. type: string
  18355. endflag:
  18356. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  18357. type: integer
  18358. endtime:
  18359. description: 结束时间(HH:mm)
  18360. type: string
  18361. endweekday:
  18362. description: 结束周几
  18363. type: integer
  18364. groupid:
  18365. description: 分组ID
  18366. type: integer
  18367. runstep:
  18368. description: 运行阶段 - 2:连续交易
  18369. type: integer
  18370. sectionid:
  18371. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几
  18372. type: integer
  18373. start:
  18374. description: 真实开始时间
  18375. type: string
  18376. startflag:
  18377. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  18378. type: integer
  18379. starttime:
  18380. description: 起始时间(HH:mm)
  18381. type: string
  18382. startweekday:
  18383. description: 起始周几
  18384. type: integer
  18385. tradeweekday:
  18386. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  18387. type: integer
  18388. type: object
  18389. szdz.QueryConvertLogRsp:
  18390. properties:
  18391. accountid:
  18392. description: 资金账户ID
  18393. type: integer
  18394. clientticket:
  18395. description: 客户端流水号
  18396. type: string
  18397. converttype:
  18398. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  18399. type: integer
  18400. createtime:
  18401. description: 记账时间
  18402. type: string
  18403. daymaxvalue:
  18404. description: 配置当日最大转入限制
  18405. type: number
  18406. daymaxvalue2:
  18407. description: 配置当日最大转入限制(转入)
  18408. type: number
  18409. goodscode:
  18410. description: 商品代码
  18411. type: string
  18412. goodsname:
  18413. description: 商品名称
  18414. type: string
  18415. handlestatus:
  18416. description: 处理状态
  18417. type: integer
  18418. innergoodsid:
  18419. description: 内部商品ID
  18420. type: integer
  18421. inratio:
  18422. description: 配置转入比值
  18423. type: integer
  18424. invalue:
  18425. description: 目标值
  18426. type: number
  18427. logid:
  18428. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18429. type: integer
  18430. mobile:
  18431. description: 手机号码(加密存储)
  18432. type: string
  18433. outergoodscode:
  18434. description: 外部商品代码[JD\PD]
  18435. type: string
  18436. outratio:
  18437. description: 配置转出比值
  18438. type: integer
  18439. outvalue:
  18440. description: 源值
  18441. type: number
  18442. pddecimalplace:
  18443. description: PD小数位
  18444. type: integer
  18445. qty:
  18446. description: 数量
  18447. type: string
  18448. remark:
  18449. description: 备注
  18450. type: string
  18451. sessionid:
  18452. description: 会话ID
  18453. type: integer
  18454. timemaxvalue:
  18455. description: 配置单次最大转入限制
  18456. type: number
  18457. timemaxvalue2:
  18458. description: 配置单次最大转入限制(转入)
  18459. type: number
  18460. timeminvalue:
  18461. description: 配置单次最小数量限制
  18462. type: number
  18463. timeminvalue2:
  18464. description: 配置单次最小数量限制(转入)
  18465. type: number
  18466. tradedate:
  18467. description: 交易日(yyyyMMdd)
  18468. type: string
  18469. userid:
  18470. description: 用户ID
  18471. type: integer
  18472. required:
  18473. - logid
  18474. type: object
  18475. szdz.QueryGoodsPickupRsp:
  18476. properties:
  18477. accountid:
  18478. description: 账户ID
  18479. type: integer
  18480. address:
  18481. description: 提货人详细地址
  18482. type: string
  18483. auditer:
  18484. description: 审核人
  18485. type: integer
  18486. audittime:
  18487. description: 审核时间
  18488. type: string
  18489. cardnum:
  18490. description: 提货人证件号码
  18491. type: string
  18492. cardtypeid:
  18493. description: 提货人证件类型
  18494. type: integer
  18495. checkremark:
  18496. description: 审核备注
  18497. type: string
  18498. goodscode:
  18499. description: 商品代码
  18500. type: string
  18501. goodsid:
  18502. description: 商品ID
  18503. type: integer
  18504. goodsname:
  18505. description: 商品名称
  18506. type: string
  18507. handlestatus:
  18508. description: 处理状态
  18509. type: integer
  18510. marketid:
  18511. description: 市场ID
  18512. type: integer
  18513. phonenum:
  18514. description: 提货人联系方式
  18515. type: string
  18516. qty:
  18517. description: 提货数量
  18518. type: number
  18519. recivername:
  18520. description: 提货人姓名
  18521. type: string
  18522. reqtime:
  18523. description: 更新时间
  18524. type: string
  18525. takemode:
  18526. description: 提货方式 - 2:自提 3:配送
  18527. type: integer
  18528. takeorderid:
  18529. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  18530. type: string
  18531. takeorderstatus:
  18532. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  18533. type: integer
  18534. takeremark:
  18535. description: 提货备注
  18536. type: string
  18537. tradedate:
  18538. description: 交易日(yyyyMMdd)
  18539. type: string
  18540. userid:
  18541. description: 用户ID
  18542. type: integer
  18543. required:
  18544. - takeorderid
  18545. type: object
  18546. szdz.QueryRecieptOrderRsp:
  18547. properties:
  18548. accountName:
  18549. description: 所属账号名称(已脱敏)
  18550. type: string
  18551. accountid:
  18552. description: 资金账号
  18553. type: integer
  18554. buyorsell:
  18555. description: 方向 - 0:买 1:卖
  18556. type: integer
  18557. enableqty:
  18558. description: 可摘数量
  18559. type: integer
  18560. goodscode:
  18561. description: 商品代码
  18562. type: string
  18563. goodsid:
  18564. description: 商品ID
  18565. type: integer
  18566. goodsname:
  18567. description: 商品名称
  18568. type: string
  18569. orderid:
  18570. description: 委托单号
  18571. type: string
  18572. orderprice:
  18573. description: 委托价格
  18574. type: number
  18575. ordertime:
  18576. description: 委托时间
  18577. type: string
  18578. tradedate:
  18579. description: 交易日(yyyyMMdd)
  18580. type: string
  18581. required:
  18582. - ordertime
  18583. type: object
  18584. szdz.QuerySZDZTradePositionRsp:
  18585. properties:
  18586. accountid:
  18587. description: 账号Id
  18588. type: integer
  18589. agreeunit:
  18590. description: 合约单位
  18591. type: number
  18592. averageprice:
  18593. description: 持仓均价
  18594. type: number
  18595. buyorsell:
  18596. description: 方向 - 0:买 1:卖
  18597. type: integer
  18598. closetotalqty:
  18599. description: 平仓总数量
  18600. type: integer
  18601. curholderamount:
  18602. description: 当前持仓总金额
  18603. type: number
  18604. curpositionqty:
  18605. description: 当前持仓总数量
  18606. type: integer
  18607. currencyid:
  18608. description: 报价货币ID
  18609. type: integer
  18610. curtdposition:
  18611. description: 期末今日头寸
  18612. type: integer
  18613. decimalplace:
  18614. description: 报价小数位
  18615. type: integer
  18616. enableqty:
  18617. description: 可用量
  18618. type: integer
  18619. fretdposition:
  18620. description: 冻结今日头寸
  18621. type: integer
  18622. frozenqty:
  18623. description: 持仓冻结数量
  18624. type: integer
  18625. goodscode:
  18626. description: 商品代码(内部)
  18627. type: string
  18628. goodsid:
  18629. description: 商品Id
  18630. type: integer
  18631. goodsname:
  18632. description: 商品名称
  18633. type: string
  18634. goodunit:
  18635. description: 报价单位
  18636. type: string
  18637. goodunitid:
  18638. description: 报价单位ID
  18639. type: integer
  18640. holderamount:
  18641. description: 期初持仓总金额
  18642. type: number
  18643. marketid:
  18644. description: 市场ID
  18645. type: integer
  18646. openreqqty:
  18647. description: 开仓申请数量
  18648. type: integer
  18649. opentotalqty:
  18650. description: 开仓总数量
  18651. type: integer
  18652. otherfrozenqty:
  18653. description: 持仓其他冻结数量(交割冻结)
  18654. type: integer
  18655. positionqty:
  18656. description: 期初持仓数量
  18657. type: integer
  18658. szdz3freezqty:
  18659. description: 尚志大宗转换冻结总数量
  18660. type: integer
  18661. tnqty:
  18662. description: T+N冻结总量
  18663. type: integer
  18664. tnusedqty:
  18665. description: T+N使用量
  18666. type: integer
  18667. trademode:
  18668. description: 交易模式
  18669. type: integer
  18670. usedmargin:
  18671. description: 占用保证金
  18672. type: number
  18673. type: object
  18674. taaccount.QueryAmountLogRsp:
  18675. properties:
  18676. OPERATETYPENAME:
  18677. description: 资金操作类型名称
  18678. type: string
  18679. accountid:
  18680. description: 资金账户ID
  18681. type: integer
  18682. agoodscode:
  18683. description: 竞拍商品代码
  18684. type: string
  18685. agoodsname:
  18686. description: 竞拍商品名称
  18687. type: string
  18688. amount:
  18689. description: 资金金额
  18690. type: number
  18691. amountadjusttype:
  18692. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  18693. type: integer
  18694. autoid:
  18695. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  18696. type: integer
  18697. balance:
  18698. description: 期初余额
  18699. type: number
  18700. businesscode:
  18701. description: 业务编号
  18702. type: integer
  18703. createtime:
  18704. description: 发生时间
  18705. type: string
  18706. currencyid:
  18707. description: 币种ID
  18708. type: integer
  18709. currentbalance:
  18710. description: 期末余额(变动后金额)
  18711. type: number
  18712. dgoodscode:
  18713. description: 交割商品代码
  18714. type: string
  18715. dgoodsname:
  18716. description: 交割商品名称
  18717. type: string
  18718. goodscode:
  18719. description: 商品代码
  18720. type: string
  18721. goodsid:
  18722. description: 商品ID
  18723. type: integer
  18724. goodsname:
  18725. description: 商品名称
  18726. type: string
  18727. marketid:
  18728. description: 市场ID
  18729. type: integer
  18730. marketname:
  18731. description: 市场名称
  18732. type: string
  18733. moneyticket:
  18734. description: 资金流水号:银行端流水号
  18735. type: integer
  18736. operatetype:
  18737. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费 1007:期权盈亏 1101:营销扣款 1102:营销收款
  18738. type: integer
  18739. relationorderid:
  18740. description: 关联单号
  18741. type: string
  18742. remark:
  18743. description: 备注
  18744. type: string
  18745. trademode:
  18746. description: 交易模式
  18747. type: integer
  18748. required:
  18749. - accountid
  18750. - amount
  18751. - amountadjusttype
  18752. - autoid
  18753. - balance
  18754. - createtime
  18755. - currentbalance
  18756. - operatetype
  18757. type: object
  18758. taaccount.QueryHisAmountLogRsp:
  18759. properties:
  18760. OPERATETYPENAME:
  18761. description: 资金操作类型名称
  18762. type: string
  18763. accountid:
  18764. description: 资金账户ID
  18765. type: integer
  18766. agoodscode:
  18767. description: 竞拍商品代码
  18768. type: string
  18769. agoodsname:
  18770. description: 竞拍商品名称
  18771. type: string
  18772. amount:
  18773. description: 资金金额
  18774. type: number
  18775. amountadjusttype:
  18776. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  18777. type: integer
  18778. autoid:
  18779. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  18780. type: integer
  18781. balance:
  18782. description: 期初余额
  18783. type: number
  18784. businesscode:
  18785. description: 业务编号
  18786. type: integer
  18787. createtime:
  18788. description: 发生时间
  18789. type: string
  18790. currencyid:
  18791. description: 币种ID
  18792. type: integer
  18793. currentbalance:
  18794. description: 期末余额(变动后金额)
  18795. type: number
  18796. dgoodscode:
  18797. description: 交割商品代码
  18798. type: string
  18799. dgoodsname:
  18800. description: 交割商品名称
  18801. type: string
  18802. goodscode:
  18803. description: 商品代码
  18804. type: string
  18805. goodsid:
  18806. description: 商品ID
  18807. type: integer
  18808. goodsname:
  18809. description: 商品名称
  18810. type: string
  18811. histradedate:
  18812. description: 历史交易日
  18813. type: string
  18814. isvaliddata:
  18815. description: 是否有效 - 0:无效 1:有效
  18816. type: integer
  18817. marketid:
  18818. description: 市场ID
  18819. type: integer
  18820. marketname:
  18821. description: 市场名称
  18822. type: string
  18823. moneyticket:
  18824. description: 资金流水号:银行端流水号
  18825. type: integer
  18826. operatetype:
  18827. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费 1007:期权盈亏 1101:营销扣款 1102:营销收款
  18828. type: integer
  18829. relationorderid:
  18830. description: 关联单号
  18831. type: string
  18832. remark:
  18833. description: 备注
  18834. type: string
  18835. trademode:
  18836. description: 交易模式
  18837. type: integer
  18838. required:
  18839. - accountid
  18840. - amount
  18841. - amountadjusttype
  18842. - autoid
  18843. - balance
  18844. - createtime
  18845. - currentbalance
  18846. - histradedate
  18847. - operatetype
  18848. type: object
  18849. trade.QueryRecieptOrderRsp:
  18850. properties:
  18851. accountName:
  18852. description: 所属账号名称(已脱敏)
  18853. type: string
  18854. accountid:
  18855. description: 资金账号
  18856. type: integer
  18857. buyorsell:
  18858. description: 方向 - 0:买 1:卖
  18859. type: integer
  18860. enableqty:
  18861. description: 可摘数量
  18862. type: integer
  18863. goodscode:
  18864. description: 商品代码
  18865. type: string
  18866. goodsid:
  18867. description: 商品ID
  18868. type: integer
  18869. goodsname:
  18870. description: 商品名称
  18871. type: string
  18872. orderid:
  18873. description: 委托单号
  18874. type: string
  18875. orderprice:
  18876. description: 委托价格
  18877. type: number
  18878. ordertime:
  18879. description: 委托时间
  18880. type: string
  18881. tradedate:
  18882. description: 交易日(yyyyMMdd)
  18883. type: string
  18884. required:
  18885. - ordertime
  18886. type: object
  18887. user.LoginQueryRsp:
  18888. properties:
  18889. areaRoles:
  18890. description: 所属角色信息
  18891. items:
  18892. $ref: '#/definitions/models.Arearole'
  18893. type: array
  18894. externalExchanges:
  18895. description: 外部交易所
  18896. items:
  18897. $ref: '#/definitions/models.Externalexchange'
  18898. type: array
  18899. goodsgroups:
  18900. description: 商品组
  18901. items:
  18902. $ref: '#/definitions/models.Goodsgroup'
  18903. type: array
  18904. loginAccount:
  18905. $ref: '#/definitions/models.Loginaccount'
  18906. description: 登录账号
  18907. markets:
  18908. description: 市场
  18909. items:
  18910. $ref: '#/definitions/models.Market'
  18911. type: array
  18912. systemParams:
  18913. description: 系统参数
  18914. items:
  18915. $ref: '#/definitions/models.Systemparam'
  18916. type: array
  18917. userAccount:
  18918. $ref: '#/definitions/models.Useraccount'
  18919. description: 用户账号
  18920. userInfo:
  18921. $ref: '#/definitions/models.Userinfo'
  18922. description: 用户信息
  18923. username:
  18924. description: 用户姓名
  18925. type: string
  18926. type: object
  18927. info:
  18928. contact: {}
  18929. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  18930. termsOfService: http://www.muchinfo.cn
  18931. title: MTP2.0 查询服务 API
  18932. version: "1.0"
  18933. paths:
  18934. /CPTrade/QueryCPTradeMyBidInfos:
  18935. get:
  18936. parameters:
  18937. - description: 资金账户
  18938. in: query
  18939. name: accountid
  18940. required: true
  18941. type: integer
  18942. - description: 预售市场ID
  18943. in: query
  18944. name: marketid
  18945. type: integer
  18946. - description: 预售商品ID
  18947. in: query
  18948. name: goodsid
  18949. type: integer
  18950. produces:
  18951. - application/json
  18952. responses:
  18953. "200":
  18954. description: OK
  18955. schema:
  18956. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  18957. "500":
  18958. description: Internal Server Error
  18959. schema:
  18960. $ref: '#/definitions/app.Response'
  18961. security:
  18962. - ApiKeyAuth: []
  18963. summary: 查询产能预售我的出价信息
  18964. tags:
  18965. - 产能预售
  18966. /CPTrade/QueryCPTradeOrderDetail:
  18967. get:
  18968. parameters:
  18969. - description: 预售商品ID
  18970. in: query
  18971. name: goodsid
  18972. type: integer
  18973. - description: 预售市场ID
  18974. in: query
  18975. name: marketid
  18976. type: integer
  18977. - description: 预售商品ID列表 - 格式:1,2,3
  18978. in: query
  18979. name: goodsids
  18980. type: string
  18981. produces:
  18982. - application/json
  18983. responses:
  18984. "200":
  18985. description: OK
  18986. schema:
  18987. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  18988. "500":
  18989. description: Internal Server Error
  18990. schema:
  18991. $ref: '#/definitions/app.Response'
  18992. security:
  18993. - ApiKeyAuth: []
  18994. summary: 查询产能预售委托单信息
  18995. tags:
  18996. - 产能预售
  18997. /CPTrade/QueryMyCPTradeGoods:
  18998. get:
  18999. parameters:
  19000. - description: 资金账户
  19001. in: query
  19002. name: accountid
  19003. required: true
  19004. type: integer
  19005. produces:
  19006. - application/json
  19007. responses:
  19008. "200":
  19009. description: OK
  19010. schema:
  19011. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  19012. "500":
  19013. description: Internal Server Error
  19014. schema:
  19015. $ref: '#/definitions/app.Response'
  19016. security:
  19017. - ApiKeyAuth: []
  19018. summary: 查询我的预售信息
  19019. tags:
  19020. - 产能预售
  19021. /CPTrade/QueryPositionCancel:
  19022. get:
  19023. parameters:
  19024. - description: 账户ID
  19025. in: query
  19026. name: userid
  19027. required: true
  19028. type: integer
  19029. - description: 注销ID
  19030. in: query
  19031. name: cancelid
  19032. type: integer
  19033. - description: 资金账户ID
  19034. in: query
  19035. name: accountid
  19036. type: integer
  19037. produces:
  19038. - application/json
  19039. responses:
  19040. "200":
  19041. description: OK
  19042. schema:
  19043. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  19044. "500":
  19045. description: Internal Server Error
  19046. schema:
  19047. $ref: '#/definitions/app.Response'
  19048. security:
  19049. - ApiKeyAuth: []
  19050. summary: 查询远期订单注销申请信息
  19051. tags:
  19052. - 产能预售
  19053. /CPTrade/QueryPreasleApply:
  19054. get:
  19055. parameters:
  19056. - description: 账户ID
  19057. in: query
  19058. name: userid
  19059. required: true
  19060. type: integer
  19061. - description: 申请ID
  19062. in: query
  19063. name: applyid
  19064. type: integer
  19065. - description: 资金账户ID
  19066. in: query
  19067. name: accountid
  19068. type: integer
  19069. produces:
  19070. - application/json
  19071. responses:
  19072. "200":
  19073. description: OK
  19074. schema:
  19075. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  19076. "500":
  19077. description: Internal Server Error
  19078. schema:
  19079. $ref: '#/definitions/app.Response'
  19080. security:
  19081. - ApiKeyAuth: []
  19082. summary: 查询产能预售申请信息
  19083. tags:
  19084. - 产能预售
  19085. /CPTrade/QueryPresaleGoodsEx:
  19086. get:
  19087. parameters:
  19088. - description: 预售商品ID
  19089. in: query
  19090. name: goodsid
  19091. type: integer
  19092. - description: 预售市场ID
  19093. in: query
  19094. name: marketid
  19095. type: integer
  19096. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  19097. in: query
  19098. name: presalemode
  19099. type: integer
  19100. - description: 预售商品ID列表 - 格式:1,2,3
  19101. in: query
  19102. name: goodsids
  19103. type: string
  19104. - description: 预售商品代码
  19105. in: query
  19106. name: goodscode
  19107. type: string
  19108. produces:
  19109. - application/json
  19110. responses:
  19111. "200":
  19112. description: OK
  19113. schema:
  19114. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  19115. "500":
  19116. description: Internal Server Error
  19117. schema:
  19118. $ref: '#/definitions/app.Response'
  19119. security:
  19120. - ApiKeyAuth: []
  19121. summary: 查询产能预售商品扩展信息
  19122. tags:
  19123. - 产能预售
  19124. /CPTrade/QueryUserGoodsData:
  19125. get:
  19126. parameters:
  19127. - description: 资金账户ID
  19128. in: query
  19129. name: accountid
  19130. required: true
  19131. type: integer
  19132. produces:
  19133. - application/json
  19134. responses:
  19135. "200":
  19136. description: OK
  19137. schema:
  19138. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  19139. "500":
  19140. description: Internal Server Error
  19141. schema:
  19142. $ref: '#/definitions/app.Response'
  19143. security:
  19144. - ApiKeyAuth: []
  19145. summary: 查询远期订单信息
  19146. tags:
  19147. - 产能预售
  19148. /Common/GetAllEnums:
  19149. get:
  19150. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  19151. parameters:
  19152. - description: 起始自增ID
  19153. in: query
  19154. name: autoid
  19155. type: integer
  19156. produces:
  19157. - application/json
  19158. responses:
  19159. "200":
  19160. description: OK
  19161. schema:
  19162. $ref: '#/definitions/models.Enumdicitem'
  19163. "500":
  19164. description: Internal Server Error
  19165. schema:
  19166. $ref: '#/definitions/app.Response'
  19167. summary: 获取所有枚举信息
  19168. tags:
  19169. - 通用服务
  19170. /Common/GetClientMenus:
  19171. get:
  19172. parameters:
  19173. - description: 登录账号
  19174. in: query
  19175. name: loginID
  19176. required: true
  19177. type: integer
  19178. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  19179. in: query
  19180. name: clientType
  19181. type: integer
  19182. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  19183. in: query
  19184. name: name
  19185. type: string
  19186. produces:
  19187. - application/json
  19188. responses:
  19189. "200":
  19190. description: OK
  19191. schema:
  19192. items:
  19193. $ref: '#/definitions/common.ClientMenu'
  19194. type: array
  19195. "500":
  19196. description: Internal Server Error
  19197. schema:
  19198. $ref: '#/definitions/app.Response'
  19199. security:
  19200. - ApiKeyAuth: []
  19201. summary: 获取交易端菜单
  19202. tags:
  19203. - 通用服务
  19204. /Common/GetDivisions:
  19205. get:
  19206. produces:
  19207. - application/json
  19208. responses:
  19209. "200":
  19210. description: OK
  19211. schema:
  19212. $ref: '#/definitions/models.Division'
  19213. "500":
  19214. description: Internal Server Error
  19215. schema:
  19216. $ref: '#/definitions/app.Response'
  19217. summary: 查询区域信息
  19218. tags:
  19219. - 通用服务
  19220. /Common/GetPCWebMenus:
  19221. get:
  19222. parameters:
  19223. - description: 登录账号
  19224. in: query
  19225. name: loginID
  19226. required: true
  19227. type: integer
  19228. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  19229. in: query
  19230. name: name
  19231. type: string
  19232. produces:
  19233. - application/json
  19234. responses:
  19235. "200":
  19236. description: OK
  19237. schema:
  19238. items:
  19239. $ref: '#/definitions/common.PCWebMenu'
  19240. type: array
  19241. "500":
  19242. description: Internal Server Error
  19243. schema:
  19244. $ref: '#/definitions/app.Response'
  19245. security:
  19246. - ApiKeyAuth: []
  19247. summary: 获取PCWeb交易端菜单
  19248. tags:
  19249. - 通用服务
  19250. /Common/GetServerTime:
  19251. get:
  19252. produces:
  19253. - application/json
  19254. responses:
  19255. "200":
  19256. description: OK
  19257. schema:
  19258. $ref: '#/definitions/app.Response'
  19259. "500":
  19260. description: Internal Server Error
  19261. schema:
  19262. $ref: '#/definitions/app.Response'
  19263. summary: 获取服务器时间
  19264. tags:
  19265. - 通用服务
  19266. /Common/NoticeReaded:
  19267. post:
  19268. parameters:
  19269. - description: 登录账号
  19270. in: query
  19271. name: loginID
  19272. required: true
  19273. type: integer
  19274. - description: 通知公告ID
  19275. in: query
  19276. name: noticeID
  19277. required: true
  19278. type: integer
  19279. produces:
  19280. - application/json
  19281. responses:
  19282. "200":
  19283. description: OK
  19284. schema:
  19285. $ref: '#/definitions/app.Response'
  19286. "500":
  19287. description: Internal Server Error
  19288. schema:
  19289. $ref: '#/definitions/app.Response'
  19290. security:
  19291. - ApiKeyAuth: []
  19292. summary: 通知公告设置已读请求
  19293. tags:
  19294. - 通用服务
  19295. /Common/QueryErrorInfos:
  19296. get:
  19297. description: 如果传入rowNumber,则返回此rowNumber后的数据
  19298. parameters:
  19299. - description: 起始行号前索引
  19300. in: query
  19301. name: rowNumber
  19302. type: string
  19303. produces:
  19304. - application/json
  19305. responses:
  19306. "200":
  19307. description: OK
  19308. schema:
  19309. $ref: '#/definitions/models.QueryErrorInfosRsp'
  19310. "500":
  19311. description: Internal Server Error
  19312. schema:
  19313. $ref: '#/definitions/app.Response'
  19314. summary: 获取数据库错误信息
  19315. tags:
  19316. - 通用服务
  19317. /Common/QueryImageConfigs:
  19318. get:
  19319. parameters:
  19320. - description: 用户id
  19321. in: query
  19322. name: userId
  19323. type: integer
  19324. - description: 类型 - 1:App首页轮播 2:我的
  19325. in: query
  19326. name: imageType
  19327. type: integer
  19328. produces:
  19329. - application/json
  19330. responses:
  19331. "200":
  19332. description: OK
  19333. schema:
  19334. $ref: '#/definitions/common.QueryImageConfigsRsp'
  19335. "500":
  19336. description: Internal Server Error
  19337. schema:
  19338. $ref: '#/definitions/app.Response'
  19339. summary: 查询轮播图配置信息
  19340. tags:
  19341. - 通用服务
  19342. /Common/QueryNotice:
  19343. get:
  19344. parameters:
  19345. - description: 页码
  19346. in: query
  19347. name: page
  19348. type: integer
  19349. - description: 每页条数
  19350. in: query
  19351. name: pagesize
  19352. type: integer
  19353. - description: 登录账号
  19354. in: query
  19355. name: loginID
  19356. required: true
  19357. type: integer
  19358. - description: 消息类型 - 1:公告通知 2:系统消息
  19359. in: query
  19360. name: msgType
  19361. type: integer
  19362. - description: 是否只获取未读信息
  19363. in: query
  19364. name: onlyUnRead
  19365. type: boolean
  19366. - description: 自增ID,传入后会返回这个ID后面的记录
  19367. in: query
  19368. name: lastID
  19369. type: integer
  19370. produces:
  19371. - application/json
  19372. responses:
  19373. "200":
  19374. description: OK
  19375. schema:
  19376. $ref: '#/definitions/common.QueryNoticeRsp'
  19377. "500":
  19378. description: Internal Server Error
  19379. schema:
  19380. $ref: '#/definitions/app.Response'
  19381. security:
  19382. - ApiKeyAuth: []
  19383. summary: 通知公告系统消息查询
  19384. tags:
  19385. - 通用服务
  19386. /Common/QueryProvincesAndCities:
  19387. get:
  19388. parameters:
  19389. - description: 省ID
  19390. in: query
  19391. name: provinceID
  19392. type: integer
  19393. produces:
  19394. - application/json
  19395. responses:
  19396. "200":
  19397. description: OK
  19398. schema:
  19399. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  19400. "500":
  19401. description: Internal Server Error
  19402. schema:
  19403. $ref: '#/definitions/app.Response'
  19404. summary: 查询省市信息(不包括区)
  19405. tags:
  19406. - 通用服务
  19407. /Common/QueryTableDefine:
  19408. get:
  19409. parameters:
  19410. - description: 表key
  19411. in: query
  19412. name: tableKey
  19413. type: string
  19414. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  19415. in: query
  19416. name: tableType
  19417. type: integer
  19418. produces:
  19419. - application/json
  19420. responses:
  19421. "200":
  19422. description: OK
  19423. schema:
  19424. $ref: '#/definitions/common.QueryTableDefineRsp'
  19425. "500":
  19426. description: Internal Server Error
  19427. schema:
  19428. $ref: '#/definitions/app.Response'
  19429. summary: 查询交易端列表头信息
  19430. tags:
  19431. - 通用服务
  19432. /Common/QueryTraderMenu:
  19433. get:
  19434. parameters:
  19435. - description: 登录账号
  19436. in: query
  19437. name: loginid
  19438. required: true
  19439. type: integer
  19440. produces:
  19441. - application/json
  19442. responses:
  19443. "200":
  19444. description: OK
  19445. schema:
  19446. $ref: '#/definitions/common.QueryTraderMenuRsp'
  19447. "500":
  19448. description: Internal Server Error
  19449. schema:
  19450. $ref: '#/definitions/app.Response'
  19451. summary: 查询交易端菜单
  19452. tags:
  19453. - 通用服务
  19454. /Delivery/QueryDeliveryRelation:
  19455. get:
  19456. parameters:
  19457. - description: 商品ID
  19458. in: query
  19459. name: goodsid
  19460. type: integer
  19461. - description: 品种ID
  19462. in: query
  19463. name: deliverygoodsid
  19464. type: integer
  19465. - description: 市场ID
  19466. in: query
  19467. name: marketid
  19468. type: integer
  19469. produces:
  19470. - application/json
  19471. responses:
  19472. "200":
  19473. description: OK
  19474. schema:
  19475. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  19476. "500":
  19477. description: Internal Server Error
  19478. schema:
  19479. $ref: '#/definitions/app.Response'
  19480. security:
  19481. - ApiKeyAuth: []
  19482. summary: 查询商品交割关系表
  19483. tags:
  19484. - 交割服务
  19485. /Ermcp/GetErmcpGoods:
  19486. get:
  19487. parameters:
  19488. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  19489. in: query
  19490. name: lastUpdateTime
  19491. type: string
  19492. produces:
  19493. - application/json
  19494. responses:
  19495. "200":
  19496. description: OK
  19497. schema:
  19498. $ref: '#/definitions/models.ErmcpGoods'
  19499. "500":
  19500. description: Internal Server Error
  19501. schema:
  19502. $ref: '#/definitions/app.Response'
  19503. security:
  19504. - ApiKeyAuth: []
  19505. summary: 查询企业风管期货商品信息
  19506. tags:
  19507. - 企业风险管理(app)
  19508. /Ermcp/GetErmcpGoodsSortByPosition:
  19509. get:
  19510. parameters:
  19511. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  19512. in: query
  19513. name: sortIndex
  19514. type: string
  19515. produces:
  19516. - application/json
  19517. responses:
  19518. "200":
  19519. description: OK
  19520. schema:
  19521. $ref: '#/definitions/models.Goodssortbypreposition'
  19522. "500":
  19523. description: Internal Server Error
  19524. schema:
  19525. $ref: '#/definitions/app.Response'
  19526. security:
  19527. - ApiKeyAuth: []
  19528. summary: 查询企业风管期货主力、次主力商品信息
  19529. tags:
  19530. - 企业风险管理(app)
  19531. /Ermcp/GetErmcpOutAccountStatus:
  19532. get:
  19533. parameters:
  19534. - description: 登录账号
  19535. in: query
  19536. name: loginID
  19537. required: true
  19538. type: integer
  19539. produces:
  19540. - application/json
  19541. responses:
  19542. "200":
  19543. description: OK
  19544. schema:
  19545. $ref: '#/definitions/models.Hedgemarketopenlog'
  19546. "500":
  19547. description: Internal Server Error
  19548. schema:
  19549. $ref: '#/definitions/app.Response'
  19550. security:
  19551. - ApiKeyAuth: []
  19552. summary: 获取目标登录账号当前对冲账号在线状态
  19553. tags:
  19554. - 企业风险管理(app)
  19555. /Ermcp/GetErmcpRoleFuncMenuLists:
  19556. get:
  19557. parameters:
  19558. - description: 登录账号
  19559. in: query
  19560. name: loginID
  19561. required: true
  19562. type: integer
  19563. produces:
  19564. - application/json
  19565. responses:
  19566. "200":
  19567. description: OK
  19568. schema:
  19569. $ref: '#/definitions/models.Funcmenulist'
  19570. "500":
  19571. description: Internal Server Error
  19572. schema:
  19573. $ref: '#/definitions/app.Response'
  19574. security:
  19575. - ApiKeyAuth: []
  19576. summary: 获取企业风管终端权限
  19577. tags:
  19578. - 企业风险管理(app)
  19579. /Ermcp/QueryAccMgrBizGroupSet:
  19580. get:
  19581. parameters:
  19582. - description: 用户ID
  19583. in: query
  19584. name: userid
  19585. required: true
  19586. type: integer
  19587. - description: 现货商品id
  19588. in: query
  19589. name: deliverygoodsid
  19590. type: integer
  19591. produces:
  19592. - application/json
  19593. responses:
  19594. "200":
  19595. description: OK
  19596. schema:
  19597. items:
  19598. $ref: '#/definitions/models.ErmcpBizGroupEx'
  19599. type: array
  19600. "500":
  19601. description: Internal Server Error
  19602. schema:
  19603. $ref: '#/definitions/app.Response'
  19604. security:
  19605. - ApiKeyAuth: []
  19606. summary: 查询业务类型分组(账户管理/账户设置)
  19607. tags:
  19608. - 企业风险管理(app)
  19609. /Ermcp/QueryAccMgrLoginUser:
  19610. get:
  19611. parameters:
  19612. - description: 用户ID
  19613. in: query
  19614. name: userid
  19615. required: true
  19616. type: integer
  19617. - description: 用户类型 2-机构 7-企业成员
  19618. in: query
  19619. name: usertype
  19620. type: integer
  19621. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  19622. in: query
  19623. name: querytype
  19624. required: true
  19625. type: integer
  19626. produces:
  19627. - application/json
  19628. responses:
  19629. "200":
  19630. description: OK
  19631. schema:
  19632. items:
  19633. $ref: '#/definitions/models.ErmcpLoginUserEx'
  19634. type: array
  19635. "500":
  19636. description: Internal Server Error
  19637. schema:
  19638. $ref: '#/definitions/app.Response'
  19639. security:
  19640. - ApiKeyAuth: []
  19641. summary: 查询账户管理登录账号(账户管理/登录账号)
  19642. tags:
  19643. - 企业风险管理(app)
  19644. /Ermcp/QueryAccMgrMainAccountInfo:
  19645. get:
  19646. parameters:
  19647. - description: 用户ID
  19648. in: query
  19649. name: userid
  19650. type: integer
  19651. - description: 主账号id
  19652. in: query
  19653. name: accountid
  19654. type: integer
  19655. produces:
  19656. - application/json
  19657. responses:
  19658. "200":
  19659. description: OK
  19660. schema:
  19661. items:
  19662. $ref: '#/definitions/models.MainAccountInfo'
  19663. type: array
  19664. "500":
  19665. description: Internal Server Error
  19666. schema:
  19667. $ref: '#/definitions/app.Response'
  19668. security:
  19669. - ApiKeyAuth: []
  19670. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  19671. tags:
  19672. - 企业风险管理(app)
  19673. /Ermcp/QueryAccMgrRole:
  19674. get:
  19675. parameters:
  19676. - description: 用户ID
  19677. in: query
  19678. name: userid
  19679. required: true
  19680. type: integer
  19681. produces:
  19682. - application/json
  19683. responses:
  19684. "200":
  19685. description: OK
  19686. schema:
  19687. items:
  19688. $ref: '#/definitions/models.ErmcpRole'
  19689. type: array
  19690. "500":
  19691. description: Internal Server Error
  19692. schema:
  19693. $ref: '#/definitions/app.Response'
  19694. security:
  19695. - ApiKeyAuth: []
  19696. summary: 查询账户管理角色设置(账户管理/角色设置)
  19697. tags:
  19698. - 企业风险管理(app)
  19699. /Ermcp/QueryAccMgrRoleMenu:
  19700. get:
  19701. parameters:
  19702. - description: 用户ID
  19703. in: query
  19704. name: userid
  19705. required: true
  19706. type: integer
  19707. - description: 角色id(可多个,逗号隔开)
  19708. in: query
  19709. name: roleid
  19710. type: string
  19711. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  19712. in: query
  19713. name: menutype
  19714. type: integer
  19715. produces:
  19716. - application/json
  19717. responses:
  19718. "200":
  19719. description: OK
  19720. schema:
  19721. items:
  19722. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  19723. type: array
  19724. "500":
  19725. description: Internal Server Error
  19726. schema:
  19727. $ref: '#/definitions/app.Response'
  19728. security:
  19729. - ApiKeyAuth: []
  19730. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  19731. tags:
  19732. - 企业风险管理(app)
  19733. /Ermcp/QueryAccMgrTaAccountInfo:
  19734. get:
  19735. parameters:
  19736. - description: 用户ID
  19737. in: query
  19738. name: userid
  19739. required: true
  19740. type: integer
  19741. - description: 账号id
  19742. in: query
  19743. name: accountid
  19744. type: integer
  19745. produces:
  19746. - application/json
  19747. responses:
  19748. "200":
  19749. description: OK
  19750. schema:
  19751. items:
  19752. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  19753. type: array
  19754. "500":
  19755. description: Internal Server Error
  19756. schema:
  19757. $ref: '#/definitions/app.Response'
  19758. security:
  19759. - ApiKeyAuth: []
  19760. summary: 查询账户管理授信(账户管理/账户设置/授信)
  19761. tags:
  19762. - 企业风险管理(app)
  19763. /Ermcp/QueryAccMgrTaaccount:
  19764. get:
  19765. parameters:
  19766. - description: 用户ID
  19767. in: query
  19768. name: userid
  19769. required: true
  19770. type: integer
  19771. produces:
  19772. - application/json
  19773. responses:
  19774. "200":
  19775. description: OK
  19776. schema:
  19777. items:
  19778. $ref: '#/definitions/models.ErmcpTaAccountEx'
  19779. type: array
  19780. "500":
  19781. description: Internal Server Error
  19782. schema:
  19783. $ref: '#/definitions/app.Response'
  19784. security:
  19785. - ApiKeyAuth: []
  19786. summary: 查询账户管理期货账号(账户管理/期货账号)
  19787. tags:
  19788. - 企业风险管理(app)
  19789. /Ermcp/QueryAvaildGoodsGroup:
  19790. get:
  19791. parameters:
  19792. - description: 所属机构ID
  19793. in: query
  19794. name: userid
  19795. required: true
  19796. type: integer
  19797. produces:
  19798. - application/json
  19799. responses:
  19800. "200":
  19801. description: OK
  19802. schema:
  19803. items:
  19804. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  19805. type: array
  19806. "500":
  19807. description: Internal Server Error
  19808. schema:
  19809. $ref: '#/definitions/app.Response'
  19810. security:
  19811. - ApiKeyAuth: []
  19812. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  19813. tags:
  19814. - 企业风险管理(app)
  19815. /Ermcp/QueryBusinessDj:
  19816. get:
  19817. parameters:
  19818. - description: 用户ID
  19819. in: query
  19820. name: UserId
  19821. required: true
  19822. type: integer
  19823. - description: 用户类型 2-机构 7-企业成员
  19824. in: query
  19825. name: usertype
  19826. type: integer
  19827. - description: 现货合同ID, 不填则查所有
  19828. in: query
  19829. name: relatedid
  19830. type: string
  19831. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19832. in: query
  19833. name: applystatus
  19834. type: string
  19835. produces:
  19836. - application/json
  19837. responses:
  19838. "200":
  19839. description: OK
  19840. schema:
  19841. items:
  19842. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  19843. type: array
  19844. "500":
  19845. description: Internal Server Error
  19846. schema:
  19847. $ref: '#/definitions/app.Response'
  19848. security:
  19849. - ApiKeyAuth: []
  19850. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  19851. tags:
  19852. - 企业风险管理(app)
  19853. /Ermcp/QueryBusinessFp:
  19854. get:
  19855. parameters:
  19856. - description: 用户ID
  19857. in: query
  19858. name: UserId
  19859. required: true
  19860. type: integer
  19861. - description: 用户类型 2-机构 7-企业成员
  19862. in: query
  19863. name: usertype
  19864. type: integer
  19865. - description: 现货合同ID, 不填则查所有
  19866. in: query
  19867. name: relatedid
  19868. type: string
  19869. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19870. in: query
  19871. name: applystatus
  19872. type: string
  19873. produces:
  19874. - application/json
  19875. responses:
  19876. "200":
  19877. description: OK
  19878. schema:
  19879. items:
  19880. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  19881. type: array
  19882. "500":
  19883. description: Internal Server Error
  19884. schema:
  19885. $ref: '#/definitions/app.Response'
  19886. security:
  19887. - ApiKeyAuth: []
  19888. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  19889. tags:
  19890. - 企业风险管理(app)
  19891. /Ermcp/QueryBusinessJs:
  19892. get:
  19893. parameters:
  19894. - description: 用户ID
  19895. in: query
  19896. name: UserId
  19897. required: true
  19898. type: integer
  19899. - description: 用户类型 2-机构 7-企业成员
  19900. in: query
  19901. name: usertype
  19902. type: integer
  19903. - description: 现货合同ID, 不填则查所有
  19904. in: query
  19905. name: relatedid
  19906. type: string
  19907. - description: 操作申请id
  19908. in: query
  19909. name: operateapplyid
  19910. type: string
  19911. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19912. in: query
  19913. name: applystatus
  19914. type: string
  19915. produces:
  19916. - application/json
  19917. responses:
  19918. "200":
  19919. description: OK
  19920. schema:
  19921. items:
  19922. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  19923. type: array
  19924. "500":
  19925. description: Internal Server Error
  19926. schema:
  19927. $ref: '#/definitions/app.Response'
  19928. security:
  19929. - ApiKeyAuth: []
  19930. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  19931. tags:
  19932. - 企业风险管理(app)
  19933. /Ermcp/QueryBusinessJsEx:
  19934. get:
  19935. parameters:
  19936. - description: 用户ID
  19937. in: query
  19938. name: UserId
  19939. required: true
  19940. type: integer
  19941. - description: 用户类型 2-机构 7-企业成员
  19942. in: query
  19943. name: usertype
  19944. type: integer
  19945. - description: 现货合同ID, 不填则查所有
  19946. in: query
  19947. name: relatedid
  19948. type: string
  19949. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19950. in: query
  19951. name: applystatus
  19952. type: string
  19953. produces:
  19954. - application/json
  19955. responses:
  19956. "200":
  19957. description: OK
  19958. schema:
  19959. items:
  19960. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  19961. type: array
  19962. "500":
  19963. description: Internal Server Error
  19964. schema:
  19965. $ref: '#/definitions/app.Response'
  19966. security:
  19967. - ApiKeyAuth: []
  19968. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  19969. tags:
  19970. - 企业风险管理(app)
  19971. /Ermcp/QueryBusinessKx:
  19972. get:
  19973. parameters:
  19974. - description: 用户ID
  19975. in: query
  19976. name: UserId
  19977. required: true
  19978. type: integer
  19979. - description: 用户类型 2-机构 7-企业成员
  19980. in: query
  19981. name: usertype
  19982. type: integer
  19983. - description: 现货合同ID, 不填则查所有
  19984. in: query
  19985. name: relatedid
  19986. type: string
  19987. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19988. in: query
  19989. name: applystatus
  19990. type: string
  19991. produces:
  19992. - application/json
  19993. responses:
  19994. "200":
  19995. description: OK
  19996. schema:
  19997. items:
  19998. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  19999. type: array
  20000. "500":
  20001. description: Internal Server Error
  20002. schema:
  20003. $ref: '#/definitions/app.Response'
  20004. security:
  20005. - ApiKeyAuth: []
  20006. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  20007. tags:
  20008. - 企业风险管理(app)
  20009. /Ermcp/QueryChangeLog:
  20010. get:
  20011. parameters:
  20012. - description: 合同ID
  20013. in: query
  20014. name: RelatedId
  20015. required: true
  20016. type: string
  20017. produces:
  20018. - application/json
  20019. responses:
  20020. "200":
  20021. description: OK
  20022. schema:
  20023. items:
  20024. $ref: '#/definitions/ermcp.QryOPLogRsp'
  20025. type: array
  20026. "500":
  20027. description: Internal Server Error
  20028. schema:
  20029. $ref: '#/definitions/app.Response'
  20030. security:
  20031. - ApiKeyAuth: []
  20032. summary: 查询变更记录
  20033. tags:
  20034. - 企业风险管理(app)
  20035. /Ermcp/QueryErmcpHisOrderDetails:
  20036. get:
  20037. parameters:
  20038. - description: 资金账户ID
  20039. in: query
  20040. name: accountID
  20041. required: true
  20042. type: integer
  20043. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20044. in: query
  20045. name: startDate
  20046. type: string
  20047. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20048. in: query
  20049. name: endDate
  20050. type: string
  20051. produces:
  20052. - application/json
  20053. responses:
  20054. "200":
  20055. description: OK
  20056. schema:
  20057. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20058. "500":
  20059. description: Internal Server Error
  20060. schema:
  20061. $ref: '#/definitions/app.Response'
  20062. security:
  20063. - ApiKeyAuth: []
  20064. summary: 获取企业风管期货历史委托单信息
  20065. tags:
  20066. - 企业风险管理(app)
  20067. /Ermcp/QueryErmcpHisTradeDetails:
  20068. get:
  20069. parameters:
  20070. - description: 资金账户ID
  20071. in: query
  20072. name: accountID
  20073. required: true
  20074. type: integer
  20075. - description: 商品ID
  20076. in: query
  20077. name: goodsID
  20078. type: integer
  20079. - description: 买卖方向,0:买 1:卖
  20080. in: query
  20081. name: buyOrSell
  20082. type: integer
  20083. - description: 关联委托单号
  20084. in: query
  20085. name: orderID
  20086. type: integer
  20087. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20088. in: query
  20089. name: startDate
  20090. type: string
  20091. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20092. in: query
  20093. name: endDate
  20094. type: string
  20095. produces:
  20096. - application/json
  20097. responses:
  20098. "200":
  20099. description: OK
  20100. schema:
  20101. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20102. "500":
  20103. description: Internal Server Error
  20104. schema:
  20105. $ref: '#/definitions/app.Response'
  20106. security:
  20107. - ApiKeyAuth: []
  20108. summary: 获取企业风管期货历史成交单信息
  20109. tags:
  20110. - 企业风险管理(app)
  20111. /Ermcp/QueryErmcpInnerHolderDetails:
  20112. get:
  20113. parameters:
  20114. - description: 资金账户ID
  20115. in: query
  20116. name: accountID
  20117. required: true
  20118. type: integer
  20119. - description: 商品ID
  20120. in: query
  20121. name: goodsID
  20122. type: integer
  20123. - description: 买卖方向,0:买 1:卖
  20124. in: query
  20125. name: buyOrSell
  20126. type: integer
  20127. produces:
  20128. - application/json
  20129. responses:
  20130. "200":
  20131. description: OK
  20132. schema:
  20133. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  20134. "500":
  20135. description: Internal Server Error
  20136. schema:
  20137. $ref: '#/definitions/app.Response'
  20138. security:
  20139. - ApiKeyAuth: []
  20140. summary: 获取企业风管期货内部持仓单信息
  20141. tags:
  20142. - 企业风险管理(app)
  20143. /Ermcp/QueryErmcpOrderDetails:
  20144. get:
  20145. parameters:
  20146. - description: 资金账户ID
  20147. in: query
  20148. name: accountID
  20149. required: true
  20150. type: integer
  20151. produces:
  20152. - application/json
  20153. responses:
  20154. "200":
  20155. description: OK
  20156. schema:
  20157. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20158. "500":
  20159. description: Internal Server Error
  20160. schema:
  20161. $ref: '#/definitions/app.Response'
  20162. security:
  20163. - ApiKeyAuth: []
  20164. summary: 获取企业风管期货委托单信息
  20165. tags:
  20166. - 企业风险管理(app)
  20167. /Ermcp/QueryErmcpTradeDetails:
  20168. get:
  20169. parameters:
  20170. - description: 资金账户ID
  20171. in: query
  20172. name: accountID
  20173. required: true
  20174. type: integer
  20175. - description: 商品ID
  20176. in: query
  20177. name: goodsID
  20178. type: integer
  20179. - description: 买卖方向,0:买 1:卖
  20180. in: query
  20181. name: buyOrSell
  20182. type: integer
  20183. - description: 关联委托单号
  20184. in: query
  20185. name: orderID
  20186. type: integer
  20187. produces:
  20188. - application/json
  20189. responses:
  20190. "200":
  20191. description: OK
  20192. schema:
  20193. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20194. "500":
  20195. description: Internal Server Error
  20196. schema:
  20197. $ref: '#/definitions/app.Response'
  20198. security:
  20199. - ApiKeyAuth: []
  20200. summary: 获取企业风管期货成交单信息
  20201. tags:
  20202. - 企业风险管理(app)
  20203. /Ermcp/QueryErmcpTradePosition:
  20204. get:
  20205. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  20206. parameters:
  20207. - description: 资金账户ID
  20208. in: query
  20209. name: accountID
  20210. required: true
  20211. type: integer
  20212. - description: 所属市场ID
  20213. in: query
  20214. name: marketID
  20215. type: integer
  20216. produces:
  20217. - application/json
  20218. responses:
  20219. "200":
  20220. description: OK
  20221. schema:
  20222. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  20223. "500":
  20224. description: Internal Server Error
  20225. schema:
  20226. $ref: '#/definitions/app.Response'
  20227. security:
  20228. - ApiKeyAuth: []
  20229. summary: 获取企业风管期货持仓头寸信息
  20230. tags:
  20231. - 企业风险管理(app)
  20232. /Ermcp/QueryExposureDetail:
  20233. get:
  20234. parameters:
  20235. - description: 所属机构ID
  20236. in: query
  20237. name: areaUserId
  20238. required: true
  20239. type: integer
  20240. - description: 套保商品
  20241. in: query
  20242. name: middleGoodsId
  20243. required: true
  20244. type: integer
  20245. produces:
  20246. - application/json
  20247. responses:
  20248. "200":
  20249. description: OK
  20250. schema:
  20251. items:
  20252. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  20253. type: array
  20254. "500":
  20255. description: Internal Server Error
  20256. schema:
  20257. $ref: '#/definitions/app.Response'
  20258. security:
  20259. - ApiKeyAuth: []
  20260. summary: 查询敞口现货明细
  20261. tags:
  20262. - 企业风险管理(app)
  20263. /Ermcp/QueryExposureGoods:
  20264. get:
  20265. parameters:
  20266. - description: 套保商品id
  20267. in: query
  20268. name: middlegoodsid
  20269. required: true
  20270. type: integer
  20271. produces:
  20272. - application/json
  20273. responses:
  20274. "200":
  20275. description: OK
  20276. schema:
  20277. items:
  20278. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  20279. type: array
  20280. "500":
  20281. description: Internal Server Error
  20282. schema:
  20283. $ref: '#/definitions/app.Response'
  20284. security:
  20285. - ApiKeyAuth: []
  20286. summary: 查询敞口主力合约
  20287. tags:
  20288. - 企业风险管理(app)
  20289. /Ermcp/QueryExposureHedgePosition:
  20290. get:
  20291. parameters:
  20292. - description: 用户id
  20293. in: query
  20294. name: userid
  20295. required: true
  20296. type: integer
  20297. produces:
  20298. - application/json
  20299. responses:
  20300. "200":
  20301. description: OK
  20302. schema:
  20303. items:
  20304. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  20305. type: array
  20306. "500":
  20307. description: Internal Server Error
  20308. schema:
  20309. $ref: '#/definitions/app.Response'
  20310. security:
  20311. - ApiKeyAuth: []
  20312. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  20313. tags:
  20314. - 企业风险管理(app)
  20315. /Ermcp/QueryExposureHedgePositionDetail:
  20316. get:
  20317. parameters:
  20318. - description: 所属机构ID
  20319. in: query
  20320. name: userid
  20321. required: true
  20322. type: integer
  20323. - description: 商品id
  20324. in: query
  20325. name: goodsId
  20326. required: true
  20327. type: integer
  20328. produces:
  20329. - application/json
  20330. responses:
  20331. "200":
  20332. description: OK
  20333. schema:
  20334. items:
  20335. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  20336. type: array
  20337. "500":
  20338. description: Internal Server Error
  20339. schema:
  20340. $ref: '#/definitions/app.Response'
  20341. security:
  20342. - ApiKeyAuth: []
  20343. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  20344. tags:
  20345. - 企业风险管理(app)
  20346. /Ermcp/QueryExposureSpot:
  20347. get:
  20348. parameters:
  20349. - description: 所属机构ID
  20350. in: query
  20351. name: areaUserId
  20352. required: true
  20353. type: integer
  20354. produces:
  20355. - application/json
  20356. responses:
  20357. "200":
  20358. description: OK
  20359. schema:
  20360. items:
  20361. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  20362. type: array
  20363. "500":
  20364. description: Internal Server Error
  20365. schema:
  20366. $ref: '#/definitions/app.Response'
  20367. security:
  20368. - ApiKeyAuth: []
  20369. summary: 查询敞口现货头寸(敞口/现货头寸)
  20370. tags:
  20371. - 企业风险管理(app)
  20372. /Ermcp/QueryExposureSpotDetail:
  20373. get:
  20374. parameters:
  20375. - description: 所属机构ID
  20376. in: query
  20377. name: areaUserId
  20378. required: true
  20379. type: integer
  20380. - description: 现货品种ID
  20381. in: query
  20382. name: wrstandardId
  20383. required: true
  20384. type: integer
  20385. produces:
  20386. - application/json
  20387. responses:
  20388. "200":
  20389. description: OK
  20390. schema:
  20391. items:
  20392. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  20393. type: array
  20394. "500":
  20395. description: Internal Server Error
  20396. schema:
  20397. $ref: '#/definitions/app.Response'
  20398. security:
  20399. - ApiKeyAuth: []
  20400. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  20401. tags:
  20402. - 企业风险管理(app)
  20403. /Ermcp/QueryFuturesCompany:
  20404. get:
  20405. produces:
  20406. - application/json
  20407. responses:
  20408. "200":
  20409. description: OK
  20410. schema:
  20411. items:
  20412. $ref: '#/definitions/models.ErmcpFuturesCompany'
  20413. type: array
  20414. "500":
  20415. description: Internal Server Error
  20416. schema:
  20417. $ref: '#/definitions/app.Response'
  20418. security:
  20419. - ApiKeyAuth: []
  20420. summary: 查询期货公司
  20421. tags:
  20422. - 企业风险管理(app)
  20423. /Ermcp/QueryGGConvertConfig:
  20424. get:
  20425. parameters:
  20426. - description: 品种id(不填则查所有)
  20427. in: query
  20428. name: goodsgroupid
  20429. type: integer
  20430. produces:
  20431. - application/json
  20432. responses:
  20433. "200":
  20434. description: OK
  20435. schema:
  20436. items:
  20437. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  20438. type: array
  20439. "500":
  20440. description: Internal Server Error
  20441. schema:
  20442. $ref: '#/definitions/app.Response'
  20443. security:
  20444. - ApiKeyAuth: []
  20445. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  20446. tags:
  20447. - 企业风险管理(app)
  20448. /Ermcp/QueryGoodsBrand:
  20449. get:
  20450. parameters:
  20451. - description: 用户ID
  20452. in: query
  20453. name: userid
  20454. required: true
  20455. type: integer
  20456. - description: 现货商品ID
  20457. in: query
  20458. name: wrstandardid
  20459. type: integer
  20460. produces:
  20461. - application/json
  20462. responses:
  20463. "200":
  20464. description: OK
  20465. schema:
  20466. items:
  20467. $ref: '#/definitions/models.ErmcpGoodsBrand'
  20468. type: array
  20469. "500":
  20470. description: Internal Server Error
  20471. schema:
  20472. $ref: '#/definitions/app.Response'
  20473. security:
  20474. - ApiKeyAuth: []
  20475. summary: 查询商品品牌
  20476. tags:
  20477. - 企业风险管理(app)
  20478. /Ermcp/QueryGoodsModel:
  20479. get:
  20480. parameters:
  20481. - description: 用户ID
  20482. in: query
  20483. name: userid
  20484. required: true
  20485. type: integer
  20486. produces:
  20487. - application/json
  20488. responses:
  20489. "200":
  20490. description: OK
  20491. schema:
  20492. items:
  20493. $ref: '#/definitions/models.ErmcpGoodsModel'
  20494. type: array
  20495. "500":
  20496. description: Internal Server Error
  20497. schema:
  20498. $ref: '#/definitions/app.Response'
  20499. security:
  20500. - ApiKeyAuth: []
  20501. summary: 查询商品型号
  20502. tags:
  20503. - 企业风险管理(app)
  20504. /Ermcp/QueryHisExposure:
  20505. get:
  20506. parameters:
  20507. - description: 用户id
  20508. in: query
  20509. name: userid
  20510. required: true
  20511. type: integer
  20512. - description: 每个品种记录数
  20513. in: query
  20514. name: lastNum
  20515. required: true
  20516. type: integer
  20517. produces:
  20518. - application/json
  20519. responses:
  20520. "200":
  20521. description: OK
  20522. schema:
  20523. items:
  20524. $ref: '#/definitions/ermcp.HisExposureRsp'
  20525. type: array
  20526. "500":
  20527. description: Internal Server Error
  20528. schema:
  20529. $ref: '#/definitions/app.Response'
  20530. security:
  20531. - ApiKeyAuth: []
  20532. summary: 查询历史敞口(菜单:敞口/历史敞口)
  20533. tags:
  20534. - 企业风险管理(app)
  20535. /Ermcp/QueryMiddleGoods:
  20536. get:
  20537. parameters:
  20538. - description: 所属机构ID
  20539. in: query
  20540. name: userid
  20541. required: true
  20542. type: integer
  20543. - description: 状态 0-停用 1-正常
  20544. in: query
  20545. name: status
  20546. required: true
  20547. type: integer
  20548. produces:
  20549. - application/json
  20550. responses:
  20551. "200":
  20552. description: OK
  20553. schema:
  20554. items:
  20555. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  20556. type: array
  20557. "500":
  20558. description: Internal Server Error
  20559. schema:
  20560. $ref: '#/definitions/app.Response'
  20561. security:
  20562. - ApiKeyAuth: []
  20563. summary: 查询套保品种(菜单:套保品种)
  20564. tags:
  20565. - 企业风险管理(app)
  20566. /Ermcp/QueryMiddleGoodsChangeLog:
  20567. get:
  20568. parameters:
  20569. - description: 所属机构ID
  20570. in: query
  20571. name: userid
  20572. required: true
  20573. type: integer
  20574. - description: 套保品种id
  20575. in: query
  20576. name: middlegoodsid
  20577. required: true
  20578. type: integer
  20579. produces:
  20580. - application/json
  20581. responses:
  20582. "200":
  20583. description: OK
  20584. schema:
  20585. items:
  20586. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  20587. type: array
  20588. "500":
  20589. description: Internal Server Error
  20590. schema:
  20591. $ref: '#/definitions/app.Response'
  20592. security:
  20593. - ApiKeyAuth: []
  20594. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  20595. tags:
  20596. - 企业风险管理(app)
  20597. /Ermcp/QueryMiddleGoodsDetail:
  20598. get:
  20599. parameters:
  20600. - description: 所属机构ID
  20601. in: query
  20602. name: userid
  20603. required: true
  20604. type: integer
  20605. - description: 套保品种id
  20606. in: query
  20607. name: middlegoodsid
  20608. type: integer
  20609. produces:
  20610. - application/json
  20611. responses:
  20612. "200":
  20613. description: OK
  20614. schema:
  20615. items:
  20616. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  20617. type: array
  20618. "500":
  20619. description: Internal Server Error
  20620. schema:
  20621. $ref: '#/definitions/app.Response'
  20622. security:
  20623. - ApiKeyAuth: []
  20624. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  20625. tags:
  20626. - 企业风险管理(app)
  20627. /Ermcp/QueryPendingAuditInfo:
  20628. get:
  20629. parameters:
  20630. - description: 用户ID
  20631. in: query
  20632. name: UserId
  20633. required: true
  20634. type: integer
  20635. produces:
  20636. - application/json
  20637. responses:
  20638. "200":
  20639. description: OK
  20640. schema:
  20641. items:
  20642. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  20643. type: array
  20644. "500":
  20645. description: Internal Server Error
  20646. schema:
  20647. $ref: '#/definitions/app.Response'
  20648. security:
  20649. - ApiKeyAuth: []
  20650. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  20651. tags:
  20652. - 企业风险管理(app)
  20653. /Ermcp/QueryRealtimeExposure:
  20654. get:
  20655. parameters:
  20656. - description: 所属机构ID
  20657. in: query
  20658. name: userid
  20659. required: true
  20660. type: integer
  20661. produces:
  20662. - application/json
  20663. responses:
  20664. "200":
  20665. description: OK
  20666. schema:
  20667. items:
  20668. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  20669. type: array
  20670. "500":
  20671. description: Internal Server Error
  20672. schema:
  20673. $ref: '#/definitions/app.Response'
  20674. security:
  20675. - ApiKeyAuth: []
  20676. summary: 查询实时敞口
  20677. tags:
  20678. - 企业风险管理(app)
  20679. /Ermcp/QueryRealtimeExposurePosition:
  20680. get:
  20681. parameters:
  20682. - description: 用户id
  20683. in: query
  20684. name: userid
  20685. required: true
  20686. type: integer
  20687. - description: 套保商品ID
  20688. in: query
  20689. name: middleGoodsId
  20690. required: true
  20691. type: integer
  20692. produces:
  20693. - application/json
  20694. responses:
  20695. "200":
  20696. description: OK
  20697. schema:
  20698. items:
  20699. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  20700. type: array
  20701. "500":
  20702. description: Internal Server Error
  20703. schema:
  20704. $ref: '#/definitions/app.Response'
  20705. security:
  20706. - ApiKeyAuth: []
  20707. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  20708. tags:
  20709. - 企业风险管理(app)
  20710. /Ermcp/QueryRoleMenu:
  20711. get:
  20712. parameters:
  20713. - description: 登录ID
  20714. in: query
  20715. name: loginid
  20716. required: true
  20717. type: integer
  20718. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  20719. in: query
  20720. name: menutype
  20721. type: integer
  20722. produces:
  20723. - application/json
  20724. responses:
  20725. "200":
  20726. description: OK
  20727. schema:
  20728. items:
  20729. $ref: '#/definitions/models.RoleMenu'
  20730. type: array
  20731. "500":
  20732. description: Internal Server Error
  20733. schema:
  20734. $ref: '#/definitions/app.Response'
  20735. security:
  20736. - ApiKeyAuth: []
  20737. summary: 查询角色菜单和权限
  20738. tags:
  20739. - 企业风险管理(app)
  20740. /Ermcp/QueryTradeConfigTMP:
  20741. get:
  20742. parameters:
  20743. - description: 所属机构id
  20744. in: query
  20745. name: areauserid
  20746. type: integer
  20747. produces:
  20748. - application/json
  20749. responses:
  20750. "200":
  20751. description: OK
  20752. schema:
  20753. items:
  20754. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  20755. type: array
  20756. "500":
  20757. description: Internal Server Error
  20758. schema:
  20759. $ref: '#/definitions/app.Response'
  20760. security:
  20761. - ApiKeyAuth: []
  20762. summary: 查询交易模板配置
  20763. tags:
  20764. - 企业风险管理(app)
  20765. /Ermcp/QueryUserInfo:
  20766. get:
  20767. parameters:
  20768. - description: 所属机构用户ID
  20769. in: query
  20770. name: MemberUserID
  20771. required: true
  20772. type: integer
  20773. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  20774. in: query
  20775. name: queryType
  20776. required: true
  20777. type: integer
  20778. produces:
  20779. - application/json
  20780. responses:
  20781. "200":
  20782. description: OK
  20783. schema:
  20784. items:
  20785. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  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/QueryWarehouseInfo:
  20797. get:
  20798. parameters:
  20799. - description: 用户ID
  20800. in: query
  20801. name: userid
  20802. required: true
  20803. type: integer
  20804. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  20805. in: query
  20806. name: status
  20807. type: string
  20808. produces:
  20809. - application/json
  20810. responses:
  20811. "200":
  20812. description: OK
  20813. schema:
  20814. items:
  20815. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  20816. type: array
  20817. "500":
  20818. description: Internal Server Error
  20819. schema:
  20820. $ref: '#/definitions/app.Response'
  20821. security:
  20822. - ApiKeyAuth: []
  20823. summary: 查询仓库信息
  20824. tags:
  20825. - 企业风险管理(app)
  20826. /Ermcp3/QryAreaExpourseContractDetail:
  20827. get:
  20828. parameters:
  20829. - description: 用户ID
  20830. in: query
  20831. name: userid
  20832. required: true
  20833. type: integer
  20834. - description: 套保商品id
  20835. in: query
  20836. name: middlegoodsid
  20837. required: true
  20838. type: integer
  20839. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20840. in: query
  20841. name: cycletype
  20842. required: true
  20843. type: integer
  20844. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20845. in: query
  20846. name: cycletime
  20847. required: true
  20848. type: string
  20849. produces:
  20850. - application/json
  20851. responses:
  20852. "200":
  20853. description: OK
  20854. schema:
  20855. items:
  20856. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  20857. type: array
  20858. "500":
  20859. description: Internal Server Error
  20860. schema:
  20861. $ref: '#/definitions/app.Response'
  20862. security:
  20863. - ApiKeyAuth: []
  20864. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  20865. tags:
  20866. - 企业风险管理v3(app)
  20867. /Ermcp3/QryAreaExpourseFutuDetail:
  20868. get:
  20869. parameters:
  20870. - description: 用户ID
  20871. in: query
  20872. name: userid
  20873. required: true
  20874. type: integer
  20875. - description: 套保商品id
  20876. in: query
  20877. name: middlegoodsid
  20878. required: true
  20879. type: integer
  20880. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20881. in: query
  20882. name: cycletype
  20883. required: true
  20884. type: integer
  20885. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20886. in: query
  20887. name: cycletime
  20888. required: true
  20889. type: string
  20890. produces:
  20891. - application/json
  20892. responses:
  20893. "200":
  20894. description: OK
  20895. schema:
  20896. items:
  20897. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  20898. type: array
  20899. "500":
  20900. description: Internal Server Error
  20901. schema:
  20902. $ref: '#/definitions/app.Response'
  20903. security:
  20904. - ApiKeyAuth: []
  20905. summary: 查询敞口期货明细(敞口报表/期货明细)
  20906. tags:
  20907. - 企业风险管理v3(app)
  20908. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  20909. get:
  20910. parameters:
  20911. - description: 用户ID
  20912. in: query
  20913. name: userid
  20914. required: true
  20915. type: integer
  20916. - description: 套保商品id
  20917. in: query
  20918. name: middlegoodsid
  20919. required: true
  20920. type: integer
  20921. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20922. in: query
  20923. name: cycletype
  20924. required: true
  20925. type: integer
  20926. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20927. in: query
  20928. name: cycletime
  20929. required: true
  20930. type: string
  20931. produces:
  20932. - application/json
  20933. responses:
  20934. "200":
  20935. description: OK
  20936. schema:
  20937. items:
  20938. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  20939. type: array
  20940. "500":
  20941. description: Internal Server Error
  20942. schema:
  20943. $ref: '#/definitions/app.Response'
  20944. security:
  20945. - ApiKeyAuth: []
  20946. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  20947. tags:
  20948. - 企业风险管理v3(app)
  20949. /Ermcp3/QryAreaExpourseParamChLogDetail:
  20950. get:
  20951. parameters:
  20952. - description: 用户ID
  20953. in: query
  20954. name: userid
  20955. required: true
  20956. type: integer
  20957. - description: 套保商品id
  20958. in: query
  20959. name: middlegoodsid
  20960. required: true
  20961. type: integer
  20962. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20963. in: query
  20964. name: cycletype
  20965. required: true
  20966. type: integer
  20967. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20968. in: query
  20969. name: cycletime
  20970. required: true
  20971. type: string
  20972. produces:
  20973. - application/json
  20974. responses:
  20975. "200":
  20976. description: OK
  20977. schema:
  20978. items:
  20979. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  20980. type: array
  20981. "500":
  20982. description: Internal Server Error
  20983. schema:
  20984. $ref: '#/definitions/app.Response'
  20985. security:
  20986. - ApiKeyAuth: []
  20987. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  20988. tags:
  20989. - 企业风险管理v3(app)
  20990. /Ermcp3/QryAreaExpourseReport:
  20991. get:
  20992. parameters:
  20993. - description: 用户ID
  20994. in: query
  20995. name: userid
  20996. required: true
  20997. type: integer
  20998. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  20999. in: query
  21000. name: querytype
  21001. required: true
  21002. type: integer
  21003. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21004. in: query
  21005. name: cycletype
  21006. required: true
  21007. type: integer
  21008. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21009. in: query
  21010. name: cycletime
  21011. required: true
  21012. type: string
  21013. produces:
  21014. - application/json
  21015. responses:
  21016. "200":
  21017. description: OK
  21018. schema:
  21019. items:
  21020. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  21021. type: array
  21022. "500":
  21023. description: Internal Server Error
  21024. schema:
  21025. $ref: '#/definitions/app.Response'
  21026. security:
  21027. - ApiKeyAuth: []
  21028. summary: 查询敞口报表
  21029. tags:
  21030. - 企业风险管理v3(app)
  21031. /Ermcp3/QryAreaSpotplReport:
  21032. get:
  21033. parameters:
  21034. - description: 用户ID
  21035. in: query
  21036. name: userid
  21037. required: true
  21038. type: integer
  21039. - description: 查询类型 1-报表 2-报表明细
  21040. in: query
  21041. name: querytype
  21042. required: true
  21043. type: integer
  21044. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21045. in: query
  21046. name: cycletype
  21047. required: true
  21048. type: integer
  21049. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21050. in: query
  21051. name: cycletime
  21052. required: true
  21053. type: string
  21054. - description: 现货品种id(明细必填)
  21055. in: query
  21056. name: deliverygoodsid
  21057. type: integer
  21058. - description: 币种id(明细必填)
  21059. in: query
  21060. name: currencyid
  21061. type: integer
  21062. produces:
  21063. - application/json
  21064. responses:
  21065. "200":
  21066. description: OK
  21067. schema:
  21068. items:
  21069. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  21070. type: array
  21071. "500":
  21072. description: Internal Server Error
  21073. schema:
  21074. $ref: '#/definitions/app.Response'
  21075. security:
  21076. - ApiKeyAuth: []
  21077. summary: 查询现货报表
  21078. tags:
  21079. - 企业风险管理v3(app)
  21080. /Ermcp3/QryAreaStockReport:
  21081. get:
  21082. parameters:
  21083. - description: 用户ID
  21084. in: query
  21085. name: userid
  21086. required: true
  21087. type: integer
  21088. - description: 查询类型 1-报表 2-报表明细
  21089. in: query
  21090. name: querytype
  21091. required: true
  21092. type: integer
  21093. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21094. in: query
  21095. name: cycletype
  21096. required: true
  21097. type: integer
  21098. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21099. in: query
  21100. name: cycletime
  21101. required: true
  21102. type: string
  21103. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  21104. in: query
  21105. name: sumfields
  21106. type: string
  21107. - description: 品种ID
  21108. in: query
  21109. name: deliverygoodsid
  21110. type: integer
  21111. - description: 品类ID
  21112. in: query
  21113. name: wrstandardid
  21114. type: integer
  21115. - description: 品牌ID
  21116. in: query
  21117. name: spotgoodsbrandid
  21118. type: integer
  21119. - description: 仓库ID
  21120. in: query
  21121. name: warehouseinfoid
  21122. type: integer
  21123. produces:
  21124. - application/json
  21125. responses:
  21126. "200":
  21127. description: OK
  21128. schema:
  21129. items:
  21130. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  21131. type: array
  21132. "500":
  21133. description: Internal Server Error
  21134. schema:
  21135. $ref: '#/definitions/app.Response'
  21136. security:
  21137. - ApiKeyAuth: []
  21138. summary: 查询库存报表
  21139. tags:
  21140. - 企业风险管理v3(app)
  21141. /Ermcp3/QryAreaSumPL:
  21142. get:
  21143. parameters:
  21144. - description: 用户ID
  21145. in: query
  21146. name: userid
  21147. required: true
  21148. type: integer
  21149. - description: 查询类型 1-报表 2-报表明细
  21150. in: query
  21151. name: querytype
  21152. required: true
  21153. type: integer
  21154. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21155. in: query
  21156. name: cycletype
  21157. required: true
  21158. type: integer
  21159. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21160. in: query
  21161. name: cycletime
  21162. required: true
  21163. type: string
  21164. - description: 币种id(明细必填)
  21165. in: query
  21166. name: currencyid
  21167. type: integer
  21168. produces:
  21169. - application/json
  21170. responses:
  21171. "200":
  21172. description: OK
  21173. schema:
  21174. items:
  21175. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  21176. type: array
  21177. "500":
  21178. description: Internal Server Error
  21179. schema:
  21180. $ref: '#/definitions/app.Response'
  21181. security:
  21182. - ApiKeyAuth: []
  21183. summary: 查询汇总损益表
  21184. tags:
  21185. - 企业风险管理v3(app)
  21186. /Ermcp3/QryFinanceReport:
  21187. get:
  21188. parameters:
  21189. - description: 用户ID
  21190. in: query
  21191. name: userid
  21192. required: true
  21193. type: integer
  21194. - description: 查询类型 1-报表 2-报表明细
  21195. in: query
  21196. name: querytype
  21197. required: true
  21198. type: integer
  21199. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21200. in: query
  21201. name: cycletype
  21202. required: true
  21203. type: integer
  21204. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21205. in: query
  21206. name: cycletime
  21207. required: true
  21208. type: string
  21209. - description: 币种id(报表明细必填)
  21210. in: query
  21211. name: currencyid
  21212. type: integer
  21213. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  21214. in: query
  21215. name: sumfields
  21216. type: string
  21217. produces:
  21218. - application/json
  21219. responses:
  21220. "200":
  21221. description: OK
  21222. schema:
  21223. items:
  21224. $ref: '#/definitions/models.Ermcp3FinanceReport'
  21225. type: array
  21226. "500":
  21227. description: Internal Server Error
  21228. schema:
  21229. $ref: '#/definitions/app.Response'
  21230. security:
  21231. - ApiKeyAuth: []
  21232. summary: 查询财务报表
  21233. tags:
  21234. - 企业风险管理v3(app)
  21235. /Ermcp3/QrySCMiddleGoodsReport:
  21236. get:
  21237. parameters:
  21238. - description: 用户ID
  21239. in: query
  21240. name: userid
  21241. required: true
  21242. type: integer
  21243. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21244. in: query
  21245. name: cycletype
  21246. required: true
  21247. type: integer
  21248. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21249. in: query
  21250. name: cycletime
  21251. required: true
  21252. type: string
  21253. - description: 合同id
  21254. in: query
  21255. name: spotcontractid
  21256. type: integer
  21257. - description: 套保品种id
  21258. in: query
  21259. name: middlegoodsid
  21260. type: integer
  21261. - description: 现货品种id
  21262. in: query
  21263. name: deliverygoodsid
  21264. type: integer
  21265. - description: 现货商品id
  21266. in: query
  21267. name: wrstandardid
  21268. type: integer
  21269. - description: 合同编号(模糊匹配)
  21270. in: query
  21271. name: contractno
  21272. type: string
  21273. produces:
  21274. - application/json
  21275. responses:
  21276. "200":
  21277. description: OK
  21278. schema:
  21279. items:
  21280. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  21281. type: array
  21282. "500":
  21283. description: Internal Server Error
  21284. schema:
  21285. $ref: '#/definitions/app.Response'
  21286. security:
  21287. - ApiKeyAuth: []
  21288. summary: 查询定价报表
  21289. tags:
  21290. - 企业风险管理v3(app)
  21291. /Ermcp3/QryTaFutureDataReport:
  21292. get:
  21293. parameters:
  21294. - description: 用户ID
  21295. in: query
  21296. name: userid
  21297. required: true
  21298. type: integer
  21299. - description: 查询类型 1-报表 2-报表明细
  21300. in: query
  21301. name: querytype
  21302. required: true
  21303. type: integer
  21304. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21305. in: query
  21306. name: cycletype
  21307. required: true
  21308. type: integer
  21309. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21310. in: query
  21311. name: cycletime
  21312. required: true
  21313. type: string
  21314. - description: 币种id(查明细必填)
  21315. in: query
  21316. name: currencyid
  21317. type: integer
  21318. - description: 品种id(查明细必填)
  21319. in: query
  21320. name: goodsgroupid
  21321. type: integer
  21322. - description: 商品id(查明细必填)
  21323. in: query
  21324. name: goodsid
  21325. type: integer
  21326. - description: 买卖方向(查明细必填)
  21327. in: query
  21328. name: buyorsell
  21329. type: integer
  21330. produces:
  21331. - application/json
  21332. responses:
  21333. "200":
  21334. description: OK
  21335. schema:
  21336. items:
  21337. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  21338. type: array
  21339. "500":
  21340. description: Internal Server Error
  21341. schema:
  21342. $ref: '#/definitions/app.Response'
  21343. security:
  21344. - ApiKeyAuth: []
  21345. summary: 查询期货报表
  21346. tags:
  21347. - 企业风险管理v3(app)
  21348. /Ermcp3/QueryAreaStock:
  21349. get:
  21350. parameters:
  21351. - description: 用户ID
  21352. in: query
  21353. name: userid
  21354. required: true
  21355. type: integer
  21356. produces:
  21357. - application/json
  21358. responses:
  21359. "200":
  21360. description: OK
  21361. schema:
  21362. items:
  21363. $ref: '#/definitions/models.Ermcp3AreaStock'
  21364. type: array
  21365. "500":
  21366. description: Internal Server Error
  21367. schema:
  21368. $ref: '#/definitions/app.Response'
  21369. security:
  21370. - ApiKeyAuth: []
  21371. summary: 查询机构库存(库存管理/当前库存)
  21372. tags:
  21373. - 企业风险管理v3(app)
  21374. /Ermcp3/QueryAreaStockApply:
  21375. get:
  21376. parameters:
  21377. - description: 用户ID
  21378. in: query
  21379. name: userid
  21380. required: true
  21381. type: integer
  21382. - description: 用户类型 2-机构 7-企业成员
  21383. in: query
  21384. name: usertype
  21385. type: integer
  21386. - description: 现货商品ID
  21387. in: query
  21388. name: deliverygoodsid
  21389. type: integer
  21390. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  21391. in: query
  21392. name: inouttype
  21393. type: string
  21394. - description: 合同ID
  21395. in: query
  21396. name: spotcontractid
  21397. type: integer
  21398. - description: 品类ID
  21399. in: query
  21400. name: wrstandardid
  21401. type: integer
  21402. - description: 品牌ID
  21403. in: query
  21404. name: spotgoodsbrandid
  21405. type: integer
  21406. - description: 仓库ID
  21407. in: query
  21408. name: warehouseinfoid
  21409. type: integer
  21410. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21411. in: query
  21412. name: applystatus
  21413. type: string
  21414. produces:
  21415. - application/json
  21416. responses:
  21417. "200":
  21418. description: OK
  21419. schema:
  21420. items:
  21421. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  21422. type: array
  21423. "500":
  21424. description: Internal Server Error
  21425. schema:
  21426. $ref: '#/definitions/app.Response'
  21427. security:
  21428. - ApiKeyAuth: []
  21429. summary: 查询库存申请(出入库记录|库存审核)
  21430. tags:
  21431. - 企业风险管理v3(app)
  21432. /Ermcp3/QueryAreaStockApplySum:
  21433. get:
  21434. parameters:
  21435. - description: 合同ID
  21436. in: query
  21437. name: spotcontractid
  21438. required: true
  21439. type: integer
  21440. produces:
  21441. - application/json
  21442. responses:
  21443. "200":
  21444. description: OK
  21445. schema:
  21446. items:
  21447. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  21448. type: array
  21449. "500":
  21450. description: Internal Server Error
  21451. schema:
  21452. $ref: '#/definitions/app.Response'
  21453. security:
  21454. - ApiKeyAuth: []
  21455. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  21456. tags:
  21457. - 企业风险管理v3(app)
  21458. /Ermcp3/QueryDGFactoryItem:
  21459. get:
  21460. parameters:
  21461. - description: 用户id
  21462. in: query
  21463. name: userid
  21464. type: integer
  21465. - description: 用户类型 2-机构 7-企业成员
  21466. in: query
  21467. name: usertype
  21468. type: integer
  21469. - description: 选择项ID(SEQ_DGFACTORYITEM)
  21470. in: query
  21471. name: dgfactoryitemid
  21472. type: integer
  21473. - description: 现货品种ID
  21474. in: query
  21475. name: deliverygoodsid
  21476. type: integer
  21477. - description: 要素项类型
  21478. in: query
  21479. name: dgfactoryitemtypeid
  21480. type: integer
  21481. - description: 顺序
  21482. in: query
  21483. name: orderindex
  21484. type: integer
  21485. produces:
  21486. - application/json
  21487. responses:
  21488. "200":
  21489. description: OK
  21490. schema:
  21491. items:
  21492. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  21493. type: array
  21494. "500":
  21495. description: Internal Server Error
  21496. schema:
  21497. $ref: '#/definitions/app.Response'
  21498. security:
  21499. - ApiKeyAuth: []
  21500. summary: 查询品种要素定义项
  21501. tags:
  21502. - 企业风险管理v3(app)
  21503. /Ermcp3/QueryDeliveryGoods:
  21504. get:
  21505. parameters:
  21506. - description: 用户id
  21507. in: query
  21508. name: userid
  21509. required: true
  21510. type: integer
  21511. - description: 用户类型 2-机构 7-企业成员
  21512. in: query
  21513. name: usertype
  21514. type: integer
  21515. - description: 排除已配置的业务类型商品 1-套保 2-套利
  21516. in: query
  21517. name: excludecfg
  21518. type: integer
  21519. produces:
  21520. - application/json
  21521. responses:
  21522. "200":
  21523. description: OK
  21524. schema:
  21525. items:
  21526. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  21527. type: array
  21528. "500":
  21529. description: Internal Server Error
  21530. schema:
  21531. $ref: '#/definitions/app.Response'
  21532. security:
  21533. - ApiKeyAuth: []
  21534. summary: 查询现货商品
  21535. tags:
  21536. - 企业风险管理v3(app)
  21537. /Ermcp3/QueryDeliveryGoodsDetail:
  21538. get:
  21539. parameters:
  21540. - description: 用户id
  21541. in: query
  21542. name: userid
  21543. required: true
  21544. type: integer
  21545. - description: 用户类型 2-机构 7-企业成员
  21546. in: query
  21547. name: usertype
  21548. type: integer
  21549. - description: 现货商品id
  21550. in: query
  21551. name: deliverygoodsid
  21552. type: integer
  21553. produces:
  21554. - application/json
  21555. responses:
  21556. "200":
  21557. description: OK
  21558. schema:
  21559. items:
  21560. $ref: '#/definitions/models.XHDeliveryGoods'
  21561. type: array
  21562. "500":
  21563. description: Internal Server Error
  21564. schema:
  21565. $ref: '#/definitions/app.Response'
  21566. security:
  21567. - ApiKeyAuth: []
  21568. summary: 查询现货商品详情
  21569. tags:
  21570. - 企业风险管理v3(app)
  21571. /Ermcp3/QueryExposureDetail:
  21572. get:
  21573. parameters:
  21574. - description: 用户id
  21575. in: query
  21576. name: userid
  21577. required: true
  21578. type: integer
  21579. - description: 用户类型 2-机构 7-企业成员
  21580. in: query
  21581. name: usertype
  21582. type: integer
  21583. - description: 套保商品
  21584. in: query
  21585. name: middlegoodsid
  21586. required: true
  21587. type: integer
  21588. produces:
  21589. - application/json
  21590. responses:
  21591. "200":
  21592. description: OK
  21593. schema:
  21594. items:
  21595. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  21596. type: array
  21597. "500":
  21598. description: Internal Server Error
  21599. schema:
  21600. $ref: '#/definitions/app.Response'
  21601. security:
  21602. - ApiKeyAuth: []
  21603. summary: 查询敞口现货明细
  21604. tags:
  21605. - 企业风险管理v3(app)
  21606. /Ermcp3/QueryExposureSpot:
  21607. get:
  21608. parameters:
  21609. - description: 用户id
  21610. in: query
  21611. name: userid
  21612. required: true
  21613. type: integer
  21614. - description: 用户类型 2-机构 7-企业成员
  21615. in: query
  21616. name: usertype
  21617. type: integer
  21618. produces:
  21619. - application/json
  21620. responses:
  21621. "200":
  21622. description: OK
  21623. schema:
  21624. items:
  21625. $ref: '#/definitions/models.Ermcp3AreaSpot'
  21626. type: array
  21627. "500":
  21628. description: Internal Server Error
  21629. schema:
  21630. $ref: '#/definitions/app.Response'
  21631. security:
  21632. - ApiKeyAuth: []
  21633. summary: 查询敞口现货头寸(敞口/现货头寸)
  21634. tags:
  21635. - 企业风险管理v3(app)
  21636. /Ermcp3/QueryExposureSpotDetail:
  21637. get:
  21638. parameters:
  21639. - description: 用户id
  21640. in: query
  21641. name: userid
  21642. required: true
  21643. type: integer
  21644. - description: 用户类型 2-机构 7-企业成员
  21645. in: query
  21646. name: usertype
  21647. type: integer
  21648. - description: 现货商品ID
  21649. in: query
  21650. name: wrstandardid
  21651. required: true
  21652. type: integer
  21653. produces:
  21654. - application/json
  21655. responses:
  21656. "200":
  21657. description: OK
  21658. schema:
  21659. items:
  21660. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  21661. type: array
  21662. "500":
  21663. description: Internal Server Error
  21664. schema:
  21665. $ref: '#/definitions/app.Response'
  21666. security:
  21667. - ApiKeyAuth: []
  21668. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  21669. tags:
  21670. - 企业风险管理v3(app)
  21671. /Ermcp3/QueryGoodsGroup:
  21672. get:
  21673. parameters:
  21674. - description: 用户id
  21675. in: query
  21676. name: userid
  21677. required: true
  21678. type: integer
  21679. - description: 用户类型 2-机构 7-企业成员
  21680. in: query
  21681. name: usertype
  21682. type: integer
  21683. - description: 排除套保品中已关联的商品组 1-排除
  21684. in: query
  21685. name: excludecfg
  21686. type: integer
  21687. produces:
  21688. - application/json
  21689. responses:
  21690. "200":
  21691. description: OK
  21692. schema:
  21693. items:
  21694. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  21695. type: array
  21696. "500":
  21697. description: Internal Server Error
  21698. schema:
  21699. $ref: '#/definitions/app.Response'
  21700. security:
  21701. - ApiKeyAuth: []
  21702. summary: 查询期货商品组
  21703. tags:
  21704. - 企业风险管理v3(app)
  21705. /Ermcp3/QueryGoodsWrstandard:
  21706. get:
  21707. parameters:
  21708. - description: 用户id
  21709. in: query
  21710. name: userid
  21711. required: true
  21712. type: integer
  21713. - description: 用户类型 2-机构 7-企业成员
  21714. in: query
  21715. name: usertype
  21716. type: integer
  21717. - description: 现货商品id
  21718. in: query
  21719. name: deliverygoodsid
  21720. type: integer
  21721. produces:
  21722. - application/json
  21723. responses:
  21724. "200":
  21725. description: OK
  21726. schema:
  21727. items:
  21728. $ref: '#/definitions/models.Ermcp3Wrstandard'
  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. - 企业风险管理v3(app)
  21739. /Ermcp3/QueryGoodsbrand:
  21740. get:
  21741. parameters:
  21742. - description: 用户id
  21743. in: query
  21744. name: userid
  21745. required: true
  21746. type: integer
  21747. - description: 用户类型 2-机构 7-企业成员
  21748. in: query
  21749. name: usertype
  21750. type: integer
  21751. produces:
  21752. - application/json
  21753. responses:
  21754. "200":
  21755. description: OK
  21756. schema:
  21757. items:
  21758. $ref: '#/definitions/models.Ermcp3Brand'
  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. - 企业风险管理v3(app)
  21769. /Ermcp3/QueryHedgePlan:
  21770. get:
  21771. parameters:
  21772. - description: 用户ID
  21773. in: query
  21774. name: userid
  21775. required: true
  21776. type: integer
  21777. - description: 用户类型 2-机构 7-企业成员
  21778. in: query
  21779. name: usertype
  21780. type: integer
  21781. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  21782. in: query
  21783. name: hedgeplanstatus
  21784. required: true
  21785. type: string
  21786. produces:
  21787. - application/json
  21788. responses:
  21789. "200":
  21790. description: OK
  21791. schema:
  21792. items:
  21793. $ref: '#/definitions/models.Ermcp3HedgePlan'
  21794. type: array
  21795. "500":
  21796. description: Internal Server Error
  21797. schema:
  21798. $ref: '#/definitions/app.Response'
  21799. security:
  21800. - ApiKeyAuth: []
  21801. summary: 查询套保计划
  21802. tags:
  21803. - 企业风险管理v3(app)
  21804. /Ermcp3/QueryInnerTradeLink:
  21805. get:
  21806. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  21807. parameters:
  21808. - description: 外部成交单号
  21809. in: query
  21810. name: outtradeid
  21811. required: true
  21812. type: integer
  21813. produces:
  21814. - application/json
  21815. responses:
  21816. "200":
  21817. description: OK
  21818. schema:
  21819. items:
  21820. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  21821. type: array
  21822. "500":
  21823. description: Internal Server Error
  21824. schema:
  21825. $ref: '#/definitions/app.Response'
  21826. security:
  21827. - ApiKeyAuth: []
  21828. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  21829. tags:
  21830. - 企业风险管理v3(app)
  21831. /Ermcp3/QueryMiddleGoodsDetail:
  21832. get:
  21833. parameters:
  21834. - description: 用户id
  21835. in: query
  21836. name: userid
  21837. required: true
  21838. type: integer
  21839. - description: 用户类型 2-机构 7-企业成员
  21840. in: query
  21841. name: usertype
  21842. type: integer
  21843. - description: 套保品种id
  21844. in: query
  21845. name: middlegoodsid
  21846. type: integer
  21847. produces:
  21848. - application/json
  21849. responses:
  21850. "200":
  21851. description: OK
  21852. schema:
  21853. items:
  21854. $ref: '#/definitions/models.TBMiddleGoods'
  21855. type: array
  21856. "500":
  21857. description: Internal Server Error
  21858. schema:
  21859. $ref: '#/definitions/app.Response'
  21860. security:
  21861. - ApiKeyAuth: []
  21862. summary: 查询套保品种详情(套保品种/商品详情)
  21863. tags:
  21864. - 企业风险管理v3(app)
  21865. /Ermcp3/QueryOutTradeLink:
  21866. get:
  21867. description: 页面 app 现货->期现关联->外部成交单关联
  21868. parameters:
  21869. - description: 用户ID(填登录用户的userid)
  21870. in: query
  21871. name: userid
  21872. required: true
  21873. type: integer
  21874. - description: 外部订单号(模糊匹配)
  21875. in: query
  21876. name: outtradeid
  21877. type: string
  21878. - description: 合约名称/代码(模糊匹配)
  21879. in: query
  21880. name: goodsname
  21881. type: string
  21882. - description: 关联状态 0-未关联 1-已关联
  21883. in: query
  21884. name: hasinnerorder
  21885. type: integer
  21886. produces:
  21887. - application/json
  21888. responses:
  21889. "200":
  21890. description: OK
  21891. schema:
  21892. items:
  21893. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  21894. type: array
  21895. "500":
  21896. description: Internal Server Error
  21897. schema:
  21898. $ref: '#/definitions/app.Response'
  21899. security:
  21900. - ApiKeyAuth: []
  21901. summary: 查询外部成交单关联
  21902. tags:
  21903. - 企业风险管理v3(app)
  21904. /Ermcp3/QueryPaAreaAuditCfg:
  21905. get:
  21906. parameters:
  21907. - description: 用户id
  21908. in: query
  21909. name: userid
  21910. required: true
  21911. type: integer
  21912. produces:
  21913. - application/json
  21914. responses:
  21915. "200":
  21916. description: OK
  21917. schema:
  21918. items:
  21919. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  21920. type: array
  21921. "500":
  21922. description: Internal Server Error
  21923. schema:
  21924. $ref: '#/definitions/app.Response'
  21925. security:
  21926. - ApiKeyAuth: []
  21927. summary: 查询审核设置
  21928. tags:
  21929. - 企业风险管理v3(app)
  21930. /Ermcp3/QueryPaAreaSubject:
  21931. get:
  21932. parameters:
  21933. - description: 用户id
  21934. in: query
  21935. name: userid
  21936. required: true
  21937. type: integer
  21938. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  21939. in: query
  21940. name: subjectid
  21941. type: integer
  21942. - description: 主体类型 - 1:交易主体 2:业务部门
  21943. in: query
  21944. name: subjecttype
  21945. type: integer
  21946. - description: '主体状态 - 1:正常 2: 停用'
  21947. in: query
  21948. name: subjectstatus
  21949. type: integer
  21950. produces:
  21951. - application/json
  21952. responses:
  21953. "200":
  21954. description: OK
  21955. schema:
  21956. items:
  21957. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  21958. type: array
  21959. "500":
  21960. description: Internal Server Error
  21961. schema:
  21962. $ref: '#/definitions/app.Response'
  21963. security:
  21964. - ApiKeyAuth: []
  21965. summary: 查询交易主体
  21966. tags:
  21967. - 企业风险管理v3(app)
  21968. /Ermcp3/QueryPaTradeLink:
  21969. get:
  21970. description: 页面 app 现货->期现关联->期现单据关联
  21971. parameters:
  21972. - description: 用户ID
  21973. in: query
  21974. name: userid
  21975. required: true
  21976. type: integer
  21977. produces:
  21978. - application/json
  21979. responses:
  21980. "200":
  21981. description: OK
  21982. schema:
  21983. items:
  21984. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  21985. type: array
  21986. "500":
  21987. description: Internal Server Error
  21988. schema:
  21989. $ref: '#/definitions/app.Response'
  21990. security:
  21991. - ApiKeyAuth: []
  21992. summary: 查询期现单据关联
  21993. tags:
  21994. - 企业风险管理v3(app)
  21995. /Ermcp3/QueryPaTradeLinkDetail:
  21996. get:
  21997. description: 页面 app 现货->期现关联->关联记录
  21998. parameters:
  21999. - description: 用户ID(填登录用户的userid)
  22000. in: query
  22001. name: userid
  22002. required: true
  22003. type: integer
  22004. - description: 关联状态 1:成功 2:失败 3:解绑
  22005. in: query
  22006. name: linkstatus
  22007. type: integer
  22008. - description: 期货订单号(模糊匹配)
  22009. in: query
  22010. name: tradeid
  22011. type: string
  22012. - description: 现货编号(模糊匹配)
  22013. in: query
  22014. name: contractno
  22015. type: string
  22016. - description: 期货账户(模糊匹配)
  22017. in: query
  22018. name: taname
  22019. type: string
  22020. produces:
  22021. - application/json
  22022. responses:
  22023. "200":
  22024. description: OK
  22025. schema:
  22026. items:
  22027. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  22028. type: array
  22029. "500":
  22030. description: Internal Server Error
  22031. schema:
  22032. $ref: '#/definitions/app.Response'
  22033. security:
  22034. - ApiKeyAuth: []
  22035. summary: 查询期现关联记录
  22036. tags:
  22037. - 企业风险管理v3(app)
  22038. /Ermcp3/QueryParamChangeApp:
  22039. get:
  22040. description: |-
  22041. 原型页面:
  22042. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  22043. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  22044. parameters:
  22045. - description: 用户ID
  22046. in: query
  22047. name: userid
  22048. required: true
  22049. type: integer
  22050. - description: 现货品种id
  22051. in: query
  22052. name: deliverygoodsid
  22053. type: integer
  22054. - description: 现货商品id
  22055. in: query
  22056. name: wrstandardid
  22057. type: integer
  22058. - description: 套保商品id
  22059. in: query
  22060. name: middlegoodsid
  22061. type: integer
  22062. - description: 操作类型 1:新增 2:修改
  22063. in: query
  22064. name: operatetype
  22065. type: integer
  22066. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  22067. in: query
  22068. name: paramchangetype
  22069. type: integer
  22070. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22071. in: query
  22072. name: ftstatus
  22073. type: string
  22074. produces:
  22075. - application/json
  22076. responses:
  22077. "200":
  22078. description: OK
  22079. schema:
  22080. items:
  22081. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  22082. type: array
  22083. "500":
  22084. description: Internal Server Error
  22085. schema:
  22086. $ref: '#/definitions/app.Response'
  22087. security:
  22088. - ApiKeyAuth: []
  22089. summary: 查询现货商品参数变更申请(流水)
  22090. tags:
  22091. - 企业风险管理v3(app)
  22092. /Ermcp3/QueryRootUserAccount:
  22093. get:
  22094. parameters:
  22095. - description: 用户ID
  22096. in: query
  22097. name: userid
  22098. required: true
  22099. type: integer
  22100. produces:
  22101. - application/json
  22102. responses:
  22103. "200":
  22104. description: OK
  22105. schema:
  22106. items:
  22107. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  22108. type: array
  22109. "500":
  22110. description: Internal Server Error
  22111. schema:
  22112. $ref: '#/definitions/app.Response'
  22113. security:
  22114. - ApiKeyAuth: []
  22115. summary: 查询顶级用户信息
  22116. tags:
  22117. - 企业风险管理v3(app)
  22118. /Ermcp3/QuerySCMiddleGoods:
  22119. get:
  22120. description: |-
  22121. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  22122. 现货编号 即 合同编号
  22123. parameters:
  22124. - description: 用户ID(填登录用户的userid)
  22125. in: query
  22126. name: userid
  22127. required: true
  22128. type: integer
  22129. - description: 买卖方向 0-买 1-卖
  22130. in: query
  22131. name: buyorsell
  22132. required: true
  22133. type: integer
  22134. - description: 商品组id
  22135. in: query
  22136. name: goodsgroupid
  22137. required: true
  22138. type: integer
  22139. - description: 业务类型 1:套保 2:套利
  22140. in: query
  22141. name: biztype
  22142. type: integer
  22143. - description: 现货编号(模糊匹配)
  22144. in: query
  22145. name: contractno
  22146. type: string
  22147. - description: 对手方(模糊匹配)
  22148. in: query
  22149. name: customername
  22150. type: string
  22151. - description: 现货商品名称(模糊匹配)
  22152. in: query
  22153. name: wrstandardname
  22154. type: string
  22155. produces:
  22156. - application/json
  22157. responses:
  22158. "200":
  22159. description: OK
  22160. schema:
  22161. items:
  22162. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  22163. type: array
  22164. "500":
  22165. description: Internal Server Error
  22166. schema:
  22167. $ref: '#/definitions/app.Response'
  22168. security:
  22169. - ApiKeyAuth: []
  22170. summary: 查询现货订单
  22171. tags:
  22172. - 企业风险管理v3(app)
  22173. /Ermcp3/QuerySpotContract:
  22174. get:
  22175. parameters:
  22176. - description: 用户id(当指定contractid, userid可不填)
  22177. in: query
  22178. name: userid
  22179. required: true
  22180. type: integer
  22181. - description: 用户类型 2-机构 7-企业成员
  22182. in: query
  22183. name: usertype
  22184. type: integer
  22185. - description: 合同类型 1-采购, -1-销售
  22186. in: query
  22187. name: contracttype
  22188. type: integer
  22189. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  22190. in: query
  22191. name: querytype
  22192. type: string
  22193. - description: 合同ID(SpotContractId)
  22194. in: query
  22195. name: contractid
  22196. type: string
  22197. - description: 合同编号(模糊匹配)
  22198. in: query
  22199. name: contractno
  22200. type: string
  22201. - description: 商品名称(模糊匹配)
  22202. in: query
  22203. name: wrstandardname
  22204. type: string
  22205. produces:
  22206. - application/json
  22207. responses:
  22208. "200":
  22209. description: OK
  22210. schema:
  22211. items:
  22212. $ref: '#/definitions/models.Ermcp3Contract'
  22213. type: array
  22214. "500":
  22215. description: Internal Server Error
  22216. schema:
  22217. $ref: '#/definitions/app.Response'
  22218. security:
  22219. - ApiKeyAuth: []
  22220. summary: 查询现货合同
  22221. tags:
  22222. - 企业风险管理v3(app)
  22223. /Ermcp3/QuerySpotContractBS:
  22224. get:
  22225. parameters:
  22226. - description: 用户id
  22227. in: query
  22228. name: userid
  22229. required: true
  22230. type: integer
  22231. - description: 用户类型 2-机构 7-企业成员
  22232. in: query
  22233. name: usertype
  22234. type: integer
  22235. - description: 合同类型 1-采购, -1-销售
  22236. in: query
  22237. name: contracttype
  22238. required: true
  22239. type: integer
  22240. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  22241. in: query
  22242. name: querytype
  22243. required: true
  22244. type: integer
  22245. - description: 合同ID(SpotContractId)
  22246. in: query
  22247. name: contractid
  22248. type: string
  22249. produces:
  22250. - application/json
  22251. responses:
  22252. "200":
  22253. description: OK
  22254. schema:
  22255. items:
  22256. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  22257. type: array
  22258. "500":
  22259. description: Internal Server Error
  22260. schema:
  22261. $ref: '#/definitions/app.Response'
  22262. security:
  22263. - ApiKeyAuth: []
  22264. summary: 查询合同(采购/销售)
  22265. tags:
  22266. - 企业风险管理v3(app)
  22267. /Ermcp3/QuerySpotGoodsPrice:
  22268. get:
  22269. parameters:
  22270. - description: 用户ID
  22271. in: query
  22272. name: userid
  22273. required: true
  22274. type: integer
  22275. produces:
  22276. - application/json
  22277. responses:
  22278. "200":
  22279. description: OK
  22280. schema:
  22281. items:
  22282. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  22283. type: array
  22284. "500":
  22285. description: Internal Server Error
  22286. schema:
  22287. $ref: '#/definitions/app.Response'
  22288. security:
  22289. - ApiKeyAuth: []
  22290. summary: 查询现货市价(现货市价)
  22291. tags:
  22292. - 企业风险管理v3(app)
  22293. /Ermcp3/QuerySpotGoodsPriceLog:
  22294. get:
  22295. parameters:
  22296. - description: 用户ID
  22297. in: query
  22298. name: userid
  22299. required: true
  22300. type: integer
  22301. - description: 现货商品ID
  22302. in: query
  22303. name: deliverygoodsid
  22304. required: true
  22305. type: integer
  22306. - description: 品牌ID
  22307. in: query
  22308. name: brandid
  22309. type: integer
  22310. - description: 品类ID
  22311. in: query
  22312. name: wrstandardid
  22313. type: integer
  22314. produces:
  22315. - application/json
  22316. responses:
  22317. "200":
  22318. description: OK
  22319. schema:
  22320. items:
  22321. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  22322. type: array
  22323. "500":
  22324. description: Internal Server Error
  22325. schema:
  22326. $ref: '#/definitions/app.Response'
  22327. security:
  22328. - ApiKeyAuth: []
  22329. summary: 查询现货市价详情(现货市价/详情)
  22330. tags:
  22331. - 企业风险管理v3(app)
  22332. /Ermcp3/QuerySubTaaccount:
  22333. get:
  22334. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  22335. parameters:
  22336. - description: 母账号id
  22337. in: query
  22338. name: parentaccountid
  22339. type: integer
  22340. - description: 母账号代码
  22341. in: query
  22342. name: parentaccountcode
  22343. type: string
  22344. produces:
  22345. - application/json
  22346. responses:
  22347. "200":
  22348. description: OK
  22349. schema:
  22350. items:
  22351. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  22352. type: array
  22353. "500":
  22354. description: Internal Server Error
  22355. schema:
  22356. $ref: '#/definitions/app.Response'
  22357. security:
  22358. - ApiKeyAuth: []
  22359. summary: 查询期货子账户
  22360. tags:
  22361. - 企业风险管理v3(app)
  22362. /Erms2/QueryArbitrageStrategy:
  22363. get:
  22364. parameters:
  22365. - description: 账户ID
  22366. in: query
  22367. name: userid
  22368. required: true
  22369. type: integer
  22370. - description: 商品组ID(品种ID)
  22371. in: query
  22372. name: goodsgroupid
  22373. type: string
  22374. produces:
  22375. - application/json
  22376. responses:
  22377. "200":
  22378. description: OK
  22379. schema:
  22380. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  22381. "500":
  22382. description: Internal Server Error
  22383. schema:
  22384. $ref: '#/definitions/app.Response'
  22385. security:
  22386. - ApiKeyAuth: []
  22387. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  22388. tags:
  22389. - 风险管理
  22390. /Erms2/QueryInnerTradeDetail:
  22391. get:
  22392. parameters:
  22393. - description: 资金账户
  22394. in: query
  22395. name: accountid
  22396. required: true
  22397. type: integer
  22398. produces:
  22399. - application/json
  22400. responses:
  22401. "200":
  22402. description: OK
  22403. schema:
  22404. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  22405. "500":
  22406. description: Internal Server Error
  22407. schema:
  22408. $ref: '#/definitions/app.Response'
  22409. security:
  22410. - ApiKeyAuth: []
  22411. summary: 查询内部成交单信息
  22412. tags:
  22413. - 风险管理
  22414. /Erms2/QuerySpotContract:
  22415. get:
  22416. parameters:
  22417. - description: 策略申请ID
  22418. in: query
  22419. name: asapplyid
  22420. required: true
  22421. type: integer
  22422. - description: 现货合同ID
  22423. in: query
  22424. name: spotcontractid
  22425. type: integer
  22426. produces:
  22427. - application/json
  22428. responses:
  22429. "200":
  22430. description: OK
  22431. schema:
  22432. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  22433. "500":
  22434. description: Internal Server Error
  22435. schema:
  22436. $ref: '#/definitions/app.Response'
  22437. security:
  22438. - ApiKeyAuth: []
  22439. summary: 查询现货合同表信息(指定策略ID、未结束的)
  22440. tags:
  22441. - 风险管理
  22442. /Erms3/AddErms2ASApply:
  22443. post:
  22444. parameters:
  22445. - description: 申请参数
  22446. in: body
  22447. name: jsonBody
  22448. required: true
  22449. schema:
  22450. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  22451. produces:
  22452. - application/json
  22453. responses:
  22454. "200":
  22455. description: OK
  22456. schema:
  22457. $ref: '#/definitions/app.Response'
  22458. "500":
  22459. description: Internal Server Error
  22460. schema:
  22461. $ref: '#/definitions/app.Response'
  22462. security:
  22463. - ApiKeyAuth: []
  22464. summary: 新增期现套利业务申请
  22465. tags:
  22466. - 风险管理v3
  22467. /Erms3/AddErms2SpotTradeApply:
  22468. post:
  22469. parameters:
  22470. - description: 申请参数
  22471. in: body
  22472. name: jsonBody
  22473. required: true
  22474. schema:
  22475. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  22476. produces:
  22477. - application/json
  22478. responses:
  22479. "200":
  22480. description: OK
  22481. schema:
  22482. $ref: '#/definitions/app.Response'
  22483. "500":
  22484. description: Internal Server Error
  22485. schema:
  22486. $ref: '#/definitions/app.Response'
  22487. security:
  22488. - ApiKeyAuth: []
  22489. summary: 新增现货贸易业务申请
  22490. tags:
  22491. - 风险管理v3
  22492. /Erms3/AddSpotContractApply:
  22493. post:
  22494. parameters:
  22495. - description: 申请参数
  22496. in: body
  22497. name: jsonBody
  22498. required: true
  22499. schema:
  22500. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  22501. produces:
  22502. - application/json
  22503. responses:
  22504. "200":
  22505. description: OK
  22506. schema:
  22507. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  22508. "500":
  22509. description: Internal Server Error
  22510. schema:
  22511. $ref: '#/definitions/app.Response'
  22512. security:
  22513. - ApiKeyAuth: []
  22514. summary: 新增现货合同申请
  22515. tags:
  22516. - 风险管理v3
  22517. /Erms3/AddUserInfoApply:
  22518. post:
  22519. parameters:
  22520. - description: 用户信息
  22521. in: body
  22522. name: jsonBody
  22523. required: true
  22524. schema:
  22525. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  22526. produces:
  22527. - application/json
  22528. responses:
  22529. "200":
  22530. description: OK
  22531. schema:
  22532. $ref: '#/definitions/app.Response'
  22533. "500":
  22534. description: Internal Server Error
  22535. schema:
  22536. $ref: '#/definitions/app.Response'
  22537. security:
  22538. - ApiKeyAuth: []
  22539. summary: 新增客户申请
  22540. tags:
  22541. - 风险管理v3
  22542. /Erms3/DeleteUserInfoApply:
  22543. get:
  22544. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  22545. parameters:
  22546. - description: 用户ID
  22547. in: query
  22548. name: userID
  22549. required: true
  22550. type: integer
  22551. produces:
  22552. - application/json
  22553. responses:
  22554. "200":
  22555. description: OK
  22556. schema:
  22557. $ref: '#/definitions/app.Response'
  22558. "500":
  22559. description: Internal Server Error
  22560. schema:
  22561. $ref: '#/definitions/app.Response'
  22562. security:
  22563. - ApiKeyAuth: []
  22564. summary: 删除客户申请
  22565. tags:
  22566. - 风险管理v3
  22567. /Erms3/ModifyUserInfoApply:
  22568. post:
  22569. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid": int, "userstate": 2 }'
  22570. parameters:
  22571. - description: 用户信息
  22572. in: body
  22573. name: jsonBody
  22574. required: true
  22575. schema:
  22576. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  22577. produces:
  22578. - application/json
  22579. responses:
  22580. "200":
  22581. description: OK
  22582. schema:
  22583. $ref: '#/definitions/app.Response'
  22584. "500":
  22585. description: Internal Server Error
  22586. schema:
  22587. $ref: '#/definitions/app.Response'
  22588. security:
  22589. - ApiKeyAuth: []
  22590. summary: 修改客户申请
  22591. tags:
  22592. - 风险管理v3
  22593. /Erms3/QueryBusinessInfo:
  22594. get:
  22595. parameters:
  22596. - description: 资金账号ID列表,用逗号分隔
  22597. in: query
  22598. name: accountids
  22599. required: true
  22600. type: string
  22601. - description: 状态,0为未结束 1为已结束
  22602. in: query
  22603. name: status
  22604. required: true
  22605. type: integer
  22606. produces:
  22607. - application/json
  22608. responses:
  22609. "200":
  22610. description: OK
  22611. schema:
  22612. items:
  22613. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  22614. type: array
  22615. "500":
  22616. description: Internal Server Error
  22617. schema:
  22618. $ref: '#/definitions/app.Response'
  22619. security:
  22620. - ApiKeyAuth: []
  22621. summary: 查询业务表单数据
  22622. tags:
  22623. - 风险管理v3
  22624. /Erms3/QueryPendingAuditContract:
  22625. get:
  22626. parameters:
  22627. - description: 资金账号ID列表,逗号隔开
  22628. in: query
  22629. name: accountids
  22630. required: true
  22631. type: string
  22632. - description: 合同类型 1-采购 -1-销售
  22633. in: query
  22634. name: contracttype
  22635. required: true
  22636. type: integer
  22637. - description: 合同模式 1-普通 2-回购
  22638. in: query
  22639. name: contractmode
  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/erms3.QryAuditContractRsp'
  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
  22660. /Erms3/QueryPendingBusiness:
  22661. get:
  22662. parameters:
  22663. - description: 资金账号ID列表,逗号隔开
  22664. in: query
  22665. name: accountids
  22666. required: true
  22667. type: string
  22668. produces:
  22669. - application/json
  22670. responses:
  22671. "200":
  22672. description: OK
  22673. schema:
  22674. items:
  22675. $ref: '#/definitions/erms3.QryPendingBizRsp'
  22676. type: array
  22677. "500":
  22678. description: Internal Server Error
  22679. schema:
  22680. $ref: '#/definitions/app.Response'
  22681. security:
  22682. - ApiKeyAuth: []
  22683. summary: 查询待审核基差贸易业务
  22684. tags:
  22685. - 风险管理v3
  22686. /Erms3/QuerySpotContractAppleForm:
  22687. get:
  22688. parameters:
  22689. - description: 登录账号
  22690. in: query
  22691. name: loginID
  22692. required: true
  22693. type: integer
  22694. produces:
  22695. - application/json
  22696. responses:
  22697. "200":
  22698. description: OK
  22699. schema:
  22700. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  22701. "500":
  22702. description: Internal Server Error
  22703. schema:
  22704. $ref: '#/definitions/app.Response'
  22705. security:
  22706. - ApiKeyAuth: []
  22707. summary: 查询合同申请表单数据
  22708. tags:
  22709. - 风险管理v3
  22710. /Erms3/QuerySpotContractDetail:
  22711. get:
  22712. parameters:
  22713. - description: 资金账号ID列表,用逗号分隔
  22714. in: query
  22715. name: accountids
  22716. required: true
  22717. type: string
  22718. - description: 合同类型,1为采购合同 -1为销售合同
  22719. in: query
  22720. name: contracttype
  22721. required: true
  22722. type: integer
  22723. - description: 合同模式,1为普通合同 2为回购销售合同
  22724. in: query
  22725. name: contractmode
  22726. required: true
  22727. type: integer
  22728. - description: 状态,0为履约中 1为已完成
  22729. in: query
  22730. name: status
  22731. required: true
  22732. type: integer
  22733. produces:
  22734. - application/json
  22735. responses:
  22736. "200":
  22737. description: OK
  22738. schema:
  22739. items:
  22740. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  22741. type: array
  22742. "500":
  22743. description: Internal Server Error
  22744. schema:
  22745. $ref: '#/definitions/app.Response'
  22746. security:
  22747. - ApiKeyAuth: []
  22748. summary: 查询合同详细信息
  22749. tags:
  22750. - 风险管理v3
  22751. /Erms3/QueryUserInfoApplies:
  22752. get:
  22753. parameters:
  22754. - description: 页码
  22755. in: query
  22756. name: page
  22757. type: integer
  22758. - description: 每页条数
  22759. in: query
  22760. name: pagesize
  22761. type: integer
  22762. - description: 客户名称,支持模糊查询
  22763. in: query
  22764. name: userName
  22765. type: string
  22766. produces:
  22767. - application/json
  22768. responses:
  22769. "200":
  22770. description: OK
  22771. schema:
  22772. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  22773. "500":
  22774. description: Internal Server Error
  22775. schema:
  22776. $ref: '#/definitions/app.Response'
  22777. security:
  22778. - ApiKeyAuth: []
  22779. summary: 客户申请信息查询
  22780. tags:
  22781. - 风险管理v3
  22782. /Erms3/QueryUserInfos:
  22783. get:
  22784. parameters:
  22785. - description: 页码
  22786. in: query
  22787. name: page
  22788. type: integer
  22789. - description: 每页条数
  22790. in: query
  22791. name: pagesize
  22792. type: integer
  22793. - description: 客户名称,支持模糊查询
  22794. in: query
  22795. name: userName
  22796. type: string
  22797. produces:
  22798. - application/json
  22799. responses:
  22800. "200":
  22801. description: OK
  22802. schema:
  22803. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  22804. "500":
  22805. description: Internal Server Error
  22806. schema:
  22807. $ref: '#/definitions/app.Response'
  22808. security:
  22809. - ApiKeyAuth: []
  22810. summary: 客户信息查询
  22811. tags:
  22812. - 风险管理v3
  22813. /HSBY/GetHsbyMyCount:
  22814. get:
  22815. description: 说明: 不包括已完成的数量。
  22816. parameters:
  22817. - description: 资金账户列表,格式:1,2,3
  22818. in: query
  22819. name: accountIDs
  22820. required: true
  22821. type: string
  22822. produces:
  22823. - application/json
  22824. responses:
  22825. "200":
  22826. description: OK
  22827. schema:
  22828. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  22829. "500":
  22830. description: Internal Server Error
  22831. schema:
  22832. $ref: '#/definitions/app.Response'
  22833. security:
  22834. - ApiKeyAuth: []
  22835. summary: 获取我的订单与包裹数量
  22836. tags:
  22837. - 定制【海商报业】
  22838. /HSBY/QueryClientFixedADConfigs:
  22839. get:
  22840. produces:
  22841. - application/json
  22842. responses:
  22843. "200":
  22844. description: OK
  22845. schema:
  22846. $ref: '#/definitions/models.Clientfixedadconfig'
  22847. "500":
  22848. description: Internal Server Error
  22849. schema:
  22850. $ref: '#/definitions/app.Response'
  22851. security:
  22852. - ApiKeyAuth: []
  22853. summary: 获取终端固定广告配置
  22854. tags:
  22855. - 定制【海商报业】
  22856. /HSBY/QueryHsbyBuyMyTradeDetail:
  22857. get:
  22858. parameters:
  22859. - description: 页码
  22860. in: query
  22861. name: page
  22862. type: integer
  22863. - description: 每页条数
  22864. in: query
  22865. name: pagesize
  22866. type: integer
  22867. - description: 资金账户列表,格式:1,2,3
  22868. in: query
  22869. name: accountIDs
  22870. required: true
  22871. type: string
  22872. produces:
  22873. - application/json
  22874. responses:
  22875. "200":
  22876. description: OK
  22877. schema:
  22878. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  22879. "500":
  22880. description: Internal Server Error
  22881. schema:
  22882. $ref: '#/definitions/app.Response'
  22883. security:
  22884. - ApiKeyAuth: []
  22885. summary: 查询"我的订单 - 已完成"单据信息
  22886. tags:
  22887. - 定制【海商报业】
  22888. /HSBY/QueryHsbyGoodsOrderDetails:
  22889. get:
  22890. description: 说明:查询结果已按委托价格和委托时间排序
  22891. parameters:
  22892. - description: 商品ID
  22893. in: query
  22894. name: goodsID
  22895. required: true
  22896. type: integer
  22897. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  22898. in: query
  22899. name: accountIDs
  22900. type: string
  22901. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  22902. in: query
  22903. name: buyOrSell
  22904. type: integer
  22905. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  22906. in: query
  22907. name: price
  22908. type: number
  22909. - description: 档位,不传则默认为3档
  22910. in: query
  22911. name: speed
  22912. type: integer
  22913. produces:
  22914. - application/json
  22915. responses:
  22916. "200":
  22917. description: OK
  22918. schema:
  22919. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  22920. "500":
  22921. description: Internal Server Error
  22922. schema:
  22923. $ref: '#/definitions/app.Response'
  22924. security:
  22925. - ApiKeyAuth: []
  22926. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  22927. tags:
  22928. - 定制【海商报业】
  22929. /HSBY/QueryHsbyListingGoodsDetail:
  22930. get:
  22931. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  22932. parameters:
  22933. - description: 商品ID
  22934. in: query
  22935. name: goodsID
  22936. required: true
  22937. type: integer
  22938. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  22939. in: query
  22940. name: accountID
  22941. type: integer
  22942. produces:
  22943. - application/json
  22944. responses:
  22945. "200":
  22946. description: OK
  22947. schema:
  22948. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  22949. "500":
  22950. description: Internal Server Error
  22951. schema:
  22952. $ref: '#/definitions/app.Response'
  22953. security:
  22954. - ApiKeyAuth: []
  22955. summary: 查询二级市场(挂牌点选)商品信息详情
  22956. tags:
  22957. - 定制【海商报业】
  22958. /HSBY/QueryHsbyMarketGoodsDetail:
  22959. get:
  22960. parameters:
  22961. - description: 委托单号
  22962. in: query
  22963. name: orderID
  22964. required: true
  22965. type: integer
  22966. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  22967. in: query
  22968. name: accountID
  22969. type: integer
  22970. produces:
  22971. - application/json
  22972. responses:
  22973. "200":
  22974. description: OK
  22975. schema:
  22976. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  22977. "500":
  22978. description: Internal Server Error
  22979. schema:
  22980. $ref: '#/definitions/app.Response'
  22981. security:
  22982. - ApiKeyAuth: []
  22983. summary: 查询三级市场(商城)商品信息详情
  22984. tags:
  22985. - 定制【海商报业】
  22986. /HSBY/QueryHsbyMarketGoodses:
  22987. get:
  22988. parameters:
  22989. - description: 页码
  22990. in: query
  22991. name: page
  22992. type: integer
  22993. - description: 每页条数
  22994. in: query
  22995. name: pagesize
  22996. type: integer
  22997. - description: 市场ID列表,格式:1,2,3
  22998. in: query
  22999. name: marketIDs
  23000. required: true
  23001. type: string
  23002. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  23003. in: query
  23004. name: accountID
  23005. required: true
  23006. type: integer
  23007. - description: 类别ID
  23008. in: query
  23009. name: categoryID
  23010. type: integer
  23011. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  23012. in: query
  23013. name: goodsIDs
  23014. type: string
  23015. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  23016. in: query
  23017. name: couponTypeID
  23018. type: integer
  23019. produces:
  23020. - application/json
  23021. responses:
  23022. "200":
  23023. description: OK
  23024. schema:
  23025. $ref: '#/definitions/models.HsbyMarketGoods'
  23026. "500":
  23027. description: Internal Server Error
  23028. schema:
  23029. $ref: '#/definitions/app.Response'
  23030. security:
  23031. - ApiKeyAuth: []
  23032. summary: 查询特卖商品列表(三级商城)
  23033. tags:
  23034. - 定制【海商报业】
  23035. /HSBY/QueryHsbyMarkets:
  23036. get:
  23037. produces:
  23038. - application/json
  23039. responses:
  23040. "200":
  23041. description: OK
  23042. schema:
  23043. $ref: '#/definitions/models.HsbyMarketInfo'
  23044. "500":
  23045. description: Internal Server Error
  23046. schema:
  23047. $ref: '#/definitions/app.Response'
  23048. security:
  23049. - ApiKeyAuth: []
  23050. summary: 查询海商报业相关市场信息
  23051. tags:
  23052. - 定制【海商报业】
  23053. /HSBY/QueryHsbyMyBuyOrderDetails:
  23054. get:
  23055. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  23056. parameters:
  23057. - description: 资金账户列表,格式:1,2,3
  23058. in: query
  23059. name: accountIDs
  23060. required: true
  23061. type: string
  23062. produces:
  23063. - application/json
  23064. responses:
  23065. "200":
  23066. description: OK
  23067. schema:
  23068. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  23069. "500":
  23070. description: Internal Server Error
  23071. schema:
  23072. $ref: '#/definitions/app.Response'
  23073. security:
  23074. - ApiKeyAuth: []
  23075. summary: 查询“我的订单”信息
  23076. tags:
  23077. - 定制【海商报业】
  23078. /HSBY/QueryHsbyMyGoods:
  23079. get:
  23080. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  23081. parameters:
  23082. - description: 资金账户列表,格式:1,2,3
  23083. in: query
  23084. name: accountIDs
  23085. required: true
  23086. type: string
  23087. produces:
  23088. - application/json
  23089. responses:
  23090. "200":
  23091. description: OK
  23092. schema:
  23093. $ref: '#/definitions/models.HsbyMyGoods'
  23094. "500":
  23095. description: Internal Server Error
  23096. schema:
  23097. $ref: '#/definitions/app.Response'
  23098. security:
  23099. - ApiKeyAuth: []
  23100. summary: 查询“我的商品”信息
  23101. tags:
  23102. - 定制【海商报业】
  23103. /HSBY/QueryHsbyMyPackages:
  23104. get:
  23105. parameters:
  23106. - description: 资金账户列表,格式:1,2,3
  23107. in: query
  23108. name: accountIDs
  23109. required: true
  23110. type: string
  23111. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  23112. in: query
  23113. name: takeOrderStatus
  23114. type: integer
  23115. produces:
  23116. - application/json
  23117. responses:
  23118. "200":
  23119. description: OK
  23120. schema:
  23121. $ref: '#/definitions/models.HsbyMyPackage'
  23122. "500":
  23123. description: Internal Server Error
  23124. schema:
  23125. $ref: '#/definitions/app.Response'
  23126. security:
  23127. - ApiKeyAuth: []
  23128. summary: 查询我的包裹信息
  23129. tags:
  23130. - 定制【海商报业】
  23131. /HSBY/QueryHsbyPreGoodsDetail:
  23132. get:
  23133. parameters:
  23134. - description: 商品ID
  23135. in: query
  23136. name: goodsID
  23137. required: true
  23138. type: integer
  23139. - description: 资金账户,主要用于获取预售商品购买上限
  23140. in: query
  23141. name: accountID
  23142. type: integer
  23143. produces:
  23144. - application/json
  23145. responses:
  23146. "200":
  23147. description: OK
  23148. schema:
  23149. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  23150. "500":
  23151. description: Internal Server Error
  23152. schema:
  23153. $ref: '#/definitions/app.Response'
  23154. security:
  23155. - ApiKeyAuth: []
  23156. summary: 查询一级市场(预售)商品信息详情
  23157. tags:
  23158. - 定制【海商报业】
  23159. /HSBY/QueryHsbyPreGoodses:
  23160. get:
  23161. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  23162. parameters:
  23163. - description: 页码
  23164. in: query
  23165. name: page
  23166. type: integer
  23167. - description: 每页条数
  23168. in: query
  23169. name: pagesize
  23170. type: integer
  23171. - description: 市场ID列表,格式:1,2,3
  23172. in: query
  23173. name: marketIDs
  23174. required: true
  23175. type: string
  23176. - description: 目的地(省)ID
  23177. in: query
  23178. name: descProvinceID
  23179. type: integer
  23180. - description: 目的地(市)ID
  23181. in: query
  23182. name: descCityID
  23183. type: integer
  23184. produces:
  23185. - application/json
  23186. responses:
  23187. "200":
  23188. description: OK
  23189. schema:
  23190. $ref: '#/definitions/models.HsbyPreGoods'
  23191. "500":
  23192. description: Internal Server Error
  23193. schema:
  23194. $ref: '#/definitions/app.Response'
  23195. security:
  23196. - ApiKeyAuth: []
  23197. summary: 查询新品上市商品列表(一级市场预售)
  23198. tags:
  23199. - 定制【海商报业】
  23200. /HSBY/QueryHsbySellMyDetails:
  23201. get:
  23202. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  23203. parameters:
  23204. - description: 页码
  23205. in: query
  23206. name: page
  23207. type: integer
  23208. - description: 每页条数
  23209. in: query
  23210. name: pagesize
  23211. type: integer
  23212. - description: 资金账户列表,格式:1,2,3
  23213. in: query
  23214. name: accountIDs
  23215. required: true
  23216. type: string
  23217. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  23218. in: query
  23219. name: orderType
  23220. type: integer
  23221. produces:
  23222. - application/json
  23223. responses:
  23224. "200":
  23225. description: OK
  23226. schema:
  23227. $ref: '#/definitions/models.HsbySellMyDetail'
  23228. "500":
  23229. description: Internal Server Error
  23230. schema:
  23231. $ref: '#/definitions/app.Response'
  23232. security:
  23233. - ApiKeyAuth: []
  23234. summary: 查询"我的闲置"单据信息
  23235. tags:
  23236. - 定制【海商报业】
  23237. /HSBY/QueryHsbyTopGoodses:
  23238. get:
  23239. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  23240. parameters:
  23241. - description: 页码
  23242. in: query
  23243. name: page
  23244. type: integer
  23245. - description: 每页条数
  23246. in: query
  23247. name: pagesize
  23248. type: integer
  23249. - description: 市场ID列表,格式:1,2,3
  23250. in: query
  23251. name: marketIDs
  23252. required: true
  23253. type: string
  23254. - description: 目的地(省)ID
  23255. in: query
  23256. name: descProvinceID
  23257. type: integer
  23258. - description: 目的地(市)ID
  23259. in: query
  23260. name: descCityID
  23261. type: integer
  23262. produces:
  23263. - application/json
  23264. responses:
  23265. "200":
  23266. description: OK
  23267. schema:
  23268. $ref: '#/definitions/models.HsbyTopGoods'
  23269. "500":
  23270. description: Internal Server Error
  23271. schema:
  23272. $ref: '#/definitions/app.Response'
  23273. security:
  23274. - ApiKeyAuth: []
  23275. summary: 查询热卖商品列表(二级市场挂牌点选)
  23276. tags:
  23277. - 定制【海商报业】
  23278. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  23279. get:
  23280. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  23281. parameters:
  23282. - description: 商品ID
  23283. in: query
  23284. name: goodsID
  23285. required: true
  23286. type: integer
  23287. produces:
  23288. - application/json
  23289. responses:
  23290. "200":
  23291. description: OK
  23292. schema:
  23293. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  23294. "500":
  23295. description: Internal Server Error
  23296. schema:
  23297. $ref: '#/definitions/app.Response'
  23298. security:
  23299. - ApiKeyAuth: []
  23300. summary: 查询游客三级市场(商城)商品信息详情
  23301. tags:
  23302. - 定制【海商报业】
  23303. /HSBY/QueryHsbyVisitorMarketGoodses:
  23304. get:
  23305. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  23306. parameters:
  23307. - description: 页码
  23308. in: query
  23309. name: page
  23310. type: integer
  23311. - description: 每页条数
  23312. in: query
  23313. name: pagesize
  23314. type: integer
  23315. - description: 市场ID列表,格式:1,2,3
  23316. in: query
  23317. name: marketIDs
  23318. required: true
  23319. type: string
  23320. - description: 类别ID
  23321. in: query
  23322. name: categoryID
  23323. type: integer
  23324. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  23325. in: query
  23326. name: goodsIDs
  23327. type: string
  23328. produces:
  23329. - application/json
  23330. responses:
  23331. "200":
  23332. description: OK
  23333. schema:
  23334. $ref: '#/definitions/models.HsbyMarketGoods'
  23335. "500":
  23336. description: Internal Server Error
  23337. schema:
  23338. $ref: '#/definitions/app.Response'
  23339. security:
  23340. - ApiKeyAuth: []
  23341. summary: 查询游客特卖商品列表(三级商城)
  23342. tags:
  23343. - 定制【海商报业】
  23344. /HSBY/QueryMyCollectionOrders:
  23345. get:
  23346. parameters:
  23347. - description: 页码
  23348. in: query
  23349. name: page
  23350. type: integer
  23351. - description: 每页条数
  23352. in: query
  23353. name: pagesize
  23354. type: integer
  23355. - description: 资金账户,格式:1,2,3
  23356. in: query
  23357. name: accountIDs
  23358. required: true
  23359. type: string
  23360. produces:
  23361. - application/json
  23362. responses:
  23363. "200":
  23364. description: OK
  23365. schema:
  23366. $ref: '#/definitions/models.HsbySellCollectionOrder'
  23367. "500":
  23368. description: Internal Server Error
  23369. schema:
  23370. $ref: '#/definitions/app.Response'
  23371. security:
  23372. - ApiKeyAuth: []
  23373. summary: 我的闲置中收款信息查询
  23374. tags:
  23375. - 定制【海商报业】
  23376. /HSBY/QueryMyCouponHolds:
  23377. get:
  23378. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  23379. parameters:
  23380. - description: 资金账户列表,格式:1,2,3
  23381. in: query
  23382. name: accountIDs
  23383. required: true
  23384. type: string
  23385. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  23386. in: query
  23387. name: holdStatus
  23388. type: string
  23389. produces:
  23390. - application/json
  23391. responses:
  23392. "200":
  23393. description: OK
  23394. schema:
  23395. $ref: '#/definitions/models.MyCouponHold'
  23396. "500":
  23397. description: Internal Server Error
  23398. schema:
  23399. $ref: '#/definitions/app.Response'
  23400. security:
  23401. - ApiKeyAuth: []
  23402. summary: 我的优惠卷持仓查询
  23403. tags:
  23404. - 定制【海商报业】
  23405. /HSBY/QueryMyCoupons:
  23406. get:
  23407. parameters:
  23408. - description: 资金账户列表,格式:1,2,3
  23409. in: query
  23410. name: accountIDs
  23411. required: true
  23412. type: string
  23413. - description: 商品ID, 一般与sellUserID配套传入
  23414. in: query
  23415. name: goodsID
  23416. type: integer
  23417. - description: 卖方UserID
  23418. in: query
  23419. name: sellUserID
  23420. type: integer
  23421. produces:
  23422. - application/json
  23423. responses:
  23424. "200":
  23425. description: OK
  23426. schema:
  23427. $ref: '#/definitions/models.MyCoupon'
  23428. "500":
  23429. description: Internal Server Error
  23430. schema:
  23431. $ref: '#/definitions/app.Response'
  23432. security:
  23433. - ApiKeyAuth: []
  23434. summary: 我的优惠卷查询
  23435. tags:
  23436. - 定制【海商报业】
  23437. /HSBY/QueryMyPayOrders:
  23438. get:
  23439. parameters:
  23440. - description: 页码
  23441. in: query
  23442. name: page
  23443. type: integer
  23444. - description: 每页条数
  23445. in: query
  23446. name: pagesize
  23447. type: integer
  23448. - description: 资金账户列表,格式:1,2,3
  23449. in: query
  23450. name: accountIDs
  23451. required: true
  23452. type: string
  23453. - description: 买方委托单号
  23454. in: query
  23455. name: buyOrderID
  23456. type: integer
  23457. - description: 卖方委托单号
  23458. in: query
  23459. name: sellOrderID
  23460. type: integer
  23461. produces:
  23462. - application/json
  23463. responses:
  23464. "200":
  23465. description: OK
  23466. schema:
  23467. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  23468. "500":
  23469. description: Internal Server Error
  23470. schema:
  23471. $ref: '#/definitions/app.Response'
  23472. security:
  23473. - ApiKeyAuth: []
  23474. summary: 获取我的订单中待付款信息
  23475. tags:
  23476. - 定制【海商报业】
  23477. /HSBY/QueryMyUsedCoupon:
  23478. get:
  23479. parameters:
  23480. - description: 资金账户列表,格式:1,2,3
  23481. in: query
  23482. name: accountIDs
  23483. required: true
  23484. type: string
  23485. produces:
  23486. - application/json
  23487. responses:
  23488. "200":
  23489. description: OK
  23490. schema:
  23491. $ref: '#/definitions/models.MyUsedCoupon'
  23492. "500":
  23493. description: Internal Server Error
  23494. schema:
  23495. $ref: '#/definitions/app.Response'
  23496. security:
  23497. - ApiKeyAuth: []
  23498. summary: 已使用优惠卷查询
  23499. tags:
  23500. - 定制【海商报业】
  23501. /HSBY/QueryProvincesAndCities:
  23502. get:
  23503. description: 查询结果只包括二级市场商品已关连的省市信息。
  23504. parameters:
  23505. - description: 省ID
  23506. in: query
  23507. name: provinceID
  23508. type: integer
  23509. produces:
  23510. - application/json
  23511. responses:
  23512. "200":
  23513. description: OK
  23514. schema:
  23515. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  23516. "500":
  23517. description: Internal Server Error
  23518. schema:
  23519. $ref: '#/definitions/app.Response'
  23520. security:
  23521. - ApiKeyAuth: []
  23522. summary: 查询省市信息(不包括区)
  23523. tags:
  23524. - 定制【海商报业】
  23525. /HSBY/SetHsbyMyPackagesStatus:
  23526. post:
  23527. parameters:
  23528. - description: 提货单号
  23529. in: query
  23530. name: takeOrderID
  23531. required: true
  23532. type: string
  23533. - description: 资金账号
  23534. in: query
  23535. name: accountID
  23536. required: true
  23537. type: integer
  23538. produces:
  23539. - application/json
  23540. responses:
  23541. "200":
  23542. description: OK
  23543. schema:
  23544. $ref: '#/definitions/app.Response'
  23545. "500":
  23546. description: Internal Server Error
  23547. schema:
  23548. $ref: '#/definitions/app.Response'
  23549. security:
  23550. - ApiKeyAuth: []
  23551. summary: 设置我的包裹已收货状态
  23552. tags:
  23553. - 定制【海商报业】
  23554. /Market/GetAllExExchanges:
  23555. get:
  23556. produces:
  23557. - application/json
  23558. responses:
  23559. "200":
  23560. description: OK
  23561. schema:
  23562. $ref: '#/definitions/models.Goods'
  23563. "500":
  23564. description: Internal Server Error
  23565. schema:
  23566. $ref: '#/definitions/app.Response'
  23567. security:
  23568. - ApiKeyAuth: []
  23569. summary: 获取所有外部交易所信息
  23570. tags:
  23571. - 通用市场
  23572. /Market/QueryGoodsesByLoginID:
  23573. get:
  23574. parameters:
  23575. - description: 登录账号
  23576. in: query
  23577. name: loginID
  23578. required: true
  23579. type: integer
  23580. - description: 市场ID列表,格式:1,2,3
  23581. in: query
  23582. name: marketIDs
  23583. type: string
  23584. produces:
  23585. - application/json
  23586. responses:
  23587. "200":
  23588. description: OK
  23589. schema:
  23590. $ref: '#/definitions/models.Goods'
  23591. "500":
  23592. description: Internal Server Error
  23593. schema:
  23594. $ref: '#/definitions/app.Response'
  23595. security:
  23596. - ApiKeyAuth: []
  23597. summary: 获取登录账号有权限的商品信息
  23598. tags:
  23599. - 通用市场
  23600. /Market/QueryMarketRun:
  23601. get:
  23602. parameters:
  23603. - description: 市场ID,不传返回所有
  23604. in: query
  23605. name: marketID
  23606. type: integer
  23607. produces:
  23608. - application/json
  23609. responses:
  23610. "200":
  23611. description: OK
  23612. schema:
  23613. $ref: '#/definitions/models.Marketrun'
  23614. "500":
  23615. description: Internal Server Error
  23616. schema:
  23617. $ref: '#/definitions/app.Response'
  23618. security:
  23619. - ApiKeyAuth: []
  23620. summary: 查询市场运行信息
  23621. tags:
  23622. - 通用市场
  23623. /Market/QueryMarketsByLoginID:
  23624. get:
  23625. parameters:
  23626. - description: 登录账号
  23627. in: query
  23628. name: loginID
  23629. required: true
  23630. type: integer
  23631. produces:
  23632. - application/json
  23633. responses:
  23634. "200":
  23635. description: OK
  23636. schema:
  23637. $ref: '#/definitions/models.Market'
  23638. "500":
  23639. description: Internal Server Error
  23640. schema:
  23641. $ref: '#/definitions/app.Response'
  23642. security:
  23643. - ApiKeyAuth: []
  23644. summary: 获取登录账号有权限的市场信息
  23645. tags:
  23646. - 通用市场
  23647. /Order/QueryHisTradeDetail:
  23648. get:
  23649. parameters:
  23650. - description: 资金账户 - 格式:1,2,3
  23651. in: query
  23652. name: accountID
  23653. required: true
  23654. type: string
  23655. - description: 成交单号
  23656. in: query
  23657. name: tradeID
  23658. type: integer
  23659. - description: 委托单号
  23660. in: query
  23661. name: orderID
  23662. type: integer
  23663. - description: 商品ID
  23664. in: query
  23665. name: goodsID
  23666. type: integer
  23667. - description: 交易模式 - 格式:1,2,3
  23668. in: query
  23669. name: tradeMode
  23670. type: string
  23671. - description: 委托单据类型
  23672. in: query
  23673. name: buildType
  23674. type: integer
  23675. - description: 成交类别 - 格式:1,2,3
  23676. in: query
  23677. name: tradeType
  23678. type: string
  23679. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23680. in: query
  23681. name: startDate
  23682. type: string
  23683. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23684. in: query
  23685. name: endDate
  23686. type: string
  23687. produces:
  23688. - application/json
  23689. responses:
  23690. "200":
  23691. description: OK
  23692. schema:
  23693. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  23694. "500":
  23695. description: Internal Server Error
  23696. schema:
  23697. $ref: '#/definitions/app.Response'
  23698. security:
  23699. - ApiKeyAuth: []
  23700. summary: 历史成交单查询(合约市场)
  23701. tags:
  23702. - 通用单据
  23703. /Order/QueryHisTradeOrderDetail:
  23704. get:
  23705. parameters:
  23706. - description: 资金账户 - 格式:1,2,3
  23707. in: query
  23708. name: accountID
  23709. required: true
  23710. type: string
  23711. - description: 交易模式 - 格式:1,2,3
  23712. in: query
  23713. name: tradeMode
  23714. type: string
  23715. - description: 委托状态 - 格式:1,2,3
  23716. in: query
  23717. name: orderStatus
  23718. type: string
  23719. - description: 委托单号
  23720. in: query
  23721. name: orderID
  23722. type: integer
  23723. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23724. in: query
  23725. name: startDate
  23726. type: string
  23727. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23728. in: query
  23729. name: endDate
  23730. type: string
  23731. produces:
  23732. - application/json
  23733. responses:
  23734. "200":
  23735. description: OK
  23736. schema:
  23737. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  23738. "500":
  23739. description: Internal Server Error
  23740. schema:
  23741. $ref: '#/definitions/app.Response'
  23742. security:
  23743. - ApiKeyAuth: []
  23744. summary: 历史委托单查询请求(合约市场)
  23745. tags:
  23746. - 通用单据
  23747. /Order/QueryTradeDetail:
  23748. get:
  23749. parameters:
  23750. - description: 资金账户 - 格式:1,2,3
  23751. in: query
  23752. name: accountID
  23753. required: true
  23754. type: string
  23755. - description: 成交单号
  23756. in: query
  23757. name: tradeID
  23758. type: integer
  23759. - description: 委托单号
  23760. in: query
  23761. name: orderID
  23762. type: integer
  23763. - description: 交易模式 - 格式:1,2,3
  23764. in: query
  23765. name: tradeMode
  23766. type: string
  23767. - description: 委托单据类型
  23768. in: query
  23769. name: buildType
  23770. type: integer
  23771. - description: 成交类别 - 格式:1,2,3
  23772. in: query
  23773. name: tradeType
  23774. type: string
  23775. - description: 商品ID
  23776. in: query
  23777. name: goodsID
  23778. type: integer
  23779. produces:
  23780. - application/json
  23781. responses:
  23782. "200":
  23783. description: OK
  23784. schema:
  23785. $ref: '#/definitions/order.QueryTradeDetailRsp'
  23786. "500":
  23787. description: Internal Server Error
  23788. schema:
  23789. $ref: '#/definitions/app.Response'
  23790. security:
  23791. - ApiKeyAuth: []
  23792. summary: 成交单查询(合约市场)
  23793. tags:
  23794. - 通用单据
  23795. /Order/QueryTradeHolderDetail:
  23796. get:
  23797. parameters:
  23798. - description: 用户id
  23799. in: query
  23800. name: userid
  23801. type: integer
  23802. - description: 资金账号, 格式 1,2,3
  23803. in: query
  23804. name: accids
  23805. type: string
  23806. - description: 交易模式, 格式 1,2,3
  23807. in: query
  23808. name: trademodes
  23809. type: string
  23810. - description: 市场id, 格式 1,2,3
  23811. in: query
  23812. name: marketids
  23813. type: string
  23814. - description: 商品id
  23815. in: query
  23816. name: goodsid
  23817. type: integer
  23818. - description: 买卖方向 0-买 1-卖
  23819. in: query
  23820. name: buyorsell
  23821. type: integer
  23822. produces:
  23823. - application/json
  23824. responses:
  23825. "200":
  23826. description: OK
  23827. schema:
  23828. items:
  23829. $ref: '#/definitions/models.TradeHolderDetail'
  23830. type: array
  23831. "500":
  23832. description: Internal Server Error
  23833. schema:
  23834. $ref: '#/definitions/app.Response'
  23835. security:
  23836. - ApiKeyAuth: []
  23837. summary: 查询持仓明细
  23838. tags:
  23839. - 通用单据
  23840. /Order/QueryTradeOrderDetail:
  23841. get:
  23842. parameters:
  23843. - description: 资金账户 - 格式:1,2,3
  23844. in: query
  23845. name: accountID
  23846. required: true
  23847. type: string
  23848. - description: 交易模式 - 格式:1,2,3
  23849. in: query
  23850. name: tradeMode
  23851. type: string
  23852. - description: 委托状态 - 格式:1,2,3
  23853. in: query
  23854. name: orderStatus
  23855. type: string
  23856. - description: 委托单号
  23857. in: query
  23858. name: orderID
  23859. type: integer
  23860. produces:
  23861. - application/json
  23862. responses:
  23863. "200":
  23864. description: OK
  23865. schema:
  23866. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  23867. "500":
  23868. description: Internal Server Error
  23869. schema:
  23870. $ref: '#/definitions/app.Response'
  23871. security:
  23872. - ApiKeyAuth: []
  23873. summary: 委托单查询请求(合约市场)
  23874. tags:
  23875. - 通用单据
  23876. /Order/QueryTradePosition:
  23877. get:
  23878. parameters:
  23879. - description: 资金账户 - 格式:1,2,3
  23880. in: query
  23881. name: accountID
  23882. required: true
  23883. type: string
  23884. - description: 交易模式 - 格式:1,2,3
  23885. in: query
  23886. name: tradeMode
  23887. type: string
  23888. produces:
  23889. - application/json
  23890. responses:
  23891. "200":
  23892. description: OK
  23893. schema:
  23894. $ref: '#/definitions/order.QueryTradePositionRsp'
  23895. "500":
  23896. description: Internal Server Error
  23897. schema:
  23898. $ref: '#/definitions/app.Response'
  23899. security:
  23900. - ApiKeyAuth: []
  23901. summary: 持仓汇总查询(合约市场)
  23902. tags:
  23903. - 通用单据
  23904. /Qhj/QueryAccountInOutApply:
  23905. get:
  23906. parameters:
  23907. - description: 用户ID
  23908. in: query
  23909. name: userid
  23910. required: true
  23911. type: integer
  23912. - description: 申请起始日期(格式yyyymmdd)
  23913. in: query
  23914. name: begindate
  23915. type: string
  23916. - description: 申请截止日期(格式yyyymmdd)
  23917. in: query
  23918. name: enddate
  23919. type: string
  23920. - description: 模糊搜索名称
  23921. in: query
  23922. name: likename
  23923. type: string
  23924. produces:
  23925. - application/json
  23926. responses:
  23927. "200":
  23928. description: OK
  23929. schema:
  23930. items:
  23931. $ref: '#/definitions/models.QhjAccountOutInApply'
  23932. type: array
  23933. "500":
  23934. description: Internal Server Error
  23935. schema:
  23936. $ref: '#/definitions/app.Response'
  23937. security:
  23938. - ApiKeyAuth: []
  23939. summary: 查询充值提现
  23940. tags:
  23941. - 大连千海金
  23942. /Qhj/QueryAreaFinanceConfig:
  23943. get:
  23944. parameters:
  23945. - description: 机构用户ID 其他做市关系,都设置为 1
  23946. in: query
  23947. name: userid
  23948. type: integer
  23949. produces:
  23950. - application/json
  23951. responses:
  23952. "200":
  23953. description: OK
  23954. schema:
  23955. items:
  23956. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  23957. type: array
  23958. "500":
  23959. description: Internal Server Error
  23960. schema:
  23961. $ref: '#/definitions/app.Response'
  23962. security:
  23963. - ApiKeyAuth: []
  23964. summary: 查询企业配置表
  23965. tags:
  23966. - 大连千海金
  23967. /Qhj/QueryBankAccountSign:
  23968. get:
  23969. parameters:
  23970. - description: 用户ID
  23971. in: query
  23972. name: userid
  23973. required: true
  23974. type: integer
  23975. produces:
  23976. - application/json
  23977. responses:
  23978. "200":
  23979. description: OK
  23980. schema:
  23981. items:
  23982. $ref: '#/definitions/models.QhjBankAccountSign'
  23983. type: array
  23984. "500":
  23985. description: Internal Server Error
  23986. schema:
  23987. $ref: '#/definitions/app.Response'
  23988. security:
  23989. - ApiKeyAuth: []
  23990. summary: 查询签约银行信息(提现账户管理)
  23991. tags:
  23992. - 大连千海金
  23993. /Qhj/QueryBankInfo:
  23994. get:
  23995. produces:
  23996. - application/json
  23997. responses:
  23998. "200":
  23999. description: OK
  24000. schema:
  24001. items:
  24002. $ref: '#/definitions/models.QhjBankInfo'
  24003. type: array
  24004. "500":
  24005. description: Internal Server Error
  24006. schema:
  24007. $ref: '#/definitions/app.Response'
  24008. security:
  24009. - ApiKeyAuth: []
  24010. summary: 查询开户行
  24011. tags:
  24012. - 大连千海金
  24013. /Qhj/QueryBrokerApply:
  24014. get:
  24015. parameters:
  24016. - description: 所属机构ID
  24017. in: query
  24018. name: userid
  24019. type: integer
  24020. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24021. in: query
  24022. name: filterstatus
  24023. type: string
  24024. produces:
  24025. - application/json
  24026. responses:
  24027. "200":
  24028. description: OK
  24029. schema:
  24030. items:
  24031. $ref: '#/definitions/models.QhjBrokerApply'
  24032. type: array
  24033. "500":
  24034. description: Internal Server Error
  24035. schema:
  24036. $ref: '#/definitions/app.Response'
  24037. security:
  24038. - ApiKeyAuth: []
  24039. summary: 查询经纪人申请
  24040. tags:
  24041. - 大连千海金
  24042. /Qhj/QueryBrokerApplyEx:
  24043. get:
  24044. parameters:
  24045. - description: 所属机构ID
  24046. in: query
  24047. name: userid
  24048. type: integer
  24049. produces:
  24050. - application/json
  24051. responses:
  24052. "200":
  24053. description: OK
  24054. schema:
  24055. items:
  24056. $ref: '#/definitions/models.QhjBrokerApplyEx'
  24057. type: array
  24058. "500":
  24059. description: Internal Server Error
  24060. schema:
  24061. $ref: '#/definitions/app.Response'
  24062. security:
  24063. - ApiKeyAuth: []
  24064. summary: 查询经纪人信息和申请记录
  24065. tags:
  24066. - 大连千海金
  24067. /Qhj/QueryBrokerRewardLog:
  24068. get:
  24069. parameters:
  24070. - description: 用户ID
  24071. in: query
  24072. name: userid
  24073. required: true
  24074. type: integer
  24075. - description: 开始交易日(yyyymmdd)
  24076. in: query
  24077. name: begindate
  24078. type: string
  24079. - description: 结束交易日(yyyymmdd)
  24080. in: query
  24081. name: enddate
  24082. type: string
  24083. produces:
  24084. - application/json
  24085. responses:
  24086. "200":
  24087. description: OK
  24088. schema:
  24089. items:
  24090. $ref: '#/definitions/models.QhjBrokerRewardLog'
  24091. type: array
  24092. "500":
  24093. description: Internal Server Error
  24094. schema:
  24095. $ref: '#/definitions/app.Response'
  24096. security:
  24097. - ApiKeyAuth: []
  24098. summary: 查询奖励流水(我的奖励)
  24099. tags:
  24100. - 大连千海金
  24101. /Qhj/QueryContract:
  24102. get:
  24103. parameters:
  24104. - description: 用户ID
  24105. in: query
  24106. name: userid
  24107. type: integer
  24108. - description: scf合同id
  24109. in: query
  24110. name: scfcontractid
  24111. type: integer
  24112. produces:
  24113. - application/json
  24114. responses:
  24115. "200":
  24116. description: OK
  24117. schema:
  24118. items:
  24119. $ref: '#/definitions/models.QhjContract'
  24120. type: array
  24121. "500":
  24122. description: Internal Server Error
  24123. schema:
  24124. $ref: '#/definitions/app.Response'
  24125. security:
  24126. - ApiKeyAuth: []
  24127. summary: 查询融资明细(合同)
  24128. tags:
  24129. - 大连千海金
  24130. /Qhj/QueryContractLog:
  24131. get:
  24132. parameters:
  24133. - description: scf合同id
  24134. in: query
  24135. name: scfcontractid
  24136. required: true
  24137. type: integer
  24138. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  24139. in: query
  24140. name: amounttype
  24141. type: string
  24142. produces:
  24143. - application/json
  24144. responses:
  24145. "200":
  24146. description: OK
  24147. schema:
  24148. items:
  24149. $ref: '#/definitions/models.QhjContractLog'
  24150. type: array
  24151. "500":
  24152. description: Internal Server Error
  24153. schema:
  24154. $ref: '#/definitions/app.Response'
  24155. security:
  24156. - ApiKeyAuth: []
  24157. summary: 查询融资明细流水(融资明细详情页中的流水)
  24158. tags:
  24159. - 大连千海金
  24160. /Qhj/QueryCusBankSignBank:
  24161. get:
  24162. produces:
  24163. - application/json
  24164. responses:
  24165. "200":
  24166. description: OK
  24167. schema:
  24168. items:
  24169. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  24170. type: array
  24171. "500":
  24172. description: Internal Server Error
  24173. schema:
  24174. $ref: '#/definitions/app.Response'
  24175. security:
  24176. - ApiKeyAuth: []
  24177. summary: 查询托管银行
  24178. tags:
  24179. - 大连千海金
  24180. /Qhj/QueryCustomerInfo:
  24181. get:
  24182. parameters:
  24183. - description: 用户ID
  24184. in: query
  24185. name: userid
  24186. required: true
  24187. type: integer
  24188. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  24189. in: query
  24190. name: querytype
  24191. required: true
  24192. type: integer
  24193. - description: 客户类型 1-个人 2-企业
  24194. in: query
  24195. name: userinfotype
  24196. type: integer
  24197. - description: 客户名称(模糊匹配)
  24198. in: query
  24199. name: customername
  24200. type: string
  24201. - description: 昵称(模糊匹配)
  24202. in: query
  24203. name: nickname
  24204. type: string
  24205. - description: 是否包含子级 1-包含
  24206. in: query
  24207. name: includesub
  24208. type: integer
  24209. produces:
  24210. - application/json
  24211. responses:
  24212. "200":
  24213. description: OK
  24214. schema:
  24215. items:
  24216. $ref: '#/definitions/models.QhjCustomer'
  24217. type: array
  24218. "500":
  24219. description: Internal Server Error
  24220. schema:
  24221. $ref: '#/definitions/app.Response'
  24222. security:
  24223. - ApiKeyAuth: []
  24224. summary: 查询客户资料
  24225. tags:
  24226. - 大连千海金
  24227. /Qhj/QueryGoodsEx:
  24228. get:
  24229. parameters:
  24230. - description: 商品id
  24231. in: query
  24232. name: goodsid
  24233. type: integer
  24234. produces:
  24235. - application/json
  24236. responses:
  24237. "200":
  24238. description: OK
  24239. schema:
  24240. items:
  24241. $ref: '#/definitions/models.Qhjgoodsex'
  24242. type: array
  24243. "500":
  24244. description: Internal Server Error
  24245. schema:
  24246. $ref: '#/definitions/app.Response'
  24247. security:
  24248. - ApiKeyAuth: []
  24249. summary: 交易商品扩展表
  24250. tags:
  24251. - 大连千海金
  24252. /Qhj/QueryMyTeam:
  24253. get:
  24254. parameters:
  24255. - description: 用户ID
  24256. in: query
  24257. name: userid
  24258. required: true
  24259. type: integer
  24260. produces:
  24261. - application/json
  24262. responses:
  24263. "200":
  24264. description: OK
  24265. schema:
  24266. items:
  24267. $ref: '#/definitions/models.QhjMyTeamEx'
  24268. type: array
  24269. "500":
  24270. description: Internal Server Error
  24271. schema:
  24272. $ref: '#/definitions/app.Response'
  24273. security:
  24274. - ApiKeyAuth: []
  24275. summary: 查询我的团队
  24276. tags:
  24277. - 大连千海金
  24278. /Qhj/QueryMyTeamOrder:
  24279. get:
  24280. parameters:
  24281. - description: 页码
  24282. in: query
  24283. name: page
  24284. type: integer
  24285. - description: 每页条数
  24286. in: query
  24287. name: pagesize
  24288. type: integer
  24289. - description: 用户ID
  24290. in: query
  24291. name: userid
  24292. required: true
  24293. type: integer
  24294. - description: 交易模式
  24295. in: query
  24296. name: trademode
  24297. type: integer
  24298. - description: 名称(模糊搜索账户)
  24299. in: query
  24300. name: filtername
  24301. type: string
  24302. produces:
  24303. - application/json
  24304. responses:
  24305. "200":
  24306. description: OK
  24307. schema:
  24308. items:
  24309. $ref: '#/definitions/models.QhjTeamOrder'
  24310. type: array
  24311. "500":
  24312. description: Internal Server Error
  24313. schema:
  24314. $ref: '#/definitions/app.Response'
  24315. security:
  24316. - ApiKeyAuth: []
  24317. summary: 查询团队订单(我的团队/团队订单)
  24318. tags:
  24319. - 大连千海金
  24320. /Qhj/QueryParentAreaList:
  24321. get:
  24322. parameters:
  24323. - description: 用户ID
  24324. in: query
  24325. name: userid
  24326. required: true
  24327. type: integer
  24328. produces:
  24329. - application/json
  24330. responses:
  24331. "200":
  24332. description: OK
  24333. schema:
  24334. items:
  24335. $ref: '#/definitions/models.QhjParentAreaList'
  24336. type: array
  24337. "500":
  24338. description: Internal Server Error
  24339. schema:
  24340. $ref: '#/definitions/app.Response'
  24341. security:
  24342. - ApiKeyAuth: []
  24343. summary: 查询所属机构列表
  24344. tags:
  24345. - 大连千海金
  24346. /Qhj/QueryPayOrder:
  24347. get:
  24348. parameters:
  24349. - description: 资金账号id
  24350. in: query
  24351. name: accountid
  24352. required: true
  24353. type: integer
  24354. - description: 成交单号
  24355. in: query
  24356. name: tradeid
  24357. type: integer
  24358. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  24359. in: query
  24360. name: payflag
  24361. type: string
  24362. produces:
  24363. - application/json
  24364. responses:
  24365. "200":
  24366. description: OK
  24367. schema:
  24368. items:
  24369. $ref: '#/definitions/models.QhjPayOrder'
  24370. type: array
  24371. "500":
  24372. description: Internal Server Error
  24373. schema:
  24374. $ref: '#/definitions/app.Response'
  24375. security:
  24376. - ApiKeyAuth: []
  24377. summary: 查询待付款单据
  24378. tags:
  24379. - 大连千海金
  24380. /Qhj/QueryPickArea:
  24381. get:
  24382. parameters:
  24383. - description: 用户ID
  24384. in: query
  24385. name: userid
  24386. type: integer
  24387. produces:
  24388. - application/json
  24389. responses:
  24390. "200":
  24391. description: OK
  24392. schema:
  24393. items:
  24394. $ref: '#/definitions/models.QhjPickArea'
  24395. type: array
  24396. "500":
  24397. description: Internal Server Error
  24398. schema:
  24399. $ref: '#/definitions/app.Response'
  24400. security:
  24401. - ApiKeyAuth: []
  24402. summary: 查询提货门店
  24403. tags:
  24404. - 大连千海金
  24405. /Qhj/QueryPickGoods:
  24406. get:
  24407. parameters:
  24408. - description: 交易商品id
  24409. in: query
  24410. name: goodsid
  24411. required: true
  24412. type: integer
  24413. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  24414. in: query
  24415. name: status
  24416. type: string
  24417. produces:
  24418. - application/json
  24419. responses:
  24420. "200":
  24421. description: OK
  24422. schema:
  24423. items:
  24424. $ref: '#/definitions/models.QhjPickGoods'
  24425. type: array
  24426. "500":
  24427. description: Internal Server Error
  24428. schema:
  24429. $ref: '#/definitions/app.Response'
  24430. security:
  24431. - ApiKeyAuth: []
  24432. summary: 查询提货商品
  24433. tags:
  24434. - 大连千海金
  24435. /Qhj/QueryRSTriggerLog:
  24436. get:
  24437. parameters:
  24438. - description: 用户ID
  24439. in: query
  24440. name: userid
  24441. type: integer
  24442. - description: 定投策略id
  24443. in: query
  24444. name: regularlystrategyid
  24445. type: integer
  24446. - description: 商品id
  24447. in: query
  24448. name: goodsid
  24449. type: integer
  24450. - description: 开始交易日(yyyymmdd)
  24451. in: query
  24452. name: begindate
  24453. type: string
  24454. - description: 结束交易日(yyyymmdd)
  24455. in: query
  24456. name: enddate
  24457. type: string
  24458. - description: 名称(模糊搜索账户)
  24459. in: query
  24460. name: filtername
  24461. type: string
  24462. produces:
  24463. - application/json
  24464. responses:
  24465. "200":
  24466. description: OK
  24467. schema:
  24468. items:
  24469. $ref: '#/definitions/models.QhjRSTriggerLog'
  24470. type: array
  24471. "500":
  24472. description: Internal Server Error
  24473. schema:
  24474. $ref: '#/definitions/app.Response'
  24475. security:
  24476. - ApiKeyAuth: []
  24477. summary: 查询定投记录(定投管理/详情/定投记录)
  24478. tags:
  24479. - 大连千海金
  24480. /Qhj/QueryRStrategy:
  24481. get:
  24482. parameters:
  24483. - description: 用户ID
  24484. in: query
  24485. name: userid
  24486. type: integer
  24487. - description: 商品id
  24488. in: query
  24489. name: goodsid
  24490. type: integer
  24491. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  24492. in: query
  24493. name: status
  24494. type: string
  24495. - description: 名称(模糊搜索账户)
  24496. in: query
  24497. name: filtername
  24498. type: string
  24499. produces:
  24500. - application/json
  24501. responses:
  24502. "200":
  24503. description: OK
  24504. schema:
  24505. items:
  24506. $ref: '#/definitions/models.QhjRStrategy'
  24507. type: array
  24508. "500":
  24509. description: Internal Server Error
  24510. schema:
  24511. $ref: '#/definitions/app.Response'
  24512. security:
  24513. - ApiKeyAuth: []
  24514. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  24515. tags:
  24516. - 大连千海金
  24517. /Qhj/QueryReckonPriceLog:
  24518. get:
  24519. parameters:
  24520. - description: 商品ID
  24521. in: query
  24522. name: goodsid
  24523. type: integer
  24524. - description: 交易日 格式(yyyymmdd)
  24525. in: query
  24526. name: tradedate
  24527. type: string
  24528. produces:
  24529. - application/json
  24530. responses:
  24531. "200":
  24532. description: OK
  24533. schema:
  24534. items:
  24535. $ref: '#/definitions/models.QhjReckonPriceLog'
  24536. type: array
  24537. "500":
  24538. description: Internal Server Error
  24539. schema:
  24540. $ref: '#/definitions/app.Response'
  24541. security:
  24542. - ApiKeyAuth: []
  24543. summary: 查询定投价(结算价)
  24544. tags:
  24545. - 大连千海金
  24546. /Qhj/QueryScoreLog:
  24547. get:
  24548. parameters:
  24549. - description: 用户ID
  24550. in: query
  24551. name: userid
  24552. required: true
  24553. type: integer
  24554. - description: 开始交易日(yyyymmdd)
  24555. in: query
  24556. name: begindate
  24557. type: string
  24558. - description: 结束交易日(yyyymmdd)
  24559. in: query
  24560. name: enddate
  24561. type: string
  24562. - description: 最近多少条
  24563. in: query
  24564. name: lastnum
  24565. type: integer
  24566. produces:
  24567. - application/json
  24568. responses:
  24569. "200":
  24570. description: OK
  24571. schema:
  24572. items:
  24573. $ref: '#/definitions/models.QhjScoreLog'
  24574. type: array
  24575. "500":
  24576. description: Internal Server Error
  24577. schema:
  24578. $ref: '#/definitions/app.Response'
  24579. security:
  24580. - ApiKeyAuth: []
  24581. summary: 查询积分流水(我的积分)
  24582. tags:
  24583. - 大连千海金
  24584. /Qhj/QuerySiteColumnDetail:
  24585. get:
  24586. parameters:
  24587. - description: 用户ID
  24588. in: query
  24589. name: userid
  24590. required: true
  24591. type: integer
  24592. produces:
  24593. - application/json
  24594. responses:
  24595. "200":
  24596. description: OK
  24597. schema:
  24598. items:
  24599. $ref: '#/definitions/models.QhjSiteColumnDetail'
  24600. type: array
  24601. "500":
  24602. description: Internal Server Error
  24603. schema:
  24604. $ref: '#/definitions/app.Response'
  24605. security:
  24606. - ApiKeyAuth: []
  24607. summary: 查询资讯
  24608. tags:
  24609. - 大连千海金
  24610. /Qhj/QueryTradeGoodsPickup:
  24611. get:
  24612. parameters:
  24613. - description: 用户ID
  24614. in: query
  24615. name: userid
  24616. required: true
  24617. type: integer
  24618. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销
  24619. in: query
  24620. name: takeorderstatus
  24621. type: integer
  24622. produces:
  24623. - application/json
  24624. responses:
  24625. "200":
  24626. description: OK
  24627. schema:
  24628. items:
  24629. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  24630. type: array
  24631. "500":
  24632. description: Internal Server Error
  24633. schema:
  24634. $ref: '#/definitions/app.Response'
  24635. security:
  24636. - ApiKeyAuth: []
  24637. summary: 查询提货
  24638. tags:
  24639. - 大连千海金
  24640. /Qhj/QueryUserCollectConfig:
  24641. get:
  24642. parameters:
  24643. - description: 用户ID
  24644. in: query
  24645. name: userid
  24646. required: true
  24647. type: integer
  24648. produces:
  24649. - application/json
  24650. responses:
  24651. "200":
  24652. description: OK
  24653. schema:
  24654. items:
  24655. $ref: '#/definitions/models.UserCollectConfig'
  24656. type: array
  24657. "500":
  24658. description: Internal Server Error
  24659. schema:
  24660. $ref: '#/definitions/app.Response'
  24661. security:
  24662. - ApiKeyAuth: []
  24663. summary: 查询提现账户设置
  24664. tags:
  24665. - 大连千海金
  24666. /Qhj/QueryUserReceiveInfo:
  24667. get:
  24668. parameters:
  24669. - description: 用户ID
  24670. in: query
  24671. name: userid
  24672. required: true
  24673. type: integer
  24674. produces:
  24675. - application/json
  24676. responses:
  24677. "200":
  24678. description: OK
  24679. schema:
  24680. items:
  24681. $ref: '#/definitions/models.UserReceiveInfo'
  24682. type: array
  24683. "500":
  24684. description: Internal Server Error
  24685. schema:
  24686. $ref: '#/definitions/app.Response'
  24687. security:
  24688. - ApiKeyAuth: []
  24689. summary: 查询收货地址信息
  24690. tags:
  24691. - 大连千海金
  24692. /QhjMgr/QueryAccountInOutApply:
  24693. get:
  24694. parameters:
  24695. - description: 查询类型 1-提现(出金) 2-充值(出金)
  24696. in: query
  24697. name: querytype
  24698. required: true
  24699. type: integer
  24700. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  24701. in: query
  24702. name: applystatus
  24703. type: integer
  24704. - description: 申请起始日期(格式yyyymmdd)
  24705. in: query
  24706. name: begindate
  24707. type: string
  24708. - description: 申请截止日期(格式yyyymmdd)
  24709. in: query
  24710. name: enddate
  24711. type: string
  24712. - description: 模糊搜索名称
  24713. in: query
  24714. name: likename
  24715. type: string
  24716. produces:
  24717. - application/json
  24718. responses:
  24719. "200":
  24720. description: OK
  24721. schema:
  24722. items:
  24723. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  24724. type: array
  24725. "500":
  24726. description: Internal Server Error
  24727. schema:
  24728. $ref: '#/definitions/app.Response'
  24729. security:
  24730. - ApiKeyAuth: []
  24731. summary: 查询充值提现
  24732. tags:
  24733. - 大连千海金(PCWeb)
  24734. /QhjMgr/QueryBrokerApply:
  24735. get:
  24736. parameters:
  24737. - description: 所属机构ID
  24738. in: query
  24739. name: userid
  24740. type: integer
  24741. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24742. in: query
  24743. name: filterstatus
  24744. type: string
  24745. - description: 名称(模糊匹配)
  24746. in: query
  24747. name: filtername
  24748. type: string
  24749. - description: 是否包含子级 1-包含
  24750. in: query
  24751. name: includesub
  24752. type: integer
  24753. produces:
  24754. - application/json
  24755. responses:
  24756. "200":
  24757. description: OK
  24758. schema:
  24759. items:
  24760. $ref: '#/definitions/models.QhjMgrBrokerApply'
  24761. type: array
  24762. "500":
  24763. description: Internal Server Error
  24764. schema:
  24765. $ref: '#/definitions/app.Response'
  24766. security:
  24767. - ApiKeyAuth: []
  24768. summary: 查询经纪人申请
  24769. tags:
  24770. - 大连千海金(PCWeb)
  24771. /QhjMgr/QueryBrokerRewardReport:
  24772. get:
  24773. parameters:
  24774. - description: 所属机构ID
  24775. in: query
  24776. name: userid
  24777. required: true
  24778. type: integer
  24779. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24780. in: query
  24781. name: cycletype
  24782. required: true
  24783. type: integer
  24784. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  24785. in: query
  24786. name: cycletime
  24787. required: true
  24788. type: string
  24789. - description: 名称(模糊匹配)
  24790. in: query
  24791. name: filtername
  24792. type: string
  24793. - description: 是否包含子级 1-包含
  24794. in: query
  24795. name: includesub
  24796. type: integer
  24797. produces:
  24798. - application/json
  24799. responses:
  24800. "200":
  24801. description: OK
  24802. schema:
  24803. items:
  24804. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  24805. type: array
  24806. "500":
  24807. description: Internal Server Error
  24808. schema:
  24809. $ref: '#/definitions/app.Response'
  24810. security:
  24811. - ApiKeyAuth: []
  24812. summary: 查询经纪人奖励报表(废弃)
  24813. tags:
  24814. - 大连千海金(PCWeb)
  24815. /QhjMgr/QueryContract:
  24816. get:
  24817. parameters:
  24818. - description: 用户ID
  24819. in: query
  24820. name: userid
  24821. type: integer
  24822. - description: 商品id
  24823. in: query
  24824. name: goodsid
  24825. type: integer
  24826. - description: 名称(模糊搜索账户)
  24827. in: query
  24828. name: filtername
  24829. type: string
  24830. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  24831. in: query
  24832. name: risklevel
  24833. type: string
  24834. - description: 开始交易日(yyyymmdd)
  24835. in: query
  24836. name: begindate
  24837. type: string
  24838. - description: 结束交易日(yyyymmdd)
  24839. in: query
  24840. name: enddate
  24841. type: string
  24842. produces:
  24843. - application/json
  24844. responses:
  24845. "200":
  24846. description: OK
  24847. schema:
  24848. items:
  24849. $ref: '#/definitions/models.QhjMgrContract'
  24850. type: array
  24851. "500":
  24852. description: Internal Server Error
  24853. schema:
  24854. $ref: '#/definitions/app.Response'
  24855. security:
  24856. - ApiKeyAuth: []
  24857. summary: 查询融资信息(合同)
  24858. tags:
  24859. - 大连千海金(PCWeb)
  24860. /QhjMgr/QueryCustomerInfo:
  24861. get:
  24862. parameters:
  24863. - description: 用户ID
  24864. in: query
  24865. name: userid
  24866. required: true
  24867. type: integer
  24868. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  24869. in: query
  24870. name: querytype
  24871. required: true
  24872. type: integer
  24873. - description: 客户类型 1-个人 2-企业
  24874. in: query
  24875. name: userinfotype
  24876. type: integer
  24877. - description: 客户名称(模糊匹配)
  24878. in: query
  24879. name: customername
  24880. type: string
  24881. - description: 昵称(模糊匹配)
  24882. in: query
  24883. name: nickname
  24884. type: string
  24885. - description: 所属客户经理(模糊匹配)
  24886. in: query
  24887. name: brokername
  24888. type: string
  24889. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)
  24890. in: query
  24891. name: birthday
  24892. type: string
  24893. - description: 是否包含子级 1-包含
  24894. in: query
  24895. name: includesub
  24896. type: integer
  24897. produces:
  24898. - application/json
  24899. responses:
  24900. "200":
  24901. description: OK
  24902. schema:
  24903. items:
  24904. $ref: '#/definitions/models.QhjMgrCustomer'
  24905. type: array
  24906. "500":
  24907. description: Internal Server Error
  24908. schema:
  24909. $ref: '#/definitions/app.Response'
  24910. security:
  24911. - ApiKeyAuth: []
  24912. summary: 查询客户资料
  24913. tags:
  24914. - 大连千海金(PCWeb)
  24915. /QhjMgr/QueryPickGoods:
  24916. get:
  24917. parameters:
  24918. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  24919. in: query
  24920. name: status
  24921. type: string
  24922. produces:
  24923. - application/json
  24924. responses:
  24925. "200":
  24926. description: OK
  24927. schema:
  24928. items:
  24929. $ref: '#/definitions/models.QhjMgrPickGoods'
  24930. type: array
  24931. "500":
  24932. description: Internal Server Error
  24933. schema:
  24934. $ref: '#/definitions/app.Response'
  24935. security:
  24936. - ApiKeyAuth: []
  24937. summary: 查询提货商品
  24938. tags:
  24939. - 大连千海金(PCWeb)
  24940. /QhjMgr/QuerySubArea:
  24941. get:
  24942. parameters:
  24943. - description: 用户ID
  24944. in: query
  24945. name: userid
  24946. required: true
  24947. type: integer
  24948. produces:
  24949. - application/json
  24950. responses:
  24951. "200":
  24952. description: OK
  24953. schema:
  24954. items:
  24955. $ref: '#/definitions/models.QhjMgrSubArea'
  24956. type: array
  24957. "500":
  24958. description: Internal Server Error
  24959. schema:
  24960. $ref: '#/definitions/app.Response'
  24961. security:
  24962. - ApiKeyAuth: []
  24963. summary: 查询子机构列表
  24964. tags:
  24965. - 大连千海金(PCWeb)
  24966. /QhjMgr/QueryTradeDetail:
  24967. get:
  24968. parameters:
  24969. - description: 用户ID
  24970. in: query
  24971. name: userid
  24972. required: true
  24973. type: integer
  24974. - description: 用户类型 1-个人 2-企业
  24975. in: query
  24976. name: userinfotype
  24977. type: integer
  24978. - description: 交易模式
  24979. in: query
  24980. name: trademode
  24981. type: integer
  24982. - description: 商品id
  24983. in: query
  24984. name: goodsid
  24985. type: integer
  24986. - description: 名称(模糊搜索账户)
  24987. in: query
  24988. name: filtername
  24989. type: string
  24990. - description: 开始交易日(yyyymmdd)
  24991. in: query
  24992. name: begindate
  24993. type: string
  24994. - description: 结束交易日(yyyymmdd)
  24995. in: query
  24996. name: enddate
  24997. type: string
  24998. - description: 是否包含子级 1-包含
  24999. in: query
  25000. name: includesub
  25001. type: integer
  25002. produces:
  25003. - application/json
  25004. responses:
  25005. "200":
  25006. description: OK
  25007. schema:
  25008. items:
  25009. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  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. - 大连千海金(PCWeb)
  25020. /QhjMgr/QueryTradeOrderDetail:
  25021. get:
  25022. parameters:
  25023. - description: 用户ID
  25024. in: query
  25025. name: userid
  25026. required: true
  25027. type: integer
  25028. - description: 用户类型 1-个人 2-企业
  25029. in: query
  25030. name: userinfotype
  25031. type: integer
  25032. - description: 交易模式
  25033. in: query
  25034. name: trademode
  25035. type: integer
  25036. - description: 商品id
  25037. in: query
  25038. name: goodsid
  25039. type: integer
  25040. - description: 名称(模糊搜索账户)
  25041. in: query
  25042. name: filtername
  25043. type: string
  25044. - description: 开始交易日(yyyymmdd)
  25045. in: query
  25046. name: begindate
  25047. type: string
  25048. - description: 结束交易日(yyyymmdd)
  25049. in: query
  25050. name: enddate
  25051. type: string
  25052. - description: 是否包含子级 1-包含
  25053. in: query
  25054. name: includesub
  25055. type: integer
  25056. produces:
  25057. - application/json
  25058. responses:
  25059. "200":
  25060. description: OK
  25061. schema:
  25062. items:
  25063. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  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. - 大连千海金(PCWeb)
  25074. /QhjMgr/QueryTradePayOrder:
  25075. get:
  25076. parameters:
  25077. - description: 用户ID
  25078. in: query
  25079. name: userid
  25080. required: true
  25081. type: integer
  25082. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  25083. in: query
  25084. name: payflag
  25085. type: string
  25086. - description: 用户类型 1-个人 2-企业
  25087. in: query
  25088. name: userinfotype
  25089. type: integer
  25090. - description: 交易模式
  25091. in: query
  25092. name: trademode
  25093. type: integer
  25094. - description: 商品id
  25095. in: query
  25096. name: goodsid
  25097. type: integer
  25098. - description: 名称(模糊搜索账户)
  25099. in: query
  25100. name: filtername
  25101. type: string
  25102. - description: 开始交易日(yyyymmdd)
  25103. in: query
  25104. name: begindate
  25105. type: string
  25106. - description: 结束交易日(yyyymmdd)
  25107. in: query
  25108. name: enddate
  25109. type: string
  25110. - description: 是否包含子级 1-包含
  25111. in: query
  25112. name: includesub
  25113. type: integer
  25114. produces:
  25115. - application/json
  25116. responses:
  25117. "200":
  25118. description: OK
  25119. schema:
  25120. items:
  25121. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  25122. type: array
  25123. "500":
  25124. description: Internal Server Error
  25125. schema:
  25126. $ref: '#/definitions/app.Response'
  25127. security:
  25128. - ApiKeyAuth: []
  25129. summary: 查询待付款单
  25130. tags:
  25131. - 大连千海金(PCWeb)
  25132. /QhjMgr/QueryTradePosition:
  25133. get:
  25134. parameters:
  25135. - description: 用户ID
  25136. in: query
  25137. name: userid
  25138. required: true
  25139. type: integer
  25140. - description: 用户类型 1-个人 2-企业
  25141. in: query
  25142. name: userinfotype
  25143. type: integer
  25144. - description: 交易模式
  25145. in: query
  25146. name: trademode
  25147. type: integer
  25148. - description: 商品id
  25149. in: query
  25150. name: goodsid
  25151. type: integer
  25152. - description: 名称(模糊搜索账户)
  25153. in: query
  25154. name: filtername
  25155. type: string
  25156. - description: 是否包含子级 1-包含
  25157. in: query
  25158. name: includesub
  25159. type: integer
  25160. produces:
  25161. - application/json
  25162. responses:
  25163. "200":
  25164. description: OK
  25165. schema:
  25166. items:
  25167. $ref: '#/definitions/models.QhjMgrPositionRsp'
  25168. type: array
  25169. "500":
  25170. description: Internal Server Error
  25171. schema:
  25172. $ref: '#/definitions/app.Response'
  25173. security:
  25174. - ApiKeyAuth: []
  25175. summary: 查询持仓汇总
  25176. tags:
  25177. - 大连千海金(PCWeb)
  25178. /QhjSys/QueryAgreementChangeLog:
  25179. get:
  25180. parameters:
  25181. - description: 协议ID
  25182. in: query
  25183. name: agreementid
  25184. type: integer
  25185. - description: 协议版本号
  25186. in: query
  25187. name: agreementversion
  25188. type: integer
  25189. - description: 协议类型 - 1:注册 2:登录 3:交易
  25190. in: query
  25191. name: agreementtype
  25192. type: integer
  25193. - description: 协议编号(模糊匹配)
  25194. in: query
  25195. name: agreementno
  25196. type: string
  25197. - description: 协议名称(模糊匹配)
  25198. in: query
  25199. name: agreementname
  25200. type: string
  25201. produces:
  25202. - application/json
  25203. responses:
  25204. "200":
  25205. description: OK
  25206. schema:
  25207. items:
  25208. $ref: '#/definitions/models.QhjAgreementChangeLog'
  25209. type: array
  25210. "500":
  25211. description: Internal Server Error
  25212. schema:
  25213. $ref: '#/definitions/app.Response'
  25214. security:
  25215. - ApiKeyAuth: []
  25216. summary: 查询协议配置变更流水
  25217. tags:
  25218. - 大连千海金(协议和签约信息)
  25219. /QhjSys/QueryAgreementConfig:
  25220. get:
  25221. parameters:
  25222. - description: 协议ID
  25223. in: query
  25224. name: agreementid
  25225. type: integer
  25226. - description: 协议版本号
  25227. in: query
  25228. name: agreementversion
  25229. type: integer
  25230. - description: 协议类型 - 1:注册 2:登录 3:交易
  25231. in: query
  25232. name: agreementtype
  25233. type: integer
  25234. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  25235. in: query
  25236. name: isvalid
  25237. type: integer
  25238. - description: 协议编号(模糊匹配)
  25239. in: query
  25240. name: agreementno
  25241. type: string
  25242. - description: 协议名称(模糊匹配)
  25243. in: query
  25244. name: agreementname
  25245. type: string
  25246. produces:
  25247. - application/json
  25248. responses:
  25249. "200":
  25250. description: OK
  25251. schema:
  25252. items:
  25253. $ref: '#/definitions/models.QhjAgreementConfig'
  25254. type: array
  25255. "500":
  25256. description: Internal Server Error
  25257. schema:
  25258. $ref: '#/definitions/app.Response'
  25259. security:
  25260. - ApiKeyAuth: []
  25261. summary: 查询协议配置
  25262. tags:
  25263. - 大连千海金(协议和签约信息)
  25264. /QhjSys/QueryCustomerSignStatus:
  25265. get:
  25266. parameters:
  25267. - description: 客户ID
  25268. in: query
  25269. name: userid
  25270. type: integer
  25271. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  25272. in: query
  25273. name: nodetype
  25274. type: integer
  25275. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25276. in: query
  25277. name: goodsid
  25278. type: integer
  25279. - description: 创建交易日(yyyyMMdd)
  25280. in: query
  25281. name: tradedate
  25282. type: string
  25283. - description: 用户名称(模糊匹配)
  25284. in: query
  25285. name: username
  25286. type: string
  25287. produces:
  25288. - application/json
  25289. responses:
  25290. "200":
  25291. description: OK
  25292. schema:
  25293. items:
  25294. $ref: '#/definitions/models.QhjCustomerSignStatus'
  25295. type: array
  25296. "500":
  25297. description: Internal Server Error
  25298. schema:
  25299. $ref: '#/definitions/app.Response'
  25300. security:
  25301. - ApiKeyAuth: []
  25302. summary: 查询客户协议签约状态
  25303. tags:
  25304. - 大连千海金(协议和签约信息)
  25305. /QhjSys/QueryNodeAgreementConfig:
  25306. get:
  25307. parameters:
  25308. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  25309. in: query
  25310. name: configid
  25311. type: integer
  25312. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25313. in: query
  25314. name: nodetype
  25315. type: integer
  25316. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25317. in: query
  25318. name: goodsid
  25319. type: integer
  25320. - description: 协议ID
  25321. in: query
  25322. name: agreementid
  25323. type: integer
  25324. - description: 协议类型 - 1:注册 2:登录 3:交易
  25325. in: query
  25326. name: agreementtype
  25327. type: integer
  25328. - description: 协议版本号
  25329. in: query
  25330. name: agreementversion
  25331. type: integer
  25332. - description: 协议编号(模糊匹配)
  25333. in: query
  25334. name: agreementno
  25335. type: string
  25336. - description: 协议名称(模糊匹配)
  25337. in: query
  25338. name: agreementname
  25339. type: string
  25340. produces:
  25341. - application/json
  25342. responses:
  25343. "200":
  25344. description: OK
  25345. schema:
  25346. items:
  25347. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  25348. type: array
  25349. "500":
  25350. description: Internal Server Error
  25351. schema:
  25352. $ref: '#/definitions/app.Response'
  25353. security:
  25354. - ApiKeyAuth: []
  25355. summary: 查询协议节点配置
  25356. tags:
  25357. - 大连千海金(协议和签约信息)
  25358. /QhjSys/QueryQhjCustomerSignLog:
  25359. get:
  25360. parameters:
  25361. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  25362. in: query
  25363. name: logid
  25364. type: integer
  25365. - description: 客户ID
  25366. in: query
  25367. name: userid
  25368. type: integer
  25369. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25370. in: query
  25371. name: nodetype
  25372. type: integer
  25373. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25374. in: query
  25375. name: goodsid
  25376. type: integer
  25377. - description: 协议ID
  25378. in: query
  25379. name: agreementid
  25380. type: integer
  25381. - description: 用户名称(模糊匹配)
  25382. in: query
  25383. name: username
  25384. type: string
  25385. - description: 协议编号(模糊匹配)
  25386. in: query
  25387. name: agreementno
  25388. type: string
  25389. - description: 协议名称(模糊匹配)
  25390. in: query
  25391. name: agreementname
  25392. type: string
  25393. produces:
  25394. - application/json
  25395. responses:
  25396. "200":
  25397. description: OK
  25398. schema:
  25399. items:
  25400. $ref: '#/definitions/models.QhjCustomerSignLog'
  25401. type: array
  25402. "500":
  25403. description: Internal Server Error
  25404. schema:
  25405. $ref: '#/definitions/app.Response'
  25406. security:
  25407. - ApiKeyAuth: []
  25408. summary: 查询客户协议签约流水
  25409. tags:
  25410. - 大连千海金(协议和签约信息)
  25411. /QhjSys/QueryUserNodeCfgAndStatus:
  25412. get:
  25413. parameters:
  25414. - description: 客户ID
  25415. in: query
  25416. name: userid
  25417. type: integer
  25418. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  25419. in: query
  25420. name: configid
  25421. type: integer
  25422. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25423. in: query
  25424. name: nodetype
  25425. type: string
  25426. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25427. in: query
  25428. name: goodsid
  25429. type: integer
  25430. - description: 协议ID
  25431. in: query
  25432. name: agreementid
  25433. type: integer
  25434. - description: 协议类型 - 1:注册 2:登录 3:交易
  25435. in: query
  25436. name: agreementtype
  25437. type: integer
  25438. - description: 协议版本号
  25439. in: query
  25440. name: agreementversion
  25441. type: integer
  25442. - description: 协议编号(模糊匹配)
  25443. in: query
  25444. name: agreementno
  25445. type: string
  25446. - description: 协议名称(模糊匹配)
  25447. in: query
  25448. name: agreementname
  25449. type: string
  25450. produces:
  25451. - application/json
  25452. responses:
  25453. "200":
  25454. description: OK
  25455. schema:
  25456. items:
  25457. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  25458. type: array
  25459. "500":
  25460. description: Internal Server Error
  25461. schema:
  25462. $ref: '#/definitions/app.Response'
  25463. security:
  25464. - ApiKeyAuth: []
  25465. summary: 查询用户协议节点配置和状态
  25466. tags:
  25467. - 大连千海金(协议和签约信息)
  25468. /Quote/QueryHistoryDatas:
  25469. get:
  25470. parameters:
  25471. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线'
  25472. in: query
  25473. name: cycleType
  25474. required: true
  25475. type: integer
  25476. - description: 商品代码
  25477. in: query
  25478. name: goodsCode
  25479. required: true
  25480. type: string
  25481. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  25482. in: query
  25483. name: startTime
  25484. type: string
  25485. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  25486. in: query
  25487. name: endTime
  25488. type: string
  25489. - description: 条数
  25490. in: query
  25491. name: count
  25492. type: integer
  25493. - description: 是否按时间顺序排序(默认为时间倒序排序)
  25494. in: query
  25495. name: isAsc
  25496. type: boolean
  25497. produces:
  25498. - application/json
  25499. responses:
  25500. "200":
  25501. description: OK
  25502. schema:
  25503. $ref: '#/definitions/quote.HistoryData'
  25504. "500":
  25505. description: Internal Server Error
  25506. schema:
  25507. $ref: '#/definitions/app.Response'
  25508. security:
  25509. - ApiKeyAuth: []
  25510. summary: 查询行情历史数据
  25511. tags:
  25512. - 行情服务
  25513. /Quote/QueryHistoryTikDatas:
  25514. get:
  25515. parameters:
  25516. - description: 商品代码
  25517. in: query
  25518. name: goodsCode
  25519. required: true
  25520. type: string
  25521. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  25522. in: query
  25523. name: startTime
  25524. type: string
  25525. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  25526. in: query
  25527. name: endTime
  25528. type: string
  25529. - description: 条数
  25530. in: query
  25531. name: count
  25532. type: integer
  25533. - description: 是否按时间顺序排序(默认为时间倒序排序)
  25534. in: query
  25535. name: isAsc
  25536. type: boolean
  25537. produces:
  25538. - application/json
  25539. responses:
  25540. "200":
  25541. description: OK
  25542. schema:
  25543. $ref: '#/definitions/quote.HistoryTikData'
  25544. "500":
  25545. description: Internal Server Error
  25546. schema:
  25547. $ref: '#/definitions/app.Response'
  25548. security:
  25549. - ApiKeyAuth: []
  25550. summary: 查询行情Tik数据
  25551. tags:
  25552. - 行情服务
  25553. /Quote/QueryQuoteDay:
  25554. get:
  25555. parameters:
  25556. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  25557. in: query
  25558. name: goodsCodes
  25559. required: true
  25560. type: string
  25561. produces:
  25562. - application/json
  25563. responses:
  25564. "200":
  25565. description: OK
  25566. schema:
  25567. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  25568. "500":
  25569. description: Internal Server Error
  25570. schema:
  25571. $ref: '#/definitions/app.Response'
  25572. security:
  25573. - ApiKeyAuth: []
  25574. summary: 获取商品盘面信息
  25575. tags:
  25576. - 行情服务
  25577. /Quote/QueryTSData:
  25578. get:
  25579. parameters:
  25580. - description: 商品代码
  25581. in: query
  25582. name: goodsCode
  25583. required: true
  25584. type: string
  25585. produces:
  25586. - application/json
  25587. responses:
  25588. "200":
  25589. description: OK
  25590. schema:
  25591. $ref: '#/definitions/quote.QueryTSDataRsp'
  25592. "500":
  25593. description: Internal Server Error
  25594. schema:
  25595. $ref: '#/definitions/app.Response'
  25596. security:
  25597. - ApiKeyAuth: []
  25598. summary: 分时图数据查询
  25599. tags:
  25600. - 行情服务
  25601. /SZDZ/QueryConvertConfig:
  25602. get:
  25603. parameters:
  25604. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)
  25605. in: query
  25606. name: convertType
  25607. type: integer
  25608. - description: 外部商品代码[JD\PD]
  25609. in: query
  25610. name: outerGoodsCode
  25611. type: string
  25612. - description: 内部商品ID列表[交易],格式:1,2,3
  25613. in: query
  25614. name: innerGoodsIDs
  25615. type: string
  25616. produces:
  25617. - application/json
  25618. responses:
  25619. "200":
  25620. description: OK
  25621. schema:
  25622. $ref: '#/definitions/models.Szdz3convertconfig'
  25623. "500":
  25624. description: Internal Server Error
  25625. schema:
  25626. $ref: '#/definitions/app.Response'
  25627. security:
  25628. - ApiKeyAuth: []
  25629. summary: 查询交易系统转换设置
  25630. tags:
  25631. - 定制【尚志大宗】
  25632. /SZDZ/QueryConvertLog:
  25633. get:
  25634. parameters:
  25635. - description: 资金账户 - 格式:1,2,3
  25636. in: query
  25637. name: accountID
  25638. required: true
  25639. type: string
  25640. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  25641. in: query
  25642. name: startDate
  25643. type: string
  25644. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  25645. in: query
  25646. name: endDate
  25647. type: string
  25648. produces:
  25649. - application/json
  25650. responses:
  25651. "200":
  25652. description: OK
  25653. schema:
  25654. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  25655. "500":
  25656. description: Internal Server Error
  25657. schema:
  25658. $ref: '#/definitions/app.Response'
  25659. security:
  25660. - ApiKeyAuth: []
  25661. summary: 交易系统转换流水查询
  25662. tags:
  25663. - 定制【尚志大宗】
  25664. /SZDZ/QueryGoodsPickup:
  25665. get:
  25666. parameters:
  25667. - description: 资金账户 - 格式:1,2,3
  25668. in: query
  25669. name: accountID
  25670. required: true
  25671. type: string
  25672. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  25673. in: query
  25674. name: takeOrderStatus
  25675. type: integer
  25676. produces:
  25677. - application/json
  25678. responses:
  25679. "200":
  25680. description: OK
  25681. schema:
  25682. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  25683. "500":
  25684. description: Internal Server Error
  25685. schema:
  25686. $ref: '#/definitions/app.Response'
  25687. security:
  25688. - ApiKeyAuth: []
  25689. summary: 商品提货单查询
  25690. tags:
  25691. - 定制【尚志大宗】
  25692. /SZDZ/QueryRecieptOrder:
  25693. get:
  25694. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  25695. parameters:
  25696. - description: 页码
  25697. in: query
  25698. name: page
  25699. type: integer
  25700. - description: 每页条数
  25701. in: query
  25702. name: pagesize
  25703. type: integer
  25704. - description: 商品ID
  25705. in: query
  25706. name: goodsID
  25707. required: true
  25708. type: integer
  25709. - description: 所属账户名称
  25710. in: query
  25711. name: accountName
  25712. type: string
  25713. - description: 市场ID
  25714. in: query
  25715. name: marketID
  25716. type: integer
  25717. - description: 方向 - 0:买 1:卖
  25718. in: query
  25719. name: buyorsell
  25720. required: true
  25721. type: integer
  25722. produces:
  25723. - application/json
  25724. responses:
  25725. "200":
  25726. description: OK
  25727. schema:
  25728. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  25729. "500":
  25730. description: Internal Server Error
  25731. schema:
  25732. $ref: '#/definitions/app.Response'
  25733. security:
  25734. - ApiKeyAuth: []
  25735. summary: 点选挂牌委托单据查询(摘牌大厅)
  25736. tags:
  25737. - 定制【尚志大宗】
  25738. /SZDZ/QuerySZDZTradePosition:
  25739. get:
  25740. parameters:
  25741. - description: 资金账户
  25742. in: query
  25743. name: accountID
  25744. required: true
  25745. type: integer
  25746. produces:
  25747. - application/json
  25748. responses:
  25749. "200":
  25750. description: OK
  25751. schema:
  25752. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  25753. "500":
  25754. description: Internal Server Error
  25755. schema:
  25756. $ref: '#/definitions/app.Response'
  25757. security:
  25758. - ApiKeyAuth: []
  25759. summary: 持仓汇总查询(尚志大宗)
  25760. tags:
  25761. - 定制【尚志大宗】
  25762. /SZDZ/SearchWhite:
  25763. get:
  25764. parameters:
  25765. - description: 用户ID
  25766. in: query
  25767. name: userID
  25768. required: true
  25769. type: integer
  25770. produces:
  25771. - application/json
  25772. responses:
  25773. "200":
  25774. description: OK
  25775. schema:
  25776. $ref: '#/definitions/models.Szdz3searchwhitelist'
  25777. "500":
  25778. description: Internal Server Error
  25779. schema:
  25780. $ref: '#/definitions/app.Response'
  25781. security:
  25782. - ApiKeyAuth: []
  25783. summary: 搜索白名单
  25784. tags:
  25785. - 定制【尚志大宗】
  25786. /Search/SearchGoodses:
  25787. get:
  25788. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  25789. parameters:
  25790. - description: 检索内容
  25791. in: query
  25792. name: content
  25793. required: true
  25794. type: string
  25795. - description: 交易模式,格式:1,2,3
  25796. in: query
  25797. name: tradeModes
  25798. type: string
  25799. produces:
  25800. - application/json
  25801. responses:
  25802. "200":
  25803. description: OK
  25804. schema:
  25805. $ref: '#/definitions/models.SearchGoods'
  25806. "500":
  25807. description: Internal Server Error
  25808. schema:
  25809. $ref: '#/definitions/app.Response'
  25810. summary: 检索商品信息
  25811. tags:
  25812. - 检索服务
  25813. /TaAccount/GetTaAccounts:
  25814. get:
  25815. parameters:
  25816. - description: 登录账户
  25817. in: query
  25818. name: loginID
  25819. required: true
  25820. type: integer
  25821. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  25822. in: query
  25823. name: taAccountType
  25824. type: integer
  25825. produces:
  25826. - application/json
  25827. responses:
  25828. "200":
  25829. description: OK
  25830. schema:
  25831. $ref: '#/definitions/models.Taaccount'
  25832. "500":
  25833. description: Internal Server Error
  25834. schema:
  25835. $ref: '#/definitions/app.Response'
  25836. security:
  25837. - ApiKeyAuth: []
  25838. summary: 获取资金账户信息
  25839. tags:
  25840. - 资金账户
  25841. /TaAccount/QueryAmountLog:
  25842. get:
  25843. parameters:
  25844. - description: 页码
  25845. in: query
  25846. name: page
  25847. type: integer
  25848. - description: 每页条数
  25849. in: query
  25850. name: pagesize
  25851. type: integer
  25852. - description: 资金账户 - 格式:1,2,3
  25853. in: query
  25854. name: accountID
  25855. required: true
  25856. type: string
  25857. - description: 资金操作类型 - 格式:1,2,3
  25858. in: query
  25859. name: OperateType
  25860. type: string
  25861. produces:
  25862. - application/json
  25863. responses:
  25864. "200":
  25865. description: OK
  25866. schema:
  25867. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  25868. "500":
  25869. description: Internal Server Error
  25870. schema:
  25871. $ref: '#/definitions/app.Response'
  25872. security:
  25873. - ApiKeyAuth: []
  25874. summary: 资金流水查询(当前)
  25875. tags:
  25876. - 资金账户
  25877. /TaAccount/QueryHisAmountLog:
  25878. get:
  25879. parameters:
  25880. - description: 页码
  25881. in: query
  25882. name: page
  25883. type: integer
  25884. - description: 每页条数
  25885. in: query
  25886. name: pagesize
  25887. type: integer
  25888. - description: 资金账户 - 格式:1,2,3
  25889. in: query
  25890. name: accountID
  25891. required: true
  25892. type: string
  25893. - description: 资金操作类型 - 格式:1,2,3
  25894. in: query
  25895. name: OperateType
  25896. type: string
  25897. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  25898. in: query
  25899. name: startDate
  25900. type: string
  25901. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  25902. in: query
  25903. name: endDate
  25904. type: string
  25905. produces:
  25906. - application/json
  25907. responses:
  25908. "200":
  25909. description: OK
  25910. schema:
  25911. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  25912. "500":
  25913. description: Internal Server Error
  25914. schema:
  25915. $ref: '#/definitions/app.Response'
  25916. security:
  25917. - ApiKeyAuth: []
  25918. summary: 资金流水查询(历史)
  25919. tags:
  25920. - 资金账户
  25921. /Tjmd/QueryQuoteGoodsList:
  25922. get:
  25923. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  25924. parameters:
  25925. - description: 用户类型
  25926. in: query
  25927. name: usertype
  25928. required: true
  25929. type: integer
  25930. - description: 市场id, 格式 1,2,3
  25931. in: query
  25932. name: marketids
  25933. type: string
  25934. - description: 商品组id
  25935. in: query
  25936. name: goodsgroupid
  25937. type: integer
  25938. - description: 商品id
  25939. in: query
  25940. name: goodsid
  25941. type: integer
  25942. produces:
  25943. - application/json
  25944. responses:
  25945. "200":
  25946. description: OK
  25947. schema:
  25948. items:
  25949. $ref: '#/definitions/models.TjmdQuoteGoods'
  25950. type: array
  25951. "500":
  25952. description: Internal Server Error
  25953. schema:
  25954. $ref: '#/definitions/app.Response'
  25955. security:
  25956. - ApiKeyAuth: []
  25957. summary: 查询掉期报价列表
  25958. tags:
  25959. - 天津麦顿
  25960. /Tjmd/QueryTjmdTodayAccountMargin:
  25961. get:
  25962. parameters:
  25963. - description: 市场id
  25964. in: query
  25965. name: marketid
  25966. type: string
  25967. - description: 商品id
  25968. in: query
  25969. name: goodsid
  25970. type: string
  25971. - description: 资金账号
  25972. in: query
  25973. name: accountid
  25974. type: string
  25975. produces:
  25976. - application/json
  25977. responses:
  25978. "200":
  25979. description: OK
  25980. schema:
  25981. items:
  25982. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  25983. type: array
  25984. "500":
  25985. description: Internal Server Error
  25986. schema:
  25987. $ref: '#/definitions/app.Response'
  25988. security:
  25989. - ApiKeyAuth: []
  25990. summary: 查询今日账户保证金配置
  25991. tags:
  25992. - 天津麦顿
  25993. /Tjmd/QueryTjmdTradeOrderDetail:
  25994. get:
  25995. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  25996. parameters:
  25997. - description: 页码
  25998. in: query
  25999. name: page
  26000. type: integer
  26001. - description: 每页条数
  26002. in: query
  26003. name: pagesize
  26004. type: integer
  26005. - description: 用户id
  26006. in: query
  26007. name: userid
  26008. required: true
  26009. type: integer
  26010. - description: 用户类型
  26011. in: query
  26012. name: usertype
  26013. required: true
  26014. type: integer
  26015. - description: 市场id, 格式 1,2,3
  26016. in: query
  26017. name: marketids
  26018. type: string
  26019. - description: 商品id
  26020. in: query
  26021. name: goodsid
  26022. required: true
  26023. type: integer
  26024. - description: 买卖方向 0-买 1-卖
  26025. in: query
  26026. name: buyorsell
  26027. required: true
  26028. type: integer
  26029. produces:
  26030. - application/json
  26031. responses:
  26032. "200":
  26033. description: OK
  26034. schema:
  26035. items:
  26036. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  26037. type: array
  26038. "500":
  26039. description: Internal Server Error
  26040. schema:
  26041. $ref: '#/definitions/app.Response'
  26042. security:
  26043. - ApiKeyAuth: []
  26044. summary: 查询掉期买卖大厅
  26045. tags:
  26046. - 天津麦顿
  26047. /Tjmd/QueryTjmdTransferApply:
  26048. get:
  26049. parameters:
  26050. - description: 类型 1-我的申请 2-对方申请
  26051. in: query
  26052. name: applytype
  26053. required: true
  26054. type: integer
  26055. - description: 市场id, 格式 1,2,3
  26056. in: query
  26057. name: marketids
  26058. type: string
  26059. - description: 资金账号, 格式 25000000001,25000000003
  26060. in: query
  26061. name: accountids
  26062. type: string
  26063. produces:
  26064. - application/json
  26065. responses:
  26066. "200":
  26067. description: OK
  26068. schema:
  26069. items:
  26070. $ref: '#/definitions/models.TjmdTransferApply'
  26071. type: array
  26072. "500":
  26073. description: Internal Server Error
  26074. schema:
  26075. $ref: '#/definitions/app.Response'
  26076. security:
  26077. - ApiKeyAuth: []
  26078. summary: 查询掉期协议单
  26079. tags:
  26080. - 天津麦顿
  26081. /Trade/QueryRecieptOrder:
  26082. get:
  26083. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  26084. parameters:
  26085. - description: 页码
  26086. in: query
  26087. name: page
  26088. type: integer
  26089. - description: 每页条数
  26090. in: query
  26091. name: pagesize
  26092. type: integer
  26093. - description: 商品ID
  26094. in: query
  26095. name: goodsID
  26096. required: true
  26097. type: integer
  26098. - description: 所属账户名称
  26099. in: query
  26100. name: accountName
  26101. type: string
  26102. - description: 市场ID
  26103. in: query
  26104. name: marketID
  26105. type: integer
  26106. - description: 方向 - 0:买 1:卖
  26107. in: query
  26108. name: buyorsell
  26109. required: true
  26110. type: integer
  26111. produces:
  26112. - application/json
  26113. responses:
  26114. "200":
  26115. description: OK
  26116. schema:
  26117. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  26118. "500":
  26119. description: Internal Server Error
  26120. schema:
  26121. $ref: '#/definitions/app.Response'
  26122. security:
  26123. - ApiKeyAuth: []
  26124. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  26125. tags:
  26126. - 通用交易
  26127. /User/AddMessageBoard:
  26128. post:
  26129. parameters:
  26130. - description: 用户ID
  26131. in: query
  26132. name: userID
  26133. required: true
  26134. type: integer
  26135. - description: 留言信息
  26136. in: query
  26137. name: message
  26138. required: true
  26139. type: string
  26140. - description: 联系电话
  26141. in: query
  26142. name: contactNum
  26143. required: true
  26144. type: string
  26145. produces:
  26146. - application/json
  26147. responses:
  26148. "200":
  26149. description: OK
  26150. schema:
  26151. $ref: '#/definitions/app.Response'
  26152. "500":
  26153. description: Internal Server Error
  26154. schema:
  26155. $ref: '#/definitions/app.Response'
  26156. security:
  26157. - ApiKeyAuth: []
  26158. summary: 添加用户留言板信息
  26159. tags:
  26160. - 用户信息
  26161. /User/AddUserFavoriteGoods:
  26162. post:
  26163. parameters:
  26164. - description: 用户ID
  26165. in: query
  26166. name: userID
  26167. required: true
  26168. type: integer
  26169. - description: 商品ID
  26170. in: query
  26171. name: goodsID
  26172. required: true
  26173. type: integer
  26174. produces:
  26175. - application/json
  26176. responses:
  26177. "200":
  26178. description: OK
  26179. schema:
  26180. $ref: '#/definitions/app.Response'
  26181. "500":
  26182. description: Internal Server Error
  26183. schema:
  26184. $ref: '#/definitions/app.Response'
  26185. security:
  26186. - ApiKeyAuth: []
  26187. summary: 添加用户商品收藏信息
  26188. tags:
  26189. - 用户信息
  26190. /User/GetLoginID:
  26191. get:
  26192. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  26193. parameters:
  26194. - description: 登录代码
  26195. in: query
  26196. name: username
  26197. required: true
  26198. type: string
  26199. produces:
  26200. - application/json
  26201. responses:
  26202. "200":
  26203. description: OK
  26204. schema:
  26205. $ref: '#/definitions/app.Response'
  26206. "500":
  26207. description: Internal Server Error
  26208. schema:
  26209. $ref: '#/definitions/app.Response'
  26210. summary: 获取登录ID
  26211. tags:
  26212. - 用户信息
  26213. /User/GetUserAccount:
  26214. get:
  26215. parameters:
  26216. - description: 用户ID
  26217. in: query
  26218. name: userID
  26219. required: true
  26220. type: integer
  26221. produces:
  26222. - application/json
  26223. responses:
  26224. "200":
  26225. description: OK
  26226. schema:
  26227. $ref: '#/definitions/models.Useraccount'
  26228. "500":
  26229. description: Internal Server Error
  26230. schema:
  26231. $ref: '#/definitions/app.Response'
  26232. security:
  26233. - ApiKeyAuth: []
  26234. summary: 获取用户账号信息
  26235. tags:
  26236. - 用户信息
  26237. /User/GetUserAuthStatus:
  26238. get:
  26239. parameters:
  26240. - description: 用户ID
  26241. in: query
  26242. name: userID
  26243. required: true
  26244. type: integer
  26245. produces:
  26246. - application/json
  26247. responses:
  26248. "200":
  26249. description: OK
  26250. schema:
  26251. $ref: '#/definitions/app.Response'
  26252. "500":
  26253. description: Internal Server Error
  26254. schema:
  26255. $ref: '#/definitions/app.Response'
  26256. security:
  26257. - ApiKeyAuth: []
  26258. summary: 获取用户实名认证状态
  26259. tags:
  26260. - 用户信息
  26261. /User/LoginQuery:
  26262. get:
  26263. parameters:
  26264. - description: 登录账号
  26265. in: query
  26266. name: loginID
  26267. required: true
  26268. type: integer
  26269. produces:
  26270. - application/json
  26271. responses:
  26272. "200":
  26273. description: OK
  26274. schema:
  26275. $ref: '#/definitions/user.LoginQueryRsp'
  26276. "500":
  26277. description: Internal Server Error
  26278. schema:
  26279. $ref: '#/definitions/app.Response'
  26280. security:
  26281. - ApiKeyAuth: []
  26282. summary: 账户登录后信息查询
  26283. tags:
  26284. - 用户信息
  26285. /User/QueryMessageBoard:
  26286. get:
  26287. parameters:
  26288. - description: 用户ID
  26289. in: query
  26290. name: userID
  26291. required: true
  26292. type: integer
  26293. produces:
  26294. - application/json
  26295. responses:
  26296. "200":
  26297. description: OK
  26298. schema:
  26299. $ref: '#/definitions/models.Messageboard'
  26300. "500":
  26301. description: Internal Server Error
  26302. schema:
  26303. $ref: '#/definitions/app.Response'
  26304. security:
  26305. - ApiKeyAuth: []
  26306. summary: 获取用户留言板信息
  26307. tags:
  26308. - 用户信息
  26309. /User/QueryUserFavoriteGoodses:
  26310. get:
  26311. parameters:
  26312. - description: 用户ID
  26313. in: query
  26314. name: userID
  26315. required: true
  26316. type: integer
  26317. produces:
  26318. - application/json
  26319. responses:
  26320. "200":
  26321. description: OK
  26322. schema:
  26323. $ref: '#/definitions/models.Userfavoritegoods'
  26324. "500":
  26325. description: Internal Server Error
  26326. schema:
  26327. $ref: '#/definitions/app.Response'
  26328. security:
  26329. - ApiKeyAuth: []
  26330. summary: 获取用户商品收藏信息
  26331. tags:
  26332. - 用户信息
  26333. /User/QueryUserInfo:
  26334. get:
  26335. parameters:
  26336. - description: 用户ID
  26337. in: query
  26338. name: userID
  26339. required: true
  26340. type: integer
  26341. - description: 是否解密
  26342. in: query
  26343. name: isDecrypt
  26344. type: boolean
  26345. produces:
  26346. - application/json
  26347. responses:
  26348. "200":
  26349. description: OK
  26350. schema:
  26351. $ref: '#/definitions/models.Userinfo'
  26352. "500":
  26353. description: Internal Server Error
  26354. schema:
  26355. $ref: '#/definitions/app.Response'
  26356. security:
  26357. - ApiKeyAuth: []
  26358. summary: 获取用户信息
  26359. tags:
  26360. - 用户信息
  26361. /User/QueryUserReferNum:
  26362. get:
  26363. parameters:
  26364. - description: 用户ID
  26365. in: query
  26366. name: userID
  26367. required: true
  26368. type: integer
  26369. produces:
  26370. - application/json
  26371. responses:
  26372. "200":
  26373. description: OK
  26374. schema:
  26375. $ref: '#/definitions/app.Response'
  26376. "500":
  26377. description: Internal Server Error
  26378. schema:
  26379. $ref: '#/definitions/app.Response'
  26380. summary: 获取用户邀请码
  26381. tags:
  26382. - 用户信息
  26383. /User/RemoveUserFavoriteGoods:
  26384. post:
  26385. parameters:
  26386. - description: 用户ID
  26387. in: query
  26388. name: userID
  26389. required: true
  26390. type: integer
  26391. - description: 商品ID
  26392. in: query
  26393. name: goodsID
  26394. required: true
  26395. type: integer
  26396. produces:
  26397. - application/json
  26398. responses:
  26399. "200":
  26400. description: OK
  26401. schema:
  26402. $ref: '#/definitions/app.Response'
  26403. "500":
  26404. description: Internal Server Error
  26405. schema:
  26406. $ref: '#/definitions/app.Response'
  26407. security:
  26408. - ApiKeyAuth: []
  26409. summary: 移除用户商品收藏信息
  26410. tags:
  26411. - 用户信息
  26412. /User/UpdateUserAccountStatus:
  26413. post:
  26414. parameters:
  26415. - description: 用户ID
  26416. in: query
  26417. name: userID
  26418. required: true
  26419. type: integer
  26420. - description: 账户状态 - 4:正常 6:注销(停用)
  26421. in: query
  26422. name: accountStatus
  26423. required: true
  26424. type: integer
  26425. produces:
  26426. - application/json
  26427. responses:
  26428. "200":
  26429. description: OK
  26430. schema:
  26431. $ref: '#/definitions/app.Response'
  26432. "500":
  26433. description: Internal Server Error
  26434. schema:
  26435. $ref: '#/definitions/app.Response'
  26436. security:
  26437. - ApiKeyAuth: []
  26438. summary: 更新用户状态
  26439. tags:
  26440. - 用户信息
  26441. /WRTrade/GetAllDeliveryGoods:
  26442. get:
  26443. produces:
  26444. - application/json
  26445. - application/json
  26446. responses:
  26447. "200":
  26448. description: OK
  26449. schema:
  26450. $ref: '#/definitions/app.Response'
  26451. "500":
  26452. description: Internal Server Error
  26453. schema:
  26454. $ref: '#/definitions/app.Response'
  26455. security:
  26456. - ApiKeyAuth: []
  26457. - ApiKeyAuth: []
  26458. summary: 获取带仓单分类的种类信息
  26459. tags:
  26460. - 仓单贸易
  26461. - 仓单贸易
  26462. /WrTrade2/QueryDeliveryGoodsSection:
  26463. get:
  26464. produces:
  26465. - application/json
  26466. responses:
  26467. "200":
  26468. description: OK
  26469. schema:
  26470. items:
  26471. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  26472. type: array
  26473. "500":
  26474. description: Internal Server Error
  26475. schema:
  26476. $ref: '#/definitions/app.Response'
  26477. security:
  26478. - ApiKeyAuth: []
  26479. summary: 查询板块(分类)
  26480. tags:
  26481. - 仓单贸易v2
  26482. /WrTrade2/QueryFaProductDetail:
  26483. get:
  26484. description: 页面 买卖大厅 -> 选择融资方案
  26485. parameters:
  26486. - description: 仓单要素id
  26487. in: query
  26488. name: wrfactortypeid
  26489. required: true
  26490. type: integer
  26491. produces:
  26492. - application/json
  26493. responses:
  26494. "200":
  26495. description: OK
  26496. schema:
  26497. items:
  26498. $ref: '#/definitions/models.WrFAProductDetail'
  26499. type: array
  26500. "500":
  26501. description: Internal Server Error
  26502. schema:
  26503. $ref: '#/definitions/app.Response'
  26504. security:
  26505. - ApiKeyAuth: []
  26506. summary: 查询融资产品列表
  26507. tags:
  26508. - 仓单贸易v2
  26509. /WrTrade2/QueryFilterItem:
  26510. get:
  26511. parameters:
  26512. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  26513. in: query
  26514. name: itype
  26515. required: true
  26516. type: string
  26517. produces:
  26518. - application/json
  26519. responses:
  26520. "200":
  26521. description: OK
  26522. schema:
  26523. items:
  26524. $ref: '#/definitions/models.WrFilterItem'
  26525. type: array
  26526. "500":
  26527. description: Internal Server Error
  26528. schema:
  26529. $ref: '#/definitions/app.Response'
  26530. security:
  26531. - ApiKeyAuth: []
  26532. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  26533. tags:
  26534. - 仓单贸易v2
  26535. /WrTrade2/QueryFtDeliveryGoods:
  26536. get:
  26537. produces:
  26538. - application/json
  26539. responses:
  26540. "200":
  26541. description: OK
  26542. schema:
  26543. items:
  26544. $ref: '#/definitions/models.WrFtDeliveryGoods'
  26545. type: array
  26546. "500":
  26547. description: Internal Server Error
  26548. schema:
  26549. $ref: '#/definitions/app.Response'
  26550. security:
  26551. - ApiKeyAuth: []
  26552. summary: 查询品种品类筛选框列表
  26553. tags:
  26554. - 仓单贸易v2
  26555. /WrTrade2/QueryHoldLB:
  26556. get:
  26557. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  26558. parameters:
  26559. - description: 资金账号
  26560. in: query
  26561. name: accountid
  26562. required: true
  26563. type: integer
  26564. - description: 仓库id
  26565. in: query
  26566. name: warehouseid
  26567. type: integer
  26568. - description: 品种id
  26569. in: query
  26570. name: deliverygoodsid
  26571. type: integer
  26572. - description: 品类id
  26573. in: query
  26574. name: wrstandardid
  26575. type: integer
  26576. - description: 仓单要素id
  26577. in: query
  26578. name: wrfactortypeid
  26579. type: integer
  26580. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26581. in: query
  26582. name: dgitemname
  26583. type: string
  26584. produces:
  26585. - application/json
  26586. responses:
  26587. "200":
  26588. description: OK
  26589. schema:
  26590. items:
  26591. $ref: '#/definitions/models.WrHoldLB'
  26592. type: array
  26593. "500":
  26594. description: Internal Server Error
  26595. schema:
  26596. $ref: '#/definitions/app.Response'
  26597. security:
  26598. - ApiKeyAuth: []
  26599. summary: 查询仓单持有记录
  26600. tags:
  26601. - 仓单贸易v2
  26602. /WrTrade2/QueryOrderQuote:
  26603. get:
  26604. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录
  26605. parameters:
  26606. - description: 页码
  26607. in: query
  26608. name: page
  26609. type: integer
  26610. - description: 每页条数
  26611. in: query
  26612. name: pagesize
  26613. type: integer
  26614. - description: 仓单贸易市场id
  26615. in: query
  26616. name: marketid
  26617. type: integer
  26618. - description: 价格方式 - 1:固定价 2-浮动价
  26619. in: query
  26620. name: wrpricetype
  26621. required: true
  26622. type: integer
  26623. - description: 0:仓单预售 1:仓单贸易
  26624. in: query
  26625. name: haswr
  26626. required: true
  26627. type: integer
  26628. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26629. in: query
  26630. name: dgitemname
  26631. type: string
  26632. - description: 仓库id(筛选条件)
  26633. in: query
  26634. name: warehouseid
  26635. type: integer
  26636. - description: 品种id
  26637. in: query
  26638. name: deliverygoodsid
  26639. type: integer
  26640. - description: 品类id
  26641. in: query
  26642. name: wrstandardid
  26643. type: integer
  26644. - description: 仓单要素id
  26645. in: query
  26646. name: wrfactortypeid
  26647. type: integer
  26648. - description: 交收月(yyyy-mm) 仓单预售填写
  26649. in: query
  26650. name: deliverymonth
  26651. type: string
  26652. produces:
  26653. - application/json
  26654. responses:
  26655. "200":
  26656. description: OK
  26657. schema:
  26658. items:
  26659. $ref: '#/definitions/models.WrOrderQuote'
  26660. type: array
  26661. "500":
  26662. description: Internal Server Error
  26663. schema:
  26664. $ref: '#/definitions/app.Response'
  26665. security:
  26666. - ApiKeyAuth: []
  26667. summary: 查询大厅行情列表
  26668. tags:
  26669. - 仓单贸易v2
  26670. /WrTrade2/QueryOrderQuoteDetail:
  26671. get:
  26672. parameters:
  26673. - description: 页码
  26674. in: query
  26675. name: page
  26676. type: integer
  26677. - description: 每页条数
  26678. in: query
  26679. name: pagesize
  26680. type: integer
  26681. - description: 仓单贸易市场id
  26682. in: query
  26683. name: marketid
  26684. type: integer
  26685. - description: 价格方式 - 1:固定价 2-浮动价
  26686. in: query
  26687. name: wrpricetype
  26688. required: true
  26689. type: integer
  26690. - description: 0:仓单预售 1:仓单贸易
  26691. in: query
  26692. name: haswr
  26693. required: true
  26694. type: integer
  26695. - description: 仓单要素id
  26696. in: query
  26697. name: wrfactortypeid
  26698. required: true
  26699. type: integer
  26700. - description: 期货商品id(浮动价方式时填)
  26701. in: query
  26702. name: goodsid
  26703. type: integer
  26704. - description: 买卖方向 0-买 1-卖
  26705. in: query
  26706. name: buyorsell
  26707. required: true
  26708. type: integer
  26709. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  26710. in: query
  26711. name: deliverymonth
  26712. type: string
  26713. produces:
  26714. - application/json
  26715. responses:
  26716. "200":
  26717. description: OK
  26718. schema:
  26719. items:
  26720. $ref: '#/definitions/models.WrOrderQuoteDetail'
  26721. type: array
  26722. "500":
  26723. description: Internal Server Error
  26724. schema:
  26725. $ref: '#/definitions/app.Response'
  26726. security:
  26727. - ApiKeyAuth: []
  26728. summary: 查询买卖大厅
  26729. tags:
  26730. - 仓单贸易v2
  26731. /WrTrade2/QueryOrderQuoteMyq:
  26732. get:
  26733. parameters:
  26734. - description: 页码
  26735. in: query
  26736. name: page
  26737. type: integer
  26738. - description: 每页条数
  26739. in: query
  26740. name: pagesize
  26741. type: integer
  26742. - description: 用户id
  26743. in: query
  26744. name: userid
  26745. required: true
  26746. type: integer
  26747. - description: 仓单贸易市场id
  26748. in: query
  26749. name: marketid
  26750. type: integer
  26751. - description: 0:仓单预售 1:仓单贸易
  26752. in: query
  26753. name: haswr
  26754. required: true
  26755. type: integer
  26756. - description: 买卖方向 0-买 1-卖
  26757. in: query
  26758. name: buyorsell
  26759. required: true
  26760. type: integer
  26761. - description: 品种id
  26762. in: query
  26763. name: deliverygoodsid
  26764. type: integer
  26765. - description: 品类id
  26766. in: query
  26767. name: wrstandardid
  26768. type: integer
  26769. - description: 交收月(yyyy-mm) 仓单预售填写
  26770. in: query
  26771. name: deliverymonth
  26772. type: string
  26773. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26774. in: query
  26775. name: dgitemname
  26776. type: string
  26777. produces:
  26778. - application/json
  26779. responses:
  26780. "200":
  26781. description: OK
  26782. schema:
  26783. items:
  26784. $ref: '#/definitions/models.WrQuoteOrderMyq'
  26785. type: array
  26786. "500":
  26787. description: Internal Server Error
  26788. schema:
  26789. $ref: '#/definitions/app.Response'
  26790. security:
  26791. - ApiKeyAuth: []
  26792. summary: 查询贸易圈挂牌大厅
  26793. tags:
  26794. - 仓单贸易v2
  26795. /WrTrade2/QueryPerformancePlan:
  26796. get:
  26797. parameters:
  26798. - description: 用户id
  26799. in: query
  26800. name: userid
  26801. required: true
  26802. type: integer
  26803. - description: 买卖方向 0-买 1-卖
  26804. in: query
  26805. name: buyorsell
  26806. required: true
  26807. type: integer
  26808. produces:
  26809. - application/json
  26810. responses:
  26811. "200":
  26812. description: OK
  26813. schema:
  26814. items:
  26815. $ref: '#/definitions/models.WrPerformancePlan'
  26816. type: array
  26817. "500":
  26818. description: Internal Server Error
  26819. schema:
  26820. $ref: '#/definitions/app.Response'
  26821. security:
  26822. - ApiKeyAuth: []
  26823. summary: 查询履约信息
  26824. tags:
  26825. - 仓单贸易v2
  26826. /WrTrade2/QueryPermancePlanTmp:
  26827. get:
  26828. description: 返回指定用户的模板和公共模板(用户id为空)
  26829. parameters:
  26830. - description: 用户id
  26831. in: query
  26832. name: userid
  26833. type: integer
  26834. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  26835. in: query
  26836. name: tmptype
  26837. type: string
  26838. - description: 是否包含公共模板(用户id为空的) 1-包含
  26839. in: query
  26840. name: includepub
  26841. type: integer
  26842. produces:
  26843. - application/json
  26844. responses:
  26845. "200":
  26846. description: OK
  26847. schema:
  26848. items:
  26849. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  26850. type: array
  26851. "500":
  26852. description: Internal Server Error
  26853. schema:
  26854. $ref: '#/definitions/app.Response'
  26855. security:
  26856. - ApiKeyAuth: []
  26857. summary: 查询履约模板
  26858. tags:
  26859. - 仓单贸易v2
  26860. /WrTrade2/QuerySiteColumnDetail:
  26861. get:
  26862. parameters:
  26863. - description: 页码
  26864. in: query
  26865. name: page
  26866. type: integer
  26867. - description: 每页条数
  26868. in: query
  26869. name: pagesize
  26870. type: integer
  26871. produces:
  26872. - application/json
  26873. responses:
  26874. "200":
  26875. description: OK
  26876. schema:
  26877. items:
  26878. $ref: '#/definitions/models.WrSiteColumnDetail'
  26879. type: array
  26880. "500":
  26881. description: Internal Server Error
  26882. schema:
  26883. $ref: '#/definitions/app.Response'
  26884. security:
  26885. - ApiKeyAuth: []
  26886. summary: 查询资讯
  26887. tags:
  26888. - 仓单贸易v2
  26889. /WrTrade2/QuerySpotGroupTradeSum:
  26890. get:
  26891. produces:
  26892. - application/json
  26893. responses:
  26894. "200":
  26895. description: OK
  26896. schema:
  26897. items:
  26898. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  26899. type: array
  26900. "500":
  26901. description: Internal Server Error
  26902. schema:
  26903. $ref: '#/definitions/app.Response'
  26904. security:
  26905. - ApiKeyAuth: []
  26906. summary: 查询指数
  26907. tags:
  26908. - 仓单贸易v2
  26909. /WrTrade2/QuerySpotGroupTradeSumDetail:
  26910. get:
  26911. description: 查询的结果将会按日期 从小到大 排序
  26912. parameters:
  26913. - description: 现货商品id
  26914. in: query
  26915. name: deliverygoodsid
  26916. required: true
  26917. type: integer
  26918. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  26919. in: query
  26920. name: lastnum
  26921. type: integer
  26922. produces:
  26923. - application/json
  26924. responses:
  26925. "200":
  26926. description: OK
  26927. schema:
  26928. items:
  26929. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  26930. type: array
  26931. "500":
  26932. description: Internal Server Error
  26933. schema:
  26934. $ref: '#/definitions/app.Response'
  26935. security:
  26936. - ApiKeyAuth: []
  26937. summary: 查询指数详细(价格走势图)
  26938. tags:
  26939. - 仓单贸易v2
  26940. /WrTrade2/QueryWrAverageTradePrice:
  26941. get:
  26942. parameters:
  26943. - description: 页码
  26944. in: query
  26945. name: page
  26946. type: integer
  26947. - description: 每页条数
  26948. in: query
  26949. name: pagesize
  26950. type: integer
  26951. - description: 0:仓单预售 1:仓单贸易
  26952. in: query
  26953. name: haswr
  26954. required: true
  26955. type: integer
  26956. - description: 仓单要素id
  26957. in: query
  26958. name: wrfactortypeid
  26959. required: true
  26960. type: integer
  26961. produces:
  26962. - application/json
  26963. responses:
  26964. "200":
  26965. description: OK
  26966. schema:
  26967. items:
  26968. $ref: '#/definitions/models.WrAverageTradePrice'
  26969. type: array
  26970. "500":
  26971. description: Internal Server Error
  26972. schema:
  26973. $ref: '#/definitions/app.Response'
  26974. security:
  26975. - ApiKeyAuth: []
  26976. summary: 查询成交价(历史走势)
  26977. tags:
  26978. - 仓单贸易v2
  26979. /WrTrade2/QueryWrBsGoodsInfo:
  26980. get:
  26981. description: 合约交易/买卖大厅/详情
  26982. parameters:
  26983. - description: 商品id
  26984. in: query
  26985. name: goodsid
  26986. required: true
  26987. type: integer
  26988. produces:
  26989. - application/json
  26990. responses:
  26991. "200":
  26992. description: OK
  26993. schema:
  26994. items:
  26995. $ref: '#/definitions/models.WrBsGoodsInfo'
  26996. type: array
  26997. "500":
  26998. description: Internal Server Error
  26999. schema:
  27000. $ref: '#/definitions/app.Response'
  27001. security:
  27002. - ApiKeyAuth: []
  27003. summary: 查询合约交易买卖大厅详情
  27004. tags:
  27005. - 仓单贸易v2
  27006. /WrTrade2/QueryWrBuybackDetail:
  27007. get:
  27008. parameters:
  27009. - description: 融资合同id
  27010. in: query
  27011. name: scfcontractid
  27012. type: integer
  27013. produces:
  27014. - application/json
  27015. responses:
  27016. "200":
  27017. description: OK
  27018. schema:
  27019. items:
  27020. $ref: '#/definitions/models.WrBuybackDetail'
  27021. type: array
  27022. "500":
  27023. description: Internal Server Error
  27024. schema:
  27025. $ref: '#/definitions/app.Response'
  27026. security:
  27027. - ApiKeyAuth: []
  27028. summary: 查询仓单回购明细
  27029. tags:
  27030. - 仓单贸易v2
  27031. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  27032. get:
  27033. parameters:
  27034. - description: 资金账号
  27035. in: query
  27036. name: accountid
  27037. required: true
  27038. type: integer
  27039. - description: 商品id
  27040. in: query
  27041. name: goodsid
  27042. required: true
  27043. type: integer
  27044. produces:
  27045. - application/json
  27046. responses:
  27047. "200":
  27048. description: OK
  27049. schema:
  27050. items:
  27051. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  27052. type: array
  27053. "500":
  27054. description: Internal Server Error
  27055. schema:
  27056. $ref: '#/definitions/app.Response'
  27057. security:
  27058. - ApiKeyAuth: []
  27059. summary: 查询合约交收可点选仓单
  27060. tags:
  27061. - 仓单贸易v2
  27062. /WrTrade2/QueryWrDeliveryDetail:
  27063. get:
  27064. parameters:
  27065. - description: 用户id
  27066. in: query
  27067. name: userid
  27068. required: true
  27069. type: integer
  27070. - description: 资金账号id
  27071. in: query
  27072. name: accountid
  27073. type: integer
  27074. produces:
  27075. - application/json
  27076. responses:
  27077. "200":
  27078. description: OK
  27079. schema:
  27080. items:
  27081. $ref: '#/definitions/models.WrDeliveryDetail'
  27082. type: array
  27083. "500":
  27084. description: Internal Server Error
  27085. schema:
  27086. $ref: '#/definitions/app.Response'
  27087. security:
  27088. - ApiKeyAuth: []
  27089. summary: 查询交收
  27090. tags:
  27091. - 仓单贸易v2
  27092. /WrTrade2/QueryWrFactorTypeInfo:
  27093. get:
  27094. parameters:
  27095. - description: 仓单要素id
  27096. in: query
  27097. name: wrfactortypeid
  27098. required: true
  27099. type: integer
  27100. produces:
  27101. - application/json
  27102. responses:
  27103. "200":
  27104. description: OK
  27105. schema:
  27106. items:
  27107. $ref: '#/definitions/models.WrFactorTypeInfo'
  27108. type: array
  27109. "500":
  27110. description: Internal Server Error
  27111. schema:
  27112. $ref: '#/definitions/app.Response'
  27113. security:
  27114. - ApiKeyAuth: []
  27115. summary: 查询仓单要素详细信息
  27116. tags:
  27117. - 仓单贸易v2
  27118. /WrTrade2/QueryWrFactorTypeInfoEx:
  27119. get:
  27120. parameters:
  27121. - description: 仓单要素id
  27122. in: query
  27123. name: wrfactortypeid
  27124. required: true
  27125. type: integer
  27126. produces:
  27127. - application/json
  27128. responses:
  27129. "200":
  27130. description: OK
  27131. schema:
  27132. items:
  27133. $ref: '#/definitions/models.WrTypeItem'
  27134. type: array
  27135. "500":
  27136. description: Internal Server Error
  27137. schema:
  27138. $ref: '#/definitions/app.Response'
  27139. security:
  27140. - ApiKeyAuth: []
  27141. summary: 查询仓单要素详细信息列表项
  27142. tags:
  27143. - 仓单贸易v2
  27144. /WrTrade2/QueryWrFinanceBuyApply:
  27145. get:
  27146. description: 页面 融资信息+ / 申请单
  27147. parameters:
  27148. - description: 用户id
  27149. in: query
  27150. name: userid
  27151. required: true
  27152. type: integer
  27153. produces:
  27154. - application/json
  27155. responses:
  27156. "200":
  27157. description: OK
  27158. schema:
  27159. items:
  27160. $ref: '#/definitions/models.WrFinanceBuyApply'
  27161. type: array
  27162. "500":
  27163. description: Internal Server Error
  27164. schema:
  27165. $ref: '#/definitions/app.Response'
  27166. security:
  27167. - ApiKeyAuth: []
  27168. summary: 查询融资购买申请
  27169. tags:
  27170. - 仓单贸易v2
  27171. /WrTrade2/QueryWrFriendApply:
  27172. get:
  27173. parameters:
  27174. - description: 用户id
  27175. in: query
  27176. name: userid
  27177. required: true
  27178. type: integer
  27179. produces:
  27180. - application/json
  27181. responses:
  27182. "200":
  27183. description: OK
  27184. schema:
  27185. items:
  27186. $ref: '#/definitions/models.WrFriendApply'
  27187. type: array
  27188. "500":
  27189. description: Internal Server Error
  27190. schema:
  27191. $ref: '#/definitions/app.Response'
  27192. security:
  27193. - ApiKeyAuth: []
  27194. summary: 查询好友申请记录
  27195. tags:
  27196. - 仓单贸易v2
  27197. /WrTrade2/QueryWrGoodsInfo:
  27198. get:
  27199. parameters:
  27200. - description: 仓单贸易市场id
  27201. in: query
  27202. name: marketid
  27203. type: integer
  27204. - description: 0:仓单预售 1:仓单贸易
  27205. in: query
  27206. name: haswr
  27207. required: true
  27208. type: integer
  27209. - description: 仓单要素id
  27210. in: query
  27211. name: wrfactortypeid
  27212. required: true
  27213. type: integer
  27214. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  27215. in: query
  27216. name: tmplateid
  27217. type: integer
  27218. produces:
  27219. - application/json
  27220. responses:
  27221. "200":
  27222. description: OK
  27223. schema:
  27224. items:
  27225. $ref: '#/definitions/models.WrGoodsInfo'
  27226. type: array
  27227. "500":
  27228. description: Internal Server Error
  27229. schema:
  27230. $ref: '#/definitions/app.Response'
  27231. security:
  27232. - ApiKeyAuth: []
  27233. summary: 查询仓单商品信息
  27234. tags:
  27235. - 仓单贸易v2
  27236. /WrTrade2/QueryWrMarketTradeConfig:
  27237. get:
  27238. parameters:
  27239. - description: 市场id
  27240. in: query
  27241. name: marketid
  27242. type: integer
  27243. produces:
  27244. - application/json
  27245. responses:
  27246. "200":
  27247. description: OK
  27248. schema:
  27249. items:
  27250. $ref: '#/definitions/models.WrMarketTradeConfig'
  27251. type: array
  27252. "500":
  27253. description: Internal Server Error
  27254. schema:
  27255. $ref: '#/definitions/app.Response'
  27256. security:
  27257. - ApiKeyAuth: []
  27258. summary: 查询市场交易参数配置
  27259. tags:
  27260. - 仓单贸易v2
  27261. /WrTrade2/QueryWrOrderDetail:
  27262. get:
  27263. description: 页面 现货仓单 | 预售仓单 -> 挂单
  27264. parameters:
  27265. - description: 页码
  27266. in: query
  27267. name: page
  27268. type: integer
  27269. - description: 每页条数
  27270. in: query
  27271. name: pagesize
  27272. type: integer
  27273. - description: 用户id
  27274. in: query
  27275. name: userid
  27276. required: true
  27277. type: integer
  27278. - description: 仓单贸易市场id
  27279. in: query
  27280. name: marketid
  27281. type: integer
  27282. - description: 0:仓单预售 1:仓单贸易
  27283. in: query
  27284. name: haswr
  27285. required: true
  27286. type: integer
  27287. produces:
  27288. - application/json
  27289. responses:
  27290. "200":
  27291. description: OK
  27292. schema:
  27293. items:
  27294. $ref: '#/definitions/models.WrOrderDetail'
  27295. type: array
  27296. "500":
  27297. description: Internal Server Error
  27298. schema:
  27299. $ref: '#/definitions/app.Response'
  27300. security:
  27301. - ApiKeyAuth: []
  27302. summary: 查询仓单委托单(挂单)
  27303. tags:
  27304. - 仓单贸易v2
  27305. /WrTrade2/QueryWrOutInApply:
  27306. get:
  27307. parameters:
  27308. - description: 用户id
  27309. in: query
  27310. name: userid
  27311. required: true
  27312. type: integer
  27313. produces:
  27314. - application/json
  27315. responses:
  27316. "200":
  27317. description: OK
  27318. schema:
  27319. items:
  27320. $ref: '#/definitions/models.WrOutInApply'
  27321. type: array
  27322. "500":
  27323. description: Internal Server Error
  27324. schema:
  27325. $ref: '#/definitions/app.Response'
  27326. security:
  27327. - ApiKeyAuth: []
  27328. summary: 查询提货申请
  27329. tags:
  27330. - 仓单贸易v2
  27331. /WrTrade2/QueryWrPerformancePlanStep:
  27332. get:
  27333. parameters:
  27334. - description: 履约计划id(performanceplanid)
  27335. in: query
  27336. name: planid
  27337. required: true
  27338. type: integer
  27339. - description: 当前步骤id
  27340. in: query
  27341. name: curstepid
  27342. type: integer
  27343. produces:
  27344. - application/json
  27345. responses:
  27346. "200":
  27347. description: OK
  27348. schema:
  27349. items:
  27350. $ref: '#/definitions/models.WrPerformancePlanStep'
  27351. type: array
  27352. "500":
  27353. description: Internal Server Error
  27354. schema:
  27355. $ref: '#/definitions/app.Response'
  27356. security:
  27357. - ApiKeyAuth: []
  27358. summary: 查询履约信息详情
  27359. tags:
  27360. - 仓单贸易v2
  27361. /WrTrade2/QueryWrPerformanceStepType:
  27362. get:
  27363. produces:
  27364. - application/json
  27365. responses:
  27366. "200":
  27367. description: OK
  27368. schema:
  27369. items:
  27370. $ref: '#/definitions/models.WrPerformanceStepType'
  27371. type: array
  27372. "500":
  27373. description: Internal Server Error
  27374. schema:
  27375. $ref: '#/definitions/app.Response'
  27376. security:
  27377. - ApiKeyAuth: []
  27378. summary: 查询履约步骤枚举
  27379. tags:
  27380. - 仓单贸易v2
  27381. /WrTrade2/QueryWrPosition:
  27382. get:
  27383. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  27384. parameters:
  27385. - description: 用户id
  27386. in: query
  27387. name: userid
  27388. required: true
  27389. type: integer
  27390. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  27391. in: query
  27392. name: querytype
  27393. required: true
  27394. type: integer
  27395. - description: 0:仓单预售 1:仓单贸易
  27396. in: query
  27397. name: haswr
  27398. required: true
  27399. type: integer
  27400. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27401. in: query
  27402. name: dgitemname
  27403. type: string
  27404. - description: 仓库id(筛选条件)
  27405. in: query
  27406. name: warehouseid
  27407. type: integer
  27408. - description: 品种id
  27409. in: query
  27410. name: deliverygoodsid
  27411. type: integer
  27412. - description: 品类id
  27413. in: query
  27414. name: wrstandardid
  27415. type: integer
  27416. produces:
  27417. - application/json
  27418. responses:
  27419. "200":
  27420. description: OK
  27421. schema:
  27422. items:
  27423. $ref: '#/definitions/models.WrPosition'
  27424. type: array
  27425. "500":
  27426. description: Internal Server Error
  27427. schema:
  27428. $ref: '#/definitions/app.Response'
  27429. security:
  27430. - ApiKeyAuth: []
  27431. summary: 查询现货(预售)仓单持仓
  27432. tags:
  27433. - 仓单贸易v2
  27434. /WrTrade2/QueryWrScfContract:
  27435. get:
  27436. parameters:
  27437. - description: 用户id
  27438. in: query
  27439. name: userid
  27440. required: true
  27441. type: integer
  27442. - description: 融资合同id
  27443. in: query
  27444. name: scfcontractid
  27445. type: integer
  27446. produces:
  27447. - application/json
  27448. responses:
  27449. "200":
  27450. description: OK
  27451. schema:
  27452. items:
  27453. $ref: '#/definitions/models.WrScfContract'
  27454. type: array
  27455. "500":
  27456. description: Internal Server Error
  27457. schema:
  27458. $ref: '#/definitions/app.Response'
  27459. security:
  27460. - ApiKeyAuth: []
  27461. summary: 查询仓单贸易融资合同
  27462. tags:
  27463. - 仓单贸易v2
  27464. /WrTrade2/QueryWrScfContractInterest:
  27465. get:
  27466. parameters:
  27467. - description: 融资合同id
  27468. in: query
  27469. name: scfcontractid
  27470. type: integer
  27471. produces:
  27472. - application/json
  27473. responses:
  27474. "200":
  27475. description: OK
  27476. schema:
  27477. items:
  27478. $ref: '#/definitions/models.WrScfContractInterest'
  27479. type: array
  27480. "500":
  27481. description: Internal Server Error
  27482. schema:
  27483. $ref: '#/definitions/app.Response'
  27484. security:
  27485. - ApiKeyAuth: []
  27486. summary: 查询融资合同费用明细
  27487. tags:
  27488. - 仓单贸易v2
  27489. /WrTrade2/QueryWrSpecialMatchOrder:
  27490. get:
  27491. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  27492. parameters:
  27493. - description: 页码
  27494. in: query
  27495. name: page
  27496. type: integer
  27497. - description: 每页条数
  27498. in: query
  27499. name: pagesize
  27500. type: integer
  27501. - description: 用户id
  27502. in: query
  27503. name: userid
  27504. required: true
  27505. type: integer
  27506. - description: 仓单贸易市场id
  27507. in: query
  27508. name: marketid
  27509. type: integer
  27510. - description: 0:仓单预售 1:仓单贸易
  27511. in: query
  27512. name: haswr
  27513. required: true
  27514. type: integer
  27515. produces:
  27516. - application/json
  27517. responses:
  27518. "200":
  27519. description: OK
  27520. schema:
  27521. items:
  27522. $ref: '#/definitions/models.WrSpecialMatchOrder'
  27523. type: array
  27524. "500":
  27525. description: Internal Server Error
  27526. schema:
  27527. $ref: '#/definitions/app.Response'
  27528. security:
  27529. - ApiKeyAuth: []
  27530. summary: 查询指定成交
  27531. tags:
  27532. - 仓单贸易v2
  27533. /WrTrade2/QueryWrStandardFactoryItem:
  27534. get:
  27535. parameters:
  27536. - description: 品类id
  27537. in: query
  27538. name: wrstandardid
  27539. required: true
  27540. type: integer
  27541. produces:
  27542. - application/json
  27543. responses:
  27544. "200":
  27545. description: OK
  27546. schema:
  27547. items:
  27548. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  27549. type: array
  27550. "500":
  27551. description: Internal Server Error
  27552. schema:
  27553. $ref: '#/definitions/app.Response'
  27554. security:
  27555. - ApiKeyAuth: []
  27556. summary: 查询品类要素定义项
  27557. tags:
  27558. - 仓单贸易v2
  27559. /WrTrade2/QueryWrTradeBargainApply:
  27560. get:
  27561. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面 议价->对方议价 填写matchuserid=登录用户id
  27562. parameters:
  27563. - description: 议价人id(摘牌方)
  27564. in: query
  27565. name: userid
  27566. type: integer
  27567. - description: 挂牌方id(查对方议价时,填写此项)
  27568. in: query
  27569. name: matchuserid
  27570. type: integer
  27571. - description: 关联委托单id
  27572. in: query
  27573. name: wrtradeorderid
  27574. type: integer
  27575. - description: 0:仓单预售 1:仓单贸易
  27576. in: query
  27577. name: haswr
  27578. required: true
  27579. type: integer
  27580. produces:
  27581. - application/json
  27582. responses:
  27583. "200":
  27584. description: OK
  27585. schema:
  27586. items:
  27587. $ref: '#/definitions/models.WRTradeBargainApply'
  27588. type: array
  27589. "500":
  27590. description: Internal Server Error
  27591. schema:
  27592. $ref: '#/definitions/app.Response'
  27593. security:
  27594. - ApiKeyAuth: []
  27595. summary: 查询议价单
  27596. tags:
  27597. - 仓单贸易v2
  27598. /WrTrade2/QueryWrTradeDetail:
  27599. get:
  27600. parameters:
  27601. - description: 页码
  27602. in: query
  27603. name: page
  27604. type: integer
  27605. - description: 每页条数
  27606. in: query
  27607. name: pagesize
  27608. type: integer
  27609. - description: 用户id
  27610. in: query
  27611. name: userid
  27612. required: true
  27613. type: integer
  27614. - description: 仓单贸易市场id
  27615. in: query
  27616. name: marketid
  27617. type: integer
  27618. - description: 0:仓单预售 1:仓单贸易
  27619. in: query
  27620. name: haswr
  27621. required: true
  27622. type: integer
  27623. produces:
  27624. - application/json
  27625. responses:
  27626. "200":
  27627. description: OK
  27628. schema:
  27629. items:
  27630. $ref: '#/definitions/models.WrTradeDetail'
  27631. type: array
  27632. "500":
  27633. description: Internal Server Error
  27634. schema:
  27635. $ref: '#/definitions/app.Response'
  27636. security:
  27637. - ApiKeyAuth: []
  27638. summary: 查询仓单成交明细
  27639. tags:
  27640. - 仓单贸易v2
  27641. /WrTrade2/QueryWrTradeOrderDetail:
  27642. get:
  27643. parameters:
  27644. - description: 页码
  27645. in: query
  27646. name: page
  27647. type: integer
  27648. - description: 每页条数
  27649. in: query
  27650. name: pagesize
  27651. type: integer
  27652. - description: 商品id
  27653. in: query
  27654. name: goodsid
  27655. required: true
  27656. type: integer
  27657. - description: 买卖方向 0-买 1-卖
  27658. in: query
  27659. name: buyorsell
  27660. required: true
  27661. type: integer
  27662. produces:
  27663. - application/json
  27664. responses:
  27665. "200":
  27666. description: OK
  27667. schema:
  27668. items:
  27669. $ref: '#/definitions/models.WrTradeOrderDetail'
  27670. type: array
  27671. "500":
  27672. description: Internal Server Error
  27673. schema:
  27674. $ref: '#/definitions/app.Response'
  27675. security:
  27676. - ApiKeyAuth: []
  27677. summary: 查询合约交易买卖大厅
  27678. tags:
  27679. - 仓单贸易v2
  27680. /WrTrade2/QueryWrUserFriend:
  27681. get:
  27682. parameters:
  27683. - description: 用户id
  27684. in: query
  27685. name: userid
  27686. required: true
  27687. type: integer
  27688. - description: 新朋友userid, 如果填写了此项则查找新朋友
  27689. in: query
  27690. name: newuserid
  27691. type: integer
  27692. produces:
  27693. - application/json
  27694. responses:
  27695. "200":
  27696. description: OK
  27697. schema:
  27698. items:
  27699. $ref: '#/definitions/models.WrUserFriend'
  27700. type: array
  27701. "500":
  27702. description: Internal Server Error
  27703. schema:
  27704. $ref: '#/definitions/app.Response'
  27705. security:
  27706. - ApiKeyAuth: []
  27707. summary: 查询我的朋友
  27708. tags:
  27709. - 仓单贸易v2
  27710. /WrTrade2/QueryWrUserReceiptInfo:
  27711. get:
  27712. parameters:
  27713. - description: 用户id
  27714. in: query
  27715. name: userid
  27716. type: integer
  27717. - description: 发票类型 - 1:个人 2:企业
  27718. in: query
  27719. name: receipttype
  27720. type: integer
  27721. produces:
  27722. - application/json
  27723. responses:
  27724. "200":
  27725. description: OK
  27726. schema:
  27727. items:
  27728. $ref: '#/definitions/models.WrUserReceiptInfo'
  27729. type: array
  27730. "500":
  27731. description: Internal Server Error
  27732. schema:
  27733. $ref: '#/definitions/app.Response'
  27734. security:
  27735. - ApiKeyAuth: []
  27736. summary: 查询发票信息
  27737. tags:
  27738. - 仓单贸易v2
  27739. /ZJ/GetBankTip:
  27740. get:
  27741. produces:
  27742. - application/json
  27743. responses:
  27744. "200":
  27745. description: OK
  27746. schema:
  27747. type: string
  27748. "500":
  27749. description: Internal Server Error
  27750. schema:
  27751. $ref: '#/definitions/app.Response'
  27752. summary: 获取中江网银端出入金提示信息
  27753. tags:
  27754. - 中江
  27755. /ZJ/GetCusBankChannels:
  27756. get:
  27757. produces:
  27758. - application/json
  27759. responses:
  27760. "200":
  27761. description: OK
  27762. schema:
  27763. items:
  27764. type: string
  27765. type: array
  27766. "500":
  27767. description: Internal Server Error
  27768. schema:
  27769. $ref: '#/definitions/app.Response'
  27770. summary: 获取中江出入金渠道显示列表
  27771. tags:
  27772. - 中江
  27773. securityDefinitions:
  27774. ApiKeyAuth:
  27775. in: header
  27776. name: Authorization
  27777. type: apiKey
  27778. swagger: "2.0"